@byteluck-fe/model-driven-controls 2.5.0-beta.2 → 2.5.0-beta.4
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 +25 -39
- package/dist/esm/formControls/DatePicker/index.js +6 -6
- package/dist/esm/formControls/DatePicker/property.js +26 -51
- package/dist/esm/formControls/DatePicker/runtime.js +7 -21
- package/dist/esm/formControls/DateRange/designer.js +25 -39
- package/dist/esm/formControls/DateRange/index.js +6 -6
- package/dist/esm/formControls/DateRange/property.js +32 -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 +26 -40
- package/dist/esm/formControls/SearchDateRange/index.js +6 -6
- package/dist/esm/formControls/SearchDateRange/property.js +35 -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 +66 -99
- 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 +98 -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/columnControls/CustomColumn/designer.d.ts +1 -1
- package/package.json +4 -4
package/dist/index.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var eB=Object.defineProperty,tB=Object.defineProperties;var nB=Object.getOwnPropertyDescriptors;var Rs=Object.getOwnPropertySymbols,iB=Object.getPrototypeOf,uB=Object.prototype.hasOwnProperty,aB=Object.prototype.propertyIsEnumerable,rB=Reflect.get;var Ps=(y,U,j)=>U in y?eB(y,U,{enumerable:!0,configurable:!0,writable:!0,value:j}):y[U]=j,Te=(y,U)=>{for(var j in U||(U={}))uB.call(U,j)&&Ps(y,j,U[j]);if(Rs)for(var j of Rs(U))aB.call(U,j)&&Ps(y,j,U[j]);return y},$n=(y,U)=>tB(y,nB(U));var Dr=(y,U,j)=>rB(iB(y),j,U);var Tr=(y,U,j)=>new Promise((yu,Mn)=>{var mu=_e=>{try{Dt(j.next(_e))}catch(Tt){Mn(Tt)}},vu=_e=>{try{Dt(j.throw(_e))}catch(Tt){Mn(Tt)}},Dt=_e=>_e.done?yu(_e.value):Promise.resolve(_e.value).then(mu,vu);Dt((j=j.apply(y,U)).next())});(function(y,U){typeof exports=="object"&&typeof module!="undefined"?U(exports):typeof define=="function"&&define.amd?define(["exports"],U):(y=typeof globalThis!="undefined"?globalThis:y||self,U(y.modelDrivenControls={}))})(this,function(y){"use strict";var U="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",j="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",yu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",Mn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",mu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",vu="{caption}\u5FC5\u586B",Dt="\u8BF7\u8F93\u5165\u6807\u9898",_e="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",Tt="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",xs="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",Os="\u8BF7\u7ED1\u5B9A\u8868\u5355",ks="\u8BF7\u7ED1\u5B9A\u5217\u8868",$s="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",Ms="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Ls="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Ns="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Vs="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Hs="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Us="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",qs="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",js="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",Ws="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Ks="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",zs="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",Gs="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Xs="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Qs="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Js="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Zs="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Ys="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",ps="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",ed="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",td="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",nd="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",id="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",ud="\u8BF7\u7ED1\u5B9A\u670D\u52A1",ad="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",rd="\u8BF7\u9009\u62E9\u7701",ld="\u8BF7\u9009\u62E9\u5E02",od="\u8BF7\u9009\u62E9\u533A",cd="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",sd="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",dd="\u8BF7\u8F93\u5165\u5217\u5BBD",fd="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",hd="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",yd="\u8BF7\u9009\u62E9\u63A7\u4EF6",md="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",vd="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",gd="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",bd="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Ed="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Cd="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Ad="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",_d="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Bd="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Id="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",wd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Sd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Fd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Dd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Td="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Rd="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Pd="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",xd="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Od="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",kd="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",$d="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Md={isNotNumber:U,isNotString:j,isNotObject:yu,isNotArray:Mn,isNotBoolean:mu,runtimeRequired:vu,pleaseEnterCaption:Dt,pleaseEnterCaptionTip:_e,pleaseEnterPlaceholder:Tt,pleaseEnterFieldCode:xs,pleaseEnterForm:Os,pleaseEnterList:ks,pleaseEnterProcess:$s,pleaseEnterLabel:Ms,pleaseEnterValue:Ls,bizKeyNotBindFiled:Ns,pleaseSelectOneField:Vs,pleaseEnterNumberRange:Hs,pleaseEnterAValueGreaterThanMin:Us,pleaseEnterAValueLessThanMax:qs,numberRangeSetError:js,stringRangeError:Ws,attachmentMaxSize:Ks,pleaseEnterTotalScoreSetting:zs,theTotalScoreMustNotBeLessThan1:Gs,scoreDefaultValueRange:Xs,attachmentLimitError:Qs,PleaseReselectTheOptionalQuantity:Js,TheMaximumLengthIsGreaterThanTheMinimumLength:Zs,TheMinimumLengthIsGreaterThanTheMaximumLength:Ys,PleaseSelectTheCorrectOptionSettings:ps,optionIdIsRepeat:ed,optionIsRequired:td,pleaseEnterDataCode:nd,pleaseEnterValueFieldCode:id,pleaseEnterSvcCode:ud,pleaseBindAtLeastOneDisplayValue:ad,pleaseSelectProvince:rd,pleaseSelectCity:ld,pleaseSelectDistrict:od,limitRowsCannotBeLessThan0:cd,TheNumberOfRowsCannotBeLessThanMinRows:sd,pleaseEnterColumnWidth:dd,pleaseSetTheLogicalRelationshipOfAllRuleConditions:fd,pleaseCompleteAllRulesAndConditions:hd,pleaseSelectControl:yd,pleaseSelectAtLeastOneColumn:md,pleaseSelectFillBackMode:vd,pleaseSelectDashboard:gd,rootNodeIsRequired:bd,theViewNameCannotBeEmpty:Ed,pleaseSelectOcrType:Cd,pleaseSelectAtLeastOneFieldToFillIn:Ad,pleaseChooseAtLeastOne:_d,pleaseEnterButtonContent:Bd,pleaseEnterDataCodeInDataSetting:Id,pleaseEnterValueFieldCodeInDataSetting:wd,pleaseEnterSvcCodeInDataSetting:Sd,pleaseBindAtLeastOneDisplayValueInDataSetting:Fd,rootNodeIsRequiredInDataSetting:Dd,pleaseEnterMaxHeight:Td,pleaseEnter:Rd,pleaseEnterWatermark:Pd,pleaseEnterFileName:xd,pleaseUploadAtLeastOnePrintTemplate:Od,pleaseAssignBusiness:kd,pleaseAssignExternal:$d},Ld="Please enter a number",Nd="Please enter a string",Vd="Please enter an object",Hd="Please enter an array",Ud="Please enter a boolean",qd="{caption} Required",jd="Please enter the title",Wd="Please enter the bubble prompt",Kd="Please enter the prompt text",zd="Please bind data items",Gd="Please bind the form",Xd="Please bind the list",Qd="Please bind the process",Jd="Please enter the displayed value",Zd="Please enter the stored value",Yd="The document number is not bound to the data item",pd="Please select at least one display field",ef="Please enter a value greater than or equal to {min} and less than or equal to {max}",tf="Please enter a value greater than or equal to {min}",nf="Please enter a value less than or equal to {max}",uf="The value range is set incorrectly",af="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",rf="The attachment size must be between 0MB and 1000MB",lf="Please fill in the total score setting",of="The total score cannot be less than 1",cf="The default value must be between {min} and {max}",sf="The number of attachments uploaded must be between {min} and {max}",df="Please re-select the optional quantity",ff="The maximum length of the control must be greater than the minimum length",hf="The minimum length of the control must be less than the maximum length",yf="Please select the correct option setting",mf="Option ID cannot be repeated",vf="Please enter at least one option",gf="Please bind the data source",bf="Please bind the stored value",Ef="Please bind the service",Cf="At least one display value must be bound",Af="Please select a province",_f="Please select a city",Bf="Please select a district",If="The minimum number of lines to fill in cannot be less than 0",wf="The number of rows cannot be less than {min} rows",Sf="Please enter the column width",Ff="Please set the logical relationship of all rule conditions",Df="Please complete all rules and conditions",Tf="please select control",Rf="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Pf="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",xf="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Of="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",kf="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",$f="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Mf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Lf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Nf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Vf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Hf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Uf="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",qf="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",jf="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Wf="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Kf="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",zf="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Gf="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Xf={isNotNumber:Ld,isNotString:Nd,isNotObject:Vd,isNotArray:Hd,isNotBoolean:Ud,runtimeRequired:qd,pleaseEnterCaption:jd,pleaseEnterCaptionTip:Wd,pleaseEnterPlaceholder:Kd,pleaseEnterFieldCode:zd,pleaseEnterForm:Gd,pleaseEnterList:Xd,pleaseEnterProcess:Qd,pleaseEnterLabel:Jd,pleaseEnterValue:Zd,bizKeyNotBindFiled:Yd,pleaseSelectOneField:pd,pleaseEnterNumberRange:ef,pleaseEnterAValueGreaterThanMin:tf,pleaseEnterAValueLessThanMax:nf,numberRangeSetError:uf,stringRangeError:af,attachmentMaxSize:rf,pleaseEnterTotalScoreSetting:lf,theTotalScoreMustNotBeLessThan1:of,scoreDefaultValueRange:cf,attachmentLimitError:sf,PleaseReselectTheOptionalQuantity:df,TheMaximumLengthIsGreaterThanTheMinimumLength:ff,TheMinimumLengthIsGreaterThanTheMaximumLength:hf,PleaseSelectTheCorrectOptionSettings:yf,optionIdIsRepeat:mf,optionIsRequired:vf,pleaseEnterDataCode:gf,pleaseEnterValueFieldCode:bf,pleaseEnterSvcCode:Ef,pleaseBindAtLeastOneDisplayValue:Cf,pleaseSelectProvince:Af,pleaseSelectCity:_f,pleaseSelectDistrict:Bf,limitRowsCannotBeLessThan0:If,TheNumberOfRowsCannotBeLessThanMinRows:wf,pleaseEnterColumnWidth:Sf,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Ff,pleaseCompleteAllRulesAndConditions:Df,pleaseSelectControl:Tf,pleaseSelectDashboard:Rf,theViewNameCannotBeEmpty:Pf,pleaseSelectOcrType:xf,pleaseSelectAtLeastOneFieldToFillIn:Of,pleaseChooseAtLeastOne:kf,pleaseEnterButtonContent:$f,pleaseEnterDataCodeInDataSetting:Mf,pleaseEnterValueFieldCodeInDataSetting:Lf,pleaseEnterSvcCodeInDataSetting:Nf,pleaseBindAtLeastOneDisplayValueInDataSetting:Vf,rootNodeIsRequiredInDataSetting:Hf,pleaseEnterMaxHeight:Uf,pleaseEnter:qf,pleaseEnterWatermark:jf,pleaseEnterFileName:Wf,pleaseUploadAtLeastOnePrintTemplate:Kf,pleaseAssignBusiness:zf,pleaseAssignExternal:Gf},Qf="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Jf="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Zf="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Yf="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",pf="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",eh="{caption}\u5FC5\u9808",th="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",nh="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ih="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",uh="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ah="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",rh="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",lh="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",oh="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ch="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",sh="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",dh="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",fh="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",hh="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",yh="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",mh="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",vh="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",gh="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",bh="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Eh="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Ch="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Ah="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",_h="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Bh="\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",Ih="\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",wh="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Sh="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Fh="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Dh="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Th="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Rh="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ph="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",xh="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Oh="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",kh="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",$h="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Mh="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Lh="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Nh="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Vh="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",Hh="please select control",Uh="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",qh="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",jh="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Wh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Kh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",zh="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Gh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Xh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Qh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Jh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Zh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Yh="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",ph="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",ey="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",ty="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ny="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",iy="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",uy="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",ay={isNotNumber:Qf,isNotString:Jf,isNotObject:Zf,isNotArray:Yf,isNotBoolean:pf,runtimeRequired:eh,pleaseEnterCaption:th,pleaseEnterCaptionTip:nh,pleaseEnterPlaceholder:ih,pleaseEnterFieldCode:uh,pleaseEnterForm:ah,pleaseEnterList:rh,pleaseEnterProcess:lh,pleaseEnterLabel:oh,pleaseEnterValue:ch,bizKeyNotBindFiled:sh,pleaseSelectOneField:dh,pleaseEnterNumberRange:fh,pleaseEnterAValueGreaterThanMin:hh,pleaseEnterAValueLessThanMax:yh,numberRangeSetError:mh,stringRangeError:vh,attachmentMaxSize:gh,pleaseEnterTotalScoreSetting:bh,theTotalScoreMustNotBeLessThan1:Eh,scoreDefaultValueRange:Ch,attachmentLimitError:Ah,PleaseReselectTheOptionalQuantity:_h,TheMaximumLengthIsGreaterThanTheMinimumLength:Bh,TheMinimumLengthIsGreaterThanTheMaximumLength:Ih,PleaseSelectTheCorrectOptionSettings:wh,optionIdIsRepeat:Sh,optionIsRequired:Fh,pleaseEnterDataCode:Dh,pleaseEnterValueFieldCode:Th,pleaseEnterSvcCode:Rh,pleaseBindAtLeastOneDisplayValue:Ph,pleaseSelectProvince:xh,pleaseSelectCity:Oh,pleaseSelectDistrict:kh,limitRowsCannotBeLessThan0:$h,TheNumberOfRowsCannotBeLessThanMinRows:Mh,pleaseEnterColumnWidth:Lh,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Nh,pleaseCompleteAllRulesAndConditions:Vh,pleaseSelectControl:Hh,pleaseSelectDashboard:Uh,theViewNameCannotBeEmpty:qh,pleaseSelectOcrType:jh,pleaseSelectAtLeastOneFieldToFillIn:Wh,pleaseChooseAtLeastOne:Kh,pleaseEnterButtonContent:zh,pleaseEnterDataCodeInDataSetting:Gh,pleaseEnterValueFieldCodeInDataSetting:Xh,pleaseEnterSvcCodeInDataSetting:Qh,pleaseBindAtLeastOneDisplayValueInDataSetting:Jh,rootNodeIsRequiredInDataSetting:Zh,pleaseEnterMaxHeight:Yh,pleaseEnter:ph,pleaseEnterWatermark:ey,pleaseEnterFileName:ty,pleaseUploadAtLeastOnePrintTemplate:ny,pleaseAssignBusiness:iy,pleaseAssignExternal:uy},ry={zhCN:Md,enUS:Xf,jaJP:ay},Rr;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(Rr||(Rr={}));var Pr;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(Pr||(Pr={}));var ly="zh-CN";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}var ft;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(ft||(ft={}));var ae;(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.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"})(ae||(ae={}));var J;(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"})(J||(J={}));var re;re={},de(re,J.ARRAY,ae.ARRAY_COLUMN),de(re,J.AUTO_NUMBER,ae.AUTO_NUMBER_COLUMN),de(re,J.DECIMAL,ae.DECIMAL_COLUMN),de(re,J.DEPARTMENTS,ae.DEPARTMENT_COLUMN),de(re,J.FILE,ae.FILE_COLUMN),de(re,J.IMAGE,ae.IMAGE_COLUMN),de(re,J.ADDRESS,ae.LOCATION_COLUMN),de(re,J.EMPLOYEES,ae.EMPLOYEE_COLUMN),de(re,J.TEXT,ae.TEXT_COLUMN),de(re,J.TIMESCOPE,ae.TIMESCOPE_COLUMN),de(re,J.TIMESTAMP,ae.TIMESTAMP_COLUMN),de(re,J.VARCHAR,ae.VARCHAR_COLUMN),de(re,J.RELATION,ae.VARCHAR_COLUMN);var xr;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATETIME="datetime"})(xr||(xr={}));var Or="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",oy=Or+"0123456789";function ht(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?Or:oy,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return 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 cy(t){if(Array.isArray(t))return gu(t)}function sy(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function kr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function dy(){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 dy()?Ln=Reflect.construct:Ln=function(u,a,r){var l=[null];l.push.apply(l,a);var c=Function.bind.apply(u,l),o=new c;return r&&Pt(o,r.prototype),o},Ln.apply(null,arguments)}function Rt(t){return Rt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Rt(t)}function $r(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&&Pt(t,e)}function fy(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function hy(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function yy(){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 my(t,e){return e&&(vy(e)==="object"||typeof e=="function")?e:sy(t)}function Pt(t,e){return Pt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Pt(t,e)}function Mr(t){return cy(t)||hy(t)||gy(t)||yy()}var vy=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function gy(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)}}function bu(t){var e=typeof Map=="function"?new Map:void 0;return bu=function(i){if(i===null||!fy(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,Rt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Pt(u,i)},bu(t)}function by(){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 Lr(t){var e=by();return function(){var i=Rt(t),u;if(e){var a=Rt(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return my(this,u)}}var Eu=console;function Cu(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i,u=e.slice(1);(i=Eu).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(Mr(u)))}function Nr(){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=Eu).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(Mr(u)))}function Ey(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Au=function(t){$r(n,t);var e=Lr(n);function n(i){kr(this,n);var u;return u=e.call(this,i),u.name="\u{1F4A5} Driven Error",u.message=i?Ey(i):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",u}return n}(bu(Error)),Cy=function(t){$r(n,t);var e=Lr(n);function n(i){kr(this,n);var u;return u=e.call(this,i),u.name="\u{1F6A8} Driven Reference Error",u}return n}(Au);function _u(t){throw new Au(t)}function Vr(t){throw new Cy(t)}function Ay(t){Eu.error(new Au(t))}var _y=Object.prototype.toString;function Hr(t,e){return _y.call(t)==="[object "+e+"]"}function By(t){return Hr(t,"String")}function Iy(t){return Hr(t,"Promise")}var wy=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();Iy(i)?i.then(function(u){n._messageCache.clear(),n.messages[n.localeInMessageKey]=u}):this.messages[this.localeInMessageKey]=i},t.prototype.getMessageData=function(){var e=this._messages[this.localeInMessageKey];return typeof e=="function"?e():e},t.prototype.translate=function(e,n,i){var u=this.getMessage(e);return u?this.formatMessage(u,i):this.formatMessage(n,i)},t.prototype.getMessage=function(e){if(this._messageCache.has(e))return this._messageCache.get(e);var n=this.getPathArray(e),i=n.reduce(function(u,a,r,l){if(u!==void 0){var c=u[a];if(!(r===l.length-1&&!By(c)))return c}},this.message);return this._messageCache.set(e,i),i},t.prototype.formatMessage=function(e,n){return n?e.replace(this.variableRegExp,function(i,u){var a=n[u];return a!==void 0?String(a):i}):e},t.prototype.getPreImport=function(e){var n;if(window.okI18nPreImport){var i=this.getLocaleInMessageKey(e);return window.okI18nPreImport.hasOwnProperty(i)?window.okI18nPreImport:(n={},n[i]=window.okI18nPreImport,n)}},t.prototype.getPathArray=function(e){return e.split(".")},t.prototype.getLocaleInMessageKey=function(e){return e.replace(/-/g,"")},Object.defineProperty(t.prototype,"$t",{get:function(){return this.translate},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"localeInMessageKey",{get:function(){return this.getLocaleInMessageKey(this.locale)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"message",{get:function(){var e;return(e=this.messages[this.localeInMessageKey])!==null&&e!==void 0?e:{}},enumerable:!1,configurable:!0}),t}();function Sy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ur(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Fy(t,e,n){return e&&Ur(t.prototype,e),n&&Ur(t,n),t}function Dy(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var w=function(){function t(){Sy(this,t)}return Fy(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]:ly;return new wy({locale:n,messages:ry})}},{key:"setLocale",value:function(n){return this.$i18n.setLocale(n)}}]),t}();Dy(w,"$i18n",w.resetI18n());function Ty(t,e,n){var i=e.replace(/\[(\d)]/g,function(a,r){return"."+r}).split("."),u=!1;return i.reduce(function(a,r,l,c){var o=a;if(!!a){if(!Object.prototype.hasOwnProperty.call(a,r)){Cu("Can not set ".concat(e,"'s ").concat(r," property in current %o, Because there is no ").concat(r," property on the %o"),a,a);return}return l===c.length-1&&!Object.is(o[r],n)&&(o[r]=n,u=!0),o[r]}},t),u}var qr=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Ry={exports:{}};(function(t){(function(e){var n=function(d,b,S){if(!o(b)||m(b)||E(b)||A(b)||c(b))return b;var D,P=0,ue=0;if(f(b))for(D=[],ue=b.length;P<ue;P++)D.push(n(d,b[P],S));else{D={};for(var x in b)Object.prototype.hasOwnProperty.call(b,x)&&(D[d(x,S)]=n(d,b[x],S))}return D},i=function(d,b){b=b||{};var S=b.separator||"_",D=b.split||/(?=[A-Z])/;return d.split(D).join(S)},u=function(d){return B(d)?d:(d=d.replace(/[\-_\s]+(.)?/g,function(b,S){return S?S.toUpperCase():""}),d.substr(0,1).toLowerCase()+d.substr(1))},a=function(d){var b=u(d);return b.substr(0,1).toUpperCase()+b.substr(1)},r=function(d,b){return i(d,b).toLowerCase()},l=Object.prototype.toString,c=function(d){return typeof d=="function"},o=function(d){return d===Object(d)},f=function(d){return l.call(d)=="[object Array]"},m=function(d){return l.call(d)=="[object Date]"},E=function(d){return l.call(d)=="[object RegExp]"},A=function(d){return l.call(d)=="[object Boolean]"},B=function(d){return d=d-0,d===d},C=function(d,b){var S=b&&"process"in b?b.process:b;return typeof S!="function"?d:function(D,P){return S(D,d,P)}},I={camelize:u,decamelize:r,pascalize:a,depascalize:r,camelizeKeys:function(d,b){return n(C(u,b),d)},decamelizeKeys:function(d,b){return n(C(r,b),d,b)},pascalizeKeys:function(d,b){return n(C(a,b),d)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=I:e.humps=I})(qr)})(Ry);var jr={};Object.defineProperty(jr,"__esModule",{value:!0});function Bu(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:Bu(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:Bu(i)}return e}}var Py=jr.default=Bu;function Ue(t){if(t!==void 0)return typeof t=="object"?Py(t):t}function xy(t){return Object.prototype.toString.call(t)==="[object Object]"}function Oy(t){return Array.isArray(t)}function ky(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Iu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function $y(t){if(Array.isArray(t))return Iu(t)}function Wr(t,e,n,i,u,a,r){try{var l=t[a](r),c=l.value}catch(o){n(o);return}l.done?e(c):Promise.resolve(c).then(i,u)}function My(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){Wr(a,i,u,r,l,"next",c)}function l(c){Wr(a,i,u,r,l,"throw",c)}r(void 0)})}}function Ly(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Kr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Ny(t,e,n){return e&&Kr(t.prototype,e),n&&Kr(t,n),t}function zr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Vy(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Hy(){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 wu(t){return $y(t)||Vy(t)||Uy(t)||Hy()}function Uy(t,e){if(!!t){if(typeof t=="string")return Iu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Iu(t,e)}}var qy=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(f){return c([o,f])}}function c(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(f){o=[6,f],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},jy=function(){function t(){Ly(this,t),zr(this,"_events",new Map),zr(this,"debug",!1)}return Ny(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 My(function(){var l,c,o,f,m,E,A,B,C,I,d,b;return qy(this,function(S){switch(S.label){case 0:if(l=r._events.get(n),c=[],!l)return[3,10];o=l.slice(),f=!0,m=!1,E=void 0,S.label=1;case 1:S.trys.push([1,8,9,10]),A=o[Symbol.iterator](),S.label=2;case 2:if(f=(B=A.next()).done)return[3,7];if(C=B.value,!l.includes(C))return[3,6];S.label=3;case 3:return S.trys.push([3,5,,6]),r.debug&&Nr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(C.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+C.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"\u3002")].concat(wu(u))),[4,C.apply(null,wu(u))];case 4:return I=S.sent(),r.debug&&Nr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(C.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+C.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(wu(u),[I])),c.push(I),I===!1?[3,7]:[3,6];case 5:return d=S.sent(),Ay(String(d)+":"+String(d.stack)),[3,6];case 6:return f=!0,[3,2];case 7:return[3,10];case 8:return b=S.sent(),m=!0,E=b,[3,10];case 9:try{!f&&A.return!=null&&A.return()}finally{if(m)throw E}return[7];case 10:return[2,c]}})})()}},{key:"on",value:function(n,i){if(this._events.has(n)){var u;(u=this._events.get(n))===null||u===void 0||u.push(i)}else this._events.set(n,[i])}},{key:"off",value:function(n,i){if(this._events.has(n)){var u=this._events.get(n),a=u==null?void 0:u.indexOf(i);u==null||u.splice(a,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),t}();function Wy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gr(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 Ky(t,e,n){return e&&Gr(t.prototype,e),n&&Gr(t,n),t}function zy(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Gy=[{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"}],Xy=function(){function t(){Wy(this,t)}return Ky(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}();zy(Xy,"events",Gy);function Qy(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 i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Jy(t,e,n){return e&&Xr(t.prototype,e),n&&Xr(t,n),t}function qe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Qr=[],Su=function(){function t(e){Qy(this,t),qe(this,"registeredControlTypes",new Set),qe(this,"controlConfigMap",new Map),qe(this,"_controls",[]),qe(this,"_type",void 0),this._type=e,this._initControls(e)}return Jy(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__||_u("".concat(n.name," is not a Control"));var i=this._controls.findIndex(function(u){return u.controlType===n.controlType});return i>-1&&(Cu("The ".concat(n.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(i,1)),this.registeredControlTypes.add(n.controlType),this._controls.push(n),this}},{key:"isLayoutControl",value:function(n){return n.controlType===ft.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===ft.FORM}},{key:"isListControl",value:function(n){return n.controlType===ft.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===ft.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 c=new a(r);return c}else _u("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__)&&_u("".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&&(Cu("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}();qe(Su,"staticControls",Qr),qe(Su,"staticRegisteredTypes",new Set(Qr.map(function(t){return t.Designer.controlType}))),qe(Su,"staticRegisteredConfigs",new Map);function $(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function F(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 Nn(t){return Nn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nn(t)}function ge(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Fu(t,e)}function Jr(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Zy(t,e){return e&&(Yy(e)==="object"||typeof e=="function")?e:$(t)}function Fu(t,e){return Fu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Fu(t,e)}var Yy=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function py(){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 be(t){var e=py();return function(){var i=Nn(t),u;if(e){var a=Nn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Zy(this,u)}}var Ee=function t(e){F(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:""},Zr=function t(e){F(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},Du=function(t){ge(n,t);var e=be(n);function n(i){F(this,n);var u;u=e.call(this,i),h($(u),"width",void 0),h($(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}(Zr),em=function t(e){F(this,t),h(this,"pc",void 0),h(this,"mobile",void 0),this.pc=new Du(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new Du(e==null?void 0:e.mobile):new Du({width:130,minWidth:180})},tm=function t(e){F(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:[]},Tu=function t(e){F(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:""},nm=function(t){ge(n,t);var e=be(n);function n(i){F(this,n);var u;u=e.call(this,i),h($(u),"primaryControlId",void 0);var a;return u.primaryControlId=(a=i==null?void 0:i.primaryControlId)!==null&&a!==void 0?a:"",u}return n}(Tu),Yr=function t(e){F(this,t),h(this,"fieldCode",void 0);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:""},Ru=function t(e){F(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 Yr(r)}))!==null&&a!==void 0?a:[]},im=function t(e){F(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:J.VARCHAR},um=function(t){ge(n,t);var e=be(n);function n(i){F(this,n);var u;u=e.call(this,i),h($(u),"title",void 0),h($(u),"svcCode",void 0),h($(u),"isOpenFilter",void 0),h($(u),"filters",void 0);var a;u.title=(a=i==null?void 0:i.title)!==null&&a!==void 0?a:"";var r;u.svcCode=(r=i==null?void 0:i.svcCode)!==null&&r!==void 0?r:"";var l;u.isOpenFilter=(l=i==null?void 0:i.isOpenFilter)!==null&&l!==void 0?l:!1;var c;return u.filters=(c=i==null?void 0:i.filters)!==null&&c!==void 0?c:[],u}return n}(Tu),am=function t(e){F(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 Tu(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 im(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 um(r)}))!==null&&a!==void 0?a:[]},rm=function t(e){F(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},xt=function t(e){F(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:[]},pr=function t(e){var n=this;F(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:ht();var u;this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf();var a;this.level=(a=e==null?void 0:e.level)!==null&&a!==void 0?a:0;var r;this.value=(r=e==null?void 0:e.value)!==null&&r!==void 0?r:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(function(l){if(l.children!==void 0){var c,o=new t(l);(c=n.children)===null||c===void 0||c.push(o)}else{var f,m=new Pu(l);(f=n.children)===null||f===void 0||f.push(m)}}))},Pu=function t(e){F(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:ht();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 rm(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new xt(e==null?void 0:e.rightVariableBo)},se=function t(e){F(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:""},xu=function t(e){F(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},lm=function t(e){F(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 Ou(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 pr(l):new Pu(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 pr(l):new Pu(l)}))!==null&&u!==void 0?u:[],Jr(this,p)||Jr(this,$u)){var a,r;this.orders=(r=t==null||(a=t.orders)===null||a===void 0?void 0:a.map(function(l){return new lm(l)}))!==null&&r!==void 0?r:[]}}var p=function t(e){var n=this;F(this,t),h(this,"dataCode",void 0),h(this,"valueFieldCode",void 0),h(this,"displayBoList",void 0),h(this,"keywordMapping",void 0),h(this,"svcCode",void 0),h(this,"appId",void 0),h(this,"filters",void 0),h(this,"viewFilters",void 0),h(this,"isOpenViewFilters",void 0),h(this,"orders",void 0),h(this,"showOrder",void 0);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.valueFieldCode=(a=e==null?void 0:e.valueFieldCode)!==null&&a!==void 0?a:"",this.displayBoList=[];var r;this.isOpenViewFilters=(r=e==null?void 0:e.isOpenViewFilters)!==null&&r!==void 0?r:0,Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(function(f){var m;(m=n.displayBoList)===null||m===void 0||m.push(new xu(f))}));var l;this.keywordMapping=(l=e==null?void 0:e.keywordMapping)!==null&&l!==void 0?l:"";var c;this.showOrder=(c=e==null?void 0:e.showOrder)!==null&&c!==void 0?c:!0;var o;this.svcCode=(o=e==null?void 0:e.svcCode)!==null&&o!==void 0?o:"",Ou.call(this,e)},ku=function t(e){F(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:[]},je=function t(e){F(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 c;this.icon=(c=e==null?void 0:e.icon)!==null&&c!==void 0?c:"iconliulan1";var o;this.needConfirm=(o=e==null?void 0:e.needConfirm)!==null&&o!==void 0?o:!1;var f;this.openType=(f=e==null?void 0:e.openType)!==null&&f!==void 0?f:"modal";var m;this.priorityProcess=(m=e==null?void 0:e.priorityProcess)!==null&&m!==void 0?m:!0},el=function t(e){F(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 xu(r)}))!==null&&a!==void 0?a:[]},Vn=function(t){ge(n,t);var e=be(n);function n(i){F(this,n);var u,a;u=e.call(this,i),h($(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 el(l)}))!==null&&r!==void 0?r:[],u}return n}(p),om=function(t){ge(n,t);var e=be(n);function n(i){F(this,n);var u,a;u=e.call(this,i),h($(u),"attributes",void 0),h($(u),"formCode",void 0);var r;u.attributes=(r=i==null||(a=i.attributes)===null||a===void 0?void 0:a.map(function(c){return new el(c)}))!==null&&r!==void 0?r:[];var l;return u.formCode=(l=i==null?void 0:i.formCode)!==null&&l!==void 0?l:"",u}return n}(p),tl=function(t){ge(n,t);var e=be(n);function n(i){F(this,n);var u;u=e.call(this,i),h($(u),"rootNode",void 0),h($(u),"filterCode",void 0),u.rootNode=new xt(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}(Vn),nl=function t(e){F(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 se(r)}))!==null&&a!==void 0?a:[]},$u=function(t){ge(n,t);var e=be(n);function n(i){F(this,n);var u;return u=e.call(this,i),h($(u),"filters",void 0),h($(u),"viewFilters",void 0),h($(u),"orders",void 0),Ou.call($(u),i),u}return n}(nl),il=function(t){ge(n,t);var e=be(n);function n(i){F(this,n);var u;u=e.call(this,i),h($(u),"mode",void 0),h($(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}(nl),ul=function t(e){F(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:""},cm=function t(e){F(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:ht(8);var i;this.label=(i=e==null?void 0:e.label)!==null&&i!==void 0?i:"";var u;this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:this.label};function Be(t){var e;return(e=t==null?void 0:t.map(function(n){return new cm(n)}))!==null&&e!==void 0?e:[]}var Mu=function t(){F(this,t)},sm=function(t){ge(n,t);var e=be(n);function n(i){F(this,n);var u;return u=e.call(this),h($(u),"amount",void 0),h($(u),"currency",void 0),u.amount=new Ee(i==null?void 0:i.amount),u.currency=new Ee(i==null?void 0:i.currency),u}return n}(Mu),dm=function t(e){F(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:Hn.CNY},fm=function(t){ge(n,t);var e=be(n);function n(i){F(this,n);var u;return u=e.call(this),h($(u),"min",void 0),h($(u),"max",void 0),u.min=new Ee(i==null?void 0:i.min),u.max=new Ee(i==null?void 0:i.max),u}return n}(Mu),hm=function t(e){F(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:""},ym=function t(e){F(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:""},mm=function(t){ge(n,t);var e=be(n);function n(i){F(this,n);var u;return u=e.call(this),h($(u),"result",void 0),h($(u),"unit",void 0),u.result=new Ee(i==null?void 0:i.result),u.unit=new Ee(i==null?void 0:i.unit),u}return n}(Mu),vm=function t(e){F(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:""},Hn;(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"})(Hn||(Hn={}));var s;(function(t){t.DEFAULT_DISPLAY="defaultDisplay",t.REQUIRED="required",t.IS_HIDE="isHide",t.IS_SHOW_UNIT="isShowUnit",t.IMD_SEARCH="immediatelySearch",t.MULTIPLE="multiple",t.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",t.CAPTION="caption",t.IS_HIDE_CAPTION="isHideCaption",t.DEFAULT_SHOW_OPTIONS="defaultShowOptions",t.CAN_SEARCH="canSearch",t.CAN_CHECK="canCheck",t.CAN_EDIT="canEdit",t.CAN_DELETE="canDelete",t.SHOW_UPPER_CASE="showUpperCase",t.MICROMETER="micrometer",t.PRECISION="precision",t.PERCENTAGE="percentage",t.OPTIONAL_LEVEL="optionalLevel",t.CONTAINS_SUB_NODE="containsSubNode",t.DEFAULT_COLLAPSE="defaultCollapse",t.CAN_VIEW_FORM="canViewForm",t.VIEW_FORM_MODEL_TYPE="viewFormModelType",t.SERVER_PAGINATION="serverPagination",t.IS_SHOW_CAPTION_TIP="isShowCaptionTip",t.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions"})(s||(s={}));var Lu;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(Lu||(Lu={}));var Re=function t(e){F(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},gm=function t(e){F(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:ht(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 Yr(r)}))!==null&&a!==void 0?a:[],Ou.call(this,e)},bm=function t(e){F(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 Em(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Nu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Cm(){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 Un(t,e,n){return Cm()?Un=Reflect.construct:Un=function(u,a,r){var l=[null];l.push.apply(l,a);var c=Function.bind.apply(u,l),o=new c;return r&&kt(o,r.prototype),o},Un.apply(null,arguments)}function We(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ot(t){return Ot=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ot(t)}function Am(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&kt(t,e)}function _m(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Bm(t,e){return e&&(Im(e)==="object"||typeof e=="function")?e:Em(t)}function kt(t,e){return kt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},kt(t,e)}var Im=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Vu(t){var e=typeof Map=="function"?new Map:void 0;return Vu=function(i){if(i===null||!_m(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 Un(i,arguments,Ot(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),kt(u,i)},Vu(t)}function wm(){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 Sm(t){var e=wm();return function(){var i=Ot(t),u;if(e){var a=Ot(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Bm(this,u)}}var W=function t(e){Nu(this,t),We(this,"isHide",{type:"boolean"})},Ke=function(t){Am(n,t);var e=Sm(n);function n(i){return Nu(this,n),e.call(this)}return n}(Vu(Array)),X=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Nu(this,t),We(this,"isHide",void 0),We(this,"className",void 0),We(this,"style",void 0),We(this,"caption",void 0);var i;this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new bm(e==null?void 0:e.style);var u;this.caption=(u=e==null?void 0:e.caption)!==null&&u!==void 0?u:n};We(X,"Rules",W),We(X,"RuntimeRules",Ke);function Ae(){return Ae=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},Ae.apply(this,arguments)}function Fm(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Hu(t){return Hu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hu(t)}function qn(t,e){return qn=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},qn(t,e)}function Dm(){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 jn(t,e,n){return Dm()?jn=Reflect.construct:jn=function(u,a,r){var l=[null];l.push.apply(l,a);var c=Function.bind.apply(u,l),o=new c;return r&&qn(o,r.prototype),o},jn.apply(null,arguments)}function Tm(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Uu(t){var e=typeof Map=="function"?new Map:void 0;return Uu=function(i){if(i===null||!Tm(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return jn(i,arguments,Hu(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),qn(u,i)},Uu(t)}var Rm=/%[sdj%]/g,al=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(al=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function qu(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 fe(){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(Rm,function(l){if(l==="%%")return"%";if(i>=a)return l;switch(l){case"%s":return String(e[i++]);case"%d":return Number(e[i++]);case"%j":try{return JSON.stringify(e[i++])}catch(c){return"[Circular]"}break;default:return l}});return r}return u}function Pm(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function K(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||Pm(e)&&typeof t=="string"&&!t)}function xm(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 rl(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 Om(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var ll=function(t){Fm(e,t);function e(n,i){var u;return u=t.call(this,"Async Validation Error")||this,u.errors=n,u.fields=i,u}return e}(Uu(Error));function km(t,e,n,i){if(e.first){var u=new Promise(function(m,E){var A=function(I){return i(I),I.length?E(new ll(I,qu(I))):m()},B=Om(t);rl(B,n,A)});return u.catch(function(m){return m}),u}var a=e.firstFields||[];a===!0&&(a=Object.keys(t));var r=Object.keys(t),l=r.length,c=0,o=[],f=new Promise(function(m,E){var A=function(C){if(o.push.apply(o,C),c++,c===l)return i(o),o.length?E(new ll(o,qu(o))):m()};r.length||(i(o),m()),r.forEach(function(B){var C=t[B];a.indexOf(B)!==-1?rl(C,n,A):xm(C,n,A)})});return f.catch(function(m){return m}),f}function ol(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 cl(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]=Ae(Ae({},t[n]),i):t[n]=i}}return t}function sl(t,e,n,i,u,a){t.required&&(!n.hasOwnProperty(t.field)||K(e,a||t.type))&&i.push(fe(u.messages.required,t.fullField))}function $m(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(fe(u.messages.whitespace,t.fullField))}var ju={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},$t={integer:function(e){return $t.number(e)&&parseInt(e,10)===e},float:function(e){return $t.number(e)&&!$t.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"&&!$t.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(ju.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(ju.url)},hex:function(e){return typeof e=="string"&&!!e.match(ju.hex)}};function Mm(t,e,n,i,u){if(t.required&&e===void 0){sl(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?$t[r](e)||i.push(fe(u.messages.types[r],t.fullField,t.type)):r&&typeof e!==t.type&&i.push(fe(u.messages.types[r],t.fullField,t.type))}function Lm(t,e,n,i,u){var a=typeof t.len=="number",r=typeof t.min=="number",l=typeof t.max=="number",c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,o=e,f=null,m=typeof e=="number",E=typeof e=="string",A=Array.isArray(e);if(m?f="number":E?f="string":A&&(f="array"),!f)return!1;A&&(o=e.length),E&&(o=e.replace(c,"_").length),a?o!==t.len&&i.push(fe(u.messages[f].len,t.fullField,t.len)):r&&!l&&o<t.min?i.push(fe(u.messages[f].min,t.fullField,t.min)):l&&!r&&o>t.max?i.push(fe(u.messages[f].max,t.fullField,t.max)):r&&l&&(o<t.min||o>t.max)&&i.push(fe(u.messages[f].range,t.fullField,t.min,t.max))}var yt="enum";function Nm(t,e,n,i,u){t[yt]=Array.isArray(t[yt])?t[yt]:[],t[yt].indexOf(e)===-1&&i.push(fe(u.messages[yt],t.fullField,t[yt].join(", ")))}function Vm(t,e,n,i,u){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(fe(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(fe(u.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var T={required:sl,whitespace:$m,type:Mm,range:Lm,enum:Nm,pattern:Vm};function Hm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(K(e,"string")&&!t.required)return n();T.required(t,e,i,a,u,"string"),K(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 Um(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(K(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&T.type(t,e,i,a,u)}n(a)}function qm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(e===""&&(e=void 0),K(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 jm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(K(e)&&!t.required)return n();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(K(e)&&!t.required)return n();T.required(t,e,i,a,u),K(e)||T.type(t,e,i,a,u)}n(a)}function Km(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(K(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 zm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(K(e)&&!t.required)return n();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 Gm(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 Xm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(K(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&T.type(t,e,i,a,u)}n(a)}var Qm="enum";function Jm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(K(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&T[Qm](t,e,i,a,u)}n(a)}function Zm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(K(e,"string")&&!t.required)return n();T.required(t,e,i,a,u),K(e,"string")||T.pattern(t,e,i,a,u)}n(a)}function Ym(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(K(e,"date")&&!t.required)return n();if(T.required(t,e,i,a,u),!K(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 pm(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 Wu(t,e,n,i,u){var a=t.type,r=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e,a)&&!t.required)return n();T.required(t,e,i,r,u,a),K(e,a)||T.type(t,e,i,r,u)}n(r)}function ev(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(K(e)&&!t.required)return n();T.required(t,e,i,a,u)}n(a)}var Mt={string:Hm,method:Um,number:qm,boolean:jm,regexp:Wm,integer:Km,float:zm,array:Gm,object:Xm,enum:Jm,pattern:Zm,date:Ym,url:Wu,hex:Wu,email:Wu,required:pm,any:ev};function Ku(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var zu=Ku();function Pe(t){this.rules=null,this._messages=zu,this.define(t)}Pe.prototype={messages:function(e){return e&&(this._messages=cl(Ku(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if(typeof e!="object"||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var n,i;for(n in e)e.hasOwnProperty(n)&&(i=e[n],this.rules[n]=Array.isArray(i)?i:[i])},validate:function(e,n,i){var u=this;n===void 0&&(n={}),i===void 0&&(i=function(){});var a=e,r=n,l=i;if(typeof r=="function"&&(l=r,r={}),!this.rules||Object.keys(this.rules).length===0)return l&&l(),Promise.resolve();function c(C){var I,d=[],b={};function S(D){if(Array.isArray(D)){var P;d=(P=d).concat.apply(P,D)}else d.push(D)}for(I=0;I<C.length;I++)S(C[I]);d.length?b=qu(d):(d=null,b=null),l(d,b)}if(r.messages){var o=this.messages();o===zu&&(o=Ku()),cl(o,r.messages),r.messages=o}else r.messages=this.messages();var f,m,E={},A=r.keys||Object.keys(this.rules);A.forEach(function(C){f=u.rules[C],m=a[C],f.forEach(function(I){var d=I;typeof d.transform=="function"&&(a===e&&(a=Ae({},a)),m=a[C]=d.transform(m)),typeof d=="function"?d={validator:d}:d=Ae({},d),d.validator=u.getValidationMethod(d),d.field=C,d.fullField=d.fullField||C,d.type=u.getType(d),d.validator&&(E[C]=E[C]||[],E[C].push({rule:d,value:m,source:a,field:C}))})});var B={};return km(E,r,function(C,I){var d=C.rule,b=(d.type==="object"||d.type==="array")&&(typeof d.fields=="object"||typeof d.defaultField=="object");b=b&&(d.required||!d.required&&C.value),d.field=C.field;function S(ue,x){return Ae(Ae({},x),{},{fullField:d.fullField+"."+ue})}function D(ue){ue===void 0&&(ue=[]);var x=ue;if(Array.isArray(x)||(x=[x]),!r.suppressWarning&&x.length&&Pe.warning("async-validator:",x),x.length&&d.message!==void 0&&(x=[].concat(d.message)),x=x.map(ol(d)),r.first&&x.length)return B[d.field]=1,I(x);if(!b)I(x);else{if(d.required&&!C.value)return d.message!==void 0?x=[].concat(d.message).map(ol(d)):r.error&&(x=[r.error(d,fe(r.messages.required,d.field))]),I(x);var me={};if(d.defaultField)for(var On in C.value)C.value.hasOwnProperty(On)&&(me[On]=d.defaultField);me=Ae(Ae({},me),C.rule.fields);for(var Fe in me)if(me.hasOwnProperty(Fe)){var hu=Array.isArray(me[Fe])?me[Fe]:[me[Fe]];me[Fe]=hu.map(S.bind(null,Fe))}var kn=new Pe(me);kn.messages(r.messages),C.rule.options&&(C.rule.options.messages=r.messages,C.rule.options.error=r.error),kn.validate(C.value,C.rule.options||r,function(Ft){var De=[];x&&x.length&&De.push.apply(De,x),Ft&&Ft.length&&De.push.apply(De,Ft),I(De.length?De:null)})}}var P;d.asyncValidator?P=d.asyncValidator(d,C.value,D,C.source,r):d.validator&&(P=d.validator(d,C.value,D,C.source,r),P===!0?D():P===!1?D(d.message||d.field+" fails"):P instanceof Array?D(P):P instanceof Error&&D(P.message)),P&&P.then&&P.then(function(){return D()},function(ue){return D(ue)})},function(C){c(C)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!Mt.hasOwnProperty(e.type))throw new Error(fe("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"?Mt.required:Mt[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");Mt[e]=n},Pe.warning=al,Pe.messages=zu,Pe.validators=Mt;var tv={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 nv(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new Pe(t);return n.messages(Object.assign(tv,e)),n}var iv=new jy;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 uv(t){if(Array.isArray(t))return t}function av(t){if(Array.isArray(t))return Gu(t)}function dl(t,e,n,i,u,a,r){try{var l=t[a](r),c=l.value}catch(o){n(o);return}l.done?e(c):Promise.resolve(c).then(i,u)}function fl(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){dl(a,i,u,r,l,"next",c)}function l(c){dl(a,i,u,r,l,"throw",c)}r(void 0)})}}function rv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function hl(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function lv(t,e,n){return e&&hl(t.prototype,e),n&&hl(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 yl(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function ml(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function ov(){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 cv(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function vl(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){M(t,u,n[u])})}return t}function sv(t){return uv(t)||ml(t)||gl(t)||ov()}function Xu(t){return av(t)||ml(t)||gl(t)||cv()}function gl(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 bl=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(f){return c([o,f])}}function c(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(f){o=[6,f],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},L=function(){function e(n){var i=this;rv(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",Cl),M(this,"removeSetting",El),this._callControlHooks("preInstance",n);var u=yl(this,e)?this.constructor:void 0,a=u.controlName,r=u.controlIcon,l=u.controlType,c=u.controlFieldType,o=u.controlEventKeys,f=u.controlCustomEvents,m=u.name,E=u.setting;a&&r&&l||Vr("The ".concat(m," controlName,controlIcon,controlType is not define"));var A;this.id=(A=n==null?void 0:n.id)!==null&&A!==void 0?A:ht(10),this.name=a,this.icon=r;var B;this.type=(B=n==null?void 0:n.type)!==null&&B!==void 0?B:l,this.props=new X(n==null?void 0:n.props,(yl(this,e)?this.constructor:void 0).controlName);var C;this.controlType=(C=n==null?void 0:n.controlType)!==null&&C!==void 0?C:"base",this.setting=Ue(E);var I;this.fieldType=(I=n==null?void 0:n.fieldType)!==null&&I!==void 0?I:c,this.eventKeys=Ue(o),this.customEvents=Ue(f),Promise.resolve().then(function(){i._callControlHooks("postInstance",n)})}return lv(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=sv(u),c=l[0],o=l.slice(1);return(r=iv).emit.apply(r,[c,this].concat(Xu(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),Ty(this.props,i,u),this.postUpdate(i,u)}},{key:"preValidate",value:function(){var i=this;return fl(function(){var u,a,r;return bl(this,function(l){switch(l.label){case 0:return u=vl({},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 fl(function(){var r,l,c,o;return bl(this,function(f){switch(f.label){case 0:return[4,a.preValidate()];case 1:r=f.sent(),l=r!==void 0?r:vl({},a.rules),Array.isArray(u)&&u.forEach(function(m){l.hasOwnProperty(m)&&delete l[m]}),c=nv(l,i),f.label=2;case 2:return f.trys.push([2,4,,5]),[4,c.validate(a.props)];case 3:return f.sent(),[2,!0];case 4:throw o=f.sent(),o.control||(o.control=a),o;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=this.fieldType,a=this.id,r=this.type,l=this.props,c=l.dataBind,o=l.datasourceBind,f=l.optionConfig,m=l.caption,E=l.required,A=l.maxLength,B=l.options,C=l.encrypted,I=l.encryptedMode;if(!(!u&&!c&&!o)){var d={parentId:i,fieldType:u,controlId:a,caption:m,type:r,props:{}};switch(c&&(d.dataBind=c),f){case"datasource":case void 0:o&&(d.datasourceBind=o);break;case"custom":d.props.options=B;break}return E!==void 0&&(d.required=E),A!==void 0&&(d.maxLength=A),C!==void 0&&(d.encrypted=C),I!==void 0&&(d.encryptedMode=I),d}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:Ue(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(i,u){if(i==="setting"){if(u.add){var a;(a=this.setting).push.apply(a,Xu(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),e}();M(L,"controlName","\u63A7\u4EF6"),M(L,"controlIcon","icon"),M(L,"controlType","control"),M(L,"controlFieldType",void 0),M(L,"controlEventKeys",[]),M(L,"controlCustomEvents",[]),M(L,"setting",[]),M(L,"__is_control__",!0),M(L,"removeSettingItem",El),M(L,"updateSettingItem",Cl);function El(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(i){var u=typeof i!="string",a=e.setting.findIndex(function(c){return c.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(c){return!i.hideItems.includes(c)}):e.setting.splice(a,1),u&&!(!((l=e.setting[a].showItems)===null||l===void 0)&&l.length)&&e.setting.splice(a,1)}})}function Cl(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 c;(c=a.showItems).push.apply(c,Xu(e.showItems))}}}})}function dv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Al(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function fv(t,e,n){return e&&Al(t.prototype,e),n&&Al(t,n),t}function ve(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function hv(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var Q=function(){function e(n){dv(this,e),ve(this,"id",void 0),ve(this,"type",void 0),ve(this,"controlType",void 0),ve(this,"props",void 0),ve(this,"fieldType",void 0),ve(this,"customEvents",[]),ve(this,"pageStatus",void 0),ve(this,"parent",null);var i=hv(this,e)?this.constructor:void 0,u=i.controlType,a=i.controlFieldType,r=i.name,l=i.controlCustomEvents;u||Vr("The ".concat(r," controlType is not define"));var c;this.id=(c=n==null?void 0:n.id)!==null&&c!==void 0?c:ht(10);var o;this.type=(o=n==null?void 0:n.type)!==null&&o!==void 0?o:u,this.props=new X(n==null?void 0:n.props),this.customEvents=l;var f;this.controlType=(f=n==null?void 0:n.controlType)!==null&&f!==void 0?f:"base";var m;this.fieldType=(m=n==null?void 0:n.fieldType)!==null&&m!==void 0?m:a;var E;this.pageStatus=(E=n==null?void 0:n.pageStatus)!==null&&E!==void 0?E:Lu.UNKNOWN}return fv(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}();ve(Q,"controlType","control"),ve(Q,"controlFieldType",void 0),ve(Q,"__is_control__",!0),ve(Q,"controlCustomEvents",[]);function Qu(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:w.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:w.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:w.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(n,i,u){i.length===0&&u(w.getMessage("optionIsRequired")),u()}},{type:"array",validator:function(n,i,u){var a=i.map(function(l){return l.value}),r=ky(a);a.length!==r.length?u(w.getMessage("optionIdIsRepeat")):u()},message:w.getMessage("optionIdIsRepeat")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:w.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:w.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:w.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:w.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:w.getMessage("isNotArray")},{type:"array",validator:function(n,i,u){i.length===0&&u(w.getMessage("pleaseBindAtLeastOneDisplayValue")),u()},message:w.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:w.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:w.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:w.getMessage("isNotBoolean")}}}}]}}])}function Wn(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:w.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:w.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:w.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:w.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:w.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:w.getMessage("isNotString")},key:{type:"string",required:!0,message:w.getMessage("isNotString")},value:[{type:"array",message:w.getMessage("isNotArray")},{type:"array",validator:function(u,a,r){a.length===0&&r(w.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),r()},message:w.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:w.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:w.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:w.getMessage("isNotBoolean")}}}}]}}]}function N(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Kn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function V(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function zn(t){return zn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zn(t)}function Gn(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 yv(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function mv(t,e){return e&&(vv(e)==="object"||typeof e=="function")?e:N(t)}function Ju(t,e){return Ju=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ju(t,e)}var vv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function gv(){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 Xn(t){var e=gv();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 mv(this,u)}}var ee=function(t){Gn(n,t);var e=Xn(n);function n(i){Kn(this,n);var u;u=e.call(this,i),V(N(u),"dataBind",{}),V(N(u),"caption",{type:"string",required:!0,message:w.getMessage("pleaseEnterCaption")}),V(N(u),"isHideCaption",{type:"boolean"}),V(N(u),"labelPosition",{type:"enum",enum:["top","left"]}),V(N(u),"defaultState",{type:"enum",enum:["default","readonly"]}),V(N(u),"required",{type:"boolean"}),V(N(u),"captionTip",{type:"string",required:!1,message:w.getMessage("pleaseEnterCaptionTip")});var a={fieldCode:{type:"string",required:!0,message:w.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:w.getMessage("pleaseEnterFieldCode")}};if(yv(i.dataBind,Ee))u.dataBind={type:"object",required:!0,fields:Ue(a),message:w.getMessage("pleaseEnterFieldCode")};else{var r={type:"object",required:!0,fields:{},message:w.getMessage("pleaseEnterFieldCode")};Object.keys(i.dataBind).forEach(function(l){r.fields[l]={type:"object",required:!0,fields:Ue(a),message:w.getMessage("pleaseEnterFieldCode")}}),u.dataBind=r}return i.isShowCaptionTip&&(u.captionTip.required=!0),u}return n}(W),H=function(t){Gn(n,t);var e=Xn(n);function n(i){Kn(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:w.getMessage("runtimeRequired",{caption:i.caption})}),u}return n}(Ke),R=function(t){Gn(n,t);var e=Xn(n);function n(i){Kn(this,n);var u;u=e.call(this,i),V(N(u),"caption",void 0),V(N(u),"isHideCaption",void 0),V(N(u),"isShowCaptionTip",void 0),V(N(u),"captionTip",void 0),V(N(u),"labelPosition",void 0),V(N(u),"dataBind",void 0),V(N(u),"defaultValue",void 0),V(N(u),"placeholder",void 0),V(N(u),"defaultState",void 0),V(N(u),"required",void 0),V(N(u),"requiredMessage",void 0);var a;u.caption=(a=i==null?void 0:i.caption)!==null&&a!==void 0?a:"";var r;u.isHideCaption=(r=i==null?void 0:i.isHideCaption)!==null&&r!==void 0?r:!1;var l;u.isShowCaptionTip=(l=i==null?void 0:i.isShowCaptionTip)!==null&&l!==void 0?l:!1;var c;u.captionTip=(c=i==null?void 0:i.captionTip)!==null&&c!==void 0?c:"";var o;u.defaultState=(o=i==null?void 0:i.defaultState)!==null&&o!==void 0?o:"default";var f;u.labelPosition=(f=i==null?void 0:i.labelPosition)!==null&&f!==void 0?f:"top";var m;u.placeholder=(m=i==null?void 0:i.placeholder)!==null&&m!==void 0?m:"";var E;u.required=(E=i==null?void 0:i.required)!==null&&E!==void 0?E:!1;var A;u.requiredMessage=(A=i==null?void 0:i.requiredMessage)!==null&&A!==void 0?A:"",u.dataBind=new Ee(i==null?void 0:i.dataBind);var B;return u.defaultValue=(B=i==null?void 0:i.defaultValue)!==null&&B!==void 0?B:"",u}return n}(X);V(R,"Rules",ee),V(R,"RuntimeRules",H);var mt=function(t){Gn(n,t);var e=Xn(n);function n(i){Kn(this,n);var u;return u=e.call(this,i),V(N(u),"optionConfig",{type:"enum",enum:["custom","datasource"],message:w.getMessage("PleaseSelectTheCorrectOptionSettings")}),V(N(u),"options",[{type:"array",message:w.getMessage("isNotArray")}]),V(N(u),"datasourceBind",[{type:"object",message:w.getMessage("isNotObject")}]),Qu.call(N(u),i),u}return n}(ee);function Zu(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Qn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Jn(t){return Jn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jn(t)}function Ev(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Yu(t,e)}function Cv(t,e){return e&&(Av(e)==="object"||typeof e=="function")?e:Zu(t)}function Yu(t,e){return Yu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Yu(t,e)}var Av=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};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 Bv(t){var e=_v();return function(){var i=Jn(t),u;if(e){var a=Jn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Cv(this,u)}}var O=function(t){Ev(n,t);var e=Bv(n);function n(i){bv(this,n);var u;return u=e.call(this,i),Qn(Zu(u),"controlType","form"),Qn(Zu(u),"props",void 0),u.props=new R(i==null?void 0:i.props),u}return n}(L);Qn(O,"controlEventKeys",["on_change","on_focus","on_blur"]),Qn(O,"controlCustomAttributes",void 0);function Zn(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Iv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function pu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Yn(t){return Yn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yn(t)}function wv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ea(t,e)}function Sv(t,e){return e&&(Fv(e)==="object"||typeof e=="function")?e:Zn(t)}function ea(t,e){return ea=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ea(t,e)}var Fv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Dv(){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 Tv(t){var e=Dv();return function(){var i=Yn(t),u;if(e){var a=Yn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Sv(this,u)}}var k=function(t){wv(n,t);var e=Tv(n);function n(i){Iv(this,n);var u;return u=e.call(this,i),pu(Zn(u),"controlType","form"),pu(Zn(u),"props",void 0),pu(Zn(u),"value",void 0),u.props=new R(i==null?void 0:i.props),u}return n}(Q);function Rv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Pv(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 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&&ta(t,e)}function Ov(t,e){return e&&(kv(e)==="object"||typeof e=="function")?e:Rv(t)}function ta(t,e){return ta=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ta(t,e)}var kv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};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 Mv(t){var e=$v();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 Ov(this,u)}}var q=function(t){xv(n,t);var e=Mv(n);function n(i){return Pv(this,n),e.call(this,i)}return n}(X);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 Lv(t){if(Array.isArray(t))return na(t)}function Nv(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Vv(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _l(t){return Lv(t)||Nv(t)||Hv(t)||Vv()}function Hv(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 Uv(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function Bl(t,e){t.parent=e,Uv(t,"parent")}function qv(t,e){t.forEach(function(n){Bl(n,e)})}var Il=Symbol("targetKey");function wl(t){var e;return(e=t[Il])!==null&&e!==void 0?e:t}function Sl(t,e){return qv(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 c;return u===Il?i:(c=Reflect).get.apply(c,[i,u].concat(_l(r)))},set:function(i,u,a){for(var r=arguments.length,l=new Array(r>3?r-3:0),c=3;c<r;c++)l[c-3]=arguments[c];var o;if(Oy(t)&&u==="length"&&a===t.length)return!0;var f=(o=Reflect).set.apply(o,[i,u,a].concat(_l(l)));return xy(a)&&Bl(a,e),f}})}function Ie(t,e,n,i){var u=i!=null?i:t,a=Sl(wl(n!=null?n:[]),u);Object.defineProperty(t,e,{get:function(){return a},set:function(l){a=Sl(wl(l),u)},enumerable:!0})}function ia(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 jv(t){if(Array.isArray(t))return ia(t)}function ze(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Fl(t,e,n,i,u,a,r){try{var l=t[a](r),c=l.value}catch(o){n(o);return}l.done?e(c):Promise.resolve(c).then(i,u)}function Wv(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){Fl(a,i,u,r,l,"next",c)}function l(c){Fl(a,i,u,r,l,"throw",c)}r(void 0)})}}function Kv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Dl(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 zv(t,e,n){return e&&Dl(t.prototype,e),n&&Dl(t,n),t}function xe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function vt(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?vt=Reflect.get:vt=function(u,a,r){var l=t0(u,a);if(!!l){var c=Object.getOwnPropertyDescriptor(l,a);return c.get?c.get.call(r):c.value}},vt(t,e,n||t)}function Oe(t){return Oe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Oe(t)}function 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&&ua(t,e)}function Xv(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Qv(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Jv(){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 Zv(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){xe(t,u,n[u])})}return t}function Yv(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 pv(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Yv(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function e0(t,e){return e&&(n0(e)==="object"||typeof e=="function")?e:ze(t)}function ua(t,e){return ua=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ua(t,e)}function t0(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Oe(t),t!==null););return t}function Tl(t){return jv(t)||Qv(t)||i0(t)||Jv()}var n0=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function i0(t,e){if(!!t){if(typeof t=="string")return ia(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 ia(t,e)}}function u0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function a0(t){var e=u0();return function(){var i=Oe(t),u;if(e){var a=Oe(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return e0(this,u)}}var r0=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(f){return c([o,f])}}function c(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(f){o=[6,f],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},l0=1e4,z=function(e){Gv(i,e);var n=a0(i);function i(u){Kv(this,i);var a;a=n.call(this,u),xe(ze(a),"controlType","layout"),xe(ze(a),"children",void 0),xe(ze(a),"excludes",void 0),xe(ze(a),"childrenMaxLength",void 0),xe(ze(a),"props",void 0);var r=Xv(this,i)?this.constructor:void 0,l=r.excludes,c=r.childrenMaxLength;return a.props=new q(u==null?void 0:u.props),Ie(ze(a),"children",u==null?void 0:u.children),a.excludes=Ue(l),a.childrenMaxLength=c,a}return zv(i,[{key:"judgeExcludesChildren",value:function(a){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(a)}},{key:"judgeJoinChildren",value:function(a){var r=this.judgeExcludesChildren(a);return r&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(a,r){var l=this,c=this,o=function(){return vt(Oe(i.prototype),"validate",l)};return Wv(function(){return r0(this,function(f){switch(f.label){case 0:return[4,o().call(c,a,r)];case 1:return f.sent(),[4,Promise.all(c.children.map(function(m){return m.validate(a,r)}))];case 2:return f.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=vt(Oe(i.prototype),"toDataBindModel",this).call(this),l=r?[r]:[];return this.children.reduce(function(c,o){var f=o.toDataBindModel(a);if(Array.isArray(f)){var m=f.filter(function(E){return!!E});return Tl(c).concat(Tl(m))}return f&&c.push(f),c},l)}},{key:"toSchema",value:function(){var a=vt(Oe(i.prototype),"toSchema",this).call(this),r=this.children.map(function(l){var c=l.toSchema();return c});return pv(Zv({},a),{children:r})}}]),i}(L);xe(z,"excludes",!1),xe(z,"childrenMaxLength",l0);function Lt(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function o0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function aa(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ei(t){return ei=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ei(t)}function c0(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 s0(t,e){return e&&(d0(e)==="object"||typeof e=="function")?e:Lt(t)}function ra(t,e){return ra=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ra(t,e)}var d0=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function f0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function h0(t){var e=f0();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 s0(this,u)}}var Z=function(t){c0(n,t);var e=h0(n);function n(i){o0(this,n);var u;return u=e.call(this,i),aa(Lt(u),"controlType","layout"),aa(Lt(u),"children",void 0),aa(Lt(u),"props",void 0),u.props=new q(i==null?void 0:i.props),Ie(Lt(u),"children",i==null?void 0:i.children),u}return n}(Q);function la(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function y0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function m0(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 v0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&oa(t,e)}function g0(t,e){return e&&(b0(e)==="object"||typeof e=="function")?e:la(t)}function oa(t,e){return oa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},oa(t,e)}var b0=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function E0(){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 C0(t){var e=E0();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 g0(this,u)}}var ni=function(t){v0(n,t);var e=C0(n);function n(i,u){y0(this,n);var a;return a=e.call(this,u),m0(la(a),"headers",void 0),Ie(la(a),"headers",u==null?void 0:u.headers,i),a}return n}(X);function ca(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function A0(t){if(Array.isArray(t))return ca(t)}function ii(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Rl(t,e,n,i,u,a,r){try{var l=t[a](r),c=l.value}catch(o){n(o);return}l.done?e(c):Promise.resolve(c).then(i,u)}function _0(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){Rl(a,i,u,r,l,"next",c)}function l(c){Rl(a,i,u,r,l,"throw",c)}r(void 0)})}}function B0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pl(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function I0(t,e,n){return e&&Pl(t.prototype,e),n&&Pl(t,n),t}function ui(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function gt(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?gt=Reflect.get:gt=function(u,a,r){var l=R0(u,a);if(!!l){var c=Object.getOwnPropertyDescriptor(l,a);return c.get?c.get.call(r):c.value}},gt(t,e,n||t)}function ke(t){return ke=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ke(t)}function w0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&sa(t,e)}function S0(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function F0(){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 xl(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){ui(t,u,n[u])})}return t}function D0(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 Ol(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):D0(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function T0(t,e){return e&&(P0(e)==="object"||typeof e=="function")?e:ii(t)}function sa(t,e){return sa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},sa(t,e)}function R0(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=ke(t),t!==null););return t}function kl(t){return A0(t)||S0(t)||x0(t)||F0()}var P0=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function x0(t,e){if(!!t){if(typeof t=="string")return ca(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ca(t,e)}}function O0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function k0(t){var e=O0();return function(){var i=ke(t),u;if(e){var a=ke(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return T0(this,u)}}var $0=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(f){return c([o,f])}}function c(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(f){o=[6,f],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},da=function(t){w0(n,t);var e=k0(n);function n(i){B0(this,n);var u;return u=e.call(this,i),ui(ii(u),"controlType","list"),ui(ii(u),"props",void 0),u.props=new ni(ii(u),i==null?void 0:i.props),u}return I0(n,[{key:"validate",value:function(u,a){var r=this,l=this,c=function(){return gt(ke(n.prototype),"validate",r)};return _0(function(){return $0(this,function(o){switch(o.label){case 0:return[4,c().call(l,u)];case 1:return o.sent(),[4,Promise.all(l.props.headers.map(function(f){return f.validate(u,a)}))];case 2:return o.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var u=gt(ke(n.prototype),"toDataBindModel",this).call(this),a=u?[u]:[],r=this.id;return this.props.headers.reduce(function(l,c){var o=c.toDataBindModel(r);if(Array.isArray(o)){var f=o.filter(function(m){return!!m});return kl(l).concat(kl(f))}return o&&l.push(o),l},a)}},{key:"toSchema",value:function(){var u=gt(ke(n.prototype),"toSchema",this).call(this),a=this.props.headers.map(function(r){return r.toSchema()});return Ol(xl({},u),{props:Ol(xl({},this.props),{headers:a})})}}]),n}(L);ui(da,"controlFieldType",J.LIST);function bt(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function M0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $l(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 L0(t,e,n){return e&&$l(t.prototype,e),n&&$l(t,n),t}function fa(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ai(t){return ai=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ai(t)}function N0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ha(t,e)}function V0(t,e){return e&&(H0(e)==="object"||typeof e=="function")?e:bt(t)}function ha(t,e){return ha=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ha(t,e)}var H0=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function U0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function q0(t){var e=U0();return function(){var i=ai(t),u;if(e){var a=ai(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return V0(this,u)}}var Ml=function(t){N0(n,t);var e=q0(n);function n(i){M0(this,n);var u;return u=e.call(this,i),fa(bt(u),"controlType","list"),fa(bt(u),"children",void 0),fa(bt(u),"props",void 0),u.props=new ni(bt(u),i==null?void 0:i.props),Ie(bt(u),"children",i==null?void 0:i.children),u}return L0(n,[{key:"length",get:function(){return this.children.length}}]),n}(Q);function Y(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ya(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function te(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ri(t){return ri=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ri(t)}function ma(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&va(t,e)}function j0(t,e){return e&&(W0(e)==="object"||typeof e=="function")?e:Y(t)}function va(t,e){return va=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},va(t,e)}var W0=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function K0(){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 ga(t){var e=K0();return function(){var i=ri(t),u;if(e){var a=ri(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return j0(this,u)}}var we=function(t){ma(n,t);var e=ga(n);function n(i){ya(this,n);var u;return u=e.call(this,i),te(Y(u),"caption",{type:"string",required:!0,message:w.getMessage("pleaseEnterCaption")}),te(Y(u),"width",{type:"number",required:!1,message:w.getMessage("pleaseEnterColumnWidth")}),u.width.required=i.widthType==="px",u}return n}(W),G=function(t){ma(n,t);var e=ga(n);function n(i){ya(this,n);var u;u=e.call(this,i),te(Y(u),"widthType",void 0),te(Y(u),"width",void 0),te(Y(u),"caption",void 0),te(Y(u),"dataBind",void 0),te(Y(u),"autoWidth",void 0),te(Y(u),"fixed",void 0),te(Y(u),"sort",void 0),te(Y(u),"align",void 0),te(Y(u),"colSpan",void 0),te(Y(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 Zr(i==null?void 0:i.autoWidth),u.dataBind=new Ee(i==null?void 0:i.dataBind);var c;u.sort=(c=i==null?void 0:i.sort)!==null&&c!==void 0?c:!0,u.align=i==null?void 0:i.align,u.colSpan=i==null?void 0:i.colSpan;var o;return u.autoHeight=(o=i==null?void 0:i.autoHeight)!==null&&o!==void 0?o:!1,u}return n}(X);te(G,"Rules",we);var Ll=function(t){ma(n,t);var e=ga(n);function n(i){ya(this,n);var u;return u=e.call(this,i),te(Y(u),"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:w.getMessage("PleaseSelectTheCorrectOptionSettings")}),te(Y(u),"options",[{type:"array",message:w.getMessage("isNotArray")}]),te(Y(u),"datasourceBind",[{type:"object",message:w.getMessage("isNotObject")}]),Qu.call(Y(u),i),u}return n}(we);function ba(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function z0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Nl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function li(t){return li=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},li(t)}function G0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ea(t,e)}function X0(t,e){return e&&(Q0(e)==="object"||typeof e=="function")?e:ba(t)}function Ea(t,e){return Ea=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ea(t,e)}var Q0=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function J0(){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 Z0(t){var e=J0();return function(){var i=li(t),u;if(e){var a=li(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return X0(this,u)}}var ne=function(t){G0(n,t);var e=Z0(n);function n(i){z0(this,n);var u;return u=e.call(this,i),Nl(ba(u),"controlType","column"),Nl(ba(u),"props",void 0),u.props=new G(i==null?void 0:i.props),u}return n}(L);function Ca(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Y0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Vl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function oi(t){return oi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oi(t)}function p0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Aa(t,e)}function eg(t,e){return e&&(tg(e)==="object"||typeof e=="function")?e:Ca(t)}function Aa(t,e){return Aa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Aa(t,e)}var tg=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 ig(t){var e=ng();return function(){var i=oi(t),u;if(e){var a=oi(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return eg(this,u)}}var ie=function(t){p0(n,t);var e=ig(n);function n(i){Y0(this,n);var u;return u=e.call(this,i),Vl(Ca(u),"controlType","column"),Vl(Ca(u),"props",void 0),u.props=new G(i==null?void 0:i.props),u}return n}(Q);function Hl(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ug(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ag(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ci(t){return ci=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ci(t)}function rg(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 lg(t,e){return e&&(og(e)==="object"||typeof e=="function")?e:Hl(t)}function _a(t,e){return _a=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},_a(t,e)}var og=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 sg(t){var e=cg();return function(){var i=ci(t),u;if(e){var a=ci(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return lg(this,u)}}var Ba=function(t){rg(n,t);var e=sg(n);function n(i){ug(this,n);var u;return u=e.call(this,i),ag(Hl(u),"dataBind",void 0),u.dataBind=new Ee(i==null?void 0:i.dataBind),u}return n}(q);function Ia(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function dg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ul(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function si(t){return si=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},si(t)}function fg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&wa(t,e)}function hg(t,e){return e&&(yg(e)==="object"||typeof e=="function")?e:Ia(t)}function wa(t,e){return wa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},wa(t,e)}var yg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function mg(){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 vg(t){var e=mg();return function(){var i=si(t),u;if(e){var a=si(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return hg(this,u)}}var gg=function(t){fg(n,t);var e=vg(n);function n(i){dg(this,n);var u;return u=e.call(this,i),Ul(Ia(u),"controlType","search"),Ul(Ia(u),"props",void 0),u.props=new Ba(i==null?void 0:i.props),u}return n}(z);function Sa(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ql(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function di(t){return di=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},di(t)}function Eg(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 Cg(t,e){return e&&(Ag(e)==="object"||typeof e=="function")?e:Sa(t)}function Fa(t,e){return Fa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Fa(t,e)}var Ag=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function _g(){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 Bg(t){var e=_g();return function(){var i=di(t),u;if(e){var a=di(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Cg(this,u)}}var Ig=function(t){Eg(n,t);var e=Bg(n);function n(i){bg(this,n);var u;return u=e.call(this,i),ql(Sa(u),"controlType","search"),ql(Sa(u),"props",void 0),u.props=new Ba(i==null?void 0:i.props),u}return n}(Z);function Ge(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:w.getMessage("pleaseEnterForm")}}}])}class Da extends X{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 jl extends L{constructor(e){super(e),this.props=new Da(e==null?void 0:e.props)}static get controlName(){return"\u8BF4\u660E\u6587\u5B57"}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}jl.setting=[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class wg extends Q{constructor(e){super(e),this.props=new Da(e==null?void 0:e.props)}static get controlType(){return"text"}}var Wl={Designer:jl,Runtime:wg,Property:Da};class Ta extends X{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 Ra extends L{constructor(e){super(e),this.props=new Ta(e==null?void 0:e.props)}static get controlName(){return"\u94FE\u63A5"}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}Ra.controlEventKeys=["on_click"],Ra.setting=[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];class Sg extends Q{constructor(e){super(e),this.props=new Ta(e==null?void 0:e.props)}static get controlType(){return"link"}}var Kl={Designer:Ra,Runtime:Sg,Property:Ta};class le extends X{constructor(e){var n,i,u,a,r,l,c,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=(c=e==null?void 0:e.command)!=null?c:"custom",this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1}}class oe extends L{constructor(e){super(e),this.props=new le(e==null?void 0:e.props)}static get controlName(){return"\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}oe.controlEventKeys=["on_click"],oe.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class he extends Q{constructor(e){super(e),this.props=new le(e==null?void 0:e.props)}static get controlType(){return"button"}}var zl={Designer:oe,Runtime:he,Property:le},Fg="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",Dg="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Tg="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",Rg="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Pg="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",xg="{caption}\u5FC5\u586B",Og="\u8BF7\u8F93\u5165\u6807\u9898",kg="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",$g="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",Mg="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",Lg="\u8BF7\u7ED1\u5B9A\u8868\u5355",Ng="\u8BF7\u7ED1\u5B9A\u5217\u8868",Vg="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",Hg="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Ug="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",qg="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",jg="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Wg="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Kg="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",zg="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Gg="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",Xg="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Qg="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Jg="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",Zg="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Yg="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",pg="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",eb="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",tb="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",nb="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",ib="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",ub="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",ab="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",rb="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",lb="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",ob="\u8BF7\u7ED1\u5B9A\u670D\u52A1",cb="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",sb="\u8BF7\u9009\u62E9\u7701",db="\u8BF7\u9009\u62E9\u5E02",fb="\u8BF7\u9009\u62E9\u533A",hb="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",yb="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",mb="\u8BF7\u8F93\u5165\u5217\u5BBD",vb="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",gb="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",bb="\u8BF7\u9009\u62E9\u63A7\u4EF6",Eb="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Cb="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Ab="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",_b="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Bb="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ib="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",wb="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Sb="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Fb="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Db="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Tb="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Rb="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Pb="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",xb="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Ob="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",kb="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",$b="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Mb="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Lb="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Nb="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Vb="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Hb={isNotNumber:Fg,isNotString:Dg,isNotObject:Tg,isNotArray:Rg,isNotBoolean:Pg,runtimeRequired:xg,pleaseEnterCaption:Og,pleaseEnterCaptionTip:kg,pleaseEnterPlaceholder:$g,pleaseEnterFieldCode:Mg,pleaseEnterForm:Lg,pleaseEnterList:Ng,pleaseEnterProcess:Vg,pleaseEnterLabel:Hg,pleaseEnterValue:Ug,bizKeyNotBindFiled:qg,pleaseSelectOneField:jg,pleaseEnterNumberRange:Wg,pleaseEnterAValueGreaterThanMin:Kg,pleaseEnterAValueLessThanMax:zg,numberRangeSetError:Gg,stringRangeError:Xg,attachmentMaxSize:Qg,pleaseEnterTotalScoreSetting:Jg,theTotalScoreMustNotBeLessThan1:Zg,scoreDefaultValueRange:Yg,attachmentLimitError:pg,PleaseReselectTheOptionalQuantity:eb,TheMaximumLengthIsGreaterThanTheMinimumLength:tb,TheMinimumLengthIsGreaterThanTheMaximumLength:nb,PleaseSelectTheCorrectOptionSettings:ib,optionIdIsRepeat:ub,optionIsRequired:ab,pleaseEnterDataCode:rb,pleaseEnterValueFieldCode:lb,pleaseEnterSvcCode:ob,pleaseBindAtLeastOneDisplayValue:cb,pleaseSelectProvince:sb,pleaseSelectCity:db,pleaseSelectDistrict:fb,limitRowsCannotBeLessThan0:hb,TheNumberOfRowsCannotBeLessThanMinRows:yb,pleaseEnterColumnWidth:mb,pleaseSetTheLogicalRelationshipOfAllRuleConditions:vb,pleaseCompleteAllRulesAndConditions:gb,pleaseSelectControl:bb,pleaseSelectAtLeastOneColumn:Eb,pleaseSelectFillBackMode:Cb,pleaseSelectDashboard:Ab,rootNodeIsRequired:_b,theViewNameCannotBeEmpty:Bb,pleaseSelectOcrType:Ib,pleaseSelectAtLeastOneFieldToFillIn:wb,pleaseChooseAtLeastOne:Sb,pleaseEnterButtonContent:Fb,pleaseEnterDataCodeInDataSetting:Db,pleaseEnterValueFieldCodeInDataSetting:Tb,pleaseEnterSvcCodeInDataSetting:Rb,pleaseBindAtLeastOneDisplayValueInDataSetting:Pb,rootNodeIsRequiredInDataSetting:xb,pleaseEnterMaxHeight:Ob,pleaseEnter:kb,pleaseEnterWatermark:$b,pleaseEnterFileName:Mb,pleaseUploadAtLeastOnePrintTemplate:Lb,pleaseAssignBusiness:Nb,pleaseAssignExternal:Vb},Ub="Please enter a number",qb="Please enter a string",jb="Please enter an object",Wb="Please enter an array",Kb="Please enter a boolean",zb="{caption} Required",Gb="Please enter the title",Xb="Please enter the bubble prompt",Qb="Please enter the prompt text",Jb="Please bind data items",Zb="Please bind the form",Yb="Please bind the list",pb="Please bind the process",eE="Please enter the displayed value",tE="Please enter the stored value",nE="The document number is not bound to the data item",iE="Please select at least one display field",uE="Please enter a value greater than or equal to {min} and less than or equal to {max}",aE="Please enter a value greater than or equal to {min}",rE="Please enter a value less than or equal to {max}",lE="The value range is set incorrectly",oE="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",cE="The attachment size must be between 0MB and 1000MB",sE="Please fill in the total score setting",dE="The total score cannot be less than 1",fE="The default value must be between {min} and {max}",hE="The number of attachments uploaded must be between {min} and {max}",yE="Please re-select the optional quantity",mE="The maximum length of the control must be greater than the minimum length",vE="The minimum length of the control must be less than the maximum length",gE="Please select the correct option setting",bE="Option ID cannot be repeated",EE="Please enter at least one option",CE="Please bind the data source",AE="Please bind the stored value",_E="Please bind the service",BE="At least one display value must be bound",IE="Please select a province",wE="Please select a city",SE="Please select a district",FE="The minimum number of lines to fill in cannot be less than 0",DE="The number of rows cannot be less than {min} rows",TE="Please enter the column width",RE="Please set the logical relationship of all rule conditions",PE="Please complete all rules and conditions",xE="please select control",OE="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",kE="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",$E="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",ME="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",LE="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",NE="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",VE="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",HE="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",UE="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",qE="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",jE="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",WE="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",KE="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",zE="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",GE="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",XE="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",QE="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",JE="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",ZE={isNotNumber:Ub,isNotString:qb,isNotObject:jb,isNotArray:Wb,isNotBoolean:Kb,runtimeRequired:zb,pleaseEnterCaption:Gb,pleaseEnterCaptionTip:Xb,pleaseEnterPlaceholder:Qb,pleaseEnterFieldCode:Jb,pleaseEnterForm:Zb,pleaseEnterList:Yb,pleaseEnterProcess:pb,pleaseEnterLabel:eE,pleaseEnterValue:tE,bizKeyNotBindFiled:nE,pleaseSelectOneField:iE,pleaseEnterNumberRange:uE,pleaseEnterAValueGreaterThanMin:aE,pleaseEnterAValueLessThanMax:rE,numberRangeSetError:lE,stringRangeError:oE,attachmentMaxSize:cE,pleaseEnterTotalScoreSetting:sE,theTotalScoreMustNotBeLessThan1:dE,scoreDefaultValueRange:fE,attachmentLimitError:hE,PleaseReselectTheOptionalQuantity:yE,TheMaximumLengthIsGreaterThanTheMinimumLength:mE,TheMinimumLengthIsGreaterThanTheMaximumLength:vE,PleaseSelectTheCorrectOptionSettings:gE,optionIdIsRepeat:bE,optionIsRequired:EE,pleaseEnterDataCode:CE,pleaseEnterValueFieldCode:AE,pleaseEnterSvcCode:_E,pleaseBindAtLeastOneDisplayValue:BE,pleaseSelectProvince:IE,pleaseSelectCity:wE,pleaseSelectDistrict:SE,limitRowsCannotBeLessThan0:FE,TheNumberOfRowsCannotBeLessThanMinRows:DE,pleaseEnterColumnWidth:TE,pleaseSetTheLogicalRelationshipOfAllRuleConditions:RE,pleaseCompleteAllRulesAndConditions:PE,pleaseSelectControl:xE,pleaseSelectDashboard:OE,theViewNameCannotBeEmpty:kE,pleaseSelectOcrType:$E,pleaseSelectAtLeastOneFieldToFillIn:ME,pleaseChooseAtLeastOne:LE,pleaseEnterButtonContent:NE,pleaseEnterDataCodeInDataSetting:VE,pleaseEnterValueFieldCodeInDataSetting:HE,pleaseEnterSvcCodeInDataSetting:UE,pleaseBindAtLeastOneDisplayValueInDataSetting:qE,rootNodeIsRequiredInDataSetting:jE,pleaseEnterMaxHeight:WE,pleaseEnter:KE,pleaseEnterWatermark:zE,pleaseEnterFileName:GE,pleaseUploadAtLeastOnePrintTemplate:XE,pleaseAssignBusiness:QE,pleaseAssignExternal:JE},YE="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",pE="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",eC="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",tC="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",nC="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",iC="{caption}\u5FC5\u9808",uC="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",aC="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",rC="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",lC="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",oC="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",cC="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",sC="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",dC="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",fC="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",hC="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",yC="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",mC="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",vC="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",gC="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",bC="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",EC="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",CC="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",AC="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",_C="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",BC="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",IC="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",wC="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",SC="\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",FC="\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",DC="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",TC="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",RC="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",PC="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",xC="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",OC="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",kC="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",$C="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",MC="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",LC="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",NC="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",VC="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",HC="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",UC="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",qC="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",jC="please select control",WC="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",KC="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",zC="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",GC="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",XC="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",QC="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",JC="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",ZC="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",YC="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",pC="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",e5="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",t5="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",n5="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",i5="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",u5="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",a5="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",r5="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",l5="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",o5={isNotNumber:YE,isNotString:pE,isNotObject:eC,isNotArray:tC,isNotBoolean:nC,runtimeRequired:iC,pleaseEnterCaption:uC,pleaseEnterCaptionTip:aC,pleaseEnterPlaceholder:rC,pleaseEnterFieldCode:lC,pleaseEnterForm:oC,pleaseEnterList:cC,pleaseEnterProcess:sC,pleaseEnterLabel:dC,pleaseEnterValue:fC,bizKeyNotBindFiled:hC,pleaseSelectOneField:yC,pleaseEnterNumberRange:mC,pleaseEnterAValueGreaterThanMin:vC,pleaseEnterAValueLessThanMax:gC,numberRangeSetError:bC,stringRangeError:EC,attachmentMaxSize:CC,pleaseEnterTotalScoreSetting:AC,theTotalScoreMustNotBeLessThan1:_C,scoreDefaultValueRange:BC,attachmentLimitError:IC,PleaseReselectTheOptionalQuantity:wC,TheMaximumLengthIsGreaterThanTheMinimumLength:SC,TheMinimumLengthIsGreaterThanTheMaximumLength:FC,PleaseSelectTheCorrectOptionSettings:DC,optionIdIsRepeat:TC,optionIsRequired:RC,pleaseEnterDataCode:PC,pleaseEnterValueFieldCode:xC,pleaseEnterSvcCode:OC,pleaseBindAtLeastOneDisplayValue:kC,pleaseSelectProvince:$C,pleaseSelectCity:MC,pleaseSelectDistrict:LC,limitRowsCannotBeLessThan0:NC,TheNumberOfRowsCannotBeLessThanMinRows:VC,pleaseEnterColumnWidth:HC,pleaseSetTheLogicalRelationshipOfAllRuleConditions:UC,pleaseCompleteAllRulesAndConditions:qC,pleaseSelectControl:jC,pleaseSelectDashboard:WC,theViewNameCannotBeEmpty:KC,pleaseSelectOcrType:zC,pleaseSelectAtLeastOneFieldToFillIn:GC,pleaseChooseAtLeastOne:XC,pleaseEnterButtonContent:QC,pleaseEnterDataCodeInDataSetting:JC,pleaseEnterValueFieldCodeInDataSetting:ZC,pleaseEnterSvcCodeInDataSetting:YC,pleaseBindAtLeastOneDisplayValueInDataSetting:pC,rootNodeIsRequiredInDataSetting:e5,pleaseEnterMaxHeight:t5,pleaseEnter:n5,pleaseEnterWatermark:i5,pleaseEnterFileName:u5,pleaseUploadAtLeastOnePrintTemplate:a5,pleaseAssignBusiness:r5,pleaseAssignExternal:l5},c5={zhCN:Hb,enUS:ZE,jaJP:o5},Gl;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(Gl||(Gl={}));var Xl;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(Xl||(Xl={}));var s5="zh-CN";function ye(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Ql;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(Ql||(Ql={}));var _;(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"})(_||(_={}));var v;(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"})(v||(v={}));var ce;ce={},ye(ce,v.ARRAY,_.ARRAY_COLUMN),ye(ce,v.AUTO_NUMBER,_.AUTO_NUMBER_COLUMN),ye(ce,v.DECIMAL,_.DECIMAL_COLUMN),ye(ce,v.DEPARTMENTS,_.DEPARTMENT_COLUMN),ye(ce,v.FILE,_.FILE_COLUMN),ye(ce,v.IMAGE,_.IMAGE_COLUMN),ye(ce,v.ADDRESS,_.LOCATION_COLUMN),ye(ce,v.EMPLOYEES,_.EMPLOYEE_COLUMN),ye(ce,v.TEXT,_.TEXT_COLUMN),ye(ce,v.TIMESCOPE,_.TIMESCOPE_COLUMN),ye(ce,v.TIMESTAMP,_.TIMESTAMP_COLUMN),ye(ce,v.VARCHAR,_.VARCHAR_COLUMN),ye(ce,v.RELATION,_.VARCHAR_COLUMN);var $e;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATETIME="datetime"})($e||($e={}));var Jl="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",d5=Jl+"0123456789";function Pa(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?Jl:d5,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function f5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function h5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function y5(){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 fi(t,e,n){return y5()?fi=Reflect.construct:fi=function(u,a,r){var l=[null];l.push.apply(l,a);var c=Function.bind.apply(u,l),o=new c;return r&&Vt(o,r.prototype),o},fi.apply(null,arguments)}function Nt(t){return Nt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nt(t)}function m5(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&&Vt(t,e)}function v5(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function g5(t,e){return e&&(b5(e)==="object"||typeof e=="function")?e:f5(t)}function Vt(t,e){return Vt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Vt(t,e)}var b5=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function xa(t){var e=typeof Map=="function"?new Map:void 0;return xa=function(i){if(i===null||!v5(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 fi(i,arguments,Nt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Vt(u,i)},xa(t)}function E5(){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 C5(t){var e=E5();return function(){var i=Nt(t),u;if(e){var a=Nt(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return g5(this,u)}}function A5(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var _5=function(t){m5(n,t);var e=C5(n);function n(i){h5(this,n);var u;return u=e.call(this,i),u.name="\u{1F4A5} Driven Error",u.message=i?A5(i):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",u}return n}(xa(Error));function Zl(t){throw new _5(t)}var B5=Object.prototype.toString;function Yl(t,e){return B5.call(t)==="[object "+e+"]"}function I5(t){return Yl(t,"String")}function w5(t){return Yl(t,"Promise")}var S5=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();w5(i)?i.then(function(u){n._messageCache.clear(),n.messages[n.localeInMessageKey]=u}):this.messages[this.localeInMessageKey]=i},t.prototype.getMessageData=function(){var e=this._messages[this.localeInMessageKey];return typeof e=="function"?e():e},t.prototype.translate=function(e,n,i){var u=this.getMessage(e);return u?this.formatMessage(u,i):this.formatMessage(n,i)},t.prototype.getMessage=function(e){if(this._messageCache.has(e))return this._messageCache.get(e);var n=this.getPathArray(e),i=n.reduce(function(u,a,r,l){if(u!==void 0){var c=u[a];if(!(r===l.length-1&&!I5(c)))return c}},this.message);return this._messageCache.set(e,i),i},t.prototype.formatMessage=function(e,n){return n?e.replace(this.variableRegExp,function(i,u){var a=n[u];return a!==void 0?String(a):i}):e},t.prototype.getPreImport=function(e){var n;if(window.okI18nPreImport){var i=this.getLocaleInMessageKey(e);return window.okI18nPreImport.hasOwnProperty(i)?window.okI18nPreImport:(n={},n[i]=window.okI18nPreImport,n)}},t.prototype.getPathArray=function(e){return e.split(".")},t.prototype.getLocaleInMessageKey=function(e){return e.replace(/-/g,"")},Object.defineProperty(t.prototype,"$t",{get:function(){return this.translate},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"localeInMessageKey",{get:function(){return this.getLocaleInMessageKey(this.locale)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"message",{get:function(){var e;return(e=this.messages[this.localeInMessageKey])!==null&&e!==void 0?e:{}},enumerable:!1,configurable:!0}),t}();function F5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var g=function(){function t(){F5(this,t)}return t.getMessage=function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(n,"",i)},t.resetI18n=function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:s5;return new S5({locale:n,messages:c5})},t.setLocale=function(n){return this.$i18n.setLocale(n)},t}();g.$i18n=g.resetI18n();var D5={exports:{}};(function(t){(function(e){var n=function(d,b,S){if(!o(b)||m(b)||E(b)||A(b)||c(b))return b;var D,P=0,ue=0;if(f(b))for(D=[],ue=b.length;P<ue;P++)D.push(n(d,b[P],S));else{D={};for(var x in b)Object.prototype.hasOwnProperty.call(b,x)&&(D[d(x,S)]=n(d,b[x],S))}return D},i=function(d,b){b=b||{};var S=b.separator||"_",D=b.split||/(?=[A-Z])/;return d.split(D).join(S)},u=function(d){return B(d)?d:(d=d.replace(/[\-_\s]+(.)?/g,function(b,S){return S?S.toUpperCase():""}),d.substr(0,1).toLowerCase()+d.substr(1))},a=function(d){var b=u(d);return b.substr(0,1).toUpperCase()+b.substr(1)},r=function(d,b){return i(d,b).toLowerCase()},l=Object.prototype.toString,c=function(d){return typeof d=="function"},o=function(d){return d===Object(d)},f=function(d){return l.call(d)=="[object Array]"},m=function(d){return l.call(d)=="[object Date]"},E=function(d){return l.call(d)=="[object RegExp]"},A=function(d){return l.call(d)=="[object Boolean]"},B=function(d){return d=d-0,d===d},C=function(d,b){var S=b&&"process"in b?b.process:b;return typeof S!="function"?d:function(D,P){return S(D,d,P)}},I={camelize:u,decamelize:r,pascalize:a,depascalize:r,camelizeKeys:function(d,b){return n(C(u,b),d)},decamelizeKeys:function(d,b){return n(C(r,b),d,b)},pascalizeKeys:function(d,b){return n(C(a,b),d)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=I:e.humps=I})(qr)})(D5);var pl={};Object.defineProperty(pl,"__esModule",{value:!0});function Oa(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:Oa(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:Oa(i)}return e}}var T5=pl.default=Oa;function R5(t){if(t!==void 0)return typeof t=="object"?T5(t):t}function eo(t){return Array.isArray(t)}var Me=(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))(Me||{}),to=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(to||{}),no=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(no||{});class hi{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:Pa(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var ka=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(ka||{});class yi{constructor(e){var n,i;this.id=(n=e==null?void 0:e.id)!=null?n:Pa(),this.text=(i=e==null?void 0:e.text)!=null?i:""}}var $a=(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))($a||{});class Ma{constructor(e){var n,i,u,a,r,l,c,o;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new xt((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 xt((a=e==null?void 0:e.telephone)!=null?a:{type:"form"}),this.company=(c=e==null?void 0:e.company)!=null?c:new xt((l=e==null?void 0:e.company)!=null?l:{type:"form"}),this.remark=(o=e==null?void 0:e.remark)!=null?o:""}}class io{constructor(e){var n,i,u,a,r,l;this.fileControl=(n=e==null?void 0:e.fileControl)!=null?n:"",this.undersignedList=(u=(i=e==null?void 0:e.undersignedList)==null?void 0:i.map(c=>new Ma(c)))!=null?u:[new Ma],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 La{constructor(e){var n,i,u,a,r,l,c;this.id=(n=e==null?void 0:e.id)!=null?n:Pa(8),this.appId=(i=e==null?void 0:e.appId)!=null?i:"",this.dataCode=(u=e==null?void 0:e.dataCode)!=null?u:"",this.svcCode=(a=e==null?void 0:e.svcCode)!=null?a:"",this.name=(r=e==null?void 0:e.name)!=null?r:"",this.fieldList=(l=e==null?void 0:e.fieldList)!=null?l:[],this.active=(c=e==null?void 0:e.active)!=null?c:!1}}class Na{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 uo{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 Na(e==null?void 0:e.watermark),this.autoRename=new Na(e==null?void 0:e.autoRename)}}const ao=480;function Ht(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class ro{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 lo{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 oo=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(oo||{}),Va=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(Va||{}),mi=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(mi||{}),Le=(t=>(t.ALL="all",t.ASSIGN="assign",t))(Le||{}),Ha=(t=>(t.ALL="all",t.ADMIN="admin",t))(Ha||{});class Ua extends X{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:$a.SOLID}}class co extends L{constructor(e){super(e),this.props=new Ua(e==null?void 0:e.props)}static get controlName(){return"\u5206\u5272\u7EBF"}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}co.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]}];class P5 extends Q{constructor(e){super(e),this.props=new Ua(e==null?void 0:e.props)}static get controlType(){return"divider"}}var so={Designer:co,Runtime:P5,Property:Ua};class x5 extends W{constructor(e){super(e),this.caption={type:"string",required:!0,message:g.getMessage("pleaseEnterCaption")},this.dataBind={type:"any"},this.config={type:"array"},e.config.includes(Me.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:g.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:g.getMessage("bizKeyNotBindFiled")}},message:g.getMessage("bizKeyNotBindFiled")}),!e.isHide&&e.config.length===0&&(this.config={type:"array",min:1,required:!0,message:g.getMessage("pleaseSelectOneField")})}}class vi extends X{constructor(e){var n,i,u,a;super(e),this.dataBind=new Ee(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[Me.ShowSubmitUser,Me.ShowSubmitDept,Me.ShowSubmitTime,Me.ShowCurrentApprovar,Me.ShowTitle],this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:Et==null?void 0:Et.controlName)!=null?u:"",this.position=(a=e==null?void 0:e.position)!=null?a:"top"}}vi.Rules=x5;class Et extends L{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlName(){return"\u6807\u9898\u7EC4\u4EF6"}static get controlIcon(){return"title"}static get controlType(){return"title"}}Et.controlFieldType=v.AUTO_NUMBER,Et.setting=[{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class O5 extends Q{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlType(){return"title"}}var fo={Designer:Et,Runtime:O5,Property:vi};class k5 extends W{constructor(e){super(e),this.formKey={type:"string",required:!0,message:g.getMessage("pleaseEnterForm")}}}class gi extends le{constructor(e){var n,i,u,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Ut.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Ut.controlName,this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(a=e==null?void 0:e.openType)!=null?a:"modal"}}gi.Rules=k5;class Ut extends oe{constructor(e){super(e),this.props=new gi(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"}}Ut.controlEventKeys=["on_click","on_click_finish"],Ut.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 $5 extends he{constructor(e){super(e),this.props=new gi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var ho={Designer:Ut,Runtime:$5,Property:gi};class M5 extends W{constructor(e){super(e),this.processKey=[{type:"string",message:g.getMessage("isNotString")},{type:"string",required:!0,message:g.getMessage("pleaseEnterProcess")}]}}class bi extends le{constructor(e){var n,i,u,a,r,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:qt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:qt.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:""}}bi.Rules=M5;class qt extends oe{constructor(e){super(e),this.props=new bi(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"}}qt.controlEventKeys=["on_click","on_click_finish"],qt.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 L5 extends he{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var yo={Designer:qt,Runtime:L5,Property:bi};class qa extends le{constructor(e){var n,i;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}}class jt extends oe{constructor(e){super(e),this.props=new qa(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"}}jt.controlEventKeys=["on_click"],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:"super-setting",visible:!0}];class N5 extends he{constructor(e){super(e),this.props=new qa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var mo={Designer:jt,Runtime:N5,Property:qa};class ja extends le{constructor(e){var n,i,u,a;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.templateList=(a=(u=e==null?void 0:e.templateList)==null?void 0:u.map(r=>new La(r)))!=null?a:[new La({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class Wt extends oe{constructor(e){super(e),this.props=new ja(e==null?void 0:e.props)}static get controlName(){return"\u5BFC\u51FA"}static get controlIcon(){return"iconxiazai1"}static get controlType(){return"list-page-btn-export-list"}}Wt.controlEventKeys=["on_click","on_click_finish"],Wt.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 V5 extends he{constructor(e){super(e),this.props=new ja(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var vo={Designer:Wt,Runtime:V5,Property:ja};class Wa extends le{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 oe{constructor(e){super(e),this.props=new Wa(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"}}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 H5 extends he{constructor(e){super(e),this.props=new Wa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var go={Designer:Kt,Runtime:H5,Property:Wa};class U5{constructor(e){this.dataCode=e.dataCode}}class Ka extends le{constructor(e){var n,i,u,a;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.canImportList=(a=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(r=>new U5(r)))!=null?a:[]}}class zt extends oe{constructor(e){super(e),this.props=new Ka(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"}}zt.controlEventKeys=["on_click","on_click_finish"],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:"can-import-subtable",visible:!0},{key:"super-setting",visible:!0}];class q5 extends he{constructor(e){super(e),this.props=new Ka(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var bo={Designer:zt,Runtime:q5,Property:Ka};function Ei(){return{dataCode:{type:"string",required:!0,message:g.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:g.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:g.getMessage("pleaseSelectControl")}}}}}}class j5 extends W{constructor(e){super(e),this.fillPayload={type:"object",fields:Te({},Ei())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:g.getMessage("pleaseEnterList")}}},this.fillBack={type:"object",fields:Te({mode:{type:"string",required:!0,message:g.getMessage("pleaseSelectFillBackMode")}},Ei())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:g.getMessage("pleaseSelectControl")})}}class Ci extends le{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Gt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Gt.controlIcon,this.command=(u=e==null?void 0:e.command)!=null?u:"create",this.fillPayload=new $u(e==null?void 0:e.fillPayload),this.formBind=new nm(e==null?void 0:e.formBind),this.fillBack=new il(e==null?void 0:e.fillBack)}}Ci.Rules=j5;class Gt extends oe{constructor(e){super(e),this.props=new Ci(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"}}Gt.controlEventKeys=["on_click","on_click_finish"],Gt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class W5 extends he{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var Eo={Designer:Gt,Runtime:W5,Property:Ci};class K5 extends W{constructor(e){super(e),this.fillPayload={type:"object",fields:Te({},Ei())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:g.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:g.getMessage("pleaseSelectAtLeastOneColumn")}}},this.fillBack={type:"object",fields:Te({mode:{type:"string",required:!0,message:g.getMessage("pleaseSelectFillBackMode")}},Ei())}}}class Ai extends le{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Xt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Xt.controlIcon,this.fillPayload=new $u(e==null?void 0:e.fillPayload),this.listPageBind=new Ru(e==null?void 0:e.listPageBind),this.fillBack=new il(e==null?void 0:e.fillBack),this.showSelectedDetail=(u=e==null?void 0:e.showSelectedDetail)!=null?u:!1,this.selectedContentConfig=new ku(e==null?void 0:e.selectedContentConfig)}}Ai.Rules=K5;class Xt extends oe{constructor(e){super(e),this.props=new Ai(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"}}Xt.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],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:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class z5 extends he{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var Co={Designer:Xt,Runtime:z5,Property:Ai};class G5 extends W{constructor(e){super(e)}}class X5 extends Ke{constructor(e){super(e)}}class Qt extends X{constructor(e){super(e)}}Qt.Rules=G5,Qt.RuntimeRules=X5;class Ao extends L{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlName(){return"\u5206\u9875"}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}Ao.setting=[];class Q5 extends Q{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var _o={Designer:Ao,Runtime:Q5,Property:Qt};class J5 extends W{constructor(e){super(e),this.dashboardKey={type:"string",required:!0,message:g.getMessage("pleaseSelectDashboard")},this.caption={type:"string",required:!0,message:g.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.captionTip={type:"string",required:!1,message:g.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class _i extends X{constructor(e){var n,i,u,a,r,l;super(e),this.dashboardKey=(n=e==null?void 0:e.dashboardKey)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.isHideCaption=(u=e==null?void 0:e.isHideCaption)!=null?u:!1,this.isShowCaptionTip=(a=e==null?void 0:e.isShowCaptionTip)!=null?a:!1,this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top"}}_i.Rules=J5;class Bo extends L{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}static get controlName(){return"\u4EEA\u8868\u76D8"}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}Bo.setting=[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Z5 extends Q{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var Io={Designer:Bo,Runtime:Z5,Property:_i};class Y5 extends W{constructor(e){super(e),this.showType={type:"enum",enum:["select","tabs"]},this.viewList={type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:g.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:g.getMessage("pleaseSelectAtLeastOneColumn")}}}}}}class Bi extends X{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 gm(a)))!=null?u:[]}}Bi.Rules=Y5;class wo extends L{constructor(e){super(e),this.props=new Bi(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"}}wo.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class p5 extends Q{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var So={Designer:wo,Runtime:p5,Property:Bi};class eA extends W{constructor(e){super(e),this.caption={type:"string",required:!0,message:g.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:g.getMessage("pleaseSelectOcrType")},this.fillList={type:"array",validator(n,i,u){if(i.every(r=>!r.controlId)){u(g.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:g.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Ii extends le{constructor(e){var n,i,u,a,r,l,c,o,f,m;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ct.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(r=e==null?void 0:e.labelPosition)!=null?r:"top",this.content=(l=e==null?void 0:e.content)!=null?l:Ct.controlName,this.icon=(c=e==null?void 0:e.icon)!=null?c:Ct.controlIcon,this.ocrType=(o=e==null?void 0:e.ocrType)!=null?o:"",this.fillList=(m=(f=e==null?void 0:e.fillList)==null?void 0:f.map(E=>new se(E)))!=null?m:[]}}Ii.Rules=eA;class Ct extends oe{constructor(e){super(e),this.props=new Ii(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"}}Ct.controlEventKeys=["on_click","on_click_finish"],Ct.setting=[{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class tA extends he{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var Fo={Designer:Ct,Runtime:tA,Property:Ii};class nA extends W{constructor(e){super(e),this.caption={type:"string",required:!0,message:g.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(g.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:g.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class wi extends le{constructor(e){var n,i,u,a,r,l,c,o,f,m;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:At.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(r=e==null?void 0:e.labelPosition)!=null?r:"top",this.content=(l=e==null?void 0:e.content)!=null?l:At.controlName,this.icon=(c=e==null?void 0:e.icon)!=null?c:At.controlIcon,this.invoiceCheck=(o=e==null?void 0:e.invoiceCheck)!=null?o:!0,this.fillList=(m=(f=e==null?void 0:e.fillList)==null?void 0:f.map(E=>new se(E)))!=null?m:[]}}wi.Rules=nA;class At extends oe{constructor(e){super(e),this.props=new wi(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"}}At.controlEventKeys=["on_click","on_click_finish"],At.setting=[{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class iA extends he{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var Do={Designer:At,Runtime:iA,Property:wi};class uA extends W{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:g.getMessage("pleaseUploadAtLeastOnePrintTemplate")}}}class Si extends le{constructor(e){var n,i,u,a,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Jt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Jt.controlName,this.printTemplates=(a=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(l=>new ro(l)))!=null?a:[],this.autoSelectTemplate=(r=e==null?void 0:e.autoSelectTemplate)!=null?r:!1}}Si.Rules=uA;class Jt extends oe{constructor(e){super(e),this.props=new Si(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"}}Jt.controlEventKeys=["on_click","on_click_finish"],Jt.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 aA extends he{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var To={Designer:Jt,Runtime:aA,Property:Si};class za extends le{constructor(e){var n,i;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}}class Zt extends oe{constructor(e){super(e),this.props=new za(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"}}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:"super-setting",visible:!0}];class rA extends he{constructor(e){super(e),this.props=new za(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var Ro={Designer:Zt,Runtime:rA,Property:za};class lA extends W{constructor(e){super(e),this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:g.getMessage("pleaseEnterForm")})}}class Fi extends X{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}}Fi.Rules=lA;class Di extends L{constructor(e){super(e),this.props=new Fi(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"}}Di.controlEventKeys=["on_click"],Di.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class oA extends Q{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var Po={Designer:Di,Runtime:oA,Property:Fi};class Ga extends X{constructor(e){var n,i,u,a,r,l,c,o,f;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Yt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Yt.controlIcon,this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"iconText",this.color=(r=e==null?void 0:e.color)!=null?r:"danger",this.isHide=(l=e==null?void 0:e.isHide)!=null?l:!1,this.defaultState=(c=e==null?void 0:e.defaultState)!=null?c:"default",this.command=(o=e==null?void 0:e.command)!=null?o:"custom",this.isLoading=(f=e==null?void 0:e.isLoading)!=null?f:!1}}class Yt extends L{constructor(e){super(e),this.props=new Ga(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"}}Yt.controlEventKeys=["on_click"],Yt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class cA extends Q{constructor(e){super(e),this.props=new Ga(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var xo={Designer:Yt,Runtime:cA,Property:Ga},sA=Object.freeze({__proto__:null,Text:Wl,Link:Kl,Button:zl,Divider:so,Title:fo,CreateFormListButton:ho,BatchSubmissionListButton:yo,SubmissionRecordListButton:mo,ExportListButton:vo,ExportRecordListButton:go,ImportRecordListButton:bo,FormSelectButton:Eo,ListSelectButton:Co,Pagination:_o,Dashboard:Io,ListViewSelect:So,TextOcrButton:Fo,InvoiceCheckButton:Do,BatchPrintListButton:To,BatchPrintRecordListButton:Ro,OperationButton:Po,BatchDeleteButton:xo});class dA extends ee{constructor(e){super(e),this.maxLength={type:"number",min:0,message:g.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:200,message:g.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue=[{type:"string",max:200,min:0,message:g.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=g.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength}),this.defaultValue[1].pattern=Ht(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class fA extends H{constructor(e){super(e),this.push({type:"string",message:g.getMessage("isNotString")},{max:e.maxLength,min:e.minLength,message:g.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:Ht(e.regularRules.expression),message:e.regularRules.errMessage})}}class _t extends R{constructor(e){var n,i,u,a,r,l,c;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:200,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.regularRules=new ul(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=(c=e==null?void 0:e.encryptedMode)!=null?c:""}}_t.Rules=dA,_t.RuntimeRules=fA;class Bt extends O{constructor(e){super(e),this.props=new _t(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=v.VARCHAR,Bt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP,s.ENCRYPTED]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class Oo extends k{constructor(e){super(e),this.props=new _t(e==null?void 0:e.props)}static get controlType(){return"input"}}Oo.controlFieldType=v.VARCHAR;var ko={Designer:Bt,Runtime:Oo,Property:_t};class hA extends mt{constructor(e){super(e),this.limitMax={type:"number",min:void 0,message:g.getMessage("PleaseReselectTheOptionalQuantity")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const i=u=>u==="unlimited"?void 0:u;this.limitMax.min=i(e.limitMin)}}class yA extends H{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 pt extends R{constructor(e){var n,i,u,a,r,l,c,o,f,m,E,A,B;super(e),this.options=Be((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.checkboxMode=(i=e==null?void 0:e.checkboxMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.optionsOrder=(a=e==null?void 0:e.optionsOrder)!=null?a:!1,this.otherOption=(r=e==null?void 0:e.otherOption)!=null?r:!1,this.limitMin=(l=e==null?void 0:e.limitMin)!=null?l:"unlimited",this.limitMax=(c=e==null?void 0:e.limitMax)!=null?c:"unlimited",this.datasourceBind=new p(e==null?void 0:e.datasourceBind),this.interreaction=(o=e==null?void 0:e.interreaction)!=null?o:[],this.caption=(f=e==null?void 0:e.caption)!=null?f:en.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:[],this.optionsFormat=(E=e==null?void 0:e.optionsFormat)!=null?E:"horizontal",this.defaultShowOptions=(A=e==null?void 0:e.defaultShowOptions)!=null?A:!0,this.openMultistageFilling=(B=e==null?void 0:e.openMultistageFilling)!=null?B:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(C=>{var I;(I=this.multistageFilling)==null||I.push(new se(C))}))}}pt.Rules=hA,pt.RuntimeRules=yA;class en extends O{constructor(e){super(e),this.props=new pt(e==null?void 0:e.props)}static get controlName(){return"\u591A\u9009"}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}en.controlEventKeys=["on_change","on_click"],en.controlFieldType=v.ARRAY,en.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"limit-select",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}];class $o extends k{constructor(e){super(e),this.props=new pt(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}$o.controlFieldType=v.ARRAY;var Mo={Designer:en,Runtime:$o,Property:pt};class mA extends mt{constructor(e){super(e)}}class Ti extends R{constructor(e){var n,i,u,a,r,l,c,o,f,m,E;super(e),this.options=Be((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.radioMode=(i=e==null?void 0:e.radioMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.otherOption=(a=e==null?void 0:e.otherOption)!=null?a:!1,this.optionsOrder=(r=e==null?void 0:e.optionsOrder)!=null?r:!1,this.defaultShowOptions=(l=e==null?void 0:e.defaultShowOptions)!=null?l:!0,this.optionsFormat=(c=e==null?void 0:e.optionsFormat)!=null?c:"horizontal",this.datasourceBind=new p(e==null?void 0:e.datasourceBind),this.interreaction=(o=e==null?void 0:e.interreaction)!=null?o:[],this.caption=(f=e==null?void 0:e.caption)!=null?f:tn.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:"",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(A=>{var B;(B=this.multistageFilling)==null||B.push(new se(A))}))}}Ti.Rules=mA;class tn extends O{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlName(){return"\u5355\u9009"}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}tn.controlEventKeys=["on_change","on_click"],tn.controlFieldType=v.VARCHAR,tn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}];class Lo extends k{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlType(){return"radio"}}Lo.controlFieldType=v.VARCHAR;var No={Designer:tn,Runtime:Lo,Property:Ti};class vA extends ee{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:200,message:g.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=g.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:g.getMessage("numberRangeSetError")}),this.defaultValue[1].pattern=Ht(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class gA extends H{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:g.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:Ht(e.regularRules.expression),message:e.regularRules.errMessage})}}class nn extends R{constructor(e){var n,i,u,a,r,l,c,o,f,m,E,A,B;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.numberType=(u=e==null?void 0:e.numberType)!=null?u:"number",this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.micrometer=(r=e==null?void 0:e.micrometer)!=null?r:!1,this.precision=(l=e==null?void 0:e.precision)!=null?l:0,this.showUpperCase=(c=e==null?void 0:e.showUpperCase)!=null?c:!1,this.isShowUnit=(o=e==null?void 0:e.isShowUnit)!=null?o:!1,this.unitPosition=(f=e==null?void 0:e.unitPosition)!=null?f:"right",this.unit=(m=e==null?void 0:e.unit)!=null?m:"",this.caption=(E=e==null?void 0:e.caption)!=null?E:un.controlName,this.placeholder=(A=e==null?void 0:e.placeholder)!=null?A:"\u8BF7\u8F93\u5165",this.defaultValue=(B=e==null?void 0:e.defaultValue)!=null?B:"",this.regularRules=new ul(e==null?void 0:e.regularRules)}}nn.Rules=vA,nn.RuntimeRules=gA;class un extends O{constructor(e){super(e),this.props=new nn(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}}un.controlEventKeys=["on_change","on_input","on_focus","on_blur"],un.controlFieldType=v.DECIMAL,un.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"number-range",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_UNIT,s.IS_SHOW_CAPTION_TIP]},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class Vo extends k{constructor(e){super(e),this.props=new nn(e==null?void 0:e.props)}static get controlType(){return"number"}}Vo.controlFieldType=v.DECIMAL;var Ho={Designer:un,Runtime:Vo,Property:nn};class Xa extends R{constructor(e){var n,i,u,a,r,l,c,o,f;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:$e.DATE,this.setValueType=(i=e==null?void 0:e.setValueType)!=null?i:"custom",this.caption=(u=e==null?void 0:e.caption)!=null?u:Ri.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=(c=(l=e==null?void 0:e.limitDateList)==null?void 0:l.map(m=>new hi(m)))!=null?c:[],this.allowDateRange=(o=e==null?void 0:e.allowDateRange)!=null?o:["",""],this.filterWeekend=(f=e==null?void 0:e.filterWeekend)!=null?f:!1}}class Ri extends O{constructor(e){super(e),this.props=new Xa(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}}Ri.controlFieldType=v.TIMESTAMP,Ri.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Uo extends k{constructor(e){super(e),this.props=new Xa(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}Uo.controlFieldType=v.TIMESTAMP;var qo={Designer:Ri,Runtime:Uo,Property:Xa};class bA extends H{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 Pi extends R{constructor(e){var n,i,u,a,r,l,c,o,f;super(e),this.dataBind=new fm(e==null?void 0:e.dataBind),this.defaultValue=new hm(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:$e.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=(c=e==null?void 0:e.caption)!=null?c:xi.controlName,this.limitDateList=(f=(o=e==null?void 0:e.limitDateList)==null?void 0:o.map(m=>new hi(m)))!=null?f:[]}}Pi.RuntimeRules=bA;class xi extends O{constructor(e){super(e),this.props=new Pi(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}}xi.controlFieldType=v.TIMESCOPE,xi.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class jo extends k{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlType(){return"date-range"}}jo.controlFieldType=v.TIMESCOPE;var Wo={Designer:xi,Runtime:jo,Property:Pi};class EA extends ee{constructor(e){super(e),this.maxLength={type:"number",min:0,message:g.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:g.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:g.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=g.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class CA extends H{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:g.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class an 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:rn.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}}an.Rules=EA,an.RuntimeRules=CA;class rn extends O{constructor(e){super(e),this.props=new an(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"}}rn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],rn.controlFieldType=v.TEXT,rn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"super-setting",visible:!0}];class Ko extends k{constructor(e){super(e),this.props=new an(e==null?void 0:e.props)}static get controlType(){return"textarea"}}Ko.controlFieldType=v.TEXT;var zo={Designer:rn,Runtime:Ko,Property:an};class AA extends ee{constructor(e){super(e),this.maxLength={type:"number",min:0,message:g.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:g.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:g.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=g.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class _A extends H{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:g.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class ln 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:on.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165"}}ln.Rules=AA,ln.RuntimeRules=_A;class on extends O{constructor(e){super(e),this.props=new ln(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"}}on.controlEventKeys=["on_change","on_input","on_focus","on_blur"],on.controlFieldType=v.TEXT,on.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}];class Go extends k{constructor(e){super(e),this.props=new ln(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}Go.controlFieldType=v.TEXT;var Xo={Designer:on,Runtime:Go,Property:ln};class BA extends mt{constructor(e){super(e)}}class Oi extends R{constructor(e){var n,i,u,a,r,l,c,o;super(e),this.options=Be((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new p(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:ki.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:"",this.allowCopyOptions=(c=e==null?void 0:e.allowCopyOptions)!=null?c:!1,this.openMultistageFilling=(o=e==null?void 0:e.openMultistageFilling)!=null?o:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(f=>{var m;(m=this.multistageFilling)==null||m.push(new se(f))}))}}Oi.Rules=BA;class ki extends O{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlName(){return"\u4E0B\u62C9\u5355\u9009"}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}ki.controlFieldType=v.VARCHAR,ki.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.DEFAULT_SHOW_OPTIONS,s.IS_SHOW_CAPTION_TIP,s.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}];class Qo extends k{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlType(){return"select"}}Qo.controlFieldType=v.VARCHAR;var Jo={Designer:ki,Runtime:Qo,Property:Oi};class IA extends mt{constructor(e){super(e)}}class wA extends H{constructor(e){super(e),this[0].type="array"}}class cn extends R{constructor(e){var n,i,u,a,r,l,c;super(e),this.options=Be((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new p(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:$i.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.openMultistageFilling=(c=e==null?void 0:e.openMultistageFilling)!=null?c:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(o=>{var f;(f=this.multistageFilling)==null||f.push(new se(o))}))}}cn.Rules=IA,cn.RuntimeRules=wA;class $i extends O{constructor(e){super(e),this.props=new cn(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"}}$i.controlFieldType=v.ARRAY,$i.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.DEFAULT_SHOW_OPTIONS,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}];class Zo extends k{constructor(e){super(e),this.props=new cn(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}Zo.controlFieldType=v.ARRAY;var Yo={Designer:$i,Runtime:Zo,Property:cn};class SA extends H{constructor(e){super(e),this[0].type="array"}}class Mi extends R{constructor(e){var n,i,u,a,r,l,c,o,f;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(c=e==null?void 0:e.caption)!=null?c:Li.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.openMultistageFilling=(f=e==null?void 0:e.openMultistageFilling)!=null?f:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var E;(E=this.multistageFilling)==null||E.push(new se(m))}))}}Mi.RuntimeRules=SA;class Li extends O{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}Li.controlFieldType=v.EMPLOYEES,Li.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"employee-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class po extends k{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}static get controlType(){return"employee"}}po.controlFieldType=v.EMPLOYEES;var ec={Designer:Li,Runtime:po,Property:Mi};const FA=10485760,DA=104857600,TA=1048576e3;class RA extends ee{constructor(e){super(e),this.maxSize={type:"number",min:0,max:TA,message:g.getMessage("attachmentMaxSize")}}}class PA extends H{constructor(e){super(e),this[0].type="array",this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:g.getMessage("attachmentLimitError",{max:e.maxLimit,min:e.minLimit})})}}class It extends R{constructor(e){var n,i,u,a,r,l,c,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:DA,this.caption=(c=e==null?void 0:e.caption)!=null?c:wt.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u4E0A\u4F20\u9644\u4EF6"}}It.Rules=RA,It.RuntimeRules=PA;class wt extends O{constructor(e){super(e),this.props=new It(e==null?void 0:e.props)}static get controlName(){return"\u9644\u4EF6"}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}wt.controlEventKeys=["on_change"],wt.controlFieldType=v.FILE,wt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Qa extends k{constructor(e){super(e),this.props=new It(e==null?void 0:e.props)}static get controlType(){return"attachment"}}Qa.controlFieldType=v.FILE;var tc={Designer:wt,Runtime:Qa,Property:It};const nc=class extends wt{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:nc.controlName,this.props.placeholder=(u=(i=t==null?void 0:t.props)==null?void 0:i.placeholder)!=null?u:"\u4E0A\u4F20\u56FE\u7247"}};let Ja=nc;Ja.controlFieldType=v.IMAGE,Ja.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class xA extends Qa{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 OA extends It{constructor(e){super(e)}}var ic={Designer:Ja,Runtime:xA,Property:OA};class kA extends mt{constructor(e){super(e),this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:g.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=g.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:g.getMessage("numberRangeSetError")})}}class $A extends H{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:[$n(Te({},this[0]),{type:"number"}),{type:"number",min:i,max:n,message:g.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}],currency:{type:"string"}}})}}class sn extends R{constructor(e){var n,i,u,a,r,l,c,o,f,m,E;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.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 sm(e==null?void 0:e.dataBind),this.datasourceBind=new p((l=e==null?void 0:e.datasourceBind)!=null?l:{displayBoList:[new xu({value:"name"})]}),this.defaultValue=new dm((c=e==null?void 0:e.defaultValue)!=null?c:{amount:"",currency:Hn.CNY}),this.options=Be(e==null?void 0:e.options),this.caption=(o=e==null?void 0:e.caption)!=null?o:dn.controlName,this.placeholder=(f=e==null?void 0:e.placeholder)!=null?f:"\u8BF7\u8F93\u5165",this.submitSelectCurrency=(m=e==null?void 0:e.submitSelectCurrency)!=null?m:!1,this.showUpperCase=(E=e==null?void 0:e.showUpperCase)!=null?E:!1}}sn.Rules=kA,sn.RuntimeRules=$A;class dn extends O{constructor(e){super(e),this.props=new sn(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}}dn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],dn.controlFieldType=v.MONEY,dn.setting=[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.SUBMIT_SELECT_CURRENCY,s.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class uc extends k{constructor(e){super(e),this.props=new sn(e==null?void 0:e.props)}static get controlType(){return"amount"}}uc.controlFieldType=v.MONEY;var ac={Designer:dn,Runtime:uc,Property:sn};class MA extends ee{constructor(e){super(e),this.totalScore=[{type:"number",required:!0,message:g.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:g.getMessage("theTotalScoreMustNotBeLessThan1")}],this.defaultValue={type:"number",min:0,max:5,message:g.getMessage("scoreDefaultValueRange")},this.defaultValue.max=e.totalScore,this.defaultValue.message=g.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:0})}}class LA extends H{constructor(e){super(e),this[0].type="number";const n=e.required?1:0;this.push({type:"number",min:n,max:e.totalScore,message:g.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:n})})}}class fn extends R{constructor(e){var n,i,u,a,r,l,c;super(e),this.totalScore=(n=e==null?void 0:e.totalScore)!=null?n:5,this.scoreType=(i=e==null?void 0:e.scoreType)!=null?i:ka.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 yi(o)))!=null?r:Array(this.totalScore).fill(void 0).map(()=>new yi),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:0,this.caption=(c=e==null?void 0:e.caption)!=null?c:hn.controlName}}fn.Rules=MA,fn.RuntimeRules=LA;class hn extends O{constructor(e){super(e),this.props=new fn(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 yi);this.props.explain.push(...u)}}super.postUpdate(e,n)}}hn.controlEventKeys=["on_change","on_click"],hn.controlFieldType=v.DECIMAL,hn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class rc extends k{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlType(){return"score"}}rc.controlFieldType=v.DECIMAL;var lc={Designer:hn,Runtime:rc,Property:fn};class NA extends H{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:g.getMessage("pleaseSelectProvince")}}};e.addressType.includes("city")&&(n.fields.city={type:"string",required:e.required,message:g.getMessage("pleaseSelectCity")}),e.addressType.includes("district")&&(n.fields.district={type:"string",required:e.required,message:g.getMessage("pleaseSelectDistrict")}),this.push(n)}}}class Ni extends R{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Vi.controlName,this.defaultValueType=(i=e==null?void 0:e.defaultValueType)!=null?i:"default",this.addressType=(u=e==null?void 0:e.addressType)!=null?u:["province","city","district"],this.defaultValue=new ym((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"}}Ni.RuntimeRules=NA;class Vi extends O{constructor(e){super(e),this.props=new Ni(e==null?void 0:e.props)}static get controlName(){return"\u5730\u5740"}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}Vi.controlFieldType=v.ADDRESS,Vi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class oc extends k{constructor(e){super(e),this.props=new Ni(e==null?void 0:e.props)}static get controlName(){return"\u7701\u5E02\u533A"}static get controlIcon(){return"iconicon_site_management11"}static get controlType(){return"address"}}oc.controlFieldType=v.ADDRESS;var cc={Designer:Vi,Runtime:oc,Property:Ni};class VA extends H{constructor(e){super(e),this[0].type="array"}}class Hi extends R{constructor(e){var n,i,u,a,r,l,c,o,f,m,E;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(c=e==null?void 0:e.displayLevel)!=null?c:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(f=e==null?void 0:e.caption)!=null?f:yn.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:"\u8BF7\u9009\u62E9\u90E8\u95E8",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(A=>{var B;(B=this.multistageFilling)==null||B.push(new se(A))}))}}Hi.RuntimeRules=VA;class yn extends O{constructor(e){super(e),this.props=new Hi(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}yn.controlName="\u90E8\u95E8",yn.controlFieldType=v.DEPARTMENTS,yn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"department-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 sc extends k{constructor(e){super(e),this.props=new Hi(e==null?void 0:e.props)}static get controlType(){return"department"}}sc.controlFieldType=v.DEPARTMENTS;var dc={Designer:yn,Runtime:sc,Property:Hi};class Za 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:mn.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7"}}class mn extends O{constructor(e){super(e),this.props=new Za(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"}}mn.controlEventKeys=["on_change"],mn.controlFieldType=v.AUTO_NUMBER,mn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class fc extends k{constructor(e){super(e),this.props=new Za(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}fc.controlFieldType=v.AUTO_NUMBER;var hc={Designer:mn,Runtime:fc,Property:Za};class HA extends ee{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 UA extends H{constructor(e){super(e),this[0].type="object",this.push({type:"object",message:g.getMessage("isNotObject"),fields:{result:[{type:"number",message:g.getMessage("isNotNumber")}],unit:{type:"string",message:g.getMessage("isNotString")}}})}}class vn extends R{constructor(e){var n,i,u,a,r,l,c;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 mm(e==null?void 0:e.dataBind),this.defaultValue=new vm(e==null?void 0:e.defaultValue),this.caption=(a=e==null?void 0:e.caption)!=null?a:gn.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=(c=e==null?void 0:e.scriptSrc)!=null?c:""}}vn.Rules=HA,vn.RuntimeRules=UA;class gn extends O{constructor(e){super(e),this.props=new vn(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}}gn.controlEventKeys=["on_change"],gn.controlFieldType=v.CALC,gn.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"calc-script-src",visible:!0},{key:"calc-script-echo",visible:!1},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class yc extends k{constructor(e){super(e),this.props=new vn(e==null?void 0:e.props)}static get controlType(){return"calc"}}yc.controlFieldType=v.CALC;var mc={Designer:gn,Runtime:yc,Property:vn};class qA extends H{constructor(e){super(e),this[0].type="array",this.push({validator(n,i){return e.required&&i.every(a=>!a)?Promise.reject(g.getMessage("runtimeRequired",{caption:e.caption})):Promise.resolve()}})}}class Ui 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:qi.controlName}}Ui.RuntimeRules=qA;class qi extends O{constructor(e){super(e),this.props=new Ui(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"}}qi.controlFieldType=v.DECIMAL_RANGE,qi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"number-placeholder-start",visible:!0},{key:"number-placeholder-end",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class vc extends k{constructor(e){super(e),this.props=new Ui(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}vc.controlFieldType=v.DECIMAL_RANGE;var gc={Designer:qi,Runtime:vc,Property:Ui};class jA extends H{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 ji extends R{constructor(e){var n,i,u,a,r,l,c,o,f,m;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(i=e==null?void 0:e.dateType)!=null?i:$e.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=(c=e==null?void 0:e.placeholderEnd)!=null?c:"\u7ED3\u675F\u65E5\u671F",this.caption=(o=e==null?void 0:e.caption)!=null?o:Wi.controlName,this.limitDateList=(m=(f=e==null?void 0:e.limitDateList)==null?void 0:f.map(E=>new hi(E)))!=null?m:[]}}ji.RuntimeRules=jA;class Wi extends O{constructor(e){super(e),this.props=new ji(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"}}Wi.controlFieldType=v.ARRAY,Wi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class bc extends k{constructor(e){super(e),this.props=new ji(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}bc.controlFieldType=v.ARRAY;var Ec={Designer:Wi,Runtime:bc,Property:ji};class WA extends ee{constructor(e){super(e),this.dataBind={type:"any"}}}class KA extends H{constructor(e){super(e),this[0].type="any"}}class bn extends R{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:En.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(u=e==null?void 0:e.controlExportName)!=null?u:"",this.permissions=(a=e==null?void 0:e.permissions)!=null?a:[],this.isInlineEdit=(r=e==null?void 0:e.isInlineEdit)!=null?r:!1}}bn.Rules=WA,bn.RuntimeRules=KA;class En extends O{constructor(e){super(e),this.props=new bn(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"}}En.controlFieldType=v.ANY,En.controlEventKeys=[],En.setting=[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_HIDE_CAPTION,s.REQUIRED,s.IS_SHOW_CAPTION_TIP,s.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}];class Cc extends k{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}Cc.controlFieldType=v.ANY;var Ac={Designer:En,Runtime:Cc,Property:bn};class zA extends mt{constructor(e){super(e),this.listPageBind=[{type:"object",message:g.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:g.getMessage("isNotString")},{type:"string",required:!0,message:g.getMessage("pleaseEnterList")}]}}]}}class Ki extends R{constructor(e){var n,i,u,a,r,l,c,o,f;super(e),this.options=Be((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new Ru(e==null?void 0:e.listPageBind),this.datasourceBind=new p(e==null?void 0:e.datasourceBind),this.caption=(u=e==null?void 0:e.caption)!=null?u:Cn.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u9009\u62E9",this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:"",this.openMultistageFilling=(l=e==null?void 0:e.openMultistageFilling)!=null?l:!1,this.showSelectedDetail=(c=e==null?void 0:e.showSelectedDetail)!=null?c:!1,this.selectedContentConfig=new ku(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var E;(E=this.multistageFilling)==null||E.push(new se(m))})),this.canViewForm=(o=e==null?void 0:e.canViewForm)!=null?o:!1,this.viewFormModelType=(f=e==null?void 0:e.viewFormModelType)!=null?f:"window"}}Ki.Rules=zA;class Cn extends O{constructor(e){super(e),this.props=new Ki(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"}}Cn.controlFieldType=v.VARCHAR,Cn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE,s.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0},{key:"super-setting",visible:!0}],Cn.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class _c extends k{constructor(e){super(e),this.props=new Ki(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}_c.controlFieldType=v.VARCHAR;var Bc={Designer:Cn,Runtime:_c,Property:Ki};class Ya extends _t{constructor(e){super(e)}}class Ic extends Bt{constructor(e){super(e),this.props=new Ya(e==null?void 0:e.props)}static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlType(){return"search-input"}}Ic.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED]},{key:"super-setting",visible:!0}];class wc extends k{constructor(e){super(e),this.props=new Ya(e==null?void 0:e.props)}static get controlType(){return"search-input"}}wc.controlFieldType=v.VARCHAR;var Sc={Designer:Ic,Runtime:wc,Property:Ya};class GA extends ee{constructor(e){super(e),this.datasourceBind=[{type:"object",message:g.getMessage("isNotObject")}],Wn.call(this,e,Ne.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:g.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:g.getMessage("rootNodeIsRequired")}}}])}}class XA extends H{constructor(e){super(e),this[0].type="array"}}class An extends R{constructor(e){var n,i,u,a,r,l,c,o,f,m,E,A,B,C,I,d,b,S;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:Ne.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:"\u8BF7\u9009\u62E9",this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.canSearch=(a=e==null?void 0:e.canSearch)!=null?a:!0,this.levelType=(r=e==null?void 0:e.levelType)!=null?r:"all",this.optionalLevel=(l=e==null?void 0:e.optionalLevel)!=null?l:1,this.containsSubNode=(c=e==null?void 0:e.containsSubNode)!=null?c:!1,this.isShowFilterItem=(o=e==null?void 0:e.isShowFilterItem)!=null?o:!1,this.isShowIncludeSub=(f=e==null?void 0:e.isShowIncludeSub)!=null?f:!1,this.defaultCollapse=(m=e==null?void 0:e.defaultCollapse)!=null?m:"all",this.defaultCollapseLevel=(E=e==null?void 0:e.defaultCollapseLevel)!=null?E:1,this.datasourceBind=new tl((A=e==null?void 0:e.datasourceBind)!=null?A:{attributes:Ne.controlCustomAttributes}),this.filterItemDatasourceBind=new tl((B=e==null?void 0:e.filterItemDatasourceBind)!=null?B:{attributes:Ne.controlCustomAttributes}),this.openMultistageFilling=(C=e==null?void 0:e.openMultistageFilling)!=null?C:!1,this.defaultDisplay=(I=e==null?void 0:e.defaultDisplay)!=null?I:!1,this.multistageFilling=(b=(d=e==null?void 0:e.multistageFilling)==null?void 0:d.map(D=>new se(D)))!=null?b:[],this.defaultValue=(S=e==null?void 0:e.defaultValue)!=null?S:[]}}An.Rules=GA,An.RuntimeRules=XA;class Ne extends O{constructor(e){super(e),this.props=new An(e==null?void 0:e.props)}static get controlName(){return"\u6811"}static get controlIcon(){return"icontree"}static get controlType(){return"tree"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0},{key:"parentField",name:"\u7236\u7EA7\u5B57\u6BB5",required:!0}]}}Ne.controlEventKeys=["on_change","on_click"],Ne.controlFieldType=v.ARRAY,Ne.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.CAN_SEARCH,s.DEFAULT_DISPLAY,s.CONTAINS_SUB_NODE,s.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"super-setting",visible:!0}];class Fc extends k{constructor(e){super(e),this.props=new An(e==null?void 0:e.props)}static get controlType(){return"tree"}}Fc.controlFieldType=v.ARRAY;var Dc={Designer:Ne,Runtime:Fc,Property:An};class QA extends ee{constructor(e){super(e),this.datasourceBind=[{type:"object",message:g.getMessage("isNotObject")}],this.externalScope={type:"any"},Wn.call(this,e,St.controlCustomAttributes),e.externalType===Le.ASSIGN&&(this.externalScope={type:"array",required:!0,message:g.getMessage("pleaseAssignExternal")})}}class JA extends H{constructor(e){super(e),this[0].type="array"}}class _n extends R{constructor(e){var n,i,u,a,r,l,c,o,f,m,E,A,B,C;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(c=e==null?void 0:e.caption)!=null?c:St.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 Vn((f=e==null?void 0:e.datasourceBind)!=null?f:{attributes:St.controlCustomAttributes}),this.datasourceType=(m=e==null?void 0:e.datasourceType)!=null?m:Va.INTERNAL,this.insideType=(E=e==null?void 0:e.insideType)!=null?E:Ha.ADMIN,this.externalType=(A=e==null?void 0:e.externalType)!=null?A:Le.ALL,this.externalScope=(B=e==null?void 0:e.externalScope)!=null?B:[],this.openMultistageFilling=(C=e==null?void 0:e.openMultistageFilling)!=null?C:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(I=>{var d;(d=this.multistageFilling)==null||d.push(new se(I))}))}}_n.Rules=QA,_n.RuntimeRules=JA;class St extends O{constructor(e){super(e),this.props=new _n(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}]}}St.controlFieldType=v.EMPLOYEES,St.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"employee-datasource-setting",visible:!0},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class Tc extends k{constructor(e){super(e),this.props=new _n(e==null?void 0:e.props)}static get controlType(){return"employee2"}}Tc.controlFieldType=v.EMPLOYEES;var Rc={Designer:St,Runtime:Tc,Property:_n};class ZA extends ee{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"&&eo(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")&&eo(r.value)&&r.value.length===0){l("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}l()}}}},n),{})}}}}}class zi 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:Bn.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 io(e==null?void 0:e.signatureConfig)}}zi.Rules=ZA;class Bn extends O{constructor(e){super(e),this.props=new zi(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"}}Bn.controlEventKeys=["on_click","on_click_finish"],Bn.controlFieldType=v.VARCHAR,Bn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_SHOW_CAPTION_TIP]},{key:"placeholder",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"electronic-signature-setting",visible:!0},{key:"super-setting",visible:!0}];class Pc extends k{constructor(e){super(e),this.props=new zi(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}Pc.controlFieldType=v.VARCHAR;var xc={Designer:Bn,Runtime:Pc,Property:zi};class YA extends ee{constructor(e){super(e),this.content={type:"string",required:!0,message:g.getMessage("pleaseEnterButtonContent")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(g.getMessage("pleaseEnterWatermark"));return}u()}},autoRename:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(g.getMessage("pleaseEnterFileName"));return}u()}}}},this.canAdd={type:"boolean",validator(n,i,u){if(e.canAdd&&!e.addLocal&&!e.addOnline){u(g.getMessage("pleaseChooseAtLeastOne"));return}u()}}}}class pA extends H{constructor(e){super(e),this[0].type="array"}}class In extends R{constructor(e){var n,i,u,a,r,l,c,o,f,m,E,A;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:wn.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:"\u65B0\u5EFA\u6587\u6863",this.canAdd=(u=e==null?void 0:e.canAdd)!=null?u:!0,this.addLocal=(a=e==null?void 0:e.addLocal)!=null?a:!0,this.addOnline=(r=e==null?void 0:e.addOnline)!=null?r:!0,this.canEdit=(l=e==null?void 0:e.canEdit)!=null?l:!0,this.canDownload=(c=e==null?void 0:e.canDownload)!=null?c:!0,this.canExport=(o=e==null?void 0:e.canExport)!=null?o:!0,this.canDelete=(f=e==null?void 0:e.canDelete)!=null?f:!1,this.maxSize=(m=e==null?void 0:e.maxSize)!=null?m:FA,this.defaultValue=(E=e==null?void 0:e.defaultValue)!=null?E:[],this.wpsSetting=new uo(e==null?void 0:e.wpsSetting),this.revisionsMode=(A=e==null?void 0:e.revisionsMode)!=null?A:!1}}In.Rules=YA,In.RuntimeRules=pA;class wn extends O{constructor(e){super(e),this.props=new In(e==null?void 0:e.props)}static get controlName(){return"\u5728\u7EBF\u6587\u6863"}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}wn.controlEventKeys=["on_change","on_wps_open"],wn.controlFieldType=v.FILE,wn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_SHOW_CAPTION_TIP,s.REVISIONS_MODE]},{key:"button-content",visible:!0},{key:"wps-actions-setting",visible:!0},{key:"wps-word-setting",visible:!0},{key:"wps-attachment-size",visible:!0},{key:"wps-default-value",visible:!0},{key:"super-setting",visible:!0}];class Oc extends k{constructor(e){super(e),this.props=new In(e==null?void 0:e.props)}static get controlType(){return"wps"}}Oc.controlFieldType=v.FILE;var kc={Designer:wn,Runtime:Oc,Property:In};class e_ extends ee{constructor(e){super(e),this.datasourceBind=[{type:"object",message:g.getMessage("isNotObject")}],this.businessScope={type:"any"},Wn.call(this,e,Xe.controlCustomAttributes),e.businessType===Le.ASSIGN&&(this.businessScope={type:"array",required:!0,message:g.getMessage("pleaseAssignBusiness")})}}class t_ extends H{constructor(e){super(e),this[0].type="array"}}class Sn extends R{constructor(e){var n,i,u,a,r,l,c,o,f,m,E,A,B,C,I;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(c=e==null?void 0:e.displayLevel)!=null?c:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(f=e==null?void 0:e.caption)!=null?f:Xe.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.datasourceBind=new Vn((E=e==null?void 0:e.datasourceBind)!=null?E:{attributes:Xe.controlCustomAttributes}),this.datasourceType=(A=e==null?void 0:e.datasourceType)!=null?A:mi.INTERNAL,this.businessScope=(B=e==null?void 0:e.businessScope)!=null?B:[],this.businessType=(C=e==null?void 0:e.businessType)!=null?C:Le.ALL,this.openMultistageFilling=(I=e==null?void 0:e.openMultistageFilling)!=null?I:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(d=>{var b;(b=this.multistageFilling)==null||b.push(new se(d))}))}}Sn.Rules=e_,Sn.RuntimeRules=t_;class Xe extends O{constructor(e){super(e),this.props=new Sn(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}}Xe.controlName="\u90E8\u95E8",Xe.controlFieldType=v.DEPARTMENTS,Xe.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"department-datasource-setting",visible:!0},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class $c extends k{constructor(e){super(e),this.props=new Sn(e==null?void 0:e.props)}static get controlType(){return"department2"}}$c.controlFieldType=v.DEPARTMENTS;var Mc={Designer:Xe,Runtime:$c,Property:Sn};class n_ extends ee{constructor(e){super(e),this.datasourceBind=[{type:"object",message:g.getMessage("isNotObject")}],this.businessScope={type:"any"},Wn.call(this,e,Qe.controlCustomAttributes),e.businessType===Le.ASSIGN&&(this.businessScope={type:"array",required:!0,message:g.getMessage("pleaseAssignBusiness")})}}class i_ extends H{constructor(e){super(e),this[0].type="array"}}class Fn extends R{constructor(e){var n,i,u,a,r,l,c,o,f,m,E,A,B,C,I,d,b,S;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.listPageBind=new Ru(e==null?void 0:e.listPageBind),this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(c=e==null?void 0:e.displayLevel)!=null?c:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(f=e==null?void 0:e.caption)!=null?f:Qe.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:"\u8BF7\u9009\u62E9\u7EC4\u7EC7",this.datasourceBind=new om((E=e==null?void 0:e.datasourceBind)!=null?E:{attributes:Qe.controlCustomAttributes}),this.datasourceType=(A=e==null?void 0:e.datasourceType)!=null?A:mi.INTERNAL,this.businessScope=(B=e==null?void 0:e.businessScope)!=null?B:[],this.businessType=(C=e==null?void 0:e.businessType)!=null?C:Le.ALL,this.organizingFunction=(I=e==null?void 0:e.organizingFunction)!=null?I:void 0,this.organizationView=(d=e==null?void 0:e.organizationView)!=null?d:void 0,this.showSelectedDetail=(b=e==null?void 0:e.showSelectedDetail)!=null?b:!1,this.selectedContentConfig=new ku(e==null?void 0:e.selectedContentConfig),this.openMultistageFilling=(S=e==null?void 0:e.openMultistageFilling)!=null?S:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(D=>{var P;(P=this.multistageFilling)==null||P.push(new se(D))}))}}Fn.Rules=n_,Fn.RuntimeRules=i_;class Qe extends O{constructor(e){super(e),this.props=new Fn(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}}Qe.controlName="\u4E1A\u52A1\u7EC4\u7EC7",Qe.controlFieldType=v.DEPARTMENTS,Qe.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"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 Lc extends k{constructor(e){super(e),this.props=new Fn(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}Lc.controlFieldType=v.DEPARTMENTS;var Nc={Designer:Qe,Runtime:Lc,Property:Fn},u_=Object.freeze({__proto__:null,Input:ko,Checkbox:Mo,Radio:No,Number:Ho,DatePicker:qo,DateRange:Wo,Textarea:zo,RichText:Xo,Select:Jo,SelectMultiple:Yo,Employee:ec,Image:ic,Attachment:tc,Amount:ac,Score:lc,Address:cc,Department:dc,AutoNumber:hc,Calc:mc,SearchNumberRange:gc,SearchDateRange:Ec,VueFormItem:Ac,SelectRelation:Bc,SearchInput:Sc,Tree:Dc,Employee2:Rc,ElectronicSignature:xc,WPS:kc,Department2:Mc,OrganizationSelection:Nc});class Vc extends z{static get controlName(){return"\u753B\u5E03"}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}Vc.excludes=[_.GRID];class a_ extends Z{static get controlType(){return"grid"}constructor(e){super(e)}}var Hc={Designer:Vc,Runtime:a_,Property:q};const r_=24;class Je extends q{constructor(e){var n,i;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:r_,this.offset=(i=e==null?void 0:e.offset)!=null?i:0}}class Dn extends z{constructor(e){super(e),this.props=new Je(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5217"}static get controlType(){return"col"}static get controlIcon(){return"col"}}Dn.excludes=[_.COL,_.CARD_GROUP,_.SUBTABLE,_.SUBTABLE_COLUMN,_.DIVIDER],Dn.childrenMaxLength=1;class pa extends Z{constructor(e){super(e),this.props=new Je(e==null?void 0:e.props)}static get controlType(){return"col"}}var Uc={Designer:Dn,Runtime:pa,Property:Je};class Gi 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 Xi extends z{constructor(e){super(e),this.props=new Gi(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5E03\u5C40"}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}Xi.excludes=[_.ROW],Xi.setting=[{key:"col-setting",visible:!0}];class qc extends Z{constructor(e){super(e),this.props=new Gi(e==null?void 0:e.props)}static get controlType(){return"row"}}var jc={Designer:Xi,Runtime:qc,Property:Gi};const l_=4;class Qi extends Xi{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)}}Qi.excludes=[_.GRID_ROW],Qi.setting=[],Qi.childrenMaxLength=l_;class o_ extends qc{static get controlType(){return"grid-row"}constructor(e){super(e)}}class c_ extends Gi{constructor(e){super(e)}}var Wc={Designer:Qi,Runtime:o_,Property:c_};class s_ extends q.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:g.getMessage("pleaseEnterCaption")}}}class Ji 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"}}Ji.Rules=s_;class er extends z{constructor(e){super(e),this.props=new Ji(e==null?void 0:e.props)}static get controlName(){return"\u5206\u7EC4"}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}er.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}],er.excludes=[_.CARD_GROUP];class d_ extends Z{constructor(e){super(e),this.props=new Ji(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var Kc={Designer:er,Runtime:d_,Property:Ji};class f_ extends W{constructor(e){super(e),this.caption={type:"string",required:!0,message:g.getMessage("pleaseEnterCaption")},this.width={type:"number",required:!1,message:g.getMessage("pleaseEnterColumnWidth")},this.captionTip={type:"string",required:!1,message:g.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Zi 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 em(e==null?void 0:e.metaAutoWidth)}}Zi.Rules=f_;class Ce extends z{constructor(e){super(e),this.props=new Zi(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=[_.SUBTABLE,_.SUBTABLE_COLUMN,_.ROW,_.COL,_.CARD_GROUP,_.DIVIDER,_.TEXT],Ce.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",showItems:[s.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class zc extends Z{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}}zc.controlType="subtable-column";var Gc={Designer:Ce,Runtime:zc,Property:Zi};class tr extends q{constructor(e){super(e)}}class Ze extends z{constructor(e){super(e),this.props=new tr(e==null?void 0:e.props)}}Ze.controlName="\u660E\u7EC6\u5B50\u8868\u884C",Ze.controlType="subtable-row",Ze.controlIcon="subtable-row",Ze.childrenMaxLength=1,Ze.excludes=[_.SUBTABLE,_.SUBTABLE_COLUMN,_.SUBTABLE_ROW,_.ROW,_.COL,_.CARD_GROUP,_.DIVIDER,_.TEXT],Ze.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0}];class h_ extends Z{constructor(e){super(e),this.props=new tr(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var Xc={Designer:Ze,Runtime:h_,Property:tr};class nr extends q{constructor(e){var n,i,u,a,r,l,c,o,f,m;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:200,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.fixed=(u=e==null?void 0:e.fixed)!=null?u:!1,this.fieldCode=(a=e==null?void 0:e.fieldCode)!=null?a:"",this.fieldType=(r=e==null?void 0:e.fieldType)!=null?r:v.VARCHAR,this.fieldName=(l=e==null?void 0:e.fieldName)!=null?l:"",this.datasourceBind=new p(e==null?void 0:e.datasourceBind),this.textCleanFormart=(c=e==null?void 0:e.textCleanFormart)!=null?c:!1,this.decimalKeepPrecision=(o=e==null?void 0:e.decimalKeepPrecision)!=null?o:0,this.timestampDateType=(f=e==null?void 0:e.timestampDateType)!=null?f:$e.DATE,this.departmentDisplayLevel=(m=e==null?void 0:e.departmentDisplayLevel)!=null?m:1}}class Ye extends z{constructor(e){super(e),this.props=new nr(e==null?void 0:e.props)}}Ye.controlName="\u5217\u8868\u5355\u5143\u683C",Ye.controlType="gridtable-column",Ye.controlIcon="gridtable-column",Ye.childrenMaxLength=1,Ye.excludes=[_.GRID_TABLE,_.GRID_TABLE_COLUMN,_.ROW,_.COL,_.CARD_GROUP,_.DIVIDER,_.TEXT],Ye.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class Qc extends Z{constructor(e){super(e),this.props=new nr(e==null?void 0:e.props)}}Qc.controlType="gridtable-column";var Jc={Designer:Ye,Runtime:Qc,Property:nr};class ir extends q{constructor(e){var n;super(e),this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical"}}class y_ extends W{constructor(e){super(e),this.caption={type:"string",required:!0,message:g.getMessage("pleaseEnterCaption")}}}class Yi extends q{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Rn.controlName}}Yi.Rules=y_;class Tn extends z{constructor(e){super(e),this.props=new Yi(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"}}Tn.excludes=[_.TAB],Tn.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class m_ extends Z{constructor(e){super(e),this.props=new Yi(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var Zc={Designer:Tn,Runtime:m_,Property:Yi};class Rn extends z{constructor(e){var n;super(e),this.props=new ir(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new Tn,new Tn]}static get controlName(){return"\u6807\u7B7E\u9875"}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}Rn.excludes=[_.TAB],Rn.controlEventKeys=["on_change_tab"],Rn.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}];class v_ extends Z{constructor(e){super(e),this.props=new ir(e==null?void 0:e.props)}static get controlType(){return"tab"}}var Yc={Designer:Rn,Runtime:v_,Property:ir};class pc extends q{constructor(e){super(e)}}class es extends z{constructor(e){super(e),this.props=new pc({}),this.children=(e==null?void 0:e.children)||[new Dn({props:new Je({span:12})}),new Dn({props:new Je({span:12})})]}static get controlName(){return"\u5DE5\u5177\u680F"}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}es.excludes=[_.GRID_ROW,_.ROW,_.GRID,_.SUBTABLE,_.TAB,_.TOOLBOX];class g_ extends Z{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new pa({props:new Je({span:12})}),new pa({props:new Je({span:12})})]}}var ts={Designer:es,Runtime:g_,Property:pc};class b_ extends Ke{constructor(e){super(e),this.push({type:"object",fields:{}})}}class E_ extends W{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:g.getMessage("pleaseEnterFieldCode")}),Qu.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 Pn extends q{constructor(e){var n,i,u,a,r,l,c,o,f,m;super(e),this.datasourceBind=new p(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 am(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=(c=e==null?void 0:e.selectionType)!=null?c:"multiple",this.isFixedHeader=(o=e==null?void 0:e.isFixedHeader)!=null?o:!1,this.isShowSelection=(f=e==null?void 0:e.isShowSelection)!=null?f:!1,this.isAllLoaded=(m=e==null?void 0:e.isAllLoaded)!=null?m:!0,this.countType=e==null?void 0:e.countType}}Pn.Rules=E_,Pn.RuntimeRules=b_;class pi extends z{constructor(e){super(e),this.props=new Pn(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"}}pi.excludes=[_.ROW],pi.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"],pi.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 C_ extends Z{constructor(e){super(e),this.props=new Pn(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var ns={Designer:pi,Runtime:C_,Property:Pn};class A_ extends Ke{constructor(e){super(e),this.push({type:"object",fields:{}})}}class eu 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(c=>new Re(c)),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.datasourceBind=new p(e==null?void 0:e.datasourceBind)}}eu.RuntimeRules=A_;class is extends z{constructor(e){super(e),this.props=new eu(e==null?void 0:e.props)}static get controlName(){return"\u6570\u636E\u5BB9\u5668"}static get controlType(){return"data-view"}}is.excludes=[];class __ extends Z{constructor(e){super(e),this.props=new eu(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var us={Designer:is,Runtime:__,Property:eu};class B_ extends z{static get controlName(){return"\u81EA\u7531\u9875\u9762"}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class I_ extends Z{static get controlType(){return"page"}constructor(e){super(e)}}class w_ 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 as={Designer:B_,Runtime:I_,Property:w_};class S_ extends z{static get controlName(){return"\u9AD8\u7EA7\u5BB9\u5668"}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class F_ extends Z{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class D_ extends q{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new lo(e==null?void 0:e.flexConfig)}}var rs={Designer:S_,Runtime:F_,Property:D_};class T_ extends z{static get controlName(){return"\u5B9A\u4F4D\u5BB9\u5668"}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class R_ extends Z{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class P_ extends q{constructor(e){super(e)}}var ls={Designer:T_,Runtime:R_,Property:P_};class x_ extends z{static get controlName(){return"\u5B9A\u4F4D\u5B50\u5BB9\u5668"}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class O_ extends Z{static get controlType(){return"position"}constructor(e){super(e)}}class k_ 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 os={Designer:x_,Runtime:O_,Property:k_},$_=Object.freeze({__proto__:null,Grid:Hc,Col:Uc,Row:jc,GridRow:Wc,CardGroup:Kc,SubTableColumn:Gc,SubTableRow:Xc,GridTableColumn:Jc,Tab:Yc,TabPane:Zc,Toolbox:ts,ListView:ns,DataView:us,Page:as,AdvancedContainer:rs,PositioningContainer:ls,Position:os});class M_ extends W{constructor(e){super(e),this.caption={type:"string",required:!0,message:g.getMessage("pleaseEnterCaption")},this.limitRows=[{type:"number",required:!0,message:g.getMessage("isNotNumber")},{type:"number",min:0,message:g.getMessage("limitRowsCannotBeLessThan0")}],this.formKey={type:"string",required:!1,message:g.getMessage("pleaseEnterForm")},this.maxHeight={type:"number",required:!0,message:g.getMessage("pleaseEnterMaxHeight")},this.captionTip={type:"string",required:!1,message:g.getMessage("pleaseEnterCaptionTip")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0)}}class L_ extends Ke{constructor(e){super(e),e.isHide||this.push({type:"array",required:e.limitRows>0,message:g.getMessage("runtimeRequired",{caption:e.caption})},{type:"array",validator(n,i,u){i.length<e.limitRows&&u(g.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})),u()},message:g.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})})}}class xn extends ni{constructor(e,n){var i,u,a,r,l,c,o,f,m,E,A,B,C,I,d,b,S,D,P,ue,x,me,On,Fe,hu,kn,Ft,De;super(e,n),this.caption=(i=n==null?void 0:n.caption)!=null?i:tu.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=(c=n==null?void 0:n.formKey)!=null?c:"",this.useCustomHeight=(o=n==null?void 0:n.useCustomHeight)!=null?o:!1,this.maxHeight=(f=n==null?void 0:n.maxHeight)!=null?f:ao,this.printMode=(m=n==null?void 0:n.printMode)!=null?m:"row",this.limitRows=(E=n==null?void 0:n.limitRows)!=null?E:1,this.maxRows=(A=n==null?void 0:n.maxRows)!=null?A:null,this.defaultRows=(B=n==null?void 0:n.defaultRows)!=null?B:1,this.datasourceBind=new p(n==null?void 0:n.datasourceBind),this.canAdd=(C=n==null?void 0:n.canAdd)!=null?C:!0,this.canDelete=(I=n==null?void 0:n.canDelete)!=null?I:!0,this.canCheck=(d=n==null?void 0:n.canCheck)!=null?d:!1,this.canEdit=(b=n==null?void 0:n.canEdit)!=null?b:!1,this.canImport=(S=n==null?void 0:n.canImport)!=null?S:!1,this.canExport=(D=n==null?void 0:n.canExport)!=null?D:!1,this.canClear=(P=n==null?void 0:n.canClear)!=null?P:!0,this.serverPagination=(ue=n==null?void 0:n.serverPagination)!=null?ue:!1,this.isShowCaptionTip=(x=n==null?void 0:n.isShowCaptionTip)!=null?x:!1,this.captionTip=(me=n==null?void 0:n.captionTip)!=null?me:"",this.mobileShowType=(On=n==null?void 0:n.mobileShowType)!=null?On:"list",this.mobileDefaultNum=((Fe=n==null?void 0:n.mobileDefaultNum)!=null?Fe:(n==null?void 0:n.mobileShowType)==="list")?10:5,this.dataStorageDoc=(hu=n==null?void 0:n.dataStorageDoc)!=null?hu:new tm,this.fixedColumn=(kn=n==null?void 0:n.fixedColumn)!=null?kn:[],this.mobileRowCaption=(Ft=n==null?void 0:n.mobileRowCaption)!=null?Ft:"\u660E\u7EC6",this.mobileIsTile=(De=n==null?void 0:n.mobileIsTile)!=null?De:!1}}xn.Rules=M_,xn.RuntimeRules=L_;class tu extends da{constructor(e){var n;super(e),this.props=new xn(this,e==null?void 0:e.props),((n=e==null?void 0:e.props)==null?void 0:n.headers)===void 0&&(this.props.headers=[new Ce,new Ce,new Ce])}static get controlName(){return"\u660E\u7EC6\u5B50\u8868"}static get controlIcon(){return"iconGroup11"}static get controlType(){return"subtable"}addColumn(e,n){const i=e!==void 0&&typeof e!="number"?e:new Ce,u=typeof e=="number"?e:n;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}tu.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],tu.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{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 N_ extends Ml{constructor(e){super(e),this.props=new xn(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){Zl("Method not implemented.")}getChildrenFormControl(){return[]}}var cs={Designer:tu,Runtime:N_,Property:xn};class ur extends ni{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 V_ extends we{constructor(e){super(e),this.caption.required=!1}}class nu extends G{constructor(e){var n,i,u,a,r,l,c,o;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"left",this.caption=(i=e==null?void 0:e.caption)!=null?i:pe.controlName,this.width=(u=e==null?void 0:e.width)!=null?u:60,this.autoWidth.minWidth=(r=(a=e==null?void 0:e.autoWidth)==null?void 0:a.minWidth)!=null?r:60,this.autoWidth.flex=(c=(l=e==null?void 0:e.autoWidth)==null?void 0:l.flex)!=null?c:.4,this.widthType=(o=e==null?void 0:e.widthType)!=null?o:"px"}}nu.Rules=V_;class pe extends ne{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}}pe.controlType="order-column",pe.controlName="\u5E8F\u53F7",pe.controlIcon="order-column",pe.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0}];class ar extends ie{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}}ar.controlType="order-column",ar.controlFieldType=v.DECIMAL;var ss={Designer:pe,Runtime:ar,Property:nu};class rr extends G{constructor(e){var n,i,u,a,r,l;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"right",this.widthType="auto",this.autoWidth.minWidth=(u=(i=e==null?void 0:e.autoWidth)==null?void 0:i.minWidth)!=null?u:84,this.caption=(a=e==null?void 0:e.caption)!=null?a:Se.controlName,this.showType=(r=e==null?void 0:e.showType)!=null?r:"icon",this.limit=(l=e==null?void 0:e.limit)!=null?l:3}}class Se extends ne{constructor(e){super(e),this.props=new rr(e==null?void 0:e.props),Ie(this,"children",e==null?void 0:e.children)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===Di.controlType){const i=n;e.props[i.props.command]=i.props}}),e}toSchema(){const e=super.toSchema();return $n(Te({},e),{children:this.children.map(n=>n.toSchema())})}validate(e,n){return Tr(this,null,function*(){return yield Dr(Se.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Se.controlType="operation-column",Se.controlName="\u64CD\u4F5C",Se.controlIcon="operation-column",Se.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0}];class lr extends ie{constructor(e){super(e),this.props=new rr(e==null?void 0:e.props),Ie(this,"children",e==null?void 0:e.children)}}lr.controlType="operation-column",lr.controlFieldType=v.FILE;var ds={Designer:Se,Runtime:lr,Property:rr};class iu extends da{constructor(e){super(e),this.props=new ur(this,e==null?void 0:e.props),Ie(this,"children",e==null?void 0:e.children),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new pe,new Se])}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 $n(Te({},e),{children:n})}validate(e,n){return Tr(this,null,function*(){return yield Dr(iu.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}iu.setting=[{key:"list-fixed-header",visible:!0}];class H_ extends Ml{constructor(e){super(e),this.props=new ur(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){Zl("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var fs={Designer:iu,Runtime:H_,Property:ur},U_=Object.freeze({__proto__:null,SubTable:cs,GridTable:fs});class q_ extends Ll{constructor(e){super(e),Ge.call(this,e)}}class uu extends G{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:et.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new p(e==null?void 0:e.datasourceBind),this.options=Be((u=e==null?void 0:e.options)!=null?u:[{}]),this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new je(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(r=e==null?void 0:e.lineEllipsis)!=null?r:1}}uu.Rules=q_;class et extends ne{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}}et.controlType="varchar-column",et.controlName="\u77ED\u6587\u672C",et.controlIcon="varchar-column",et.controlFieldType=v.VARCHAR,et.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-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 or extends ie{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}}or.controlType="varchar-column",or.controlFieldType=v.VARCHAR;var hs={Designer:et,Runtime:or,Property:uu};class j_ extends we{constructor(e){super(e),Ge.call(this,e)}}class au extends G{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:tt.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 je(e==null?void 0:e.linkOperationOption)}}au.Rules=j_;class tt extends ne{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{escapeHTML:i}=this.props;n.props.escapeHTML=i}return n}}tt.controlType="text-column",tt.controlName="\u957F\u6587\u672C",tt.controlIcon="text-column",tt.controlFieldType=v.TEXT,tt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-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 cr extends ie{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}}cr.controlType="text-column",cr.controlFieldType=v.TEXT;var ys={Designer:tt,Runtime:cr,Property:au};class W_ extends we{constructor(e){super(e),Ge.call(this,e)}}class ru extends G{constructor(e){var n,i,u,a,r,l,c;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:nt.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 p(e==null?void 0:e.datasourceBind),this.options=Be((l=e==null?void 0:e.options)!=null?l:[{}]),this.showLinkOperation=(c=e==null?void 0:e.showLinkOperation)!=null?c:!1,this.linkOperationOption=new je(e==null?void 0:e.linkOperationOption)}}ru.Rules=W_;class nt extends ne{constructor(e){super(e),this.props=new ru(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}}nt.controlType="decimal-column",nt.controlName="\u6570\u503C",nt.controlIcon="decimal-column",nt.controlFieldType=v.DECIMAL,nt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.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:[s.MICROMETER,s.PRECISION,s.PERCENTAGE],visible:!0},{key:"column-align",visible:!0},{key:"column-sort",visible:!0}];class sr extends ie{constructor(e){super(e),this.props=new ru(e==null?void 0:e.props)}}sr.controlType="decimal-column",sr.controlFieldType=v.DECIMAL;var ms={Designer:nt,Runtime:sr,Property:ru};class K_ extends we{constructor(e){super(e),Ge.call(this,e)}}class lu extends G{constructor(e){var n,i,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:$e.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new je(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:it.controlName}}lu.Rules=K_;class it extends ne{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i}=this.props;n.props.dateType=i}return n}}it.controlType="timescope-column",it.controlName="\u65E5\u671F\u533A\u95F4",it.controlIcon="timescope-column",it.controlFieldType=v.TIMESCOPE,it.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.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 dr extends ie{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}}dr.controlType="timescope-column",dr.controlFieldType=v.TIMESCOPE;var vs={Designer:it,Runtime:dr,Property:lu};class z_ extends we{constructor(e){super(e),Ge.call(this,e)}}class ou extends G{constructor(e){var n,i,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:$e.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new je(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:ut.controlName}}ou.Rules=z_;class ut extends ne{constructor(e){super(e),this.props=new ou(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i}=this.props;n.props.dateType=i}return n}}ut.controlType="timestamp-column",ut.controlName="\u65E5\u671F",ut.controlIcon="timestamp-column",ut.controlFieldType=v.TIMESTAMP,ut.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.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 fr extends ie{constructor(e){super(e),this.props=new ou(e==null?void 0:e.props)}}fr.controlType="timestamp-column",fr.controlFieldType=v.TIMESTAMP;var gs={Designer:ut,Runtime:fr,Property:ou};class G_ extends Ll{constructor(e){super(e)}}class cu extends G{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:at.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new p(e==null?void 0:e.datasourceBind),this.options=Be((u=e==null?void 0:e.options)!=null?u:[{}])}}cu.Rules=G_;class at extends ne{constructor(e){super(e),this.props=new cu(e==null?void 0:e.props)}}at.controlType="array-column",at.controlName="\u6570\u7EC4",at.controlIcon="array-column",at.controlFieldType=v.ARRAY,at.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-sort",visible:!0}];class hr extends ie{constructor(e){super(e),this.props=new cu(e==null?void 0:e.props)}}hr.controlType="array-column",hr.controlFieldType=v.ARRAY;var bs={Designer:at,Runtime:hr,Property:cu};class yr extends G{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:rt.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class rt extends ne{constructor(e){super(e),this.props=new yr(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}}rt.controlType="department-column",rt.controlName="\u90E8\u95E8",rt.controlIcon="department-column",rt.controlFieldType=v.DEPARTMENTS,rt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}];class mr extends ie{constructor(e){super(e),this.props=new yr(e==null?void 0:e.props)}}mr.controlType="department-column",mr.controlFieldType=v.DEPARTMENTS;var Es={Designer:rt,Runtime:mr,Property:yr};class X_ extends we{constructor(e){super(e),Ge.call(this,e)}}class su extends G{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 je(e==null?void 0:e.linkOperationOption)}}su.Rules=X_;class lt extends ne{constructor(e){super(e),this.props=new su(e==null?void 0:e.props)}}lt.controlType="auto-number-column",lt.controlName="\u81EA\u52A8\u7F16\u53F7",lt.controlIcon="auto-number-column",lt.controlFieldType=v.AUTO_NUMBER,lt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.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 vr extends ie{constructor(e){super(e),this.props=new su(e==null?void 0:e.props)}}vr.controlType="auto-number-column",vr.controlFieldType=v.AUTO_NUMBER;var Cs={Designer:lt,Runtime:vr,Property:su};class gr extends G{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ot.controlName}}class ot extends ne{constructor(e){super(e),this.props=new gr(e==null?void 0:e.props)}}ot.controlType="file-column",ot.controlName="\u9644\u4EF6",ot.controlIcon="file-column",ot.controlFieldType=v.FILE,ot.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class br extends ie{constructor(e){super(e),this.props=new gr(e==null?void 0:e.props)}}br.controlType="file-column",br.controlFieldType=v.FILE;var As={Designer:ot,Runtime:br,Property:gr};class Er extends G{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ct.controlName}}class ct extends ne{constructor(e){super(e),this.props=new Er(e==null?void 0:e.props)}}ct.controlType="image-column",ct.controlName="\u56FE\u7247",ct.controlIcon="image-column",ct.controlFieldType=v.IMAGE,ct.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Cr extends ie{constructor(e){super(e),this.props=new Er(e==null?void 0:e.props)}}Cr.controlType="image-column",Cr.controlFieldType=v.IMAGE;var _s={Designer:ct,Runtime:Cr,Property:Er};class Ar extends G{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:st.controlName}}class st extends ne{constructor(e){super(e),this.props=new Ar(e==null?void 0:e.props)}}st.controlType="people-column",st.controlName="\u4EBA\u5458",st.controlIcon="people-column",st.controlFieldType=v.EMPLOYEES,st.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class _r extends ie{constructor(e){super(e),this.props=new Ar(e==null?void 0:e.props)}}_r.controlType="people-column",_r.controlFieldType=v.EMPLOYEES;var Bs={Designer:st,Runtime:_r,Property:Ar};class Q_ extends we{constructor(e){super(e),Ge.call(this,e)}}class du extends G{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:dt.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new je(e==null?void 0:e.linkOperationOption)}}du.Rules=Q_;class dt extends ne{constructor(e){super(e),this.props=new du(e==null?void 0:e.props)}}dt.controlType="location-column",dt.controlName="\u5730\u5740",dt.controlIcon="location-column",dt.controlFieldType=v.ADDRESS,dt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.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 Br extends ie{constructor(e){super(e),this.props=new du(e==null?void 0:e.props)}}Br.controlType="location-column",Br.controlFieldType=v.ADDRESS;var Is={Designer:dt,Runtime:Br,Property:du};class Ir extends G{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ve.controlName,this.fieldCodeList=(i=e==null?void 0:e.fieldCodeList)!=null?i:[]}}const J_=1;class Ve extends ne{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new Ir(e==null?void 0:e.props),Ie(this,"children",e==null?void 0:e.children),this.excludes=R5(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 $n(Te({},e),{children:this.children.map(n=>n.toSchema())})}}Ve.controlType="custom-column",Ve.controlName="\u81EA\u5B9A\u4E49",Ve.controlIcon="custom-column",Ve.excludes=[],Ve.childrenMaxLength=J_,Ve.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class ws extends ie{constructor(e){super(e),this.props=new Ir(e==null?void 0:e.props),Ie(this,"children",e==null?void 0:e.children)}}ws.controlType="custom-column";var Ss={Designer:Ve,Runtime:ws,Property:Ir};class wr extends G{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:He.controlName,this.datasourceBind=new Vn((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:He.controlCustomAttributes})}}class He extends ne{constructor(e){super(e),this.props=new wr(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}He.controlType="employee-column",He.controlName="\u4EBA\u5458",He.controlIcon="employee-column",He.controlFieldType=v.EMPLOYEES,He.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Sr extends ie{constructor(e){super(e),this.props=new wr(e==null?void 0:e.props)}}Sr.controlType="employee-column",Sr.controlFieldType=v.EMPLOYEES;var Fs={Designer:He,Runtime:Sr,Property:wr},Z_=Object.freeze({__proto__:null,VarcharColumn:hs,TextColumn:ys,DecimalColumn:ms,TimescopeColumn:vs,TimestampColumn:gs,ArrayColumn:bs,DepartmentColumn:Es,AutoNumberColumn:Cs,FileColumn:As,ImageColumn:_s,PeopleColumn:Bs,LocationColumn:Is,CustomColumn:Ss,OrderColumn:ss,OperationColumn:ds,EmployeeColumn:Fs});class Y_ extends Ke{constructor(e){super(e),this.push({type:"object",fields:{}})}}class fu extends Ba{constructor(e){var n,i,u,a,r,l,c,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=((c=e==null?void 0:e.custom)!=null?c:[]).map(f=>new Re(f)),this.queryTypeMap=(o=e==null?void 0:e.queryTypeMap)!=null?o:[]}}fu.RuntimeRules=Y_;class Fr extends gg{constructor(e){super(e),this.props=new fu(e==null?void 0:e.props)}}Fr.controlType="simple-search",Fr.setting=[{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"search-view-type",visible:!0}];class Ds extends Ig{constructor(e){var n;super(e),this.props=new fu(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}Ds.controlType="simple-search";var Ts={Designer:Fr,Runtime:Ds,Property:fu},p_=Object.freeze({__proto__:null,SimpleSearch:Ts});y.Address=cc,y.AdvancedContainer=rs,y.Amount=ac,y.ArrayColumn=bs,y.AssignType=Le,y.Attachment=tc,y.AutoNumber=hc,y.AutoNumberColumn=Cs,y.BatchDeleteButton=xo,y.BatchPrintListButton=To,y.BatchPrintRecordListButton=Ro,y.BatchSubmissionListButton=yo,y.Button=zl,y.Calc=mc,y.CardGroup=Kc,y.Checkbox=Mo,y.Col=Uc,y.CreateFormListButton=ho,y.CustomColumn=Ss,y.DATE_CONFIG_TYPE=to,y.DATE_LIMIT_TYPE=no,y.Dashboard=Io,y.DataView=us,y.DatePicker=qo,y.DateRange=Wo,y.DecimalColumn=ms,y.Department=dc,y.Department2=Mc,y.DepartmentColumn=Es,y.DepartmentType=mi,y.Divider=so,y.ElectronicSignature=xc,y.ElectronicSignatureConfig=io,y.Employee=ec,y.Employee2=Rc,y.EmployeeColumn=Fs,y.EncryptTypeEnum=oo,y.Explain=yi,y.ExportListButton=vo,y.ExportRecordListButton=go,y.ExportTemplate=La,y.FileColumn=As,y.FlexStyleConfig=lo,y.FormSelectButton=Eo,y.Grid=Hc,y.GridRow=Wc,y.GridTable=fs,y.GridTableColumn=Jc,y.Image=ic,y.ImageColumn=_s,y.ImportRecordListButton=bo,y.Input=ko,y.InternalType=Ha,y.InvoiceCheckButton=Do,y.LINE_STYLE=$a,y.LimitDate=hi,y.Link=Kl,y.ListSelectButton=Co,y.ListView=ns,y.ListViewSelect=So,y.LocationColumn=Is,y.Number=Ho,y.OperationButton=Po,y.OperationColumn=ds,y.OrderColumn=ss,y.OrganizationSelection=Nc,y.OrganizeType=Va,y.Page=as,y.Pagination=_o,y.PeopleColumn=Bs,y.Position=os,y.PositioningContainer=ls,y.PrintTemplate=ro,y.Radio=No,y.RichText=Xo,y.Row=jc,y.SCORE_TYPE=ka,y.SUBTABLE_DEFAULT_MAX_HEIGHT=ao,y.Score=lc,y.SearchDateRange=Ec,y.SearchInput=Sc,y.SearchNumberRange=gc,y.Select=Jo,y.SelectMultiple=Yo,y.SelectRelation=Bc,y.SimpleSearch=Ts,y.SubTable=cs,y.SubTableColumn=Gc,y.SubTableRow=Xc,y.SubmissionRecordListButton=mo,y.Tab=Yc,y.TabPane=Zc,y.Text=Wl,y.TextColumn=ys,y.TextOcrButton=Fo,y.Textarea=zo,y.TimescopeColumn=vs,y.TimestampColumn=gs,y.Title=fo,y.TitleConfigEnum=Me,y.Toolbox=ts,y.Tree=Dc,y.UndersignedPerson=Ma,y.VarcharColumn=hs,y.VueFormItem=Ac,y.WPS=kc,y.WPSSetting=uo,y.WpsOperationItem=Na,y.baseControls=sA,y.columnControls=Z_,y.formControls=u_,y.initExpression=Ht,y.layoutControls=$_,y.listControls=U_,y.searchControls=p_,Object.defineProperty(y,"__esModule",{value:!0})});
|
|
1
|
+
var Z0=Object.defineProperty,Y0=Object.defineProperties;var p0=Object.getOwnPropertyDescriptors;var Fc=Object.getOwnPropertySymbols;var eE=Object.prototype.hasOwnProperty,tE=Object.prototype.propertyIsEnumerable;var kc=(h,N,U)=>N in h?Z0(h,N,{enumerable:!0,configurable:!0,writable:!0,value:U}):h[N]=U,be=(h,N)=>{for(var U in N||(N={}))eE.call(N,U)&&kc(h,U,N[U]);if(Fc)for(var U of Fc(N))tE.call(N,U)&&kc(h,U,N[U]);return h},mn=(h,N)=>Y0(h,p0(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\u63D0\u793A\u6587\u5B57",Lc="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",$c="\u8BF7\u7ED1\u5B9A\u8868\u5355",Vc="\u8BF7\u7ED1\u5B9A\u5217\u8868",Hc="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",jc="\u8BF7\u8F93\u5165\u663E\u793A\u503C",qc="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Uc="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Wc="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Kc="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",zc="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",Gc="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Xc="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",Qc="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Jc="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Zc="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",Yc="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",pc="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",es="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",ts="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",ns="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",is="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",us="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",as="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",rs="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",ls="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",os="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",cs="\u8BF7\u7ED1\u5B9A\u670D\u52A1",ss="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",ds="\u8BF7\u9009\u62E9\u7701",fs="\u8BF7\u9009\u62E9\u5E02",hs="\u8BF7\u9009\u62E9\u533A",ys="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",ms="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",vs="\u8BF7\u8F93\u5165\u5217\u5BBD",gs="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",bs="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Es="\u8BF7\u9009\u62E9\u63A7\u4EF6",Cs="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",ws="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Is="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Ss="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",As="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",_s="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Ts="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Rs="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Bs="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Ps="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Ds="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",xs="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Fs="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",ks="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Os="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Ms="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Ns="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Ls="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",$s="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Vs="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Hs="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",js={isNotNumber:vn,isNotString:qi,isNotObject:Ui,isNotArray:dt,isNotBoolean:de,runtimeRequired:ft,pleaseEnterCaption:Oc,pleaseEnterCaptionTip:Mc,pleaseEnterPlaceholder:Nc,pleaseEnterFieldCode:Lc,pleaseEnterForm:$c,pleaseEnterList:Vc,pleaseEnterProcess:Hc,pleaseEnterLabel:jc,pleaseEnterValue:qc,bizKeyNotBindFiled:Uc,pleaseSelectOneField:Wc,pleaseEnterNumberRange:Kc,pleaseEnterAValueGreaterThanMin:zc,pleaseEnterAValueLessThanMax:Gc,numberRangeSetError:Xc,stringRangeError:Qc,attachmentMaxSize:Jc,pleaseEnterTotalScoreSetting:Zc,theTotalScoreMustNotBeLessThan1:Yc,scoreDefaultValueRange:pc,attachmentLimitError:es,PleaseReselectTheOptionalQuantity:ts,TheMaximumLengthIsGreaterThanTheMinimumLength:ns,TheMinimumLengthIsGreaterThanTheMaximumLength:is,PleaseSelectTheCorrectOptionSettings:us,optionIdIsRepeat:as,optionIsRequired:rs,pleaseEnterDataCode:ls,pleaseEnterValueFieldCode:os,pleaseEnterSvcCode:cs,pleaseBindAtLeastOneDisplayValue:ss,pleaseSelectProvince:ds,pleaseSelectCity:fs,pleaseSelectDistrict:hs,limitRowsCannotBeLessThan0:ys,TheNumberOfRowsCannotBeLessThanMinRows:ms,pleaseEnterColumnWidth:vs,pleaseSetTheLogicalRelationshipOfAllRuleConditions:gs,pleaseCompleteAllRulesAndConditions:bs,pleaseSelectControl:Es,pleaseSelectAtLeastOneColumn:Cs,pleaseSelectFillBackMode:ws,pleaseSelectDashboard:Is,rootNodeIsRequired:Ss,theViewNameCannotBeEmpty:As,pleaseSelectOcrType:_s,pleaseSelectAtLeastOneFieldToFillIn:Ts,pleaseChooseAtLeastOne:Rs,pleaseEnterButtonContent:Bs,pleaseEnterDataCodeInDataSetting:Ps,pleaseEnterValueFieldCodeInDataSetting:Ds,pleaseEnterSvcCodeInDataSetting:xs,pleaseBindAtLeastOneDisplayValueInDataSetting:Fs,rootNodeIsRequiredInDataSetting:ks,pleaseEnterMaxHeight:Os,pleaseEnter:Ms,pleaseEnterWatermark:Ns,pleaseEnterFileName:Ls,pleaseUploadAtLeastOnePrintTemplate:$s,pleaseAssignBusiness:Vs,pleaseAssignExternal:Hs},qs="Please enter a number",Us="Please enter a string",Ws="Please enter an object",Ks="Please enter an array",zs="Please enter a boolean",Gs="{caption} Required",Xs="Please enter the title",Qs="Please enter the bubble prompt",Js="Please enter the prompt text",Zs="Please bind data items",Ys="Please bind the form",ps="Please bind the list",ed="Please bind the process",td="Please enter the displayed value",nd="Please enter the stored value",id="The document number is not bound to the data item",ud="Please select at least one display field",ad="Please enter a value greater than or equal to {min} and less than or equal to {max}",rd="Please enter a value greater than or equal to {min}",ld="Please enter a value less than or equal to {max}",od="The value range is set incorrectly",cd="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",sd="The attachment size must be between 0MB and 1000MB",dd="Please fill in the total score setting",fd="The total score cannot be less than 1",hd="The default value must be between {min} and {max}",yd="The number of attachments uploaded must be between {min} and {max}",md="Please re-select the optional quantity",vd="The maximum length of the control must be greater than the minimum length",gd="The minimum length of the control must be less than the maximum length",bd="Please select the correct option setting",Ed="Option ID cannot be repeated",Cd="Please enter at least one option",wd="Please bind the data source",Id="Please bind the stored value",Sd="Please bind the service",Ad="At least one display value must be bound",_d="Please select a province",Td="Please select a city",Rd="Please select a district",Bd="The minimum number of lines to fill in cannot be less than 0",Pd="The number of rows cannot be less than {min} rows",Dd="Please enter the column width",xd="Please set the logical relationship of all rule conditions",Fd="Please complete all rules and conditions",kd="please select control",Od="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Md="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Nd="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Ld="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",$d="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Vd="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Hd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",jd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",qd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Ud="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Wd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Kd="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",zd="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Gd="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Xd="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Qd="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Jd="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Zd="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Yd={isNotNumber:qs,isNotString:Us,isNotObject:Ws,isNotArray:Ks,isNotBoolean:zs,runtimeRequired:Gs,pleaseEnterCaption:Xs,pleaseEnterCaptionTip:Qs,pleaseEnterPlaceholder:Js,pleaseEnterFieldCode:Zs,pleaseEnterForm:Ys,pleaseEnterList:ps,pleaseEnterProcess:ed,pleaseEnterLabel:td,pleaseEnterValue:nd,bizKeyNotBindFiled:id,pleaseSelectOneField:ud,pleaseEnterNumberRange:ad,pleaseEnterAValueGreaterThanMin:rd,pleaseEnterAValueLessThanMax:ld,numberRangeSetError:od,stringRangeError:cd,attachmentMaxSize:sd,pleaseEnterTotalScoreSetting:dd,theTotalScoreMustNotBeLessThan1:fd,scoreDefaultValueRange:hd,attachmentLimitError:yd,PleaseReselectTheOptionalQuantity:md,TheMaximumLengthIsGreaterThanTheMinimumLength:vd,TheMinimumLengthIsGreaterThanTheMaximumLength:gd,PleaseSelectTheCorrectOptionSettings:bd,optionIdIsRepeat:Ed,optionIsRequired:Cd,pleaseEnterDataCode:wd,pleaseEnterValueFieldCode:Id,pleaseEnterSvcCode:Sd,pleaseBindAtLeastOneDisplayValue:Ad,pleaseSelectProvince:_d,pleaseSelectCity:Td,pleaseSelectDistrict:Rd,limitRowsCannotBeLessThan0:Bd,TheNumberOfRowsCannotBeLessThanMinRows:Pd,pleaseEnterColumnWidth:Dd,pleaseSetTheLogicalRelationshipOfAllRuleConditions:xd,pleaseCompleteAllRulesAndConditions:Fd,pleaseSelectControl:kd,pleaseSelectDashboard:Od,theViewNameCannotBeEmpty:Md,pleaseSelectOcrType:Nd,pleaseSelectAtLeastOneFieldToFillIn:Ld,pleaseChooseAtLeastOne:$d,pleaseEnterButtonContent:Vd,pleaseEnterDataCodeInDataSetting:Hd,pleaseEnterValueFieldCodeInDataSetting:jd,pleaseEnterSvcCodeInDataSetting:qd,pleaseBindAtLeastOneDisplayValueInDataSetting:Ud,rootNodeIsRequiredInDataSetting:Wd,pleaseEnterMaxHeight:Kd,pleaseEnter:zd,pleaseEnterWatermark:Gd,pleaseEnterFileName:Xd,pleaseUploadAtLeastOnePrintTemplate:Qd,pleaseAssignBusiness:Jd,pleaseAssignExternal:Zd},pd="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ef="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",tf="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",nf="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",uf="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",af="{caption}\u5FC5\u9808",rf="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",lf="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",of="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",cf="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",sf="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",df="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ff="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",hf="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",yf="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",mf="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",vf="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",gf="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",bf="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ef="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Cf="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",wf="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",If="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Sf="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Af="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",_f="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Tf="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Rf="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Bf="\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",Pf="\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",Df="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",xf="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Ff="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",kf="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Of="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Mf="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Nf="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",Lf="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",$f="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Vf="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Hf="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",jf="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",qf="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Uf="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Wf="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",Kf="please select control",zf="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Gf="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Xf="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Qf="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Jf="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Zf="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Yf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",pf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",eh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",th="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",nh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",ih="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",uh="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",ah="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",rh="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",lh="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",oh="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",ch="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",sh={isNotNumber:pd,isNotString:ef,isNotObject:tf,isNotArray:nf,isNotBoolean:uf,runtimeRequired:af,pleaseEnterCaption:rf,pleaseEnterCaptionTip:lf,pleaseEnterPlaceholder:of,pleaseEnterFieldCode:cf,pleaseEnterForm:sf,pleaseEnterList:df,pleaseEnterProcess:ff,pleaseEnterLabel:hf,pleaseEnterValue:yf,bizKeyNotBindFiled:mf,pleaseSelectOneField:vf,pleaseEnterNumberRange:gf,pleaseEnterAValueGreaterThanMin:bf,pleaseEnterAValueLessThanMax:Ef,numberRangeSetError:Cf,stringRangeError:wf,attachmentMaxSize:If,pleaseEnterTotalScoreSetting:Sf,theTotalScoreMustNotBeLessThan1:Af,scoreDefaultValueRange:_f,attachmentLimitError:Tf,PleaseReselectTheOptionalQuantity:Rf,TheMaximumLengthIsGreaterThanTheMinimumLength:Bf,TheMinimumLengthIsGreaterThanTheMaximumLength:Pf,PleaseSelectTheCorrectOptionSettings:Df,optionIdIsRepeat:xf,optionIsRequired:Ff,pleaseEnterDataCode:kf,pleaseEnterValueFieldCode:Of,pleaseEnterSvcCode:Mf,pleaseBindAtLeastOneDisplayValue:Nf,pleaseSelectProvince:Lf,pleaseSelectCity:$f,pleaseSelectDistrict:Vf,limitRowsCannotBeLessThan0:Hf,TheNumberOfRowsCannotBeLessThanMinRows:jf,pleaseEnterColumnWidth:qf,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Uf,pleaseCompleteAllRulesAndConditions:Wf,pleaseSelectControl:Kf,pleaseSelectDashboard:zf,theViewNameCannotBeEmpty:Gf,pleaseSelectOcrType:Xf,pleaseSelectAtLeastOneFieldToFillIn:Qf,pleaseChooseAtLeastOne:Jf,pleaseEnterButtonContent:Zf,pleaseEnterDataCodeInDataSetting:Yf,pleaseEnterValueFieldCodeInDataSetting:pf,pleaseEnterSvcCodeInDataSetting:eh,pleaseBindAtLeastOneDisplayValueInDataSetting:th,rootNodeIsRequiredInDataSetting:nh,pleaseEnterMaxHeight:ih,pleaseEnter:uh,pleaseEnterWatermark:ah,pleaseEnterFileName:rh,pleaseUploadAtLeastOnePrintTemplate:lh,pleaseAssignBusiness:oh,pleaseAssignExternal:ch},dh={zhCN:js,enUS:Yd,jaJP:sh},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 fh="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.DATETIME="datetime"})(Ee||(Ee={}));var za="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",hh=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:hh,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 yh(t){if(Array.isArray(t))return Wi(t)}function mh(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 vh(){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 vh()?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 gh(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function bh(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Eh(){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 Ch(t,e){return e&&(wh(e)==="object"||typeof e=="function")?e:mh(t)}function yt(t,e){return yt=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},yt(t,e)}function Qa(t){return yh(t)||bh(t)||Ih(t)||Eh()}var wh=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Ih(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||!gh(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 Sh(){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=Sh();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 Ch(this,a)}}var zi=console;function Ah(){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 _h(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?_h(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)),Th=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 Th(t)}function Rh(t){zi.error(new Gi(t))}var Bh=Object.prototype.toString;function er(t,e){return Bh.call(t)==="[object "+e+"]"}function Ph(t){return er(t,"String")}function Dh(t){return er(t,"Promise")}var xh=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();Dh(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&&!Ph(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 Fh(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 kh(t,e,n){return e&&tr(t.prototype,e),n&&tr(t,n),t}var f=function(){function t(){Fh(this,t)}return kh(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]:fh;return new xh({locale:n,messages:dh})}},{key:"setLocale",value:function(n){return this.$i18n.setLocale(n)}}]),t}();f.$i18n=f.resetI18n();function Oh(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)){Ah("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 Mh=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Nh={exports:{}};(function(t){(function(e){var n=function(m,I,C){if(!d(I)||y(I)||b(I)||w(I)||s(I))return I;var x,k=0,ie=0;if(v(I))for(x=[],ie=I.length;k<ie;k++)x.push(n(m,I[k],C));else{x={};for(var F in I)Object.prototype.hasOwnProperty.call(I,F)&&(x[m(F,C)]=n(m,I[F],C))}return x},u=function(m,I){I=I||{};var C=I.separator||"_",x=I.split||/(?=[A-Z])/;return m.split(x).join(C)},a=function(m){return A(m)?m:(m=m.replace(/[\-_\s]+(.)?/g,function(I,C){return C?C.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]"},w=function(m){return o.call(m)=="[object Boolean]"},A=function(m){return m=m-0,m===m},E=function(m,I){var C=I&&"process"in I?I.process:I;return typeof C!="function"?m:function(x,k){return C(x,m,k)}},_={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=_})(Mh)})(Nh);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 Lh=nr.default=Xi;function Ce(t){if(t!==void 0)return typeof t=="object"?Lh(t):t}function $h(t){return Object.prototype.toString.call(t)==="[object Object]"}function Qi(t){return Array.isArray(t)}function Vh(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 Hh(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 jh(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 qh(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 Uh(t,e,n){return e&&ur(t.prototype,e),n&&ur(t,n),t}function Wh(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Kh(){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 Hh(t)||Wh(t)||zh(t)||Kh()}function zh(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 Gh=function(){function t(){qh(this,t),this._events=new Map,this.debug=!1}return Uh(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 jh(ae.default.mark(function o(){var s,d,v,y,b,w,A,E,_,m;return ae.default.wrap(function(C){for(;;)switch(C.prev=C.next){case 0:if(s=l._events.get(n),d=[],!s){C.next=42;break}v=s.slice(),y=!0,b=!1,w=void 0,C.prev=5,A=v[Symbol.iterator]();case 7:if(y=(E=A.next()).done){C.next=28;break}if(_=E.value,s.includes(_)){C.next=11;break}return C.abrupt("continue",25);case 11:return C.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))),C.next=15,_.apply(null,Zi(a));case 15:if(m=C.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){C.next=20;break}return C.abrupt("break",28);case 20:C.next=25;break;case 22:C.prev=22,C.t0=C.catch(11),Rh(String(C.t0)+":"+String(C.t0.stack));case 25:y=!0,C.next=7;break;case 28:C.next=34;break;case 30:C.prev=30,C.t1=C.catch(5),b=!0,w=C.t1;case 34:C.prev=34,C.prev=35,!y&&A.return!=null&&A.return();case 37:if(C.prev=37,!b){C.next=40;break}throw w;case 40:return C.finish(37);case 41:return C.finish(34);case 42:return C.abrupt("return",d);case 43:case"end":return C.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}(),Xh=[];new Set(Xh.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 Qh(t,e){return e&&(Jh(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 Jh=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Zh(){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=Zh();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 Qh(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),Yh=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})},ph=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:""},ey=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:[]},ty=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},ny=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),iy=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 ty(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 ny(l)}))!==null&&r!==void 0?r:[]},uy=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 uy(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},ay=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 ay(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),ry=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:""},ly=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 ly(n)}))!==null&&e!==void 0?e:[]}var lu=function t(){T(this,t)},oy=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),cy=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},sy=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),dy=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:""},fy=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:""},hy=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),yy=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},my=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)},vy=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 gy(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 by(){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 by()?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 Ey(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 Cy(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function wy(t,e){return e&&(Iy(e)==="object"||typeof e=="function")?e:gy(t)}function gt(t,e){return gt=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},gt(t,e)}var Iy=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||!Cy(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 Sy(){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 Ay(t){var e=Sy();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 wy(this,a)}}var $=function t(e){cu(this,t),this.isHide={type:"boolean"}},xe=function(t){Ey(n,t);var e=Ay(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 vy(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=xe;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 _y(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 Ty(){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 Ty()?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 Ry(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||!Ry(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 By=/%[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(By,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 Py(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||Py(e)&&typeof t=="string"&&!t)}function Dy(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 xy(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var gr=function(t){_y(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 Fy(t,e,n,u){if(e.first){var a=new Promise(function(y,b){var w=function(_){return u(_),_.length?b(new gr(_,hu(_))):y()},A=xy(t);vr(A,n,w)});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 w=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,w):Dy(E,n,w)})});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 ky(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 Oy(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 My(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",w=Array.isArray(e);if(y?v="number":b?v="string":w&&(v="array"),!v)return!1;w&&(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 Ny(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 Ly(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:ky,type:Oy,range:My,enum:Ny,pattern:Ly};function $y(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 Vy(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 Hy(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 jy(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 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),V(e)||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(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),R.range(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(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 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)}n(r)}var Gy="enum";function Xy(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[Gy](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,"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 Jy(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 Zy(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 Yy(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:$y,method:Vy,number:Hy,boolean:jy,regexp:qy,integer:Uy,float:Wy,array:Ky,object:zy,enum:Xy,pattern:Qy,date:Jy,url:mu,hex:mu,email:mu,required:Zy,any:Yy};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 C(x){if(Array.isArray(x)){var k;m=(k=m).concat.apply(k,x)}else m.push(x)}for(_=0;_<E.length;_++)C(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={},w=l.keys||Object.keys(this.rules);w.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 Fy(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 C(ie,F){return se(se({},F),{},{fullField:m.fullField+"."+ie})}function x(ie){ie===void 0&&(ie=[]);var F=ie;if(Array.isArray(F)||(F=[F]),!l.suppressWarning&&F.length&&Ie.warning("async-validator:",F),F.length&&m.message!==void 0&&(F=[].concat(m.message)),F=F.map(br(m)),l.first&&F.length)return A[m.field]=1,_(F);if(!I)_(F);else{if(m.required&&!E.value)return m.message!==void 0?F=[].concat(m.message).map(br(m)):l.error&&(F=[l.error(m,te(l.messages.required,m.field))]),_(F);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(C.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=[];F&&F.length&&ge.push.apply(ge,F),st&&st.length&&ge.push.apply(ge,st),_(ge.length?ge:null)})}}var k;m.asyncValidator?k=m.asyncValidator(m,E.value,x,E.source,l):m.validator&&(k=m.validator(m,E.value,x,E.source,l),k===!0?x():k===!1?x(m.message||m.field+" fails"):k instanceof Array?x(k):k instanceof Error&&x(k.message)),k&&k.then&&k.then(function(){return x()},function(ie){return x(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 py={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 em(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new Ie(t);return n.messages(Object.assign(py,e)),n}var tm=new Gh;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 nm(t){if(Array.isArray(t))return t}function im(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 um(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 am(t,e,n){return e&&Sr(t.prototype,e),n&&Sr(t,n),t}function rm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function 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 lm(){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 om(){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){rm(t,a,n[a])})}return t}function cm(t){return nm(t)||_r(t)||Rr(t,i)||lm()}function Eu(t){return im(t)||_r(t)||Rr(t)||om()}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;um(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 w;this.id=(w=n==null?void 0:n.id)!==null&&w!==void 0?w: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 am(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=cm(a),s=o[0],d=o.slice(1);return(l=tm).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),Oh(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=em(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,w=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),w!==void 0&&(m.maxLength=w),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 sm(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 dm(t,e,n){return e&&Dr(t.prototype,e),n&&Dr(t,n),t}function fm(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?e[Symbol.hasInstance](t):t instanceof e}var W=function(){function e(n){sm(this,e),this.customEvents=[],this.parent=null;var u=fm(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 dm(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=Vh(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 xr(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 hm(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?e[Symbol.hasInstance](t):t instanceof e}function ym(t,e){return e&&(mm(e)==="object"||typeof e=="function")?e:xr(t)}function wu(t,e){return wu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},wu(t,e)}var mm=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 Bn(t){var e=vm();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 ym(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(hm(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}(xe),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 w;a.requiredMessage=(w=u==null?void 0:u.requiredMessage)!==null&&w!==void 0?w:"",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(xr(a),u),a}return n}(G);function gm(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 Pn(t){return Pn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pn(t)}function Em(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 Cm(t,e){return e&&(wm(e)==="object"||typeof e=="function")?e:gm(t)}function Iu(t,e){return Iu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Iu(t,e)}var wm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Im(){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 Sm(t){var e=Im();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 Cm(this,a)}}var P=function(t){Em(n,t);var e=Sm(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}(O);P.controlEventKeys=["on_change","on_focus","on_blur"];function Am(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _m(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 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&&Su(t,e)}function Rm(t,e){return e&&(Bm(e)==="object"||typeof e=="function")?e:Am(t)}function Su(t,e){return Su=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Su(t,e)}var Bm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Pm(){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 Dm(t){var e=Pm();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 Rm(this,a)}}var D=function(t){Tm(n,t);var e=Dm(n);function n(u){_m(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 xm(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Fm(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 km(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 Om(t,e){return e&&(Mm(e)==="object"||typeof e=="function")?e:xm(t)}function Au(t,e){return Au=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Au(t,e)}var Mm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Nm(){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 Lm(t){var e=Nm();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 Om(this,a)}}var L=function(t){km(n,t);var e=Lm(n);function n(u){return Fm(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 $m(t){if(Array.isArray(t))return _u(t)}function Vm(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Hm(){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 Fr(t){return $m(t)||Vm(t)||jm(t)||Hm()}function jm(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 qm(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,qm(t,"parent")}function Um(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 Um(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(Fr(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(Fr(o)));return $h(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 Wm(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 Km(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 zm(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 Gm(t,e,n){return e&&Vr(t.prototype,e),n&&Vr(t,n),t}function Xm(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=tv(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 Qm(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 Jm(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?e[Symbol.hasInstance](t):t instanceof e}function Zm(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Ym(){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 pm(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){Xm(t,a,n[a])})}return t}function ev(t,e){return e&&(nv(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 tv(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Se(t),t!==null););return t}function Hr(t){return Wm(t)||Zm(t)||iv(t)||Ym()}var nv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function iv(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 uv(){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 av(t){var e=uv();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 ev(this,a)}}var rv=1e4,H=function(e){Qm(u,e);var n=av(u);function u(a){zm(this,u);var r;r=n.call(this,a),r.controlType="layout";var l=Jm(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 Gm(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 Km(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(w){return w.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 pm({},r,{children:l})}}]),u}(O);H.excludes=!1,H.childrenMaxLength=rv;function jr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function lv(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 ov(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 cv(t,e){return e&&(sv(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 sv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function dv(){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 fv(t){var e=dv();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 cv(this,a)}}var K=function(t){ov(n,t);var e=fv(n);function n(u){lv(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 hv(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 yv(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 mv(t,e){return e&&(vv(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 vv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function gv(){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 bv(t){var e=gv();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 mv(this,a)}}var On=function(t){yv(n,t);var e=bv(n);function n(u,a){hv(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 Ev(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 Cv(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 wv(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 Iv(t,e,n){return e&&Kr(t.prototype,e),n&&Kr(t,n),t}function Sv(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=Bv(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 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&&xu(t,e)}function _v(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 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){Sv(t,a,n[a])})}return t}function Rv(t,e){return e&&(Pv(e)==="object"||typeof e=="function")?e:Ur(t)}function xu(t,e){return xu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},xu(t,e)}function Bv(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Ae(t),t!==null););return t}function Gr(t){return Ev(t)||_v(t)||Dv(t)||Tv()}var Pv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Dv(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 xv(){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 Fv(t){var e=xv();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 Rv(this,a)}}var Fu=function(t){Av(n,t);var e=Fv(n);function n(u){wv(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 Iv(n,[{key:"validate",value:function(a,r){var l=this,o=this,s=function(){return tt(Ae(n.prototype),"validate",l)};return Cv(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);Fu.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 kv(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 Ov(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 Mv(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 Nv(t,e){return e&&(Lv(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 Lv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};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 u=Mn(t),a;if(e){var r=Mn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Nv(this,a)}}var Qr=function(t){Mv(n,t);var e=Vv(n);function n(u){kv(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 Ov(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 Hv(t,e){return e&&(jv(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 jv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function qv(){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=qv();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 Hv(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 Uv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Wv(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 Kv(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 zv(t,e){return e&&(Gv(e)==="object"||typeof e=="function")?e:Uv(t)}function Vu(t,e){return Vu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Vu(t,e)}var Gv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Xv(){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=Xv();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 zv(this,a)}}var X=function(t){Kv(n,t);var e=Qv(n);function n(u){Wv(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 Jv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Zv(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 Yv(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 pv(t,e){return e&&(eg(e)==="object"||typeof e=="function")?e:Jv(t)}function Hu(t,e){return Hu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Hu(t,e)}var eg=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 ng(t){var e=tg();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 pv(this,a)}}var Q=function(t){Yv(n,t);var e=ng(n);function n(u){Zv(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 ig(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ug(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 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&&ju(t,e)}function rg(t,e){return e&&(lg(e)==="object"||typeof e=="function")?e:ig(t)}function ju(t,e){return ju=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},ju(t,e)}var lg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function og(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function cg(t){var e=og();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 rg(this,a)}}var qu=function(t){ag(n,t);var e=cg(n);function n(u){ug(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 sg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function dg(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 fg(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 hg(t,e){return e&&(yg(e)==="object"||typeof e=="function")?e:sg(t)}function Uu(t,e){return Uu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Uu(t,e)}var yg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function mg(){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 vg(t){var e=mg();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 hg(this,a)}}var gg=function(t){fg(n,t);var e=vg(n);function n(u){dg(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 bg(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 jn(t){return jn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},jn(t)}function Cg(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 wg(t,e){return e&&(Ig(e)==="object"||typeof e=="function")?e:bg(t)}function Wu(t,e){return Wu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Wu(t,e)}var Ig=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Sg(){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=Sg();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 wg(this,a)}}var _g=function(t){Cg(n,t);var e=Ag(n);function n(u){Eg(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 Fe(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 Tg 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:Tg,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 Rg 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:Rg,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 Bg 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:Bg,Property:ta};class Pg 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=Pg;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 Dg 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:Dg,Property:Kn};class xg 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=xg;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 Fg 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:Fg,Property:zn};class kg 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=kg;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 Og 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:Og,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 Mg 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:Mg,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 Ng 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:Ng,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 Lg 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:Lg,Property:ua};class $g{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 $g(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 Vg 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:Vg,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 Hg 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 ey(e==null?void 0:e.formBind),this.fillBack=new hr(e==null?void 0:e.fillBack)}}Qn.Rules=Hg;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 jg 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:jg,Property:Qn};class qg 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=qg;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 Ug 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:Ug,Property:Jn};class Wg extends ${constructor(e){super(e)}}class Kg extends xe{constructor(e){super(e)}}class Pt extends q{constructor(e){super(e)}}Pt.Rules=Wg,Pt.RuntimeRules=Kg;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 zg 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:zg,Property:Pt};class Gg 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=Gg;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 Xg 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:Xg,Property:Zn};class Qg 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 my(r)))!=null?a:[]}}Yn.Rules=Qg;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 Jg 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:Jg,Property:Yn};class Zg 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=Zg;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 Yg 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:Yg,Property:pn};class pg 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=pg;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 eb 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:eb,Property:ei};class tb 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=tb;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 nb 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:nb,Property:ti};class ra extends Z{constructor(e){super(e);var n,u;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}}class xt 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)}}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:"super-setting",visible:!0}];class ib 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:xt,Runtime:ib,Property:ra};class ub 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=ub;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 ab extends W{static get controlType(){return"operation-button"}constructor(e){super(e);this.props=new ni(e==null?void 0:e.props)}}var xl={Designer:ii,Runtime:ab,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:Ft.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:Ft.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 Ft 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)}}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:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class rb 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 Fl={Designer:Ft,Runtime:rb,Property:la},lb=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:xl,BatchDeleteButton:Fl});class ob 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 cb 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=ob,at.RuntimeRules=cb;class rt extends P{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 D{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 sb 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 db 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,w,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=(w=e==null?void 0:e.defaultShowOptions)!=null?w:!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=sb,kt.RuntimeRules=db;class Ot extends P{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 D{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 fb 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(w=>{var A;(A=this.multistageFilling)==null||A.push(new p(w))}))}}ui.Rules=fb;class Mt extends P{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 D{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 hb 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 yb 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,w,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=(w=e==null?void 0:e.placeholder)!=null?w:"\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=hb,Nt.RuntimeRules=yb;class Lt extends P{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 D{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;this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Ee.DATE,this.setValueType=(u=e==null?void 0:e.setValueType)!=null?u:"custom",this.caption=(a=e==null?void 0:e.caption)!=null?a:ai.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165\u65E5\u671F",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:"",this.limitDateList=(s=(o=e==null?void 0:e.limitDateList)==null?void 0:o.map(y=>new qn(y)))!=null?s:[],this.allowDateRange=(d=e==null?void 0:e.allowDateRange)!=null?d:["",""],this.filterWeekend=(v=e==null?void 0:e.filterWeekend)!=null?v:!1}}class ai extends P{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:"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 D{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 mb 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;this.dataBind=new sy(e==null?void 0:e.dataBind),this.defaultValue=new dy(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Ee.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:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(o=e==null?void 0:e.placeholderEnd)!=null?o:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",this.caption=(s=e==null?void 0:e.caption)!=null?s:li.controlName,this.limitDateList=(v=(d=e==null?void 0:e.limitDateList)==null?void 0:d.map(y=>new qn(y)))!=null?v:[]}}ri.RuntimeRules=mb;class li extends P{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:"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 D{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 vb 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 gb 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=vb,$t.RuntimeRules=gb;class Vt extends P{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 D{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 bb 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 Eb 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=bb,Ht.RuntimeRules=Eb;class jt extends P{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 D{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 Cb 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=Cb;class ci extends P{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 D{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 wb extends pe{constructor(e){super(e)}}class Ib 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=wb,qt.RuntimeRules=Ib;class si extends P{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 D{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 Sb 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=Sb;class fi extends P{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 D{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 Ab=10485760,_b=104857600,Tb=1048576e3;class Rb extends G{constructor(e){super(e);this.maxSize={type:"number",min:0,max:Tb,message:f.getMessage("attachmentMaxSize")}}}class Bb 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:_b,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=Rb,lt.RuntimeRules=Bb;class ot extends P{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 D{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 Pb 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 Db extends lt{constructor(e){super(e)}}var io={Designer:sa,Runtime:Pb,Property:Db};class xb 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 Fb 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 oy(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 cy((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=xb,Ut.RuntimeRules=Fb;class Wt extends P{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 D{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 kb 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 Ob 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=kb,Kt.RuntimeRules=Ob;class zt extends P{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 D{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 Mb 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 fy((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=Mb;class yi extends P{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 D{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 Nb 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(w=>{var A;(A=this.multistageFilling)==null||A.push(new p(w))}))}}mi.RuntimeRules=Nb;class Gt extends P{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 D{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 P{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 D{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 Lb 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 $b 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 hy(e==null?void 0:e.dataBind),this.defaultValue=new yy(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=Lb,Qt.RuntimeRules=$b;class Jt extends P{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 D{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 Vb 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=Vb;class gi extends P{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 D{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 Hb 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;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.setValueType=(a=e==null?void 0:e.setValueType)!=null?a:"custom",this.rangeMin=(r=e==null?void 0:e.rangeMin)!=null?r:"",this.rangeMax=(l=e==null?void 0:e.rangeMax)!=null?l:"",this.placeholderStart=(o=e==null?void 0:e.placeholderStart)!=null?o:"\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(s=e==null?void 0:e.placeholderEnd)!=null?s:"\u7ED3\u675F\u65E5\u671F",this.caption=(d=e==null?void 0:e.caption)!=null?d:Ei.controlName,this.limitDateList=(y=(v=e==null?void 0:e.limitDateList)==null?void 0:v.map(b=>new qn(b)))!=null?y:[]}}bi.RuntimeRules=Hb;class Ei extends P{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:"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 D{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 jb extends G{constructor(e){super(e);this.dataBind={type:"any"}}}class qb 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=jb,Zt.RuntimeRules=qb;class Yt extends P{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 D{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 Ub 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=Ub;class pt extends P{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 D{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 D{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 Wb 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 Kb 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,w,A,E,_,m,I,C;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.defaultCollapse=(y=e==null?void 0:e.defaultCollapse)!=null?y:"all",this.defaultCollapseLevel=(b=e==null?void 0:e.defaultCollapseLevel)!=null?b:1,this.datasourceBind=new dr((w=e==null?void 0:e.datasourceBind)!=null?w:{attributes:Re.controlCustomAttributes}),this.filterItemDatasourceBind=new dr((A=e==null?void 0:e.filterItemDatasourceBind)!=null?A:{attributes:Re.controlCustomAttributes}),this.openMultistageFilling=(E=e==null?void 0:e.openMultistageFilling)!=null?E:!1,this.defaultDisplay=(_=e==null?void 0:e.defaultDisplay)!=null?_:!1,this.multistageFilling=(I=(m=e==null?void 0:e.multistageFilling)==null?void 0:m.map(x=>new p(x)))!=null?I:[],this.defaultValue=(C=e==null?void 0:e.defaultValue)!=null?C:[]}}en.Rules=Wb,en.RuntimeRules=Kb;class Re extends P{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 D{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 zb 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 Gb 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,w,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=(w=e==null?void 0:e.externalType)!=null?w: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=zb,tn.RuntimeRules=Gb;class ct extends P{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 D{static get controlType(){return"employee2"}constructor(e){super(e);this.props=new tn(e==null?void 0:e.props)}}Do.controlFieldType=g.EMPLOYEES;var xo={Designer:ct,Runtime:Do,Property:tn};class Xb 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=Xb;class nn extends P{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 Fo extends D{static get controlType(){return"electronic-signature"}constructor(e){super(e);this.props=new wi(e==null?void 0:e.props)}}Fo.controlFieldType=g.VARCHAR;var ko={Designer:nn,Runtime:Fo,Property:wi};class Qb 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 Jb 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,w;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:Ab,this.defaultValue=(b=e==null?void 0:e.defaultValue)!=null?b:[],this.wpsSetting=new al(e==null?void 0:e.wpsSetting),this.revisionsMode=(w=e==null?void 0:e.revisionsMode)!=null?w:!1}}un.Rules=Qb,un.RuntimeRules=Jb;class an extends P{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 D{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 Zb 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 Yb 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,w,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=(w=e==null?void 0:e.datasourceType)!=null?w: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=Zb,rn.RuntimeRules=Yb;class ke extends P{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 D{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 pb 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 e0 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,w,A,E,_,m,I,C;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 ry((b=e==null?void 0:e.datasourceBind)!=null?b:{attributes:Oe.controlCustomAttributes}),this.datasourceType=(w=e==null?void 0:e.datasourceType)!=null?w: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=(C=e==null?void 0:e.openMultistageFilling)!=null?C:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(x=>{var k;(k=this.multistageFilling)==null||k.push(new p(x))}))}}ln.Rules=pb,ln.RuntimeRules=e0;class Oe extends P{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 D{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},t0=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:xo,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 n0 extends K{static get controlType(){return"grid"}constructor(e){super(e)}}var jo={Designer:Ho,Runtime:n0,Property:L};const i0=24;class Me extends L{constructor(e){super(e);var n,u;this.span=(n=e==null?void 0:e.span)!=null?n:i0,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 u0=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=u0;class a0 extends Uo{static get controlType(){return"grid-row"}constructor(e){super(e)}}class r0 extends Ii{constructor(e){super(e)}}var Ko={Designer:Ai,Runtime:a0,Property:r0};class l0 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=l0;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 o0 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:o0,Property:_i};class c0 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 Yh(e==null?void 0:e.metaAutoWidth)}}Ti.Rules=c0;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 s0 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:s0,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 d0 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=d0;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 f0 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:f0,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 h0 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:h0,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 y0 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:y0,Property:ec};class m0 extends xe{constructor(e){super(e);this.push({type:"object",fields:{}})}}class v0 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 iy(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=v0,dn.RuntimeRules=m0;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 g0 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:g0,Property:dn};class b0 extends xe{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=b0;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 E0 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:E0,Property:Pi};class C0 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 w0 extends K{static get controlType(){return"page"}constructor(e){super(e)}}class I0 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:C0,Runtime:w0,Property:I0};class S0 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 A0 extends K{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class _0 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:S0,Runtime:A0,Property:_0};class T0 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 R0 extends K{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class B0 extends L{constructor(e){super(e)}}var oc={Designer:T0,Runtime:R0,Property:B0};class P0 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 D0 extends K{static get controlType(){return"position"}constructor(e){super(e)}}class x0 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:P0,Runtime:D0,Property:x0},F0=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 k0 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")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0)}}class O0 extends xe{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,w,A,E,_,m,I,C,x,k,ie,F,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=(w=n==null?void 0:n.maxRows)!=null?w: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=(C=n==null?void 0:n.canImport)!=null?C:!1,this.canExport=(x=n==null?void 0:n.canExport)!=null?x:!1,this.canClear=(k=n==null?void 0:n.canClear)!=null?k:!0,this.serverPagination=(ie=n==null?void 0:n.serverPagination)!=null?ie:!1,this.isShowCaptionTip=(F=n==null?void 0:n.isShowCaptionTip)!=null?F:!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:(n==null?void 0:n.mobileShowType)==="list")?10:5,this.dataStorageDoc=(ji=n==null?void 0:n.dataStorageDoc)!=null?ji:new ph,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=k0,fn.RuntimeRules=O0;class Di extends Fu{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 M0 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:M0,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 N0 extends me{constructor(e){super(e);this.caption.required=!1}}class xi 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"}}xi.Rules=N0;class $e extends X{constructor(e){super(e);this.props=new xi(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 xi(e==null?void 0:e.props)}}Ea.controlType="order-column",Ea.controlFieldType=g.DECIMAL;var dc={Designer:$e,Runtime:Ea,Property:xi};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 Fu{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 L0 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:L0,Property:ba},$0=Object.freeze({__proto__:null,SubTable:sc,GridTable:yc});class V0 extends Zr{constructor(e){super(e);Fe.call(this,e)}}class Fi 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}}Fi.Rules=V0;class He extends X{constructor(e){super(e);this.props=new Fi(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 Fi(e==null?void 0:e.props)}}Ia.controlType="varchar-column",Ia.controlFieldType=g.VARCHAR;var mc={Designer:He,Runtime:Ia,Property:Fi};class H0 extends me{constructor(e){super(e);Fe.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=H0;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 j0 extends me{constructor(e){super(e);Fe.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=j0;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 q0 extends me{constructor(e){super(e);Fe.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=q0;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 U0 extends me{constructor(e){super(e);Fe.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=U0;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 W0 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=W0;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 K0 extends me{constructor(e){super(e);Fe.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=K0;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 xa 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 xa(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 Fa extends Q{constructor(e){super(e);this.props=new xa(e==null?void 0:e.props)}}Fa.controlType="file-column",Fa.controlFieldType=g.FILE;var Sc={Designer:Xe,Runtime:Fa,Property:xa};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 z0 extends me{constructor(e){super(e);Fe.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=z0;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 G0=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=G0,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},X0=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 Q0 extends xe{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=Q0;class ja extends gg{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 _g{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 xc={Designer:ja,Runtime:Dc,Property:Hi},J0=Object.freeze({__proto__:null,SimpleSearch:xc});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=Fl,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=xo,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=xl,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=xc,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=lb,h.columnControls=X0,h.formControls=t0,h.initExpression=Ct,h.layoutControls=F0,h.listControls=$0,h.searchControls=J0,Object.defineProperty(h,"__esModule",{value:!0})});
|