@byteluck-fe/model-driven-controls 1.7.11 → 1.7.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/baseControls/BatchDeleteButton/property.js +18 -18
- package/dist/esm/baseControls/BatchPrintListButton/property.js +10 -10
- package/dist/esm/baseControls/BatchPrintRecordListButton/property.js +4 -4
- package/dist/esm/baseControls/BatchSubmissionListButton/property.js +12 -12
- package/dist/esm/baseControls/Button/property.js +16 -16
- package/dist/esm/baseControls/CreateFormListButton/property.js +8 -8
- package/dist/esm/baseControls/Dashboard/property.js +12 -12
- package/dist/esm/baseControls/Divider/property.js +4 -4
- package/dist/esm/baseControls/ExportListButton/property.js +8 -8
- package/dist/esm/baseControls/ExportRecordListButton/property.js +4 -4
- package/dist/esm/baseControls/FormSelectButton/property.js +6 -6
- package/dist/esm/baseControls/ImportRecordListButton/property.js +8 -8
- package/dist/esm/baseControls/InvoiceCheckButton/property.js +20 -20
- package/dist/esm/baseControls/Link/property.js +6 -6
- package/dist/esm/baseControls/ListSelectButton/property.js +4 -4
- package/dist/esm/baseControls/ListViewSelect/property.js +6 -6
- package/dist/esm/baseControls/SubmissionRecordListButton/property.js +4 -4
- package/dist/esm/baseControls/Text/property.js +10 -10
- package/dist/esm/baseControls/TextOcrButton/property.js +20 -20
- package/dist/esm/baseControls/Title/designer.js +10 -13
- package/dist/esm/baseControls/Title/property.js +8 -7
- package/dist/esm/columnControls/ArrayColumn/property.js +6 -6
- package/dist/esm/columnControls/AutoNumberColumn/property.js +2 -2
- package/dist/esm/columnControls/CustomColumn/designer.js +1 -1
- package/dist/esm/columnControls/CustomColumn/property.js +4 -4
- package/dist/esm/columnControls/DecimalColumn/designer.js +1 -1
- package/dist/esm/columnControls/DecimalColumn/property.js +12 -12
- package/dist/esm/columnControls/DepartmentColumn/property.js +4 -4
- package/dist/esm/columnControls/EmployeeColumn/property.js +4 -4
- package/dist/esm/columnControls/FileColumn/property.js +2 -2
- package/dist/esm/columnControls/ImageColumn/property.js +2 -2
- package/dist/esm/columnControls/LocationColumn/property.js +2 -2
- package/dist/esm/columnControls/OperationColumn/property.js +12 -12
- package/dist/esm/columnControls/OrderColumn/property.js +8 -8
- package/dist/esm/columnControls/PeopleColumn/property.js +2 -2
- package/dist/esm/columnControls/TextColumn/property.js +6 -6
- package/dist/esm/columnControls/TimescopeColumn/property.js +4 -4
- package/dist/esm/columnControls/TimestampColumn/property.js +4 -4
- package/dist/esm/columnControls/VarcharColumn/property.js +8 -8
- package/dist/esm/formControls/Address/property.js +10 -10
- package/dist/esm/formControls/Amount/designer.js +1 -1
- package/dist/esm/formControls/Amount/property.js +22 -22
- package/dist/esm/formControls/Attachment/property.js +16 -16
- package/dist/esm/formControls/AutoNumber/property.js +6 -6
- package/dist/esm/formControls/Calc/designer.js +1 -1
- package/dist/esm/formControls/Calc/property.js +14 -14
- package/dist/esm/formControls/Checkbox/property.js +26 -26
- package/dist/esm/formControls/DatePicker/property.js +18 -18
- package/dist/esm/formControls/DateRange/property.js +18 -18
- package/dist/esm/formControls/Department/designer.js +1 -1
- package/dist/esm/formControls/Department/property.js +22 -22
- package/dist/esm/formControls/Department2/designer.js +1 -1
- package/dist/esm/formControls/Department2/property.js +30 -30
- package/dist/esm/formControls/ElectronicSignature/property.js +12 -12
- package/dist/esm/formControls/Employee/property.js +18 -18
- package/dist/esm/formControls/Employee2/property.js +28 -28
- package/dist/esm/formControls/Image/designer.js +5 -5
- package/dist/esm/formControls/Image/runtime.js +7 -7
- package/dist/esm/formControls/Input/property.js +14 -14
- package/dist/esm/formControls/Number/designer.js +1 -1
- package/dist/esm/formControls/Number/property.js +26 -26
- package/dist/esm/formControls/Radio/property.js +22 -22
- package/dist/esm/formControls/RichText/property.js +10 -10
- package/dist/esm/formControls/Score/designer.js +2 -2
- package/dist/esm/formControls/Score/property.js +14 -14
- package/dist/esm/formControls/SearchDateRange/property.js +20 -20
- package/dist/esm/formControls/SearchNumberRange/property.js +12 -12
- package/dist/esm/formControls/Select/property.js +16 -16
- package/dist/esm/formControls/SelectMultiple/property.js +14 -14
- package/dist/esm/formControls/SelectRelation/property.js +14 -14
- package/dist/esm/formControls/Textarea/property.js +12 -12
- package/dist/esm/formControls/Tree/property.js +26 -26
- package/dist/esm/formControls/VueFormItem/property.js +10 -10
- package/dist/esm/formControls/WPS/property.js +24 -24
- package/dist/esm/framework.js +70 -70
- package/dist/esm/layoutControls/CardGroup/property.js +6 -6
- package/dist/esm/layoutControls/Col/property.js +4 -4
- package/dist/esm/layoutControls/DataView/property.js +12 -12
- package/dist/esm/layoutControls/GridTableColumn/property.js +20 -20
- package/dist/esm/layoutControls/ListView/property.js +16 -16
- package/dist/esm/layoutControls/Page/property.js +2 -2
- package/dist/esm/layoutControls/Position/property.js +8 -8
- package/dist/esm/layoutControls/Row/property.js +4 -4
- package/dist/esm/layoutControls/SubTableColumn/property.js +12 -12
- package/dist/esm/layoutControls/Tab/designer.js +2 -2
- package/dist/esm/layoutControls/TabPane/property.js +2 -2
- package/dist/esm/listControls/GridTable/property.js +8 -8
- package/dist/esm/listControls/SubTable/designer.js +2 -2
- package/dist/esm/listControls/SubTable/property.js +42 -42
- package/dist/esm/searchControls/SimpleSearch/property.js +14 -14
- package/dist/esm/searchControls/SimpleSearch/runtime.js +2 -2
- package/dist/index.umd.js +1 -1
- package/dist/types/baseControls/BatchDeleteButton/designer.d.ts +13 -13
- package/dist/types/baseControls/BatchDeleteButton/index.d.ts +12 -12
- package/dist/types/baseControls/BatchDeleteButton/property.d.ts +14 -14
- package/dist/types/baseControls/BatchDeleteButton/runtime.d.ts +9 -9
- package/dist/types/baseControls/BatchPrintListButton/designer.d.ts +14 -14
- package/dist/types/baseControls/BatchPrintListButton/index.d.ts +12 -12
- package/dist/types/baseControls/BatchPrintListButton/property.d.ts +15 -15
- package/dist/types/baseControls/BatchPrintListButton/runtime.d.ts +10 -10
- package/dist/types/baseControls/BatchPrintRecordListButton/designer.d.ts +15 -15
- package/dist/types/baseControls/BatchPrintRecordListButton/index.d.ts +12 -12
- package/dist/types/baseControls/BatchPrintRecordListButton/property.d.ts +6 -6
- package/dist/types/baseControls/BatchPrintRecordListButton/runtime.d.ts +10 -10
- package/dist/types/baseControls/BatchSubmissionListButton/designer.d.ts +14 -14
- package/dist/types/baseControls/BatchSubmissionListButton/index.d.ts +12 -12
- package/dist/types/baseControls/BatchSubmissionListButton/property.d.ts +27 -27
- package/dist/types/baseControls/BatchSubmissionListButton/runtime.d.ts +10 -10
- package/dist/types/baseControls/Button/designer.d.ts +13 -13
- package/dist/types/baseControls/Button/index.d.ts +12 -12
- package/dist/types/baseControls/Button/property.d.ts +14 -14
- package/dist/types/baseControls/Button/runtime.d.ts +9 -9
- package/dist/types/baseControls/CreateFormListButton/designer.d.ts +14 -14
- package/dist/types/baseControls/CreateFormListButton/index.d.ts +12 -12
- package/dist/types/baseControls/CreateFormListButton/property.d.ts +15 -15
- package/dist/types/baseControls/CreateFormListButton/runtime.d.ts +10 -10
- package/dist/types/baseControls/Dashboard/designer.d.ts +12 -12
- package/dist/types/baseControls/Dashboard/index.d.ts +12 -12
- package/dist/types/baseControls/Dashboard/property.d.ts +22 -22
- package/dist/types/baseControls/Dashboard/runtime.d.ts +10 -10
- package/dist/types/baseControls/Divider/designer.d.ts +12 -12
- package/dist/types/baseControls/Divider/index.d.ts +12 -12
- package/dist/types/baseControls/Divider/property.d.ts +9 -9
- package/dist/types/baseControls/Divider/runtime.d.ts +10 -10
- package/dist/types/baseControls/ExportListButton/designer.d.ts +15 -15
- package/dist/types/baseControls/ExportListButton/index.d.ts +12 -12
- package/dist/types/baseControls/ExportListButton/property.d.ts +8 -8
- package/dist/types/baseControls/ExportListButton/runtime.d.ts +10 -10
- package/dist/types/baseControls/ExportRecordListButton/designer.d.ts +15 -15
- package/dist/types/baseControls/ExportRecordListButton/index.d.ts +12 -12
- package/dist/types/baseControls/ExportRecordListButton/property.d.ts +6 -6
- package/dist/types/baseControls/ExportRecordListButton/runtime.d.ts +10 -10
- package/dist/types/baseControls/FormSelectButton/designer.d.ts +15 -15
- package/dist/types/baseControls/FormSelectButton/index.d.ts +12 -12
- package/dist/types/baseControls/FormSelectButton/property.d.ts +19 -19
- package/dist/types/baseControls/FormSelectButton/runtime.d.ts +10 -10
- package/dist/types/baseControls/ImportRecordListButton/designer.d.ts +15 -15
- package/dist/types/baseControls/ImportRecordListButton/index.d.ts +12 -12
- package/dist/types/baseControls/ImportRecordListButton/property.d.ts +11 -11
- package/dist/types/baseControls/ImportRecordListButton/runtime.d.ts +10 -10
- package/dist/types/baseControls/InvoiceCheckButton/designer.d.ts +15 -15
- package/dist/types/baseControls/InvoiceCheckButton/index.d.ts +12 -12
- package/dist/types/baseControls/InvoiceCheckButton/property.d.ts +25 -25
- package/dist/types/baseControls/InvoiceCheckButton/runtime.d.ts +10 -10
- package/dist/types/baseControls/Link/designer.d.ts +13 -13
- package/dist/types/baseControls/Link/index.d.ts +12 -12
- package/dist/types/baseControls/Link/property.d.ts +9 -9
- package/dist/types/baseControls/Link/runtime.d.ts +10 -10
- package/dist/types/baseControls/ListSelectButton/designer.d.ts +15 -15
- package/dist/types/baseControls/ListSelectButton/index.d.ts +12 -12
- package/dist/types/baseControls/ListSelectButton/property.d.ts +18 -18
- package/dist/types/baseControls/ListSelectButton/runtime.d.ts +10 -10
- package/dist/types/baseControls/ListViewSelect/designer.d.ts +12 -12
- package/dist/types/baseControls/ListViewSelect/index.d.ts +12 -12
- package/dist/types/baseControls/ListViewSelect/property.d.ts +15 -15
- package/dist/types/baseControls/ListViewSelect/runtime.d.ts +9 -9
- package/dist/types/baseControls/Pagination/designer.d.ts +13 -13
- package/dist/types/baseControls/Pagination/index.d.ts +12 -12
- package/dist/types/baseControls/Pagination/property.d.ts +14 -14
- package/dist/types/baseControls/Pagination/runtime.d.ts +10 -10
- package/dist/types/baseControls/SubmissionRecordListButton/designer.d.ts +15 -15
- package/dist/types/baseControls/SubmissionRecordListButton/index.d.ts +12 -12
- package/dist/types/baseControls/SubmissionRecordListButton/property.d.ts +6 -6
- package/dist/types/baseControls/SubmissionRecordListButton/runtime.d.ts +10 -10
- package/dist/types/baseControls/Text/designer.d.ts +12 -12
- package/dist/types/baseControls/Text/index.d.ts +12 -12
- package/dist/types/baseControls/Text/property.d.ts +11 -11
- package/dist/types/baseControls/Text/runtime.d.ts +10 -10
- package/dist/types/baseControls/TextOcrButton/designer.d.ts +15 -15
- package/dist/types/baseControls/TextOcrButton/index.d.ts +12 -12
- package/dist/types/baseControls/TextOcrButton/property.d.ts +25 -25
- package/dist/types/baseControls/TextOcrButton/runtime.d.ts +10 -10
- package/dist/types/baseControls/Title/designer.d.ts +14 -14
- package/dist/types/baseControls/Title/index.d.ts +12 -12
- package/dist/types/baseControls/Title/property.d.ts +18 -18
- package/dist/types/baseControls/Title/runtime.d.ts +10 -10
- package/dist/types/baseControls/index.d.ts +21 -21
- package/dist/types/baseControls/utils.d.ts +2 -2
- package/dist/types/columnControls/ArrayColumn/designer.d.ts +14 -14
- package/dist/types/columnControls/ArrayColumn/index.d.ts +12 -12
- package/dist/types/columnControls/ArrayColumn/property.d.ts +17 -17
- package/dist/types/columnControls/ArrayColumn/runtime.d.ts +12 -12
- package/dist/types/columnControls/AutoNumberColumn/designer.d.ts +14 -14
- package/dist/types/columnControls/AutoNumberColumn/index.d.ts +12 -12
- package/dist/types/columnControls/AutoNumberColumn/property.d.ts +6 -6
- package/dist/types/columnControls/AutoNumberColumn/runtime.d.ts +12 -12
- package/dist/types/columnControls/CustomColumn/designer.d.ts +28 -28
- package/dist/types/columnControls/CustomColumn/index.d.ts +12 -12
- package/dist/types/columnControls/CustomColumn/property.d.ts +7 -7
- package/dist/types/columnControls/CustomColumn/runtime.d.ts +12 -12
- package/dist/types/columnControls/DecimalColumn/designer.d.ts +15 -15
- package/dist/types/columnControls/DecimalColumn/index.d.ts +12 -12
- package/dist/types/columnControls/DecimalColumn/property.d.ts +25 -25
- package/dist/types/columnControls/DecimalColumn/runtime.d.ts +12 -12
- package/dist/types/columnControls/DepartmentColumn/designer.d.ts +15 -15
- package/dist/types/columnControls/DepartmentColumn/index.d.ts +12 -12
- package/dist/types/columnControls/DepartmentColumn/property.d.ts +10 -10
- package/dist/types/columnControls/DepartmentColumn/runtime.d.ts +12 -12
- package/dist/types/columnControls/EmployeeColumn/designer.d.ts +19 -19
- package/dist/types/columnControls/EmployeeColumn/index.d.ts +12 -12
- package/dist/types/columnControls/EmployeeColumn/property.d.ts +7 -7
- package/dist/types/columnControls/EmployeeColumn/runtime.d.ts +12 -12
- package/dist/types/columnControls/FileColumn/designer.d.ts +14 -14
- package/dist/types/columnControls/FileColumn/index.d.ts +12 -12
- package/dist/types/columnControls/FileColumn/property.d.ts +6 -6
- package/dist/types/columnControls/FileColumn/runtime.d.ts +12 -12
- package/dist/types/columnControls/ImageColumn/designer.d.ts +14 -14
- package/dist/types/columnControls/ImageColumn/index.d.ts +12 -12
- package/dist/types/columnControls/ImageColumn/property.d.ts +6 -6
- package/dist/types/columnControls/ImageColumn/runtime.d.ts +12 -12
- package/dist/types/columnControls/LocationColumn/designer.d.ts +14 -14
- package/dist/types/columnControls/LocationColumn/index.d.ts +12 -12
- package/dist/types/columnControls/LocationColumn/property.d.ts +6 -6
- package/dist/types/columnControls/LocationColumn/runtime.d.ts +12 -12
- package/dist/types/columnControls/OperationColumn/designer.d.ts +13 -13
- package/dist/types/columnControls/OperationColumn/index.d.ts +12 -12
- package/dist/types/columnControls/OperationColumn/property.d.ts +17 -17
- package/dist/types/columnControls/OperationColumn/runtime.d.ts +12 -12
- package/dist/types/columnControls/OrderColumn/designer.d.ts +12 -12
- package/dist/types/columnControls/OrderColumn/index.d.ts +12 -12
- package/dist/types/columnControls/OrderColumn/property.d.ts +10 -10
- package/dist/types/columnControls/OrderColumn/runtime.d.ts +12 -12
- package/dist/types/columnControls/PeopleColumn/designer.d.ts +14 -14
- package/dist/types/columnControls/PeopleColumn/index.d.ts +12 -12
- package/dist/types/columnControls/PeopleColumn/property.d.ts +6 -6
- package/dist/types/columnControls/PeopleColumn/runtime.d.ts +12 -12
- package/dist/types/columnControls/TextColumn/designer.d.ts +15 -15
- package/dist/types/columnControls/TextColumn/index.d.ts +12 -12
- package/dist/types/columnControls/TextColumn/property.d.ts +11 -11
- package/dist/types/columnControls/TextColumn/runtime.d.ts +12 -12
- package/dist/types/columnControls/TimescopeColumn/designer.d.ts +15 -15
- package/dist/types/columnControls/TimescopeColumn/index.d.ts +12 -12
- package/dist/types/columnControls/TimescopeColumn/property.d.ts +11 -11
- package/dist/types/columnControls/TimescopeColumn/runtime.d.ts +12 -12
- package/dist/types/columnControls/TimestampColumn/designer.d.ts +15 -15
- package/dist/types/columnControls/TimestampColumn/index.d.ts +12 -12
- package/dist/types/columnControls/TimestampColumn/property.d.ts +11 -11
- package/dist/types/columnControls/TimestampColumn/runtime.d.ts +12 -12
- package/dist/types/columnControls/VarcharColumn/designer.d.ts +14 -14
- package/dist/types/columnControls/VarcharColumn/index.d.ts +12 -12
- package/dist/types/columnControls/VarcharColumn/property.d.ts +21 -21
- package/dist/types/columnControls/VarcharColumn/runtime.d.ts +12 -12
- package/dist/types/columnControls/index.d.ts +16 -16
- package/dist/types/formControls/Address/designer.d.ts +14 -14
- package/dist/types/formControls/Address/index.d.ts +12 -12
- package/dist/types/formControls/Address/property.d.ts +13 -13
- package/dist/types/formControls/Address/runtime.d.ts +14 -14
- package/dist/types/formControls/Amount/designer.d.ts +16 -16
- package/dist/types/formControls/Amount/index.d.ts +12 -12
- package/dist/types/formControls/Amount/property.d.ts +61 -61
- package/dist/types/formControls/Amount/runtime.d.ts +12 -12
- package/dist/types/formControls/Attachment/designer.d.ts +15 -15
- package/dist/types/formControls/Attachment/index.d.ts +12 -12
- package/dist/types/formControls/Attachment/property.d.ts +28 -28
- package/dist/types/formControls/Attachment/runtime.d.ts +12 -12
- package/dist/types/formControls/AutoNumber/designer.d.ts +15 -15
- package/dist/types/formControls/AutoNumber/index.d.ts +12 -12
- package/dist/types/formControls/AutoNumber/property.d.ts +7 -7
- package/dist/types/formControls/AutoNumber/runtime.d.ts +12 -12
- package/dist/types/formControls/Calc/designer.d.ts +16 -16
- package/dist/types/formControls/Calc/index.d.ts +12 -12
- package/dist/types/formControls/Calc/property.d.ts +43 -43
- package/dist/types/formControls/Calc/runtime.d.ts +12 -12
- package/dist/types/formControls/Checkbox/designer.d.ts +15 -15
- package/dist/types/formControls/Checkbox/index.d.ts +12 -12
- package/dist/types/formControls/Checkbox/property.d.ts +29 -29
- package/dist/types/formControls/Checkbox/runtime.d.ts +12 -12
- package/dist/types/formControls/DatePicker/designer.d.ts +15 -15
- package/dist/types/formControls/DatePicker/index.d.ts +12 -12
- package/dist/types/formControls/DatePicker/property.d.ts +14 -14
- package/dist/types/formControls/DatePicker/runtime.d.ts +12 -12
- package/dist/types/formControls/DateRange/designer.d.ts +15 -15
- package/dist/types/formControls/DateRange/index.d.ts +12 -12
- package/dist/types/formControls/DateRange/property.d.ts +21 -21
- package/dist/types/formControls/DateRange/runtime.d.ts +12 -12
- package/dist/types/formControls/Department/designer.d.ts +15 -15
- package/dist/types/formControls/Department/index.d.ts +12 -12
- package/dist/types/formControls/Department/property.d.ts +46 -46
- package/dist/types/formControls/Department/runtime.d.ts +12 -12
- package/dist/types/formControls/Department2/designer.d.ts +20 -20
- package/dist/types/formControls/Department2/index.d.ts +12 -12
- package/dist/types/formControls/Department2/property.d.ts +63 -63
- package/dist/types/formControls/Department2/runtime.d.ts +12 -12
- package/dist/types/formControls/ElectronicSignature/designer.d.ts +15 -15
- package/dist/types/formControls/ElectronicSignature/index.d.ts +12 -12
- package/dist/types/formControls/ElectronicSignature/property.d.ts +22 -22
- package/dist/types/formControls/ElectronicSignature/runtime.d.ts +12 -12
- package/dist/types/formControls/Employee/designer.d.ts +14 -14
- package/dist/types/formControls/Employee/index.d.ts +12 -12
- package/dist/types/formControls/Employee/property.d.ts +20 -20
- package/dist/types/formControls/Employee/runtime.d.ts +12 -12
- package/dist/types/formControls/Employee2/designer.d.ts +19 -19
- package/dist/types/formControls/Employee2/index.d.ts +12 -12
- package/dist/types/formControls/Employee2/property.d.ts +32 -32
- package/dist/types/formControls/Employee2/runtime.d.ts +12 -12
- package/dist/types/formControls/Image/designer.d.ts +13 -13
- package/dist/types/formControls/Image/index.d.ts +12 -12
- package/dist/types/formControls/Image/property.d.ts +6 -6
- package/dist/types/formControls/Image/runtime.d.ts +8 -8
- package/dist/types/formControls/Input/designer.d.ts +15 -15
- package/dist/types/formControls/Input/index.d.ts +12 -12
- package/dist/types/formControls/Input/property.d.ts +24 -24
- package/dist/types/formControls/Input/runtime.d.ts +12 -12
- package/dist/types/formControls/Number/designer.d.ts +16 -16
- package/dist/types/formControls/Number/index.d.ts +12 -12
- package/dist/types/formControls/Number/property.d.ts +62 -62
- package/dist/types/formControls/Number/runtime.d.ts +12 -12
- package/dist/types/formControls/Radio/designer.d.ts +15 -15
- package/dist/types/formControls/Radio/index.d.ts +12 -12
- package/dist/types/formControls/Radio/property.d.ts +21 -21
- package/dist/types/formControls/Radio/runtime.d.ts +12 -12
- package/dist/types/formControls/RichText/designer.d.ts +15 -15
- package/dist/types/formControls/RichText/index.d.ts +12 -12
- package/dist/types/formControls/RichText/property.d.ts +21 -21
- package/dist/types/formControls/RichText/runtime.d.ts +12 -12
- package/dist/types/formControls/Score/designer.d.ts +16 -16
- package/dist/types/formControls/Score/index.d.ts +12 -12
- package/dist/types/formControls/Score/property.d.ts +23 -23
- package/dist/types/formControls/Score/runtime.d.ts +12 -12
- package/dist/types/formControls/SearchDateRange/designer.d.ts +14 -14
- package/dist/types/formControls/SearchDateRange/index.d.ts +12 -12
- package/dist/types/formControls/SearchDateRange/property.d.ts +20 -20
- package/dist/types/formControls/SearchDateRange/runtime.d.ts +12 -12
- package/dist/types/formControls/SearchInput/designer.d.ts +12 -12
- package/dist/types/formControls/SearchInput/index.d.ts +12 -12
- package/dist/types/formControls/SearchInput/property.d.ts +10 -10
- package/dist/types/formControls/SearchInput/runtime.d.ts +12 -12
- package/dist/types/formControls/SearchNumberRange/designer.d.ts +14 -14
- package/dist/types/formControls/SearchNumberRange/index.d.ts +12 -12
- package/dist/types/formControls/SearchNumberRange/property.d.ts +15 -15
- package/dist/types/formControls/SearchNumberRange/runtime.d.ts +12 -12
- package/dist/types/formControls/Select/designer.d.ts +14 -14
- package/dist/types/formControls/Select/index.d.ts +12 -12
- package/dist/types/formControls/Select/property.d.ts +17 -17
- package/dist/types/formControls/Select/runtime.d.ts +12 -12
- package/dist/types/formControls/SelectMultiple/designer.d.ts +14 -14
- package/dist/types/formControls/SelectMultiple/index.d.ts +12 -12
- package/dist/types/formControls/SelectMultiple/property.d.ts +20 -20
- package/dist/types/formControls/SelectMultiple/runtime.d.ts +12 -12
- package/dist/types/formControls/SelectRelation/designer.d.ts +14 -14
- package/dist/types/formControls/SelectRelation/index.d.ts +12 -12
- package/dist/types/formControls/SelectRelation/property.d.ts +22 -22
- package/dist/types/formControls/SelectRelation/runtime.d.ts +12 -12
- package/dist/types/formControls/Textarea/designer.d.ts +15 -15
- package/dist/types/formControls/Textarea/index.d.ts +12 -12
- package/dist/types/formControls/Textarea/property.d.ts +22 -22
- package/dist/types/formControls/Textarea/runtime.d.ts +12 -12
- package/dist/types/formControls/Tree/designer.d.ts +20 -20
- package/dist/types/formControls/Tree/index.d.ts +12 -12
- package/dist/types/formControls/Tree/property.d.ts +28 -28
- package/dist/types/formControls/Tree/runtime.d.ts +11 -11
- package/dist/types/formControls/VueFormItem/designer.d.ts +15 -15
- package/dist/types/formControls/VueFormItem/index.d.ts +12 -12
- package/dist/types/formControls/VueFormItem/property.d.ts +18 -18
- package/dist/types/formControls/VueFormItem/runtime.d.ts +12 -12
- package/dist/types/formControls/WPS/designer.d.ts +15 -15
- package/dist/types/formControls/WPS/index.d.ts +12 -12
- package/dist/types/formControls/WPS/property.d.ts +32 -32
- package/dist/types/formControls/WPS/runtime.d.ts +12 -12
- package/dist/types/formControls/index.d.ts +29 -29
- package/dist/types/framework.d.ts +191 -191
- package/dist/types/index.d.ts +15 -15
- package/dist/types/layoutControls/AdvancedContainer/Setting.d.ts +2 -2
- package/dist/types/layoutControls/AdvancedContainer/designer.d.ts +10 -10
- package/dist/types/layoutControls/AdvancedContainer/index.d.ts +12 -12
- package/dist/types/layoutControls/AdvancedContainer/property.d.ts +8 -8
- package/dist/types/layoutControls/AdvancedContainer/runtime.d.ts +9 -9
- package/dist/types/layoutControls/CardGroup/designer.d.ts +14 -14
- package/dist/types/layoutControls/CardGroup/index.d.ts +12 -12
- package/dist/types/layoutControls/CardGroup/property.d.ts +13 -13
- package/dist/types/layoutControls/CardGroup/runtime.d.ts +10 -10
- package/dist/types/layoutControls/Col/designer.d.ts +14 -14
- package/dist/types/layoutControls/Col/index.d.ts +12 -12
- package/dist/types/layoutControls/Col/property.d.ts +8 -8
- package/dist/types/layoutControls/Col/runtime.d.ts +10 -10
- package/dist/types/layoutControls/DataView/designer.d.ts +11 -11
- package/dist/types/layoutControls/DataView/index.d.ts +12 -12
- package/dist/types/layoutControls/DataView/property.d.ts +17 -17
- package/dist/types/layoutControls/DataView/runtime.d.ts +10 -10
- package/dist/types/layoutControls/Grid/designer.d.ts +11 -11
- package/dist/types/layoutControls/Grid/index.d.ts +12 -12
- package/dist/types/layoutControls/Grid/property.d.ts +2 -2
- package/dist/types/layoutControls/Grid/runtime.d.ts +9 -9
- package/dist/types/layoutControls/GridRow/designer.d.ts +16 -16
- package/dist/types/layoutControls/GridRow/index.d.ts +12 -12
- package/dist/types/layoutControls/GridRow/property.d.ts +6 -6
- package/dist/types/layoutControls/GridRow/runtime.d.ts +10 -10
- package/dist/types/layoutControls/GridTableColumn/designer.d.ts +23 -23
- package/dist/types/layoutControls/GridTableColumn/index.d.ts +12 -12
- package/dist/types/layoutControls/GridTableColumn/property.d.ts +19 -19
- package/dist/types/layoutControls/GridTableColumn/runtime.d.ts +10 -10
- package/dist/types/layoutControls/ListView/designer.d.ts +17 -17
- package/dist/types/layoutControls/ListView/index.d.ts +12 -12
- package/dist/types/layoutControls/ListView/property.d.ts +32 -32
- package/dist/types/layoutControls/ListView/runtime.d.ts +12 -12
- package/dist/types/layoutControls/Page/Setting.d.ts +2 -2
- package/dist/types/layoutControls/Page/designer.d.ts +10 -10
- package/dist/types/layoutControls/Page/index.d.ts +12 -12
- package/dist/types/layoutControls/Page/property.d.ts +15 -15
- package/dist/types/layoutControls/Page/runtime.d.ts +9 -9
- package/dist/types/layoutControls/Position/Setting.d.ts +2 -2
- package/dist/types/layoutControls/Position/designer.d.ts +10 -10
- package/dist/types/layoutControls/Position/index.d.ts +12 -12
- package/dist/types/layoutControls/Position/property.d.ts +9 -9
- package/dist/types/layoutControls/Position/runtime.d.ts +9 -9
- package/dist/types/layoutControls/PositioningContainer/Setting.d.ts +2 -2
- package/dist/types/layoutControls/PositioningContainer/designer.d.ts +10 -10
- package/dist/types/layoutControls/PositioningContainer/index.d.ts +12 -12
- package/dist/types/layoutControls/PositioningContainer/property.d.ts +5 -5
- package/dist/types/layoutControls/PositioningContainer/runtime.d.ts +9 -9
- package/dist/types/layoutControls/Row/designer.d.ts +15 -15
- package/dist/types/layoutControls/Row/index.d.ts +12 -12
- package/dist/types/layoutControls/Row/property.d.ts +8 -8
- package/dist/types/layoutControls/Row/runtime.d.ts +11 -11
- package/dist/types/layoutControls/SubTableColumn/designer.d.ts +23 -23
- package/dist/types/layoutControls/SubTableColumn/index.d.ts +12 -12
- package/dist/types/layoutControls/SubTableColumn/property.d.ts +43 -43
- package/dist/types/layoutControls/SubTableColumn/runtime.d.ts +10 -10
- package/dist/types/layoutControls/SubTableRow/designer.d.ts +20 -20
- package/dist/types/layoutControls/SubTableRow/index.d.ts +12 -12
- package/dist/types/layoutControls/SubTableRow/property.d.ts +6 -6
- package/dist/types/layoutControls/SubTableRow/runtime.d.ts +11 -11
- package/dist/types/layoutControls/Tab/designer.d.ts +15 -15
- package/dist/types/layoutControls/Tab/index.d.ts +12 -12
- package/dist/types/layoutControls/Tab/property.d.ts +6 -6
- package/dist/types/layoutControls/Tab/runtime.d.ts +11 -11
- package/dist/types/layoutControls/TabPane/designer.d.ts +14 -14
- package/dist/types/layoutControls/TabPane/index.d.ts +12 -12
- package/dist/types/layoutControls/TabPane/property.d.ts +13 -13
- package/dist/types/layoutControls/TabPane/runtime.d.ts +10 -10
- package/dist/types/layoutControls/Toolbox/designer.d.ts +14 -14
- package/dist/types/layoutControls/Toolbox/index.d.ts +12 -12
- package/dist/types/layoutControls/Toolbox/property.d.ts +6 -6
- package/dist/types/layoutControls/Toolbox/runtime.d.ts +10 -10
- package/dist/types/layoutControls/index.d.ts +17 -17
- package/dist/types/listControls/GridTable/designer.d.ts +18 -18
- package/dist/types/listControls/GridTable/index.d.ts +12 -12
- package/dist/types/listControls/GridTable/property.d.ts +16 -16
- package/dist/types/listControls/GridTable/runtime.d.ts +13 -13
- package/dist/types/listControls/SubTable/designer.d.ts +24 -24
- package/dist/types/listControls/SubTable/index.d.ts +12 -12
- package/dist/types/listControls/SubTable/property.d.ts +113 -113
- package/dist/types/listControls/SubTable/runtime.d.ts +13 -13
- package/dist/types/listControls/index.d.ts +2 -2
- package/dist/types/searchControls/SimpleSearch/designer.d.ts +10 -10
- package/dist/types/searchControls/SimpleSearch/index.d.ts +12 -12
- package/dist/types/searchControls/SimpleSearch/property.d.ts +22 -22
- package/dist/types/searchControls/SimpleSearch/runtime.d.ts +11 -11
- package/dist/types/searchControls/index.d.ts +1 -1
- package/dist/types/type.d.ts +105 -105
- package/package.json +2 -2
package/dist/index.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var b0=Object.defineProperty,E0=Object.defineProperties;var C0=Object.getOwnPropertyDescriptors;var sc=Object.getOwnPropertySymbols,I0=Object.getPrototypeOf,w0=Object.prototype.hasOwnProperty,A0=Object.prototype.propertyIsEnumerable,_0=Reflect.get;var dc=(f,F,$)=>F in f?b0(f,F,{enumerable:!0,configurable:!0,writable:!0,value:$}):f[F]=$,Ce=(f,F)=>{for(var $ in F||(F={}))w0.call(F,$)&&dc(f,$,F[$]);if(sc)for(var $ of sc(F))A0.call(F,$)&&dc(f,$,F[$]);return f},Ai=(f,F)=>E0(f,C0(F));var fc=(f,F,$)=>_0(I0(f),$,F);var hc=(f,F,$)=>new Promise((_i,tn)=>{var Si=ce=>{try{ut($.next(ce))}catch(rt){tn(rt)}},Bi=ce=>{try{ut($.throw(ce))}catch(rt){tn(rt)}},ut=ce=>ce.done?_i(ce.value):Promise.resolve(ce.value).then(Si,Bi);ut(($=$.apply(f,F)).next())});(function(f,F){typeof exports=="object"&&typeof module!="undefined"?F(exports):typeof define=="function"&&define.amd?define(["exports"],F):(f=typeof globalThis!="undefined"?globalThis:f||self,F(f.modelDrivenControls={}))})(this,function(f){"use strict";var F="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",$="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",_i="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",tn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Si="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Bi="{caption}\u5FC5\u586B",ut="\u8BF7\u8F93\u5165\u6807\u9898",ce="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",rt="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",yc="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",mc="\u8BF7\u7ED1\u5B9A\u8868\u5355",gc="\u8BF7\u7ED1\u5B9A\u5217\u8868",vc="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",bc="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Ec="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Cc="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Ic="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",wc="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",Ac="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",_c="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",Sc="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Bc="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Rc="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",Tc="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Pc="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Dc="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",xc="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Fc="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Oc="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",kc="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Nc="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Mc="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",$c="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Lc="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Vc="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Hc="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",jc="\u8BF7\u9009\u62E9\u7701",qc="\u8BF7\u9009\u62E9\u5E02",Uc="\u8BF7\u9009\u62E9\u533A",Wc="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Kc="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",zc="\u8BF7\u8F93\u5165\u5217\u5BBD",Gc="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Xc="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Qc="\u8BF7\u9009\u62E9\u63A7\u4EF6",Jc="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Zc="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Yc="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",pc="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",es="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ts="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",ns="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",is="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",us="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",rs="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",as="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",ls="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",os="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",cs="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",ss="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",ds="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",fs="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",hs="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ys="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",ms="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",gs="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",vs={isNotNumber:F,isNotString:$,isNotObject:_i,isNotArray:tn,isNotBoolean:Si,runtimeRequired:Bi,pleaseEnterCaption:ut,pleaseEnterCaptionTip:ce,pleaseEnterPlaceholder:rt,pleaseEnterFieldCode:yc,pleaseEnterForm:mc,pleaseEnterList:gc,pleaseEnterProcess:vc,pleaseEnterLabel:bc,pleaseEnterValue:Ec,bizKeyNotBindFiled:Cc,pleaseEnterNumberRange:Ic,pleaseEnterAValueGreaterThanMin:wc,pleaseEnterAValueLessThanMax:Ac,numberRangeSetError:_c,stringRangeError:Sc,attachmentMaxSize:Bc,pleaseEnterTotalScoreSetting:Rc,theTotalScoreMustNotBeLessThan1:Tc,scoreDefaultValueRange:Pc,attachmentLimitError:Dc,PleaseReselectTheOptionalQuantity:xc,TheMaximumLengthIsGreaterThanTheMinimumLength:Fc,TheMinimumLengthIsGreaterThanTheMaximumLength:Oc,PleaseSelectTheCorrectOptionSettings:kc,optionIdIsRepeat:Nc,optionIsRequired:Mc,pleaseEnterDataCode:$c,pleaseEnterValueFieldCode:Lc,pleaseEnterSvcCode:Vc,pleaseBindAtLeastOneDisplayValue:Hc,pleaseSelectProvince:jc,pleaseSelectCity:qc,pleaseSelectDistrict:Uc,limitRowsCannotBeLessThan0:Wc,TheNumberOfRowsCannotBeLessThanMinRows:Kc,pleaseEnterColumnWidth:zc,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Gc,pleaseCompleteAllRulesAndConditions:Xc,pleaseSelectControl:Qc,pleaseSelectAtLeastOneColumn:Jc,pleaseSelectFillBackMode:Zc,pleaseSelectDashboard:Yc,rootNodeIsRequired:pc,theViewNameCannotBeEmpty:es,pleaseSelectOcrType:ts,pleaseSelectAtLeastOneFieldToFillIn:ns,pleaseChooseAtLeastOne:is,pleaseEnterButtonContent:us,pleaseEnterDataCodeInDataSetting:rs,pleaseEnterValueFieldCodeInDataSetting:as,pleaseEnterSvcCodeInDataSetting:ls,pleaseBindAtLeastOneDisplayValueInDataSetting:os,rootNodeIsRequiredInDataSetting:cs,pleaseEnterMaxHeight:ss,pleaseEnter:ds,pleaseEnterWatermark:fs,pleaseEnterFileName:hs,pleaseUploadAtLeastOnePrintTemplate:ys,pleaseAssignBusiness:ms,pleaseAssignExternal:gs},bs="Please enter a number",Es="Please enter a string",Cs="Please enter an object",Is="Please enter an array",ws="Please enter a boolean",As="{caption} Required",_s="Please enter the title",Ss="Please enter the bubble prompt",Bs="Please enter the prompt text",Rs="Please bind data items",Ts="Please bind the form",Ps="Please bind the list",Ds="Please bind the process",xs="Please enter the displayed value",Fs="Please enter the stored value",Os="The document number is not bound to the data item",ks="Please enter a value greater than or equal to {min} and less than or equal to {max}",Ns="Please enter a value greater than or equal to {min}",Ms="Please enter a value less than or equal to {max}",$s="The value range is set incorrectly",Ls="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Vs="The attachment size must be between 0MB and 1000MB",Hs="Please fill in the total score setting",js="The total score cannot be less than 1",qs="The default value must be between {min} and {max}",Us="The number of attachments uploaded must be between {min} and {max}",Ws="Please re-select the optional quantity",Ks="The maximum length of the control must be greater than the minimum length",zs="The minimum length of the control must be less than the maximum length",Gs="Please select the correct option setting",Xs="Option ID cannot be repeated",Qs="Please enter at least one option",Js="Please bind the data source",Zs="Please bind the stored value",Ys="Please bind the service",ps="At least one display value must be bound",ed="Please select a province",td="Please select a city",nd="Please select a district",id="The minimum number of lines to fill in cannot be less than 0",ud="The number of rows cannot be less than {min} rows",rd="Please enter the column width",ad="Please set the logical relationship of all rule conditions",ld="Please complete all rules and conditions",od="please select control",cd="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",sd="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",dd="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",fd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",hd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",yd="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",md="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",gd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",vd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",bd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Ed="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Cd="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Id="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",wd="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Ad="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",_d="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Sd="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Bd="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Rd={isNotNumber:bs,isNotString:Es,isNotObject:Cs,isNotArray:Is,isNotBoolean:ws,runtimeRequired:As,pleaseEnterCaption:_s,pleaseEnterCaptionTip:Ss,pleaseEnterPlaceholder:Bs,pleaseEnterFieldCode:Rs,pleaseEnterForm:Ts,pleaseEnterList:Ps,pleaseEnterProcess:Ds,pleaseEnterLabel:xs,pleaseEnterValue:Fs,bizKeyNotBindFiled:Os,pleaseEnterNumberRange:ks,pleaseEnterAValueGreaterThanMin:Ns,pleaseEnterAValueLessThanMax:Ms,numberRangeSetError:$s,stringRangeError:Ls,attachmentMaxSize:Vs,pleaseEnterTotalScoreSetting:Hs,theTotalScoreMustNotBeLessThan1:js,scoreDefaultValueRange:qs,attachmentLimitError:Us,PleaseReselectTheOptionalQuantity:Ws,TheMaximumLengthIsGreaterThanTheMinimumLength:Ks,TheMinimumLengthIsGreaterThanTheMaximumLength:zs,PleaseSelectTheCorrectOptionSettings:Gs,optionIdIsRepeat:Xs,optionIsRequired:Qs,pleaseEnterDataCode:Js,pleaseEnterValueFieldCode:Zs,pleaseEnterSvcCode:Ys,pleaseBindAtLeastOneDisplayValue:ps,pleaseSelectProvince:ed,pleaseSelectCity:td,pleaseSelectDistrict:nd,limitRowsCannotBeLessThan0:id,TheNumberOfRowsCannotBeLessThanMinRows:ud,pleaseEnterColumnWidth:rd,pleaseSetTheLogicalRelationshipOfAllRuleConditions:ad,pleaseCompleteAllRulesAndConditions:ld,pleaseSelectControl:od,pleaseSelectDashboard:cd,theViewNameCannotBeEmpty:sd,pleaseSelectOcrType:dd,pleaseSelectAtLeastOneFieldToFillIn:fd,pleaseChooseAtLeastOne:hd,pleaseEnterButtonContent:yd,pleaseEnterDataCodeInDataSetting:md,pleaseEnterValueFieldCodeInDataSetting:gd,pleaseEnterSvcCodeInDataSetting:vd,pleaseBindAtLeastOneDisplayValueInDataSetting:bd,rootNodeIsRequiredInDataSetting:Ed,pleaseEnterMaxHeight:Cd,pleaseEnter:Id,pleaseEnterWatermark:wd,pleaseEnterFileName:Ad,pleaseUploadAtLeastOnePrintTemplate:_d,pleaseAssignBusiness:Sd,pleaseAssignExternal:Bd},Td="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Pd="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Dd="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",xd="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Fd="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Od="{caption}\u5FC5\u9808",kd="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Nd="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Md="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",$d="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ld="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Vd="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Hd="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",jd="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",qd="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ud="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",Wd="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Kd="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",zd="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Gd="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",Xd="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Qd="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Jd="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Zd="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Yd="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",pd="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",ef="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",tf="\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",nf="\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",uf="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",rf="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",af="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",lf="\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",cf="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",sf="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",df="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ff="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",hf="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",yf="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",mf="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",gf="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",vf="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",bf="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",Ef="please select control",Cf="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",If="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",wf="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Af="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",_f="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Sf="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Bf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Rf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Tf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Pf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Df="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",xf="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Ff="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Of="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",kf="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Nf="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Mf="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",$f="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Lf={isNotNumber:Td,isNotString:Pd,isNotObject:Dd,isNotArray:xd,isNotBoolean:Fd,runtimeRequired:Od,pleaseEnterCaption:kd,pleaseEnterCaptionTip:Nd,pleaseEnterPlaceholder:Md,pleaseEnterFieldCode:$d,pleaseEnterForm:Ld,pleaseEnterList:Vd,pleaseEnterProcess:Hd,pleaseEnterLabel:jd,pleaseEnterValue:qd,bizKeyNotBindFiled:Ud,pleaseEnterNumberRange:Wd,pleaseEnterAValueGreaterThanMin:Kd,pleaseEnterAValueLessThanMax:zd,numberRangeSetError:Gd,stringRangeError:Xd,attachmentMaxSize:Qd,pleaseEnterTotalScoreSetting:Jd,theTotalScoreMustNotBeLessThan1:Zd,scoreDefaultValueRange:Yd,attachmentLimitError:pd,PleaseReselectTheOptionalQuantity:ef,TheMaximumLengthIsGreaterThanTheMinimumLength:tf,TheMinimumLengthIsGreaterThanTheMaximumLength:nf,PleaseSelectTheCorrectOptionSettings:uf,optionIdIsRepeat:rf,optionIsRequired:af,pleaseEnterDataCode:lf,pleaseEnterValueFieldCode:of,pleaseEnterSvcCode:cf,pleaseBindAtLeastOneDisplayValue:sf,pleaseSelectProvince:df,pleaseSelectCity:ff,pleaseSelectDistrict:hf,limitRowsCannotBeLessThan0:yf,TheNumberOfRowsCannotBeLessThanMinRows:mf,pleaseEnterColumnWidth:gf,pleaseSetTheLogicalRelationshipOfAllRuleConditions:vf,pleaseCompleteAllRulesAndConditions:bf,pleaseSelectControl:Ef,pleaseSelectDashboard:Cf,theViewNameCannotBeEmpty:If,pleaseSelectOcrType:wf,pleaseSelectAtLeastOneFieldToFillIn:Af,pleaseChooseAtLeastOne:_f,pleaseEnterButtonContent:Sf,pleaseEnterDataCodeInDataSetting:Bf,pleaseEnterValueFieldCodeInDataSetting:Rf,pleaseEnterSvcCodeInDataSetting:Tf,pleaseBindAtLeastOneDisplayValueInDataSetting:Pf,rootNodeIsRequiredInDataSetting:Df,pleaseEnterMaxHeight:xf,pleaseEnter:Ff,pleaseEnterWatermark:Of,pleaseEnterFileName:kf,pleaseUploadAtLeastOnePrintTemplate:Nf,pleaseAssignBusiness:Mf,pleaseAssignExternal:$f},Vf={zhCN:vs,enUS:Rd,jaJP:Lf},Tr;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(Tr||(Tr={}));var Pr;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(Pr||(Pr={}));var Hf="zh-CN";function Y(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Dr;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(Dr||(Dr={}));var C;(function(t){t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",t.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",t.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",t.EXPORT_LIST_BUTTON="list-page-btn-export-list",t.LIST_SELECT_BUTTON="list-select-button",t.FORM_SELECT_BUTTON="form-select-button",t.LIST_VIEW_SELECT="list-view-select",t.TEXT_OCR_BUTTON="text-ocr-button",t.INVOICE_CHECK_BUTTON="invoice-check-button",t.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",t.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",t.VARCHAR_COLUMN="varchar-column",t.TEXT_COLUMN="text-column",t.DECIMAL_COLUMN="decimal-column",t.TIMESCOPE_COLUMN="timescope-column",t.TIMESTAMP_COLUMN="timestamp-column",t.ARRAY_COLUMN="array-column",t.DEPARTMENT_COLUMN="department-column",t.AUTO_NUMBER_COLUMN="auto-number-column",t.FILE_COLUMN="file-column",t.IMAGE_COLUMN="image-column",t.PEOPLE_COLUMN="people-column",t.LOCATION_COLUMN="location-column",t.CUSTOM_COLUMN="custom-column",t.ORDER_COLUMN="order-column",t.OPERATION_COLUMN="operation-column",t.EMPLOYEE_COLUMN="employee-column",t.ADDRESS="address",t.AMOUNT="amount",t.ATTACHMENT="attachment",t.AUTO_NUMBER="auto-number",t.CALC="calc",t.CHECKBOX="checkbox",t.DATE_PICKER="date-picker",t.DATE_RANGE="date-range",t.DEPARTMENT="department",t.EMPLOYEE="employee",t.IMAGE="image",t.INPUT="input",t.NUMBER="number",t.RADIO="radio",t.RICH_TEXT="rich-text",t.SCORE="score",t.SEARCH_DATE_RANGE="search-date-range",t.SEARCH_NUMBER_RANGE="search-number-range",t.SEARCH_INPUT="search-input",t.SELECT="select",t.SELECT_MULTIPLE="select-multiple",t.SELECT_RELATION="select-relation",t.VUE_FORM_ITEM="vue-form-item",t.TEXTAREA="textarea",t.EMAIL="email",t.FOOTER="footer",t.HEADER="header",t.ID_CARD="id-card",t.MOBILE="mobile",t.PHONE="phone",t.RADIO_IMAGE="radio-image",t.ELECTRONIC_SIGNATURE="electronic-signature",t.WPS="wps",t.CARD_GROUP="card-group",t.COL="col",t.GRID="grid",t.GRID_ROW="grid-row",t.GRID_TABLE_COLUMN="grid-table-column",t.ROW="row",t.TWO_COLUMNS="two-columns",t.SUBTABLE_COLUMN="subtable-column",t.SUBTABLE_ROW="subtable-row",t.TAB="tab",t.TAB_PANE="tab-pane",t.TOOLBOX="toolbox",t.DATA_VIEW="data-view",t.LIST_VIEW="list-view",t.SUBTABLE="subtable",t.GRID_TABLE="grid-table",t.SIMPLE_SEARCH="simple-search",t.PAGINATION="pagination",t.CHECKBOX_IMAGE="checkbox-image",t.DASHBOARD="dashboard",t.TREE="tree",t.EMPLOYEE2="employee2",t.DEPARTMENT2="department2"})(C||(C={}));var g;(function(t){t.VARCHAR="varchar",t.TEXT="text",t.ARRAY="array",t.ADDRESS="location",t.DECIMAL="decimal",t.DECIMAL_RANGE="decimal_range",t.TIMESTAMP="timestamp",t.EMPLOYEES="people",t.DEPARTMENTS="department",t.MONEY="money",t.TIMESCOPE="timescope",t.FILE="file",t.IMAGE="image",t.AUTO_NUMBER="auto_number",t.CALC="calc",t.RELATION="relation",t.LIST="list",t.RELATION_FIELD="relation-field",t.REFERENCE_FIELD="reference-field",t.CALC_FIELD="calc",t.JSON="json",t.BIGINT="bigint",t.ANY="ANY",t.ENCRYPTED_FIELD="encrypted_field"})(g||(g={}));var G;G={},Y(G,g.ARRAY,C.ARRAY_COLUMN),Y(G,g.AUTO_NUMBER,C.AUTO_NUMBER_COLUMN),Y(G,g.DECIMAL,C.DECIMAL_COLUMN),Y(G,g.DEPARTMENTS,C.DEPARTMENT_COLUMN),Y(G,g.FILE,C.FILE_COLUMN),Y(G,g.IMAGE,C.IMAGE_COLUMN),Y(G,g.ADDRESS,C.LOCATION_COLUMN),Y(G,g.EMPLOYEES,C.EMPLOYEE_COLUMN),Y(G,g.TEXT,C.TEXT_COLUMN),Y(G,g.TIMESCOPE,C.TIMESCOPE_COLUMN),Y(G,g.TIMESTAMP,C.TIMESTAMP_COLUMN),Y(G,g.VARCHAR,C.VARCHAR_COLUMN),Y(G,g.RELATION,C.VARCHAR_COLUMN);var he;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATETIME="datetime"})(he||(he={}));var xr="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",jf=xr+"0123456789";function ae(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?xr:jf,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function Ri(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 qf(t){if(Array.isArray(t))return Ri(t)}function Uf(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Fr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Wf(){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 nn(t,e,n){return Wf()?nn=Reflect.construct:nn=function(u,r,a){var l=[null];l.push.apply(l,r);var s=Function.bind.apply(u,l),o=new s;return a&<(o,a.prototype),o},nn.apply(null,arguments)}function at(t){return at=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},at(t)}function Or(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 Kf(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function zf(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Gf(){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 Xf(t,e){return e&&(Qf(e)==="object"||typeof e=="function")?e:Uf(t)}function lt(t,e){return lt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},lt(t,e)}function kr(t){return qf(t)||zf(t)||Jf(t)||Gf()}var Qf=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Jf(t,e){if(!!t){if(typeof t=="string")return Ri(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 Ri(t,e)}}function Ti(t){var e=typeof Map=="function"?new Map:void 0;return Ti=function(i){if(i===null||!Kf(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return nn(i,arguments,at(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),lt(u,i)},Ti(t)}function Zf(){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 Nr(t){var e=Zf();return function(){var i=at(t),u;if(e){var r=at(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Xf(this,u)}}var Pi=console;function Yf(){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=Pi).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(kr(u)))}function Mr(){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=Pi).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(kr(u)))}function pf(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Di=function(t){Or(n,t);var e=Nr(n);function n(i){Fr(this,n);var u;return u=e.call(this,i),u.name="\u{1F4A5} Driven Error",u.message=i?pf(i):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",u}return n}(Ti(Error)),eh=function(t){Or(n,t);var e=Nr(n);function n(i){Fr(this,n);var u;return u=e.call(this,i),u.name="\u{1F6A8} Driven Reference Error",u}return n}(Di);function $r(t){throw new Di(t)}function Lr(t){throw new eh(t)}function th(t){Pi.error(new Di(t))}var nh=Object.prototype.toString;function Vr(t,e){return nh.call(t)==="[object "+e+"]"}function ih(t){return Vr(t,"String")}function uh(t){return Vr(t,"Promise")}var rh=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();uh(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,r,a,l){if(u!==void 0){var s=u[r];if(!(a===l.length-1&&!ih(s)))return s}},this.message);return this._messageCache.set(e,i),i},t.prototype.formatMessage=function(e,n){return n?e.replace(this.variableRegExp,function(i,u){var r=n[u];return r!==void 0?String(r):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 ah(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var d=function(){function t(){ah(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]:Hf;return new rh({locale:n,messages:Vf})},t.setLocale=function(n){return this.$i18n.setLocale(n)},t}();d.$i18n=d.resetI18n();function lh(t,e,n){var i=e.replace(/\[(\d)]/g,function(r,a){return"."+a}).split("."),u=!1;return i.reduce(function(r,a,l,s){var o=r;if(!!r){if(!Object.prototype.hasOwnProperty.call(r,a)){Yf("Can not set ".concat(e,"'s ").concat(a," property in current %o, Because there is no ").concat(a," property on the %o"),r,r);return}return l===s.length-1&&!Object.is(o[a],n)&&(o[a]=n,u=!0),o[a]}},t),u}var oh=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},ch={exports:{}};(function(t){(function(e){var n=function(y,E,N){if(!o(E)||m(E)||v(E)||I(E)||s(E))return E;var B,x=0,ne=0;if(h(E))for(B=[],ne=E.length;x<ne;x++)B.push(n(y,E[x],N));else{B={};for(var D in E)Object.prototype.hasOwnProperty.call(E,D)&&(B[y(D,N)]=n(y,E[D],N))}return B},i=function(y,E){E=E||{};var N=E.separator||"_",B=E.split||/(?=[A-Z])/;return y.split(B).join(N)},u=function(y){return w(y)?y:(y=y.replace(/[\-_\s]+(.)?/g,function(E,N){return N?N.toUpperCase():""}),y.substr(0,1).toLowerCase()+y.substr(1))},r=function(y){var E=u(y);return E.substr(0,1).toUpperCase()+E.substr(1)},a=function(y,E){return i(y,E).toLowerCase()},l=Object.prototype.toString,s=function(y){return typeof y=="function"},o=function(y){return y===Object(y)},h=function(y){return l.call(y)=="[object Array]"},m=function(y){return l.call(y)=="[object Date]"},v=function(y){return l.call(y)=="[object RegExp]"},I=function(y){return l.call(y)=="[object Boolean]"},w=function(y){return y=y-0,y===y},b=function(y,E){var N=E&&"process"in E?E.process:E;return typeof N!="function"?y:function(B,x){return N(B,y,x)}},A={camelize:u,decamelize:a,pascalize:r,depascalize:a,camelizeKeys:function(y,E){return n(b(u,E),y)},decamelizeKeys:function(y,E){return n(b(a,E),y,E)},pascalizeKeys:function(y,E){return n(b(r,E),y)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=A:e.humps=A})(oh)})(ch);function ye(t){if(t!==void 0)return typeof t=="object"?JSON.parse(JSON.stringify(t)):t}function sh(t){return Object.prototype.toString.call(t)==="[object Object]"}function xi(t){return Array.isArray(t)}function dh(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Fi(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 fh(t){if(Array.isArray(t))return Fi(t)}function Hr(t,e,n,i,u,r,a){try{var l=t[r](a),s=l.value}catch(o){n(o);return}l.done?e(s):Promise.resolve(s).then(i,u)}function hh(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var r=t.apply(e,n);function a(s){Hr(r,i,u,a,l,"next",s)}function l(s){Hr(r,i,u,a,l,"throw",s)}a(void 0)})}}function yh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function mh(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function gh(){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 Oi(t){return fh(t)||mh(t)||vh(t)||gh()}function vh(t,e){if(!!t){if(typeof t=="string")return Fi(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 Fi(t,e)}}var bh=function(t,e){var n,i,u,r,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return r={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(r[Symbol.iterator]=function(){return this}),r;function l(o){return function(h){return s([o,h])}}function s(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)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 a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){a=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){a.label=o[1];break}if(o[0]===6&&a.label<u[1]){a.label=u[1],u=o;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(o);break}u[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(h){o=[6,h],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},Eh=function(){function t(){yh(this,t),this._events=new Map,this.debug=!1}var e=t.prototype;return e.emit=function(i){for(var u=arguments.length,r=new Array(u>1?u-1:0),a=1;a<u;a++)r[a-1]=arguments[a];var l=this;return hh(function(){var s,o,h,m,v,I,w,b,A,y,E,N;return bh(this,function(B){switch(B.label){case 0:if(s=l._events.get(i),o=[],!s)return[3,10];h=s.slice(),m=!0,v=!1,I=void 0,B.label=1;case 1:B.trys.push([1,8,9,10]),w=h[Symbol.iterator](),B.label=2;case 2:if(m=(b=w.next()).done)return[3,7];if(A=b.value,!s.includes(A))return[3,6];B.label=3;case 3:return B.trys.push([3,5,,6]),l.debug&&Mr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(i," \u4E8B\u4EF6: ").concat(A.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+A.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(r.map(function(){return"%o"}).join(","),"\u3002")].concat(Oi(r))),[4,A.apply(null,Oi(r))];case 4:return y=B.sent(),l.debug&&Mr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(i," \u4E8B\u4EF6: ").concat(A.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+A.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(r.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(Oi(r),[y])),o.push(y),y===!1?[3,7]:[3,6];case 5:return E=B.sent(),th(String(E)),[3,6];case 6:return m=!0,[3,2];case 7:return[3,10];case 8:return N=B.sent(),v=!0,I=N,[3,10];case 9:try{!m&&w.return!=null&&w.return()}finally{if(v)throw I}return[7];case 10:return[2,o]}})})()},e.on=function(i,u){if(this._events.has(i)){var r;(r=this._events.get(i))===null||r===void 0||r.push(u)}else this._events.set(i,[u])},e.off=function(i,u){if(this._events.has(i)){var r=this._events.get(i),a=r==null?void 0:r.indexOf(u);r==null||r.splice(a,1)}},e.delete=function(i){this._events.has(i)&&this._events.delete(i)},e.clear=function(){this._events=new Map},t}(),Ch=[];new Set(Ch.map(function(t){return t.Designer.controlType}));function jr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function S(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function un(t){return un=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},un(t)}function se(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&&ki(t,e)}function qr(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Ih(t,e){return e&&(wh(e)==="object"||typeof e=="function")?e:jr(t)}function ki(t,e){return ki=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ki(t,e)}var wh=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Ah(){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 de(t){var e=Ah();return function(){var i=un(t),u;if(e){var r=un(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Ih(this,u)}}var ue=function t(e){S(this,t);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:""},Ni=function t(e){S(this,t);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:""},_h=function(t){se(n,t);var e=de(n);function n(i){S(this,n);var u;u=e.call(this,i);var r;return u.primaryControlId=(r=i==null?void 0:i.primaryControlId)!==null&&r!==void 0?r:"",u}return n}(Ni),Ur=function t(e){S(this,t);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:""},Wr=function t(e){S(this,t);var n,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 r;this.headers=(r=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(a){return new Ur(a)}))!==null&&r!==void 0?r:[]},Sh=function t(e){S(this,t);var n;this.fieldName=(n=e==null?void 0:e.fieldName)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:g.VARCHAR},Bh=function(t){se(n,t);var e=de(n);function n(i){S(this,n);var u;u=e.call(this,i);var r;u.title=(r=i==null?void 0:i.title)!==null&&r!==void 0?r:"";var a;u.svcCode=(a=i==null?void 0:i.svcCode)!==null&&a!==void 0?a:"";var l;u.isOpenFilter=(l=i==null?void 0:i.isOpenFilter)!==null&&l!==void 0?l:!1;var s;return u.filters=(s=i==null?void 0:i.filters)!==null&&s!==void 0?s:[],u}return n}(Ni),Rh=function t(e){S(this,t);var n,i;this.type="sublist-page",this.formBind=new Ni(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(a){return new Sh(a)}))!==null&&u!==void 0?u:[];var r;this.sublists=(r=e==null||(i=e.sublists)===null||i===void 0?void 0:i.map(function(a){return new Bh(a)}))!==null&&r!==void 0?r:[]},Th=function t(e){S(this,t),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value},ot=function t(e){S(this,t);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:[]},Ph=function t(e){var n=this;S(this,t),this.type="conditions";var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:ae();var u;this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf();var r;this.level=(r=e==null?void 0:e.level)!==null&&r!==void 0?r:0;var a;this.value=(a=e==null?void 0:e.value)!==null&&a!==void 0?a:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(function(l){if(l.children!==void 0){var s,o=new t(l);(s=n.children)===null||s===void 0||s.push(o)}else{var h,m=new Kr(l);(h=n.children)===null||h===void 0||h.push(m)}}))},Kr=function t(e){S(this,t),this.type="condition";var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:ae();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 r;this.checked=(r=e==null?void 0:e.checked)!==null&&r!==void 0?r:!1;var a;this.describe=(a=e==null?void 0:e.describe)!==null&&a!==void 0?a:"",this.leftVariableBo=new Th(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new ot(e==null?void 0:e.rightVariableBo)},p=function t(e){S(this,t);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 r;this.propName=(r=e==null?void 0:e.propName)!==null&&r!==void 0?r:""},Mi=function t(e){S(this,t);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},Dh=function t(e){S(this,t);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 $i(t){var e,n;if(this.filters=(n=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(r){return r.children!==void 0?new Ph(r):new Kr(r)}))!==null&&n!==void 0?n:[],qr(this,X)||qr(this,Li)){var i,u;this.orders=(u=t==null||(i=t.orders)===null||i===void 0?void 0:i.map(function(r){return new Dh(r)}))!==null&&u!==void 0?u:[]}}var X=function t(e){var n=this;S(this,t);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 r;this.valueFieldCode=(r=e==null?void 0:e.valueFieldCode)!==null&&r!==void 0?r:"",this.displayBoList=[],Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(function(s){var o;(o=n.displayBoList)===null||o===void 0||o.push(new Mi(s))}));var a;this.showOrder=(a=e==null?void 0:e.showOrder)!==null&&a!==void 0?a:!0;var l;this.svcCode=(l=e==null?void 0:e.svcCode)!==null&&l!==void 0?l:"",$i.call(this,e)},xh=function t(e){S(this,t);var n,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 r;this.value=(r=e==null||(n=e.value)===null||n===void 0?void 0:n.map(function(a){return new Mi(a)}))!==null&&r!==void 0?r:[]},rn=function(t){se(n,t);var e=de(n);function n(i){S(this,n);var u,r;u=e.call(this,i);var a;return u.attributes=(a=i==null||(r=i.attributes)===null||r===void 0?void 0:r.map(function(l){return new xh(l)}))!==null&&a!==void 0?a:[],u}return n}(X),Fh=function(t){se(n,t);var e=de(n);function n(i){S(this,n);var u;return u=e.call(this,i),u.rootNode=new ot(i==null?void 0:i.rootNode),u}return n}(rn),zr=function t(e){S(this,t);var n,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 r;this.fillList=(r=e==null||(n=e.fillList)===null||n===void 0?void 0:n.map(function(a){return new p(a)}))!==null&&r!==void 0?r:[]},Li=function(t){se(n,t);var e=de(n);function n(i){S(this,n);var u;return u=e.call(this,i),$i.call(jr(u),i),u}return n}(zr),Gr=function(t){se(n,t);var e=de(n);function n(i){S(this,n);var u;u=e.call(this,i);var r;u.mode=(r=i==null?void 0:i.mode)!==null&&r!==void 0?r:"current";var a;return u.multiple=(a=i==null?void 0:i.multiple)!==null&&a!==void 0?a:!1,u}return n}(zr),Xr=function t(e){S(this,t);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:""},Oh=function t(e){S(this,t);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:ae(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 fe(t){var e;return(e=t==null?void 0:t.map(function(n){return new Oh(n)}))!==null&&e!==void 0?e:[]}var Vi=function t(){S(this,t)},kh=function(t){se(n,t);var e=de(n);function n(i){S(this,n);var u;return u=e.call(this),u.amount=new ue(i==null?void 0:i.amount),u.currency=new ue(i==null?void 0:i.currency),u}return n}(Vi),Nh=function t(e){S(this,t);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:an.CNY},Mh=function(t){se(n,t);var e=de(n);function n(i){S(this,n);var u;return u=e.call(this),u.min=new ue(i==null?void 0:i.min),u.max=new ue(i==null?void 0:i.max),u}return n}(Vi),$h=function t(e){S(this,t);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:""},Lh=function t(e){S(this,t);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 r;this.districtDisplay=(r=e==null?void 0:e.districtDisplay)!==null&&r!==void 0?r:"";var a;this.province=(a=e==null?void 0:e.province)!==null&&a!==void 0?a:"";var l;this.provinceDisplay=(l=e==null?void 0:e.provinceDisplay)!==null&&l!==void 0?l:""},Vh=function(t){se(n,t);var e=de(n);function n(i){S(this,n);var u;return u=e.call(this),u.result=new ue(i==null?void 0:i.result),u.unit=new ue(i==null?void 0:i.unit),u}return n}(Vi),Hh=function t(e){S(this,t);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:""},an;(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"})(an||(an={}));var c;(function(t){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.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 Hi;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(Hi||(Hi={}));var ie=function t(e){S(this,t);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:ae(8);var i;this.type=(i=e==null?void 0:e.type)!==null&&i!==void 0?i:"";var u;this.isShow=(u=e==null?void 0:e.isShow)!==null&&u!==void 0?u:!0,this.invalidType=e==null?void 0:e.invalidType,this.condition=e==null?void 0:e.condition;var r;this.content=(r=e==null?void 0:e.content)!==null&&r!==void 0?r:"";var a;this.formKey=(a=e==null?void 0:e.formKey)!==null&&a!==void 0?a:"",this.icon=e==null?void 0:e.icon,this.showType=e==null?void 0:e.showType;var l;this.openType=(l=e==null?void 0:e.openType)!==null&&l!==void 0?l:"modal";var s;this.priorityProcess=(s=e==null?void 0:e.priorityProcess)!==null&&s!==void 0?s:!1,this.needConfirm=e==null?void 0:e.needConfirm,this.confirmMessage=e==null?void 0:e.confirmMessage},jh=function t(e){S(this,t);var n,i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:ae(8);var u;this.title=(u=e==null?void 0:e.title)!==null&&u!==void 0?u:"";var r;this.headers=(r=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(a){return new Ur(a)}))!==null&&r!==void 0?r:[],$i.call(this,e)},qh=function t(e){S(this,t);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 r;this.heightConfig=(r=e==null?void 0:e.heightConfig)!==null&&r!==void 0?r:"fill"};function Uh(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ji(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Wh(){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 Wh()?ln=Reflect.construct:ln=function(u,r,a){var l=[null];l.push.apply(l,r);var s=Function.bind.apply(u,l),o=new s;return a&&st(o,a.prototype),o},ln.apply(null,arguments)}function ct(t){return ct=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ct(t)}function Kh(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&&st(t,e)}function zh(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Gh(t,e){return e&&(Xh(e)==="object"||typeof e=="function")?e:Uh(t)}function st(t,e){return st=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},st(t,e)}var Xh=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function qi(t){var e=typeof Map=="function"?new Map:void 0;return qi=function(i){if(i===null||!zh(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return ln(i,arguments,ct(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),st(u,i)},qi(t)}function Qh(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Jh(t){var e=Qh();return function(){var i=ct(t),u;if(e){var r=ct(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Gh(this,u)}}var j=function t(e){ji(this,t),this.isHide={type:"boolean"}},Ie=function(t){Kh(n,t);var e=Jh(n);function n(i){return ji(this,n),e.call(this)}return n}(qi(Array)),q=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";ji(this,t);var i;this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new qh(e==null?void 0:e.style);var u;this.caption=(u=e==null?void 0:e.caption)!==null&&u!==void 0?u:n};q.Rules=j,q.RuntimeRules=Ie;function le(){return le=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},le.apply(this,arguments)}function Zh(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Ui(t){return Ui=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ui(t)}function on(t,e){return on=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},on(t,e)}function Yh(){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 cn(t,e,n){return Yh()?cn=Reflect.construct:cn=function(u,r,a){var l=[null];l.push.apply(l,r);var s=Function.bind.apply(u,l),o=new s;return a&&on(o,a.prototype),o},cn.apply(null,arguments)}function ph(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Wi(t){var e=typeof Map=="function"?new Map:void 0;return Wi=function(i){if(i===null||!ph(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 cn(i,arguments,Ui(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),on(u,i)},Wi(t)}var ey=/%[sdj%]/g,Qr=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Qr=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function Ki(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 ee(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=1,u=e[0],r=e.length;if(typeof u=="function")return u.apply(null,e.slice(1));if(typeof u=="string"){var a=String(u).replace(ey,function(l){if(l==="%%")return"%";if(i>=r)return l;switch(l){case"%s":return String(e[i++]);case"%d":return Number(e[i++]);case"%j":try{return JSON.stringify(e[i++])}catch(s){return"[Circular]"}break;default:return l}});return a}return u}function ty(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function L(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||ty(e)&&typeof t=="string"&&!t)}function ny(t,e,n){var i=[],u=0,r=t.length;function a(l){i.push.apply(i,l),u++,u===r&&n(i)}t.forEach(function(l){e(l,a)})}function Jr(t,e,n){var i=0,u=t.length;function r(a){if(a&&a.length){n(a);return}var l=i;i=i+1,l<u?e(t[l],r):n([])}r([])}function iy(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var Zr=function(t){Zh(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}(Wi(Error));function uy(t,e,n,i){if(e.first){var u=new Promise(function(m,v){var I=function(A){return i(A),A.length?v(new Zr(A,Ki(A))):m()},w=iy(t);Jr(w,n,I)});return u.catch(function(m){return m}),u}var r=e.firstFields||[];r===!0&&(r=Object.keys(t));var a=Object.keys(t),l=a.length,s=0,o=[],h=new Promise(function(m,v){var I=function(b){if(o.push.apply(o,b),s++,s===l)return i(o),o.length?v(new Zr(o,Ki(o))):m()};a.length||(i(o),m()),a.forEach(function(w){var b=t[w];r.indexOf(w)!==-1?Jr(b,n,I):ny(b,n,I)})});return h.catch(function(m){return m}),h}function Yr(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 pr(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]=le(le({},t[n]),i):t[n]=i}}return t}function ea(t,e,n,i,u,r){t.required&&(!n.hasOwnProperty(t.field)||L(e,r||t.type))&&i.push(ee(u.messages.required,t.fullField))}function ry(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(ee(u.messages.whitespace,t.fullField))}var zi={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},dt={integer:function(e){return dt.number(e)&&parseInt(e,10)===e},float:function(e){return dt.number(e)&&!dt.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"&&!dt.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(zi.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(zi.url)},hex:function(e){return typeof e=="string"&&!!e.match(zi.hex)}};function ay(t,e,n,i,u){if(t.required&&e===void 0){ea(t,e,n,i,u);return}var r=["integer","float","array","regexp","object","method","email","number","date","url","hex"],a=t.type;r.indexOf(a)>-1?dt[a](e)||i.push(ee(u.messages.types[a],t.fullField,t.type)):a&&typeof e!==t.type&&i.push(ee(u.messages.types[a],t.fullField,t.type))}function ly(t,e,n,i,u){var r=typeof t.len=="number",a=typeof t.min=="number",l=typeof t.max=="number",s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,o=e,h=null,m=typeof e=="number",v=typeof e=="string",I=Array.isArray(e);if(m?h="number":v?h="string":I&&(h="array"),!h)return!1;I&&(o=e.length),v&&(o=e.replace(s,"_").length),r?o!==t.len&&i.push(ee(u.messages[h].len,t.fullField,t.len)):a&&!l&&o<t.min?i.push(ee(u.messages[h].min,t.fullField,t.min)):l&&!a&&o>t.max?i.push(ee(u.messages[h].max,t.fullField,t.max)):a&&l&&(o<t.min||o>t.max)&&i.push(ee(u.messages[h].range,t.fullField,t.min,t.max))}var qe="enum";function oy(t,e,n,i,u){t[qe]=Array.isArray(t[qe])?t[qe]:[],t[qe].indexOf(e)===-1&&i.push(ee(u.messages[qe],t.fullField,t[qe].join(", ")))}function cy(t,e,n,i,u){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(ee(u.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var r=new RegExp(t.pattern);r.test(e)||i.push(ee(u.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var _={required:ea,whitespace:ry,type:ay,range:ly,enum:oy,pattern:cy};function sy(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(L(e,"string")&&!t.required)return n();_.required(t,e,i,r,u,"string"),L(e,"string")||(_.type(t,e,i,r,u),_.range(t,e,i,r,u),_.pattern(t,e,i,r,u),t.whitespace===!0&&_.whitespace(t,e,i,r,u))}n(r)}function dy(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(L(e)&&!t.required)return n();_.required(t,e,i,r,u),e!==void 0&&_.type(t,e,i,r,u)}n(r)}function fy(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(e===""&&(e=void 0),L(e)&&!t.required)return n();_.required(t,e,i,r,u),e!==void 0&&(_.type(t,e,i,r,u),_.range(t,e,i,r,u))}n(r)}function hy(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(L(e)&&!t.required)return n();_.required(t,e,i,r,u),e!==void 0&&_.type(t,e,i,r,u)}n(r)}function yy(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(L(e)&&!t.required)return n();_.required(t,e,i,r,u),L(e)||_.type(t,e,i,r,u)}n(r)}function my(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(L(e)&&!t.required)return n();_.required(t,e,i,r,u),e!==void 0&&(_.type(t,e,i,r,u),_.range(t,e,i,r,u))}n(r)}function gy(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(L(e)&&!t.required)return n();_.required(t,e,i,r,u),e!==void 0&&(_.type(t,e,i,r,u),_.range(t,e,i,r,u))}n(r)}function vy(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(e==null&&!t.required)return n();_.required(t,e,i,r,u,"array"),e!=null&&(_.type(t,e,i,r,u),_.range(t,e,i,r,u))}n(r)}function by(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(L(e)&&!t.required)return n();_.required(t,e,i,r,u),e!==void 0&&_.type(t,e,i,r,u)}n(r)}var Ey="enum";function Cy(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(L(e)&&!t.required)return n();_.required(t,e,i,r,u),e!==void 0&&_[Ey](t,e,i,r,u)}n(r)}function Iy(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(L(e,"string")&&!t.required)return n();_.required(t,e,i,r,u),L(e,"string")||_.pattern(t,e,i,r,u)}n(r)}function wy(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(L(e,"date")&&!t.required)return n();if(_.required(t,e,i,r,u),!L(e,"date")){var l;e instanceof Date?l=e:l=new Date(e),_.type(t,l,i,r,u),l&&_.range(t,l.getTime(),i,r,u)}}n(r)}function Ay(t,e,n,i,u){var r=[],a=Array.isArray(e)?"array":typeof e;_.required(t,e,i,r,u,a),n(r)}function Gi(t,e,n,i,u){var r=t.type,a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(L(e,r)&&!t.required)return n();_.required(t,e,i,a,u,r),L(e,r)||_.type(t,e,i,a,u)}n(a)}function _y(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(L(e)&&!t.required)return n();_.required(t,e,i,r,u)}n(r)}var ft={string:sy,method:dy,number:fy,boolean:hy,regexp:yy,integer:my,float:gy,array:vy,object:by,enum:Cy,pattern:Iy,date:wy,url:Gi,hex:Gi,email:Gi,required:Ay,any:_y};function Xi(){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 Qi=Xi();function me(t){this.rules=null,this._messages=Qi,this.define(t)}me.prototype={messages:function(e){return e&&(this._messages=pr(Xi(),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 r=e,a=n,l=i;if(typeof a=="function"&&(l=a,a={}),!this.rules||Object.keys(this.rules).length===0)return l&&l(),Promise.resolve();function s(b){var A,y=[],E={};function N(B){if(Array.isArray(B)){var x;y=(x=y).concat.apply(x,B)}else y.push(B)}for(A=0;A<b.length;A++)N(b[A]);y.length?E=Ki(y):(y=null,E=null),l(y,E)}if(a.messages){var o=this.messages();o===Qi&&(o=Xi()),pr(o,a.messages),a.messages=o}else a.messages=this.messages();var h,m,v={},I=a.keys||Object.keys(this.rules);I.forEach(function(b){h=u.rules[b],m=r[b],h.forEach(function(A){var y=A;typeof y.transform=="function"&&(r===e&&(r=le({},r)),m=r[b]=y.transform(m)),typeof y=="function"?y={validator:y}:y=le({},y),y.validator=u.getValidationMethod(y),y.field=b,y.fullField=y.fullField||b,y.type=u.getType(y),y.validator&&(v[b]=v[b]||[],v[b].push({rule:y,value:m,source:r,field:b}))})});var w={};return uy(v,a,function(b,A){var y=b.rule,E=(y.type==="object"||y.type==="array")&&(typeof y.fields=="object"||typeof y.defaultField=="object");E=E&&(y.required||!y.required&&b.value),y.field=b.field;function N(ne,D){return le(le({},D),{},{fullField:y.fullField+"."+ne})}function B(ne){ne===void 0&&(ne=[]);var D=ne;if(Array.isArray(D)||(D=[D]),!a.suppressWarning&&D.length&&me.warning("async-validator:",D),D.length&&y.message!==void 0&&(D=[].concat(y.message)),D=D.map(Yr(y)),a.first&&D.length)return w[y.field]=1,A(D);if(!E)A(D);else{if(y.required&&!b.value)return y.message!==void 0?D=[].concat(y.message).map(Yr(y)):a.error&&(D=[a.error(y,ee(a.messages.required,y.field))]),A(D);var oe={};if(y.defaultField)for(var oc in b.value)b.value.hasOwnProperty(oc)&&(oe[oc]=y.defaultField);oe=le(le({},oe),b.rule.fields);for(var nt in oe)if(oe.hasOwnProperty(nt)){var v0=Array.isArray(oe[nt])?oe[nt]:[oe[nt]];oe[nt]=v0.map(N.bind(null,nt))}var cc=new me(oe);cc.messages(a.messages),b.rule.options&&(b.rule.options.messages=a.messages,b.rule.options.error=a.error),cc.validate(b.value,b.rule.options||a,function(Rr){var it=[];D&&D.length&&it.push.apply(it,D),Rr&&Rr.length&&it.push.apply(it,Rr),A(it.length?it:null)})}}var x;y.asyncValidator?x=y.asyncValidator(y,b.value,B,b.source,a):y.validator&&(x=y.validator(y,b.value,B,b.source,a),x===!0?B():x===!1?B(y.message||y.field+" fails"):x instanceof Array?B(x):x instanceof Error&&B(x.message)),x&&x.then&&x.then(function(){return B()},function(ne){return B(ne)})},function(b){s(b)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!ft.hasOwnProperty(e.type))throw new Error(ee("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if(typeof e.validator=="function")return e.validator;var n=Object.keys(e),i=n.indexOf("message");return i!==-1&&n.splice(i,1),n.length===1&&n[0]==="required"?ft.required:ft[this.getType(e)]||!1}},me.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");ft[e]=n},me.warning=Qr,me.messages=Qi,me.validators=ft;var Sy={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 By(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new me(t);return n.messages(Object.assign(Sy,e)),n}var Ry=new Eh;function Ji(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 Ty(t){if(Array.isArray(t))return t}function Py(t){if(Array.isArray(t))return Ji(t)}function ta(t,e,n,i,u,r,a){try{var l=t[r](a),s=l.value}catch(o){n(o);return}l.done?e(s):Promise.resolve(s).then(i,u)}function na(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var r=t.apply(e,n);function a(s){ta(r,i,u,a,l,"next",s)}function l(s){ta(r,i,u,a,l,"throw",s)}a(void 0)})}}function Dy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ia(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 xy(t,e,n){return e&&ia(t.prototype,e),n&&ia(t,n),t}function Fy(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ua(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function ra(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Oy(){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 ky(){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 aa(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){Fy(t,u,n[u])})}return t}function Ny(t){return Ty(t)||ra(t)||la(t)||Oy()}function Zi(t){return Py(t)||ra(t)||la(t)||ky()}function la(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 oa=function(t,e){var n,i,u,r,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return r={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(r[Symbol.iterator]=function(){return this}),r;function l(o){return function(h){return s([o,h])}}function s(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)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 a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){a=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){a.label=o[1];break}if(o[0]===6&&a.label<u[1]){a.label=u[1],u=o;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(o);break}u[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(h){o=[6,h],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},O=function(){function e(i){var u=this;Dy(this,e),this.setting=[],this.eventKeys=[],this.customEvents=[],this.parent=null,this.updateSetting=sa,this.removeSetting=ca,this._callControlHooks("preInstance",i);var r=ua(this,e)?this.constructor:void 0,a=r.controlName,l=r.controlIcon,s=r.controlType,o=r.controlFieldType,h=r.controlEventKeys,m=r.controlCustomEvents,v=r.name,I=r.setting;a&&l&&s||Lr("The ".concat(v," controlName,controlIcon,controlType is not define"));var w;this.id=(w=i==null?void 0:i.id)!==null&&w!==void 0?w:ae(10),this.name=a,this.icon=l;var b;this.type=(b=i==null?void 0:i.type)!==null&&b!==void 0?b:s,this.props=new q(i==null?void 0:i.props,(ua(this,e)?this.constructor:void 0).controlName);var A;this.controlType=(A=i==null?void 0:i.controlType)!==null&&A!==void 0?A:"base",this.setting=ye(I);var y;this.fieldType=(y=i==null?void 0:i.fieldType)!==null&&y!==void 0?y:o,this.eventKeys=ye(h),this.customEvents=ye(m),Promise.resolve().then(function(){u._callControlHooks("postInstance",i)})}var n=e.prototype;return n._callControlHooks=function(){for(var u=arguments.length,r=new Array(u),a=0;a<u;a++)r[a]=arguments[a];var l,s=Ny(r),o=s[0],h=s.slice(1);return(l=Ry).emit.apply(l,[o,this].concat(Zi(h)))},n.preUpdate=function(u,r){this._callControlHooks("preUpdateProps",u,r)},n.postUpdate=function(u,r){this._callControlHooks("postUpdateProps",u,r)},n.updateProps=function(u,r){this.preUpdate(u,r),lh(this.props,u,r),this.postUpdate(u,r)},n.preValidate=function(){var u=this;return na(function(){var r,a,l;return oa(this,function(s){switch(s.label){case 0:return r=aa({},u.rules),[4,u._callControlHooks("preValidate",r)];case 1:return a=s.sent(),l=a[a.length-1],[2,l===!1?void 0:l]}})})()},n.validate=function(u,r){var a=this;return na(function(){var l,s,o,h;return oa(this,function(m){switch(m.label){case 0:return[4,a.preValidate()];case 1:l=m.sent(),s=l!==void 0?l:aa({},a.rules),Array.isArray(r)&&r.forEach(function(v){s.hasOwnProperty(v)&&delete s[v]}),o=By(s,u),m.label=2;case 2:return m.trys.push([2,4,,5]),[4,o.validate(a.props)];case 3:return m.sent(),[2,!0];case 4:throw h=m.sent(),h.control||(h.control=a),h;case 5:return[2]}})})()},n.toDataBindModel=function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=this.fieldType,a=this.id,l=this.type,s=this.props,o=s.dataBind,h=s.datasourceBind,m=s.optionConfig,v=s.caption,I=s.required,w=s.maxLength,b=s.options,A=s.encrypted,y=s.encryptedMode;if(!(!r&&!o&&!h)){var E={parentId:u,fieldType:r,controlId:a,caption:v,type:l,props:{}};switch(o&&(E.dataBind=o),m){case"datasource":case void 0:h&&(E.datasourceBind=h);break;case"custom":E.props.options=b;break}return I!==void 0&&(E.required=I),w!==void 0&&(E.maxLength=w),A!==void 0&&(E.encrypted=A),y!==void 0&&(E.encryptedMode=y),E}},n.preToSchema=function(){this._callControlHooks("preToSchema",this)},n.toSchema=function(){return this.preToSchema(),{id:this.id,type:this.type,props:ye(this.props),fieldType:this.fieldType,controlType:this.controlType}},e.updateBasicControl=function(u,r){if(u==="setting"){if(r.add){var a;(a=this.setting).push.apply(a,Zi(r.add))}r.remove&&this.removeSettingItem(r.remove),r.update}},xy(e,[{key:"rules",get:function(){var u=this.props.constructor.Rules;return u?new u(this.props):{}}}]),e}();O.controlName="\u63A7\u4EF6",O.controlIcon="icon",O.controlType="control",O.controlEventKeys=[],O.controlCustomEvents=[],O.setting=[],O.__is_control__=!0,O.removeSettingItem=ca,O.updateSettingItem=sa;function ca(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(i){var u=typeof i!="string",r=e.setting.findIndex(function(s){return s.key===(u?i.key:i)});if(r!==-1){var a,l;u?e.setting[r].showItems=(a=e.setting[r].showItems)===null||a===void 0?void 0:a.filter(function(s){return!i.hideItems.includes(s)}):e.setting.splice(r,1),u&&!(!((l=e.setting[r].showItems)===null||l===void 0)&&l.length)&&e.setting.splice(r,1)}})}function sa(t,e){var n=this,i=typeof t=="string"?[t]:t;i.forEach(function(u){var r=n.setting.find(function(o){return o.key===u});if(r){if(typeof e=="boolean")r.visible=e;else if(typeof e=="object"){var a,l=(a=e.type)!==null&&a!==void 0?a:"replace";if(l==="replace")r.showItems=e.showItems;else{var s;(s=r.showItems).push.apply(s,Zi(e.showItems))}}}})}function My(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function da(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 $y(t,e,n){return e&&da(t.prototype,e),n&&da(t,n),t}function Ly(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var W=function(){function e(n){My(this,e),this.customEvents=[],this.parent=null;var i=Ly(this,e)?this.constructor:void 0,u=i.controlType,r=i.controlFieldType,a=i.name,l=i.controlCustomEvents;u||Lr("The ".concat(a," controlType is not define"));var s;this.id=(s=n==null?void 0:n.id)!==null&&s!==void 0?s:ae(10);var o;this.type=(o=n==null?void 0:n.type)!==null&&o!==void 0?o:u,this.props=new q(n==null?void 0:n.props),this.customEvents=l;var h;this.controlType=(h=n==null?void 0:n.controlType)!==null&&h!==void 0?h:"base";var m;this.fieldType=(m=n==null?void 0:n.fieldType)!==null&&m!==void 0?m:r;var v;this.pageStatus=(v=n==null?void 0:n.pageStatus)!==null&&v!==void 0?v:Hi.UNKNOWN}return $y(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}();W.controlType="control",W.__is_control__=!0,W.controlCustomEvents=[];function Yi(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:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:d.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:d.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(n,i,u){i.length===0&&u(d.getMessage("optionIsRequired")),u()}},{type:"array",validator:function(n,i,u){var r=i.map(function(l){return l.value}),a=dh(r);r.length!==a.length?u(d.getMessage("optionIdIsRepeat")):u()},message:d.getMessage("optionIdIsRepeat")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",validator:function(n,i,u){i.length===0&&u(d.getMessage("pleaseBindAtLeastOneDisplayValue")),u()},message:d.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:d.getMessage("isNotBoolean")}}}}]}}])}function pi(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:d.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:d.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:d.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:d.getMessage("isNotString")},key:{type:"string",required:!0,message:d.getMessage("isNotString")},value:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",validator:function(u,r,a){r.length===0&&a(d.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),a()},message:d.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:d.getMessage("isNotBoolean")}}}}]}}]}function fa(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function sn(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 fn(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&&eu(t,e)}function Vy(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Hy(t,e){return e&&(jy(e)==="object"||typeof e=="function")?e:fa(t)}function eu(t,e){return eu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},eu(t,e)}var jy=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function qy(){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 hn(t){var e=qy();return function(){var i=dn(t),u;if(e){var r=dn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Hy(this,u)}}var Q=function(t){fn(n,t);var e=hn(n);function n(i){sn(this,n);var u;u=e.call(this,i),u.dataBind={},u.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},u.isHideCaption={type:"boolean"},u.labelPosition={type:"enum",enum:["top","left"]},u.defaultState={type:"enum",enum:["default","readonly"]},u.required={type:"boolean"},u.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")};var r={fieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")}};if(Vy(i.dataBind,ue))u.dataBind={type:"object",required:!0,fields:ye(r),message:d.getMessage("pleaseEnterFieldCode")};else{var a={type:"object",required:!0,fields:{},message:d.getMessage("pleaseEnterFieldCode")};Object.keys(i.dataBind).forEach(function(l){a.fields[l]={type:"object",required:!0,fields:ye(r),message:d.getMessage("pleaseEnterFieldCode")}}),u.dataBind=a}return i.isShowCaptionTip&&(u.captionTip.required=!0),u}return n}(j),k=function(t){fn(n,t);var e=hn(n);function n(i){sn(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:d.getMessage("runtimeRequired",{caption:i.caption})}),u}return n}(Ie),R=function(t){fn(n,t);var e=hn(n);function n(i){sn(this,n);var u;u=e.call(this,i);var r;u.caption=(r=i==null?void 0:i.caption)!==null&&r!==void 0?r:"";var a;u.isHideCaption=(a=i==null?void 0:i.isHideCaption)!==null&&a!==void 0?a:!1;var l;u.isShowCaptionTip=(l=i==null?void 0:i.isShowCaptionTip)!==null&&l!==void 0?l:!1;var s;u.captionTip=(s=i==null?void 0:i.captionTip)!==null&&s!==void 0?s:"";var o;u.defaultState=(o=i==null?void 0:i.defaultState)!==null&&o!==void 0?o:"default";var h;u.labelPosition=(h=i==null?void 0:i.labelPosition)!==null&&h!==void 0?h:"top";var m;u.placeholder=(m=i==null?void 0:i.placeholder)!==null&&m!==void 0?m:"";var v;u.required=(v=i==null?void 0:i.required)!==null&&v!==void 0?v:!1;var I;u.requiredMessage=(I=i==null?void 0:i.requiredMessage)!==null&&I!==void 0?I:"",u.dataBind=new ue(i==null?void 0:i.dataBind);var w;return u.defaultValue=(w=i==null?void 0:i.defaultValue)!==null&&w!==void 0?w:"",u}return n}(q);R.Rules=Q,R.RuntimeRules=k;var Ue=function(t){fn(n,t);var e=hn(n);function n(i){sn(this,n);var u;return u=e.call(this,i),u.optionConfig={type:"enum",enum:["custom","datasource"],message:d.getMessage("PleaseSelectTheCorrectOptionSettings")},u.options=[{type:"array",message:d.getMessage("isNotArray")}],u.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],Yi.call(fa(u),i),u}return n}(Q);function Uy(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Wy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function yn(t){return yn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yn(t)}function Ky(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&&tu(t,e)}function zy(t,e){return e&&(Gy(e)==="object"||typeof e=="function")?e:Uy(t)}function tu(t,e){return tu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},tu(t,e)}var Gy=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Xy(){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 Qy(t){var e=Xy();return function(){var i=yn(t),u;if(e){var r=yn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return zy(this,u)}}var T=function(t){Ky(n,t);var e=Qy(n);function n(i){Wy(this,n);var u;return u=e.call(this,i),u.controlType="form",u.props=new R(i==null?void 0:i.props),u}return n}(O);T.controlEventKeys=["on_change","on_focus","on_blur"];function Jy(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Zy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function mn(t){return mn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mn(t)}function Yy(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&&nu(t,e)}function py(t,e){return e&&(em(e)==="object"||typeof e=="function")?e:Jy(t)}function nu(t,e){return nu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},nu(t,e)}var em=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function tm(){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 nm(t){var e=tm();return function(){var i=mn(t),u;if(e){var r=mn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return py(this,u)}}var P=function(t){Yy(n,t);var e=nm(n);function n(i){Zy(this,n);var u;return u=e.call(this,i),u.controlType="form",u.props=new R(i==null?void 0:i.props),u}return n}(W);function im(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function um(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function gn(t){return gn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gn(t)}function rm(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 am(t,e){return e&&(lm(e)==="object"||typeof e=="function")?e:im(t)}function iu(t,e){return iu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},iu(t,e)}var lm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function om(){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 cm(t){var e=om();return function(){var i=gn(t),u;if(e){var r=gn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return am(this,u)}}var M=function(t){rm(n,t);var e=cm(n);function n(i){return um(this,n),e.call(this,i)}return n}(q);function uu(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 sm(t){if(Array.isArray(t))return uu(t)}function dm(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function fm(){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 ha(t){return sm(t)||dm(t)||hm(t)||fm()}function hm(t,e){if(!!t){if(typeof t=="string")return uu(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 uu(t,e)}}function ym(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function ya(t,e){t.parent=e,ym(t,"parent")}function mm(t,e){t.forEach(function(n){ya(n,e)})}var ma=Symbol("targetKey");function ga(t){var e;return(e=t[ma])!==null&&e!==void 0?e:t}function va(t,e){return mm(t,e),new Proxy(t,{get:function(i,u){for(var r=arguments.length,a=new Array(r>2?r-2:0),l=2;l<r;l++)a[l-2]=arguments[l];var s;return u===ma?i:(s=Reflect).get.apply(s,[i,u].concat(ha(a)))},set:function(i,u,r){for(var a=arguments.length,l=new Array(a>3?a-3:0),s=3;s<a;s++)l[s-3]=arguments[s];var o;if(xi(t)&&u==="length"&&r===t.length)return!0;var h=(o=Reflect).set.apply(o,[i,u,r].concat(ha(l)));return sh(r)&&ya(r,e),h}})}function we(t,e,n,i){var u=i!=null?i:t,r=va(ga(n!=null?n:[]),u);Object.defineProperty(t,e,{get:function(){return r},set:function(l){r=va(ga(l),u)},enumerable:!0})}function ru(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function gm(t){if(Array.isArray(t))return ru(t)}function ba(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ea(t,e,n,i,u,r,a){try{var l=t[r](a),s=l.value}catch(o){n(o);return}l.done?e(s):Promise.resolve(s).then(i,u)}function vm(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var r=t.apply(e,n);function a(s){Ea(r,i,u,a,l,"next",s)}function l(s){Ea(r,i,u,a,l,"throw",s)}a(void 0)})}}function bm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Em(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function We(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?We=Reflect.get:We=function(u,r,a){var l=Tm(u,r);if(!!l){var s=Object.getOwnPropertyDescriptor(l,r);return s.get?s.get.call(a):s.value}},We(t,e,n||t)}function ge(t){return ge=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ge(t)}function Cm(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 Im(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function wm(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Am(){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 _m(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){Em(t,u,n[u])})}return t}function Sm(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 Bm(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Sm(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function Rm(t,e){return e&&(Pm(e)==="object"||typeof e=="function")?e:ba(t)}function au(t,e){return au=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},au(t,e)}function Tm(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=ge(t),t!==null););return t}function Ca(t){return gm(t)||wm(t)||Dm(t)||Am()}var Pm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Dm(t,e){if(!!t){if(typeof t=="string")return ru(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ru(t,e)}}function xm(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Fm(t){var e=xm();return function(){var i=ge(t),u;if(e){var r=ge(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Rm(this,u)}}var Om=function(t,e){var n,i,u,r,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return r={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(r[Symbol.iterator]=function(){return this}),r;function l(o){return function(h){return s([o,h])}}function s(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)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 a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){a=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){a.label=o[1];break}if(o[0]===6&&a.label<u[1]){a.label=u[1],u=o;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(o);break}u[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(h){o=[6,h],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},km=1e4,V=function(e){Cm(i,e);var n=Fm(i);function i(r){bm(this,i);var a;a=n.call(this,r),a.controlType="layout";var l=Im(this,i)?this.constructor:void 0,s=l.excludes,o=l.childrenMaxLength;return a.props=new M(r==null?void 0:r.props),we(ba(a),"children",r==null?void 0:r.children),a.excludes=ye(s),a.childrenMaxLength=o,a}var u=i.prototype;return u.judgeExcludesChildren=function(a){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(a)},u.judgeJoinChildren=function(a){var l=this.judgeExcludesChildren(a);return l&&this.childrenMaxLength>this.children.length},u.validate=function(a,l){var s=this,o=this,h=function(){return We(ge(i.prototype),"validate",s)};return vm(function(){return Om(this,function(m){switch(m.label){case 0:return[4,h().call(o,a,l)];case 1:return m.sent(),[4,Promise.all(o.children.map(function(v){return v.validate(a,l)}))];case 2:return m.sent(),[2,!0]}})})()},u.toDataBindModel=function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,l=We(ge(i.prototype),"toDataBindModel",this).call(this),s=l?[l]:[];return this.children.reduce(function(o,h){var m=h.toDataBindModel(a);if(Array.isArray(m)){var v=m.filter(function(I){return!!I});return Ca(o).concat(Ca(v))}return m&&o.push(m),o},s)},u.toSchema=function(){var a=We(ge(i.prototype),"toSchema",this).call(this),l=this.children.map(function(s){var o=s.toSchema();return o});return Bm(_m({},a),{children:l})},i}(O);V.excludes=!1,V.childrenMaxLength=km;function Ia(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Nm(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 Mm(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 $m(t,e){return e&&(Lm(e)==="object"||typeof e=="function")?e:Ia(t)}function lu(t,e){return lu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},lu(t,e)}var Lm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Vm(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Hm(t){var e=Vm();return function(){var i=vn(t),u;if(e){var r=vn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return $m(this,u)}}var U=function(t){Mm(n,t);var e=Hm(n);function n(i){Nm(this,n);var u;return u=e.call(this,i),u.controlType="layout",u.props=new M(i==null?void 0:i.props),we(Ia(u),"children",i==null?void 0:i.children),u}return n}(W);function wa(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function jm(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 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&&ou(t,e)}function Um(t,e){return e&&(Wm(e)==="object"||typeof e=="function")?e:wa(t)}function ou(t,e){return ou=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ou(t,e)}var Wm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Km(){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 zm(t){var e=Km();return function(){var i=bn(t),u;if(e){var r=bn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Um(this,u)}}var En=function(t){qm(n,t);var e=zm(n);function n(i,u){jm(this,n);var r;return r=e.call(this,u),we(wa(r),"headers",u==null?void 0:u.headers,i),r}return n}(q);function cu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Gm(t){if(Array.isArray(t))return cu(t)}function Aa(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _a(t,e,n,i,u,r,a){try{var l=t[r](a),s=l.value}catch(o){n(o);return}l.done?e(s):Promise.resolve(s).then(i,u)}function Xm(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var r=t.apply(e,n);function a(s){_a(r,i,u,a,l,"next",s)}function l(s){_a(r,i,u,a,l,"throw",s)}a(void 0)})}}function Qm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Jm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ke(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Ke=Reflect.get:Ke=function(u,r,a){var l=ng(u,r);if(!!l){var s=Object.getOwnPropertyDescriptor(l,r);return s.get?s.get.call(a):s.value}},Ke(t,e,n||t)}function ve(t){return ve=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ve(t)}function Zm(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 Ym(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function pm(){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 Sa(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){Jm(t,u,n[u])})}return t}function eg(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 Ba(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):eg(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function tg(t,e){return e&&(ig(e)==="object"||typeof e=="function")?e:Aa(t)}function su(t,e){return su=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},su(t,e)}function ng(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=ve(t),t!==null););return t}function Ra(t){return Gm(t)||Ym(t)||ug(t)||pm()}var ig=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function ug(t,e){if(!!t){if(typeof t=="string")return cu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return cu(t,e)}}function rg(){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=rg();return function(){var i=ve(t),u;if(e){var r=ve(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return tg(this,u)}}var lg=function(t,e){var n,i,u,r,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return r={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(r[Symbol.iterator]=function(){return this}),r;function l(o){return function(h){return s([o,h])}}function s(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)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 a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){a=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){a.label=o[1];break}if(o[0]===6&&a.label<u[1]){a.label=u[1],u=o;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(o);break}u[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(h){o=[6,h],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},du=function(t){Zm(n,t);var e=ag(n);function n(u){Qm(this,n);var r;return r=e.call(this,u),r.controlType="list",r.props=new En(Aa(r),u==null?void 0:u.props),r}var i=n.prototype;return i.validate=function(r,a){var l=this,s=this,o=function(){return Ke(ve(n.prototype),"validate",l)};return Xm(function(){return lg(this,function(h){switch(h.label){case 0:return[4,o().call(s,r)];case 1:return h.sent(),[4,Promise.all(s.props.headers.map(function(m){return m.validate(r,a)}))];case 2:return h.sent(),[2,!0]}})})()},i.toDataBindModel=function(){var r=Ke(ve(n.prototype),"toDataBindModel",this).call(this),a=r?[r]:[],l=this.id;return this.props.headers.reduce(function(s,o){var h=o.toDataBindModel(l);if(Array.isArray(h)){var m=h.filter(function(v){return!!v});return Ra(s).concat(Ra(m))}return h&&s.push(h),s},a)},i.toSchema=function(){var r=Ke(ve(n.prototype),"toSchema",this).call(this),a=this.props.headers.map(function(l){return l.toSchema()});return Ba(Sa({},r),{props:Ba(Sa({},this.props),{headers:a})})},n}(O);du.controlFieldType=g.LIST;function fu(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function og(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ta(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 cg(t,e,n){return e&&Ta(t.prototype,e),n&&Ta(t,n),t}function Cn(t){return Cn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cn(t)}function sg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&hu(t,e)}function dg(t,e){return e&&(fg(e)==="object"||typeof e=="function")?e:fu(t)}function hu(t,e){return hu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},hu(t,e)}var fg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function hg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function yg(t){var e=hg();return function(){var i=Cn(t),u;if(e){var r=Cn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return dg(this,u)}}var Pa=function(t){sg(n,t);var e=yg(n);function n(i){og(this,n);var u;return u=e.call(this,i),u.controlType="list",u.props=new En(fu(u),i==null?void 0:i.props),we(fu(u),"children",i==null?void 0:i.children),u}return cg(n,[{key:"length",get:function(){return this.children.length}}]),n}(W);function Da(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function yu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function In(t){return In=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},In(t)}function mu(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&gu(t,e)}function mg(t,e){return e&&(gg(e)==="object"||typeof e=="function")?e:Da(t)}function gu(t,e){return gu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},gu(t,e)}var gg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function vg(){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 vu(t){var e=vg();return function(){var i=In(t),u;if(e){var r=In(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return mg(this,u)}}var wn=function(t){mu(n,t);var e=vu(n);function n(i){yu(this,n);var u;return u=e.call(this,i),u.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},u.width={type:"number",required:!1,message:d.getMessage("pleaseEnterColumnWidth")},u.width.required=i.widthType==="px",u}return n}(j),H=function(t){mu(n,t);var e=vu(n);function n(i){yu(this,n);var u;u=e.call(this,i);var r;u.width=(r=i==null?void 0:i.width)!==null&&r!==void 0?r:150,u.widthType=(i==null?void 0:i.widthType)||"auto";var a;u.caption=(a=i==null?void 0:i.caption)!==null&&a!==void 0?a:"";var l;u.fixed=(l=i==null?void 0:i.fixed)!==null&&l!==void 0?l:"none",u.dataBind=new ue(i==null?void 0:i.dataBind);var s;return u.sort=(s=i==null?void 0:i.sort)!==null&&s!==void 0?s:!0,u.align=i==null?void 0:i.align,u.colSpan=i==null?void 0:i.colSpan,u}return n}(q);H.Rules=wn;var xa=function(t){mu(n,t);var e=vu(n);function n(i){yu(this,n);var u;return u=e.call(this,i),u.optionConfig={type:"enum",enum:["custom","datasource","none"],message:d.getMessage("PleaseSelectTheCorrectOptionSettings")},u.options=[{type:"array",message:d.getMessage("isNotArray")}],u.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],Yi.call(Da(u),i),u}return n}(wn);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 An(t){return An=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},An(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&&bu(t,e)}function Ig(t,e){return e&&(wg(e)==="object"||typeof e=="function")?e:bg(t)}function bu(t,e){return bu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},bu(t,e)}var wg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Ag(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function _g(t){var e=Ag();return function(){var i=An(t),u;if(e){var r=An(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Ig(this,u)}}var K=function(t){Cg(n,t);var e=_g(n);function n(i){Eg(this,n);var u;return u=e.call(this,i),u.controlType="column",u.props=new H(i==null?void 0:i.props),u}return n}(O);function Sg(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 _n(t){return _n=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_n(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&&Eu(t,e)}function Tg(t,e){return e&&(Pg(e)==="object"||typeof e=="function")?e:Sg(t)}function Eu(t,e){return Eu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Eu(t,e)}var Pg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Dg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function xg(t){var e=Dg();return function(){var i=_n(t),u;if(e){var r=_n(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Tg(this,u)}}var z=function(t){Rg(n,t);var e=xg(n);function n(i){Bg(this,n);var u;return u=e.call(this,i),u.controlType="column",u.props=new H(i==null?void 0:i.props),u}return n}(W);function Fg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Og(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Sn(t){return Sn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Sn(t)}function kg(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&&Cu(t,e)}function Ng(t,e){return e&&(Mg(e)==="object"||typeof e=="function")?e:Fg(t)}function Cu(t,e){return Cu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Cu(t,e)}var Mg=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 Lg(t){var e=$g();return function(){var i=Sn(t),u;if(e){var r=Sn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Ng(this,u)}}var Iu=function(t){kg(n,t);var e=Lg(n);function n(i){Og(this,n);var u;return u=e.call(this,i),u.dataBind=new ue(i==null?void 0:i.dataBind),u}return n}(M);function Vg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Hg(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 jg(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 qg(t,e){return e&&(Ug(e)==="object"||typeof e=="function")?e:Vg(t)}function wu(t,e){return wu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},wu(t,e)}var Ug=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Wg(){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 Kg(t){var e=Wg();return function(){var i=Bn(t),u;if(e){var r=Bn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return qg(this,u)}}var zg=function(t){jg(n,t);var e=Kg(n);function n(i){Hg(this,n);var u;return u=e.call(this,i),u.controlType="search",u.props=new Iu(i==null?void 0:i.props),u}return n}(V);function Gg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Xg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Rn(t){return Rn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Rn(t)}function Qg(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 Jg(t,e){return e&&(Zg(e)==="object"||typeof e=="function")?e:Gg(t)}function Au(t,e){return Au=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Au(t,e)}var Zg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Yg(){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 pg(t){var e=Yg();return function(){var i=Rn(t),u;if(e){var r=Rn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Jg(this,u)}}var ev=function(t){Qg(n,t);var e=pg(n);function n(i){Xg(this,n);var u;return u=e.call(this,i),u.controlType="search",u.props=new Iu(i==null?void 0:i.props),u}return n}(U);class _u extends q{constructor(e){var n,i,u,r,a;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=(r=e==null?void 0:e.showState)!=null?r:"text",this.content=(a=e==null?void 0:e.content)!=null?a:"\u8BF4\u660E\u6587\u5B57"}}class Fa extends O{constructor(e){super(e),this.props=new _u(e==null?void 0:e.props)}static get controlName(){return"\u8BF4\u660E\u6587\u5B57"}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}Fa.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 tv extends W{constructor(e){super(e),this.props=new _u(e==null?void 0:e.props)}static get controlType(){return"text"}}var Oa={Designer:Fa,Runtime:tv,Property:_u};class Su extends q{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 Bu extends O{constructor(e){super(e),this.props=new Su(e==null?void 0:e.props)}static get controlName(){return"\u94FE\u63A5"}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}Bu.controlEventKeys=["on_click"],Bu.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 nv extends W{constructor(e){super(e),this.props=new Su(e==null?void 0:e.props)}static get controlType(){return"link"}}var ka={Designer:Bu,Runtime:nv,Property:Su};class J extends q{constructor(e){var n,i,u,r,a,l,s,o;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6309\u94AE",this.buttonType=(i=e==null?void 0:e.buttonType)!=null?i:"primary",this.showType=(u=e==null?void 0:e.showType)!=null?u:"text",this.color=(r=e==null?void 0:e.color)!=null?r:"primary",this.icon=(a=e==null?void 0:e.icon)!=null?a:"iconfenlei2",this.defaultState=(l=e==null?void 0:e.defaultState)!=null?l:"default",this.command=(s=e==null?void 0:e.command)!=null?s:"custom",this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1}}class Z extends O{constructor(e){super(e),this.props=new J(e==null?void 0:e.props)}static get controlName(){return"\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}Z.controlEventKeys=["on_click"],Z.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 te extends W{constructor(e){super(e),this.props=new J(e==null?void 0:e.props)}static get controlType(){return"button"}}var Na={Designer:Z,Runtime:te,Property:J},Ae=(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))(Ae||{}),Ma=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(Ma||{}),$a=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))($a||{});class Tn{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:ae(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var Ru=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(Ru||{});class Pn{constructor(e){var n,i;this.id=(n=e==null?void 0:e.id)!=null?n:ae(),this.text=(i=e==null?void 0:e.text)!=null?i:""}}var Tu=(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))(Tu||{});class Pu{constructor(e){var n,i,u,r,a,l,s,o;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new ot((i=e==null?void 0:e.person)!=null?i:{type:"form"}),this.signatureType=(u=e==null?void 0:e.signatureType)!=null?u:[],this.telephone=(a=e==null?void 0:e.telephone)!=null?a:new ot((r=e==null?void 0:e.telephone)!=null?r:{type:"form"}),this.company=(s=e==null?void 0:e.company)!=null?s:new ot((l=e==null?void 0:e.company)!=null?l:{type:"form"}),this.remark=(o=e==null?void 0:e.remark)!=null?o:""}}class La{constructor(e){var n,i,u,r,a,l;this.fileControl=(n=e==null?void 0:e.fileControl)!=null?n:"",this.undersignedList=(u=(i=e==null?void 0:e.undersignedList)==null?void 0:i.map(s=>new Pu(s)))!=null?u:[new Pu],this.statusControl=(r=e==null?void 0:e.statusControl)!=null?r:"",this.completeControl=(a=e==null?void 0:e.completeControl)!=null?a:"",this.completeTimeControl=(l=e==null?void 0:e.completeTimeControl)!=null?l:""}}class Du{constructor(e){var n,i,u,r,a,l,s;this.id=(n=e==null?void 0:e.id)!=null?n:ae(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=(r=e==null?void 0:e.svcCode)!=null?r:"",this.name=(a=e==null?void 0:e.name)!=null?a:"",this.fieldList=(l=e==null?void 0:e.fieldList)!=null?l:[],this.active=(s=e==null?void 0:e.active)!=null?s:!1}}class xu{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 Va{constructor(e){var n,i,u,r;this.types=(n=e==null?void 0:e.types)!=null?n:["word","ppt","excel"],this.history=(i=e==null?void 0:e.history)!=null?i:!1,this.collaborativeRecord=(u=e==null?void 0:e.collaborativeRecord)!=null?u:!1,this.logicToDelete=(r=e==null?void 0:e.logicToDelete)!=null?r:!0,this.watermark=new xu(e==null?void 0:e.watermark),this.autoRename=new xu(e==null?void 0:e.autoRename)}}const Ha=480;function ht(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class ja{constructor(e){var n,i,u,r,a;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=(r=e.isDefault)!=null?r:!1,this.rules=(a=e.rules)!=null?a:[]}}class qa{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 Ua=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(Ua||{}),Fu=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(Fu||{}),Ou=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(Ou||{}),ze=(t=>(t.ALL="all",t.ASSIGN="assign",t))(ze||{}),ku=(t=>(t.ALL="all",t.ADMIN="admin",t))(ku||{});class Nu extends q{constructor(e){var n,i;super(e),this.color=(n=e==null?void 0:e.color)!=null?n:"#000",this.lineStyle=(i=e==null?void 0:e.lineStyle)!=null?i:Tu.SOLID}}class Wa extends O{constructor(e){super(e),this.props=new Nu(e==null?void 0:e.props)}static get controlName(){return"\u5206\u5272\u7EBF"}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}Wa.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]}];class iv extends W{constructor(e){super(e),this.props=new Nu(e==null?void 0:e.props)}static get controlType(){return"divider"}}var Ka={Designer:Wa,Runtime:iv,Property:Nu};class uv extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.dataBind={type:"any"},e.config.includes(Ae.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:d.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:d.getMessage("bizKeyNotBindFiled")}},message:d.getMessage("bizKeyNotBindFiled")})}}class Dn extends q{constructor(e){var n,i,u,r;super(e),this.dataBind=new ue(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[Ae.ShowSubmitUser,Ae.ShowSubmitDept,Ae.ShowSubmitTime,Ae.ShowCurrentApprovar],this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:Ge==null?void 0:Ge.controlName)!=null?u:"",this.position=(r=e==null?void 0:e.position)!=null?r:"top"}}Dn.Rules=uv;class Ge extends O{constructor(e){super(e),this.props=new Dn(e==null?void 0:e.props)}static get controlName(){return"\u6807\u9898\u7EC4\u4EF6"}static get controlIcon(){return"title"}static get controlType(){return"title"}}Ge.controlFieldType=g.AUTO_NUMBER,Ge.setting=[{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class rv extends W{constructor(e){super(e),this.props=new Dn(e==null?void 0:e.props)}static get controlType(){return"title"}}var za={Designer:Ge,Runtime:rv,Property:Dn};class av extends j{constructor(e){super(e),this.formKey={type:"string",required:!0,message:d.getMessage("pleaseEnterForm")}}}class xn extends J{constructor(e){var n,i,u,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:yt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:yt.controlName,this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(r=e==null?void 0:e.openType)!=null?r:"modal"}}xn.Rules=av;class yt extends Z{constructor(e){super(e),this.props=new xn(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"}}yt.controlEventKeys=["on_click","on_click_finish"],yt.setting=[{key:"button-content",visible:!0},{key:"select-form",visible:!0},{key:"open-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class lv extends te{constructor(e){super(e),this.props=new xn(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var Ga={Designer:yt,Runtime:lv,Property:xn};class ov extends j{constructor(e){super(e),this.processKey=[{type:"string",message:d.getMessage("isNotString")},{type:"string",required:!0,message:d.getMessage("pleaseEnterProcess")}]}}class Fn extends J{constructor(e){var n,i,u,r,a,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:mt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:mt.controlName,this.initiatorMode=(u=e==null?void 0:e.initiatorMode)!=null?u:"currentInitiator",this.processKey=(r=e==null?void 0:e.processKey)!=null?r:"",this.fieldCode=(a=e==null?void 0:e.fieldCode)!=null?a:"",this.employeeId=(l=e==null?void 0:e.employeeId)!=null?l:""}}Fn.Rules=ov;class mt extends Z{constructor(e){super(e),this.props=new Fn(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"}}mt.controlEventKeys=["on_click","on_click_finish"],mt.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 cv extends te{constructor(e){super(e),this.props=new Fn(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var Xa={Designer:mt,Runtime:cv,Property:Fn};class Mu extends J{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:gt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:gt.controlIcon}}class gt extends Z{constructor(e){super(e),this.props=new Mu(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"}}gt.controlEventKeys=["on_click"],gt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class sv extends te{constructor(e){super(e),this.props=new Mu(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var Qa={Designer:gt,Runtime:sv,Property:Mu};class $u extends J{constructor(e){var n,i,u,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:vt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:vt.controlName,this.templateList=(r=(u=e==null?void 0:e.templateList)==null?void 0:u.map(a=>new Du(a)))!=null?r:[new Du({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class vt extends Z{constructor(e){super(e),this.props=new $u(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"}}vt.controlEventKeys=["on_click","on_click_finish"],vt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"export-list-template",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class dv extends te{constructor(e){super(e),this.props=new $u(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var Ja={Designer:vt,Runtime:dv,Property:$u};class Lu extends J{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:bt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:bt.controlIcon}}class bt extends Z{constructor(e){super(e),this.props=new Lu(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"}}bt.controlEventKeys=["on_click"],bt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class fv extends te{constructor(e){super(e),this.props=new Lu(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var Za={Designer:bt,Runtime:fv,Property:Lu};class hv{constructor(e){this.dataCode=e.dataCode}}class Vu extends J{constructor(e){var n,i,u,r;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Et.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Et.controlIcon,this.canImportList=(r=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(a=>new hv(a)))!=null?r:[]}}class Et extends Z{constructor(e){super(e),this.props=new Vu(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"}}Et.controlEventKeys=["on_click","on_click_finish"],Et.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"can-import-subtable",visible:!0},{key:"super-setting",visible:!0}];class yv extends te{constructor(e){super(e),this.props=new Vu(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var Ya={Designer:Et,Runtime:yv,Property:Vu};function On(){return{dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:d.getMessage("pleaseSelectControl")}}}}}}class mv extends j{constructor(e){super(e),this.fillPayload={type:"object",fields:Ce({},On())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterList")}}},this.fillBack={type:"object",fields:Ce({mode:{type:"string",required:!0,message:d.getMessage("pleaseSelectFillBackMode")}},On())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:d.getMessage("pleaseSelectControl")})}}class kn extends J{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Ct.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Ct.controlIcon,this.command=(u=e==null?void 0:e.command)!=null?u:"create",this.fillPayload=new Li(e==null?void 0:e.fillPayload),this.formBind=new _h(e==null?void 0:e.formBind),this.fillBack=new Gr(e==null?void 0:e.fillBack)}}kn.Rules=mv;class Ct extends Z{constructor(e){super(e),this.props=new kn(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"}}Ct.controlEventKeys=["on_click","on_click_finish"],Ct.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class gv extends te{constructor(e){super(e),this.props=new kn(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var pa={Designer:Ct,Runtime:gv,Property:kn};class vv extends j{constructor(e){super(e),this.fillPayload={type:"object",fields:Ce({},On())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:d.getMessage("pleaseSelectAtLeastOneColumn")}}},this.fillBack={type:"object",fields:Ce({mode:{type:"string",required:!0,message:d.getMessage("pleaseSelectFillBackMode")}},On())}}}class Nn extends J{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:It.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:It.controlIcon,this.fillPayload=new Li(e==null?void 0:e.fillPayload),this.listPageBind=new Wr(e==null?void 0:e.listPageBind),this.fillBack=new Gr(e==null?void 0:e.fillBack)}}Nn.Rules=vv;class It extends Z{constructor(e){super(e),this.props=new Nn(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"}}It.controlEventKeys=["on_click","on_click_finish"],It.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 bv extends te{constructor(e){super(e),this.props=new Nn(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var el={Designer:It,Runtime:bv,Property:Nn};class Ev extends j{constructor(e){super(e)}}class Cv extends Ie{constructor(e){super(e)}}class wt extends q{constructor(e){super(e)}}wt.Rules=Ev,wt.RuntimeRules=Cv;class tl extends O{constructor(e){super(e),this.props=new wt(e==null?void 0:e.props)}static get controlName(){return"\u5206\u9875"}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}tl.setting=[];class Iv extends W{constructor(e){super(e),this.props=new wt(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var nl={Designer:tl,Runtime:Iv,Property:wt};class wv extends j{constructor(e){super(e),this.dashboardKey={type:"string",required:!0,message:d.getMessage("pleaseSelectDashboard")},this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Mn extends q{constructor(e){var n,i,u,r,a,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=(r=e==null?void 0:e.isShowCaptionTip)!=null?r:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top"}}Mn.Rules=wv;class il extends O{constructor(e){super(e),this.props=new Mn(e==null?void 0:e.props)}static get controlName(){return"\u4EEA\u8868\u76D8"}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}il.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 Av extends W{constructor(e){super(e),this.props=new Mn(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var ul={Designer:il,Runtime:Av,Property:Mn};class _v extends j{constructor(e){super(e),this.showType={type:"enum",enum:["select","tabs"]},this.viewList={type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:d.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:d.getMessage("pleaseSelectAtLeastOneColumn")}}}}}}class $n extends q{constructor(e){var n,i,u;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"select",this.viewList=(u=(i=e==null?void 0:e.viewList)==null?void 0:i.map(r=>new jh(r)))!=null?u:[]}}$n.Rules=_v;class rl extends O{constructor(e){super(e),this.props=new $n(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"}}rl.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class Sv extends W{constructor(e){super(e),this.props=new $n(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var al={Designer:rl,Runtime:Sv,Property:$n};class Bv extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:d.getMessage("pleaseSelectOcrType")},this.fillList={type:"array",validator(n,i,u){if(i.every(a=>!a.controlId)){u(d.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Ln extends J{constructor(e){var n,i,u,r,a,l,s,o,h,m;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Xe.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=(r=e==null?void 0:e.captionTip)!=null?r:"",this.labelPosition=(a=e==null?void 0:e.labelPosition)!=null?a:"top",this.content=(l=e==null?void 0:e.content)!=null?l:Xe.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:Xe.controlIcon,this.ocrType=(o=e==null?void 0:e.ocrType)!=null?o:"",this.fillList=(m=(h=e==null?void 0:e.fillList)==null?void 0:h.map(v=>new p(v)))!=null?m:[]}}Ln.Rules=Bv;class Xe extends Z{constructor(e){super(e),this.props=new Ln(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"}}Xe.controlEventKeys=["on_click","on_click_finish"],Xe.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 Rv extends te{constructor(e){super(e),this.props=new Ln(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var ll={Designer:Xe,Runtime:Rv,Property:Ln};class Tv extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.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(a=>!a.controlId)){u(d.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Vn extends J{constructor(e){var n,i,u,r,a,l,s,o,h,m;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Qe.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=(r=e==null?void 0:e.captionTip)!=null?r:"",this.labelPosition=(a=e==null?void 0:e.labelPosition)!=null?a:"top",this.content=(l=e==null?void 0:e.content)!=null?l:Qe.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:Qe.controlIcon,this.invoiceCheck=(o=e==null?void 0:e.invoiceCheck)!=null?o:!0,this.fillList=(m=(h=e==null?void 0:e.fillList)==null?void 0:h.map(v=>new p(v)))!=null?m:[]}}Vn.Rules=Tv;class Qe extends Z{constructor(e){super(e),this.props=new Vn(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"}}Qe.controlEventKeys=["on_click","on_click_finish"],Qe.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 Pv extends te{constructor(e){super(e),this.props=new Vn(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var ol={Designer:Qe,Runtime:Pv,Property:Vn};class Dv extends j{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:d.getMessage("pleaseUploadAtLeastOnePrintTemplate")}}}class Hn extends J{constructor(e){var n,i,u,r,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:At.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:At.controlName,this.printTemplates=(r=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(l=>new ja(l)))!=null?r:[],this.autoSelectTemplate=(a=e==null?void 0:e.autoSelectTemplate)!=null?a:!1}}Hn.Rules=Dv;class At extends Z{constructor(e){super(e),this.props=new Hn(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"}}At.controlEventKeys=["on_click","on_click_finish"],At.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 xv extends te{constructor(e){super(e),this.props=new Hn(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var cl={Designer:At,Runtime:xv,Property:Hn};class Hu extends J{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:_t.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:_t.controlIcon}}class _t extends Z{constructor(e){super(e),this.props=new Hu(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"}}_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 Fv extends te{constructor(e){super(e),this.props=new Hu(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var sl={Designer:_t,Runtime:Fv,Property:Hu};class ju extends q{constructor(e){var n,i,u,r,a,l,s,o,h;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:St.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:St.controlIcon,this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(r=e==null?void 0:e.showType)!=null?r:"iconText",this.color=(a=e==null?void 0:e.color)!=null?a:"danger",this.isHide=(l=e==null?void 0:e.isHide)!=null?l:!1,this.defaultState=(s=e==null?void 0:e.defaultState)!=null?s:"default",this.command=(o=e==null?void 0:e.command)!=null?o:"custom",this.isLoading=(h=e==null?void 0:e.isLoading)!=null?h:!1}}class St extends O{constructor(e){super(e),this.props=new ju(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"}}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:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class Ov extends W{constructor(e){super(e),this.props=new ju(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var dl={Designer:St,Runtime:Ov,Property:ju},kv=Object.freeze({__proto__:null,Text:Oa,Link:ka,Button:Na,Divider:Ka,Title:za,CreateFormListButton:Ga,BatchSubmissionListButton:Xa,SubmissionRecordListButton:Qa,ExportListButton:Ja,ExportRecordListButton:Za,ImportRecordListButton:Ya,FormSelectButton:pa,ListSelectButton:el,Pagination:nl,Dashboard:ul,ListViewSelect:al,TextOcrButton:ll,InvoiceCheckButton:ol,BatchPrintListButton:cl,BatchPrintRecordListButton:sl,BatchDeleteButton:dl});class Nv extends Q{constructor(e){super(e),this.maxLength={type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:200,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue=[{type:"string",max:200,min:0,message:d.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=d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength}),this.defaultValue[1].pattern=ht(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class Mv extends k{constructor(e){super(e),this.push({type:"string",message:d.getMessage("isNotString")},{max:e.maxLength,min:e.minLength,message:d.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 Je extends R{constructor(e){var n,i,u,r,a,l,s;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:200,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.regularRules=new Xr(e==null?void 0:e.regularRules),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(r=e==null?void 0:e.caption)!=null?r:Ze.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u8F93\u5165",this.encrypted=(l=e==null?void 0:e.encrypted)!=null?l:!1,this.encryptedMode=(s=e==null?void 0:e.encryptedMode)!=null?s:""}}Je.Rules=Nv,Je.RuntimeRules=Mv;class Ze extends T{constructor(e){super(e),this.props=new Je(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"}}Ze.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Ze.controlFieldType=g.VARCHAR,Ze.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 fl extends P{constructor(e){super(e),this.props=new Je(e==null?void 0:e.props)}static get controlType(){return"input"}}fl.controlFieldType=g.VARCHAR;var hl={Designer:Ze,Runtime:fl,Property:Je};class $v extends Ue{constructor(e){super(e),this.limitMax={type:"number",min:void 0,message:d.getMessage("PleaseReselectTheOptionalQuantity")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const i=u=>u==="unlimited"?void 0:u;this.limitMax.min=i(e.limitMin)}}class Lv extends k{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 Bt extends R{constructor(e){var n,i,u,r,a,l,s,o,h,m,v,I;super(e),this.options=fe((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=(r=e==null?void 0:e.optionsOrder)!=null?r:!1,this.otherOption=(a=e==null?void 0:e.otherOption)!=null?a:!1,this.limitMin=(l=e==null?void 0:e.limitMin)!=null?l:"unlimited",this.limitMax=(s=e==null?void 0:e.limitMax)!=null?s:"unlimited",this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.interreaction=(o=e==null?void 0:e.interreaction)!=null?o:[],this.caption=(h=e==null?void 0:e.caption)!=null?h:Rt.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:[],this.optionsFormat=(v=e==null?void 0:e.optionsFormat)!=null?v:"horizontal",this.defaultShowOptions=(I=e==null?void 0:e.defaultShowOptions)!=null?I:!0,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(w=>{var b;(b=this.multistageFilling)==null||b.push(new p(w))}))}}Bt.Rules=$v,Bt.RuntimeRules=Lv;class Rt extends T{constructor(e){super(e),this.props=new Bt(e==null?void 0:e.props)}static get controlName(){return"\u591A\u9009"}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}Rt.controlEventKeys=["on_change","on_click"],Rt.controlFieldType=g.ARRAY,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:"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 yl extends P{constructor(e){super(e),this.props=new Bt(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}yl.controlFieldType=g.ARRAY;var ml={Designer:Rt,Runtime:yl,Property:Bt};class Vv extends Ue{constructor(e){super(e)}}class jn extends R{constructor(e){var n,i,u,r,a,l,s,o,h,m;super(e),this.options=fe((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=(r=e==null?void 0:e.otherOption)!=null?r:!1,this.optionsOrder=(a=e==null?void 0:e.optionsOrder)!=null?a:!1,this.defaultShowOptions=(l=e==null?void 0:e.defaultShowOptions)!=null?l:!0,this.optionsFormat=(s=e==null?void 0:e.optionsFormat)!=null?s:"horizontal",this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.interreaction=(o=e==null?void 0:e.interreaction)!=null?o:[],this.caption=(h=e==null?void 0:e.caption)!=null?h:Tt.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:"",this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var I;(I=this.multistageFilling)==null||I.push(new p(v))}))}}jn.Rules=Vv;class Tt extends T{constructor(e){super(e),this.props=new jn(e==null?void 0:e.props)}static get controlName(){return"\u5355\u9009"}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}Tt.controlEventKeys=["on_change","on_click"],Tt.controlFieldType=g.VARCHAR,Tt.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 gl extends P{constructor(e){super(e),this.props=new jn(e==null?void 0:e.props)}static get controlType(){return"radio"}}gl.controlFieldType=g.VARCHAR;var vl={Designer:Tt,Runtime:gl,Property:jn};class Hv extends Q{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:200,message:d.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=d.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:d.getMessage("numberRangeSetError")}),this.defaultValue[1].pattern=ht(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class jv extends k{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:d.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 Pt extends R{constructor(e){var n,i,u,r,a,l,s,o,h,m,v,I,w;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.numberType=(u=e==null?void 0:e.numberType)!=null?u:"number",this.percentageFormat=(r=e==null?void 0:e.percentageFormat)!=null?r:!1,this.micrometer=(a=e==null?void 0:e.micrometer)!=null?a:!1,this.precision=(l=e==null?void 0:e.precision)!=null?l:0,this.showUpperCase=(s=e==null?void 0:e.showUpperCase)!=null?s:!1,this.isShowUnit=(o=e==null?void 0:e.isShowUnit)!=null?o:!1,this.unitPosition=(h=e==null?void 0:e.unitPosition)!=null?h:"right",this.unit=(m=e==null?void 0:e.unit)!=null?m:"",this.caption=(v=e==null?void 0:e.caption)!=null?v:Dt.controlName,this.placeholder=(I=e==null?void 0:e.placeholder)!=null?I:"\u8BF7\u8F93\u5165",this.defaultValue=(w=e==null?void 0:e.defaultValue)!=null?w:"",this.regularRules=new Xr(e==null?void 0:e.regularRules)}}Pt.Rules=Hv,Pt.RuntimeRules=jv;class Dt extends T{constructor(e){super(e),this.props=new Pt(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}}Dt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Dt.controlFieldType=g.DECIMAL,Dt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"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 bl extends P{constructor(e){super(e),this.props=new Pt(e==null?void 0:e.props)}static get controlType(){return"number"}}bl.controlFieldType=g.DECIMAL;var El={Designer:Dt,Runtime:bl,Property:Pt};class qu extends R{constructor(e){var n,i,u,r,a,l,s,o,h;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:he.DATE,this.setValueType=(i=e==null?void 0:e.setValueType)!=null?i:"custom",this.caption=(u=e==null?void 0:e.caption)!=null?u:qn.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165\u65E5\u671F",this.defaultValue=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.limitDateList=(s=(l=e==null?void 0:e.limitDateList)==null?void 0:l.map(m=>new Tn(m)))!=null?s:[],this.allowDateRange=(o=e==null?void 0:e.allowDateRange)!=null?o:["",""],this.filterWeekend=(h=e==null?void 0:e.filterWeekend)!=null?h:!1}}class qn extends T{constructor(e){super(e),this.props=new qu(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}}qn.controlFieldType=g.TIMESTAMP,qn.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 Cl extends P{constructor(e){super(e),this.props=new qu(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}Cl.controlFieldType=g.TIMESTAMP;var Il={Designer:qn,Runtime:Cl,Property:qu};class qv extends k{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 Un extends R{constructor(e){var n,i,u,r,a,l,s,o,h;super(e),this.dataBind=new Mh(e==null?void 0:e.dataBind),this.defaultValue=new $h(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:he.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=(r=e==null?void 0:e.rangeMax)!=null?r:"",this.placeholderStart=(a=e==null?void 0:e.placeholderStart)!=null?a:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(l=e==null?void 0:e.placeholderEnd)!=null?l:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",this.caption=(s=e==null?void 0:e.caption)!=null?s:Wn.controlName,this.limitDateList=(h=(o=e==null?void 0:e.limitDateList)==null?void 0:o.map(m=>new Tn(m)))!=null?h:[]}}Un.RuntimeRules=qv;class Wn extends T{constructor(e){super(e),this.props=new Un(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}}Wn.controlFieldType=g.TIMESCOPE,Wn.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 wl extends P{constructor(e){super(e),this.props=new Un(e==null?void 0:e.props)}static get controlType(){return"date-range"}}wl.controlFieldType=g.TIMESCOPE;var Al={Designer:Wn,Runtime:wl,Property:Un};class Uv extends Q{constructor(e){super(e),this.maxLength={type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:d.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=d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class Wv extends k{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class xt extends R{constructor(e){var n,i,u,r,a,l;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(r=e==null?void 0:e.caption)!=null?r:Ft.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u8F93\u5165",this.lineEllipsis=(l=e==null?void 0:e.lineEllipsis)!=null?l:4}}xt.Rules=Uv,xt.RuntimeRules=Wv;class Ft extends T{constructor(e){super(e),this.props=new xt(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"}}Ft.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Ft.controlFieldType=g.TEXT,Ft.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 _l extends P{constructor(e){super(e),this.props=new xt(e==null?void 0:e.props)}static get controlType(){return"textarea"}}_l.controlFieldType=g.TEXT;var Sl={Designer:Ft,Runtime:_l,Property:xt};class Kv extends Q{constructor(e){super(e),this.maxLength={type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:d.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=d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class zv extends k{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class Ot extends R{constructor(e){var n,i,u,r,a;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=(r=e==null?void 0:e.caption)!=null?r:kt.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u8F93\u5165"}}Ot.Rules=Kv,Ot.RuntimeRules=zv;class kt extends T{constructor(e){super(e),this.props=new Ot(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"}}kt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],kt.controlFieldType=g.TEXT,kt.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 Bl extends P{constructor(e){super(e),this.props=new Ot(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}Bl.controlFieldType=g.TEXT;var Rl={Designer:kt,Runtime:Bl,Property:Ot};class Gv extends Ue{constructor(e){super(e)}}class Kn extends R{constructor(e){var n,i,u,r,a,l,s;super(e),this.options=fe((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 X(e==null?void 0:e.datasourceBind),this.caption=(r=e==null?void 0:e.caption)!=null?r:zn.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u9009\u62E9",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:"",this.allowCopyOptions=(s=e==null?void 0:e.allowCopyOptions)!=null?s:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(o=>{var h;(h=this.multistageFilling)==null||h.push(new p(o))}))}}Kn.Rules=Gv;class zn extends T{constructor(e){super(e),this.props=new Kn(e==null?void 0:e.props)}static get controlName(){return"\u4E0B\u62C9\u5355\u9009"}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}zn.controlFieldType=g.VARCHAR,zn.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 Tl extends P{constructor(e){super(e),this.props=new Kn(e==null?void 0:e.props)}static get controlType(){return"select"}}Tl.controlFieldType=g.VARCHAR;var Pl={Designer:zn,Runtime:Tl,Property:Kn};class Xv extends Ue{constructor(e){super(e)}}class Qv extends k{constructor(e){super(e),this[0].type="array"}}class Nt extends R{constructor(e){var n,i,u,r,a,l;super(e),this.options=fe((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 X(e==null?void 0:e.datasourceBind),this.caption=(r=e==null?void 0:e.caption)!=null?r:Gn.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u9009\u62E9",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(s=>{var o;(o=this.multistageFilling)==null||o.push(new p(s))}))}}Nt.Rules=Xv,Nt.RuntimeRules=Qv;class Gn extends T{constructor(e){super(e),this.props=new Nt(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"}}Gn.controlFieldType=g.ARRAY,Gn.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 Dl extends P{constructor(e){super(e),this.props=new Nt(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}Dl.controlFieldType=g.ARRAY;var xl={Designer:Gn,Runtime:Dl,Property:Nt};class Jv extends k{constructor(e){super(e),this[0].type="array"}}class Xn extends R{constructor(e){var n,i,u,r,a,l,s,o;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=(r=e==null?void 0:e.multiple)!=null?r:!1,this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:Qn.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(h=>{var m;(m=this.multistageFilling)==null||m.push(new p(h))}))}}Xn.RuntimeRules=Jv;class Qn extends T{constructor(e){super(e),this.props=new Xn(e==null?void 0:e.props)}static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}Qn.controlFieldType=g.EMPLOYEES,Qn.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 Fl extends P{constructor(e){super(e),this.props=new Xn(e==null?void 0:e.props)}static get controlType(){return"employee"}}Fl.controlFieldType=g.EMPLOYEES;var Ol={Designer:Qn,Runtime:Fl,Property:Xn};const Zv=10485760,Yv=104857600,pv=1048576e3;class eb extends Q{constructor(e){super(e),this.maxSize={type:"number",min:0,max:pv,message:d.getMessage("attachmentMaxSize")}}}class tb extends k{constructor(e){super(e),this[0].type="array",this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:d.getMessage("attachmentLimitError",{max:e.maxLimit,min:e.minLimit})})}}class Ye extends R{constructor(e){var n,i,u,r,a,l,s,o;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:[],this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.attachmentAccept=(u=e==null?void 0:e.attachmentAccept)!=null?u:[],this.maxLimit=(r=e==null?void 0:e.maxLimit)!=null?r:10,this.minLimit=(a=e==null?void 0:e.minLimit)!=null?a:0,this.maxSize=(l=e==null?void 0:e.maxSize)!=null?l:Yv,this.caption=(s=e==null?void 0:e.caption)!=null?s:pe.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u4E0A\u4F20\u9644\u4EF6"}}Ye.Rules=eb,Ye.RuntimeRules=tb;class pe extends T{constructor(e){super(e),this.props=new Ye(e==null?void 0:e.props)}static get controlName(){return"\u9644\u4EF6"}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}pe.controlEventKeys=["on_change"],pe.controlFieldType=g.FILE,pe.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 Uu extends P{constructor(e){super(e),this.props=new Ye(e==null?void 0:e.props)}static get controlType(){return"attachment"}}Uu.controlFieldType=g.FILE;var kl={Designer:pe,Runtime:Uu,Property:Ye};const Nl=class extends pe{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:Nl.controlName,this.props.placeholder=(u=(i=t==null?void 0:t.props)==null?void 0:i.placeholder)!=null?u:"\u4E0A\u4F20\u56FE\u7247"}};let Wu=Nl;Wu.controlFieldType=g.IMAGE,Wu.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 nb extends Uu{static get controlType(){return"image"}constructor(e){var n,i,u,r,a,l;super(e),this.props.showType="image",this.props.maxLimit=(i=(n=e==null?void 0:e.props)==null?void 0:n.maxLimit)!=null?i:9,this.props.caption=(r=(u=e==null?void 0:e.props)==null?void 0:u.caption)!=null?r:"\u56FE\u7247",this.props.placeholder=(l=(a=e==null?void 0:e.props)==null?void 0:a.placeholder)!=null?l:"\u4E0A\u4F20\u56FE\u7247"}}class ib extends Ye{constructor(e){super(e)}}var Ml={Designer:Wu,Runtime:nb,Property:ib};class ub extends Ue{constructor(e){super(e),this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:d.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=d.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:d.getMessage("numberRangeSetError")})}}class rb extends k{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:[Ai(Ce({},this[0]),{type:"number"}),{type:"number",min:i,max:n,message:d.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}],currency:{type:"string"}}})}}class Mt extends R{constructor(e){var n,i,u,r,a,l,s,o,h,m,v;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=(r=e==null?void 0:e.micrometer)!=null?r:!1,this.precision=(a=e==null?void 0:e.precision)!=null?a:2,this.dataBind=new kh(e==null?void 0:e.dataBind),this.datasourceBind=new X((l=e==null?void 0:e.datasourceBind)!=null?l:{displayBoList:[new Mi({value:"name"})]}),this.defaultValue=new Nh((s=e==null?void 0:e.defaultValue)!=null?s:{amount:"",currency:an.CNY}),this.options=fe(e==null?void 0:e.options),this.caption=(o=e==null?void 0:e.caption)!=null?o:$t.controlName,this.placeholder=(h=e==null?void 0:e.placeholder)!=null?h:"\u8BF7\u8F93\u5165",this.submitSelectCurrency=(m=e==null?void 0:e.submitSelectCurrency)!=null?m:!1,this.showUpperCase=(v=e==null?void 0:e.showUpperCase)!=null?v:!1}}Mt.Rules=ub,Mt.RuntimeRules=rb;class $t extends T{constructor(e){super(e),this.props=new Mt(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}}$t.controlEventKeys=["on_change","on_input","on_focus","on_blur"],$t.controlFieldType=g.MONEY,$t.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 $l extends P{constructor(e){super(e),this.props=new Mt(e==null?void 0:e.props)}static get controlType(){return"amount"}}$l.controlFieldType=g.MONEY;var Ll={Designer:$t,Runtime:$l,Property:Mt};class ab extends Q{constructor(e){super(e),this.totalScore=[{type:"number",required:!0,message:d.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:d.getMessage("theTotalScoreMustNotBeLessThan1")}],this.defaultValue={type:"number",min:0,max:5,message:d.getMessage("scoreDefaultValueRange")},this.defaultValue.max=e.totalScore,this.defaultValue.message=d.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:0})}}class lb extends k{constructor(e){super(e),this[0].type="number";const n=e.required?1:0;this.push({type:"number",min:n,max:e.totalScore,message:d.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:n})})}}class Lt extends R{constructor(e){var n,i,u,r,a,l,s;super(e),this.totalScore=(n=e==null?void 0:e.totalScore)!=null?n:5,this.scoreType=(i=e==null?void 0:e.scoreType)!=null?i:Ru.STAR,this.isShowExplain=(u=e==null?void 0:e.isShowExplain)!=null?u:!0,this.explain=(a=(r=e==null?void 0:e.explain)==null?void 0:r.map(o=>new Pn(o)))!=null?a:Array(this.totalScore).fill(void 0).map(()=>new Pn),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:0,this.caption=(s=e==null?void 0:e.caption)!=null?s:Vt.controlName}}Lt.Rules=ab,Lt.RuntimeRules=lb;class Vt extends T{constructor(e){super(e),this.props=new Lt(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 Pn);this.props.explain.push(...u)}}super.postUpdate(e,n)}}Vt.controlEventKeys=["on_change","on_click"],Vt.controlFieldType=g.DECIMAL,Vt.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 Vl extends P{constructor(e){super(e),this.props=new Lt(e==null?void 0:e.props)}static get controlType(){return"score"}}Vl.controlFieldType=g.DECIMAL;var Hl={Designer:Vt,Runtime:Vl,Property:Lt};class ob extends k{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:d.getMessage("pleaseSelectProvince")}}};e.addressType.includes("city")&&(n.fields.city={type:"string",required:e.required,message:d.getMessage("pleaseSelectCity")}),e.addressType.includes("district")&&(n.fields.district={type:"string",required:e.required,message:d.getMessage("pleaseSelectDistrict")}),this.push(n)}}}class Jn extends R{constructor(e){var n,i,u,r,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Zn.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 Lh((r=e==null?void 0:e.defaultValue)!=null?r:{}),this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u9009\u62E9\u5730\u5740"}}Jn.RuntimeRules=ob;class Zn extends T{constructor(e){super(e),this.props=new Jn(e==null?void 0:e.props)}static get controlName(){return"\u5730\u5740"}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}Zn.controlFieldType=g.ADDRESS,Zn.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 jl extends P{constructor(e){super(e),this.props=new Jn(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"}}jl.controlFieldType=g.ADDRESS;var ql={Designer:Zn,Runtime:jl,Property:Jn};class cb extends k{constructor(e){super(e),this[0].type="array"}}class Yn extends R{constructor(e){var n,i,u,r,a,l,s,o,h,m;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.rangeOptions=(a=e==null?void 0:e.rangeOptions)!=null?a:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(h=e==null?void 0:e.caption)!=null?h:pn.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var I;(I=this.multistageFilling)==null||I.push(new p(v))}))}}Yn.RuntimeRules=cb;class pn extends T{constructor(e){super(e),this.props=new Yn(e==null?void 0:e.props)}static get controlName(){return"\u90E8\u95E8"}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}}pn.controlFieldType=g.DEPARTMENTS,pn.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_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 Ul extends P{constructor(e){super(e),this.props=new Yn(e==null?void 0:e.props)}static get controlType(){return"department"}}Ul.controlFieldType=g.DEPARTMENTS;var Wl={Designer:pn,Runtime:Ul,Property:Yn};class Ku 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:Ht.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7"}}class Ht extends T{constructor(e){super(e),this.props=new Ku(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"}}Ht.controlEventKeys=["on_change"],Ht.controlFieldType=g.AUTO_NUMBER,Ht.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 Kl extends P{constructor(e){super(e),this.props=new Ku(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}Kl.controlFieldType=g.AUTO_NUMBER;var zl={Designer:Ht,Runtime:Kl,Property:Ku};class sb extends Q{constructor(e){super(e),this.dataBind.fields.result.required=!1,this.dataBind.fields.result.fields.fieldCode.required=!1,this.dataBind.fields.result.fields.dataCode.required=!1,this.dataBind.fields.unit.required=!1,this.dataBind.fields.unit.fields.fieldCode.required=!1,this.dataBind.fields.unit.fields.dataCode.required=!1}}class db extends k{constructor(e){super(e),this[0].type="object",this.push({type:"object",message:d.getMessage("isNotObject"),fields:{result:[{type:"number",message:d.getMessage("isNotNumber")}],unit:{type:"string",message:d.getMessage("isNotString")}}})}}class jt extends R{constructor(e){var n,i,u,r,a,l,s;super(e),this.precision=(n=e==null?void 0:e.precision)!=null?n:0,this.micrometer=(i=e==null?void 0:e.micrometer)!=null?i:!1,this.showUpperCase=(u=e==null?void 0:e.showUpperCase)!=null?u:!1,this.dataBind=new Vh(e==null?void 0:e.dataBind),this.defaultValue=new Hh(e==null?void 0:e.defaultValue),this.caption=(r=e==null?void 0:e.caption)!=null?r:qt.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u8F93\u5165",this.scriptEcho=(l=e==null?void 0:e.scriptEcho)!=null?l:[],this.scriptSrc=(s=e==null?void 0:e.scriptSrc)!=null?s:""}}jt.Rules=sb,jt.RuntimeRules=db;class qt extends T{constructor(e){super(e),this.props=new jt(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}}qt.controlEventKeys=["on_change"],qt.controlFieldType=g.CALC,qt.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 Gl extends P{constructor(e){super(e),this.props=new jt(e==null?void 0:e.props)}static get controlType(){return"calc"}}Gl.controlFieldType=g.CALC;var Xl={Designer:qt,Runtime:Gl,Property:jt};class fb extends k{constructor(e){super(e),this[0].type="array",this.push({validator(n,i){return e.required&&i.every(r=>!r)?Promise.reject(d.getMessage("runtimeRequired",{caption:e.caption})):Promise.resolve()}})}}class ei extends R{constructor(e){var n,i,u,r,a,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=(r=e==null?void 0:e.placeholderStart)!=null?r:"\u6700\u5C0F\u503C",this.placeholderEnd=(a=e==null?void 0:e.placeholderEnd)!=null?a:"\u6700\u5927\u503C",this.caption=(l=e==null?void 0:e.caption)!=null?l:ti.controlName}}ei.RuntimeRules=fb;class ti extends T{constructor(e){super(e),this.props=new ei(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"}}ti.controlFieldType=g.DECIMAL_RANGE,ti.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 Ql extends P{constructor(e){super(e),this.props=new ei(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}Ql.controlFieldType=g.DECIMAL_RANGE;var Jl={Designer:ti,Runtime:Ql,Property:ei};class hb extends k{constructor(e){super(e),this[0].type="array",this.push({type:"array",fields:{0:{type:"string",required:e.required,message:this[0].message},1:{type:"string",required:e.required,message:this[0].message}}})}}class ni extends R{constructor(e){var n,i,u,r,a,l,s,o,h,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:he.DATE,this.setValueType=(u=e==null?void 0:e.setValueType)!=null?u:"custom",this.rangeMin=(r=e==null?void 0:e.rangeMin)!=null?r:"",this.rangeMax=(a=e==null?void 0:e.rangeMax)!=null?a:"",this.placeholderStart=(l=e==null?void 0:e.placeholderStart)!=null?l:"\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(s=e==null?void 0:e.placeholderEnd)!=null?s:"\u7ED3\u675F\u65E5\u671F",this.caption=(o=e==null?void 0:e.caption)!=null?o:ii.controlName,this.limitDateList=(m=(h=e==null?void 0:e.limitDateList)==null?void 0:h.map(v=>new Tn(v)))!=null?m:[]}}ni.RuntimeRules=hb;class ii extends T{constructor(e){super(e),this.props=new ni(e==null?void 0:e.props)}static get controlName(){return"\u65E5\u671F\u533A\u95F4"}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"search-date-range"}}ii.controlFieldType=g.ARRAY,ii.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"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 Zl extends P{constructor(e){super(e),this.props=new ni(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}Zl.controlFieldType=g.ARRAY;var Yl={Designer:ii,Runtime:Zl,Property:ni};class yb extends Q{constructor(e){super(e),this.dataBind={type:"any"}}}class mb extends k{constructor(e){super(e),this[0].type="any"}}class Ut extends R{constructor(e){var n,i,u,r,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Wt.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=(r=e==null?void 0:e.permissions)!=null?r:[],this.isInlineEdit=(a=e==null?void 0:e.isInlineEdit)!=null?a:!1}}Ut.Rules=yb,Ut.RuntimeRules=mb;class Wt extends T{constructor(e){super(e),this.props=new Ut(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"}}Wt.controlFieldType=g.ANY,Wt.controlEventKeys=[],Wt.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 pl extends P{constructor(e){super(e),this.props=new Ut(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}pl.controlFieldType=g.ANY;var eo={Designer:Wt,Runtime:pl,Property:Ut};class gb extends Ue{constructor(e){super(e),this.listPageBind=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:d.getMessage("isNotString")},{type:"string",required:!0,message:d.getMessage("pleaseEnterList")}]}}]}}class ui extends R{constructor(e){var n,i,u,r,a,l;super(e),this.options=fe((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new Wr(e==null?void 0:e.listPageBind),this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.caption=(u=e==null?void 0:e.caption)!=null?u:ri.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9",this.defaultValue=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(s=>{var o;(o=this.multistageFilling)==null||o.push(new p(s))})),this.canViewForm=(l=e==null?void 0:e.canViewForm)!=null?l:!1}}ui.Rules=gb;class ri extends T{constructor(e){super(e),this.props=new ui(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"}}ri.controlFieldType=g.VARCHAR,ri.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.CAN_VIEW_FORM,c.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0},{key:"super-setting",visible:!0}];class to extends P{constructor(e){super(e),this.props=new ui(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}to.controlFieldType=g.VARCHAR;var no={Designer:ri,Runtime:to,Property:ui};class zu extends Je{constructor(e){super(e)}}class io extends Ze{constructor(e){super(e),this.props=new zu(e==null?void 0:e.props)}static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlType(){return"search-input"}}io.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 uo extends P{constructor(e){super(e),this.props=new zu(e==null?void 0:e.props)}static get controlType(){return"search-input"}}uo.controlFieldType=g.VARCHAR;var ro={Designer:io,Runtime:uo,Property:zu};class vb extends Q{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],pi.call(this,e,_e.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:d.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom"],required:!0},value:{type:"array",required:!0,min:1,message:d.getMessage("rootNodeIsRequired")}}}])}}class bb extends k{constructor(e){super(e),this[0].type="array"}}class Kt extends R{constructor(e){var n,i,u,r,a,l,s,o,h,m,v,I,w;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:_e.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=(r=e==null?void 0:e.canSearch)!=null?r:!0,this.levelType=(a=e==null?void 0:e.levelType)!=null?a:"all",this.optionalLevel=(l=e==null?void 0:e.optionalLevel)!=null?l:1,this.containsSubNode=(s=e==null?void 0:e.containsSubNode)!=null?s:!1,this.defaultCollapse=(o=e==null?void 0:e.defaultCollapse)!=null?o:"all",this.defaultCollapseLevel=(h=e==null?void 0:e.defaultCollapseLevel)!=null?h:1,this.datasourceBind=new Fh((m=e==null?void 0:e.datasourceBind)!=null?m:{attributes:_e.controlCustomAttributes}),this.multistageFilling=(I=(v=e==null?void 0:e.multistageFilling)==null?void 0:v.map(b=>new p(b)))!=null?I:[],this.defaultValue=(w=e==null?void 0:e.defaultValue)!=null?w:[]}}Kt.Rules=vb,Kt.RuntimeRules=bb;class _e extends T{constructor(e){super(e),this.props=new Kt(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}]}}_e.controlEventKeys=["on_change","on_click"],_e.controlFieldType=g.ARRAY,_e.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.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 ao extends P{constructor(e){super(e),this.props=new Kt(e==null?void 0:e.props)}static get controlType(){return"tree"}}ao.controlFieldType=g.ARRAY;var lo={Designer:_e,Runtime:ao,Property:Kt};class Eb extends Q{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],this.externalScope={type:"any"},pi.call(this,e,et.controlCustomAttributes),e.externalType===ze.ASSIGN&&(this.externalScope={type:"array",required:!0,message:d.getMessage("pleaseAssignExternal")})}}class Cb extends k{constructor(e){super(e),this[0].type="array"}}class zt extends R{constructor(e){var n,i,u,r,a,l,s,o,h,m,v,I,w;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(r=e==null?void 0:e.multiple)!=null?r:!1,this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:et.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 rn((h=e==null?void 0:e.datasourceBind)!=null?h:{attributes:et.controlCustomAttributes}),this.datasourceType=(m=e==null?void 0:e.datasourceType)!=null?m:Fu.INTERNAL,this.insideType=(v=e==null?void 0:e.insideType)!=null?v:ku.ADMIN,this.externalType=(I=e==null?void 0:e.externalType)!=null?I:ze.ALL,this.externalScope=(w=e==null?void 0:e.externalScope)!=null?w:[],this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(b=>{var A;(A=this.multistageFilling)==null||A.push(new p(b))}))}}zt.Rules=Eb,zt.RuntimeRules=Cb;class et extends T{constructor(e){super(e),this.props=new zt(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}]}}et.controlFieldType=g.EMPLOYEES,et.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 oo extends P{constructor(e){super(e),this.props=new zt(e==null?void 0:e.props)}static get controlType(){return"employee2"}}oo.controlFieldType=g.EMPLOYEES;var co={Designer:et,Runtime:oo,Property:zt};class Ib extends Q{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(r,a,l){if(i.type==="public"&&xi(a.value)&&a.value.length===0){l("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}l()}},company:{type:"object",required:!0,validator(r,a,l){if(i.type==="public"&&i.signatureType.includes("company")&&xi(a.value)&&a.value.length===0){l("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}l()}}}},n),{})}}}}}class ai extends R{constructor(e){var n,i,u,r,a,l;super(e),this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:Gt.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=(r=e==null?void 0:e.showType)!=null?r:"text",this.color=(a=e==null?void 0:e.color)!=null?a:"primary",this.icon=(l=e==null?void 0:e.icon)!=null?l:"iconfenlei2",this.signatureConfig=new La(e==null?void 0:e.signatureConfig)}}ai.Rules=Ib;class Gt extends T{constructor(e){super(e),this.props=new ai(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"}}Gt.controlEventKeys=["on_click","on_click_finish"],Gt.controlFieldType=g.VARCHAR,Gt.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 so extends P{constructor(e){super(e),this.props=new ai(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}so.controlFieldType=g.VARCHAR;var fo={Designer:Gt,Runtime:so,Property:ai};class wb extends Q{constructor(e){super(e),this.content={type:"string",required:!0,message:d.getMessage("pleaseEnterButtonContent")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(d.getMessage("pleaseEnterWatermark"));return}u()}},autoRename:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(d.getMessage("pleaseEnterFileName"));return}u()}}}},this.canAdd={type:"boolean",validator(n,i,u){if(e.canAdd&&!e.addLocal&&!e.addOnline){u(d.getMessage("pleaseChooseAtLeastOne"));return}u()}}}}class Ab extends k{constructor(e){super(e),this[0].type="array"}}class Xt extends R{constructor(e){var n,i,u,r,a,l,s,o,h,m,v,I;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Qt.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=(r=e==null?void 0:e.addLocal)!=null?r:!0,this.addOnline=(a=e==null?void 0:e.addOnline)!=null?a:!0,this.canEdit=(l=e==null?void 0:e.canEdit)!=null?l:!0,this.canDownload=(s=e==null?void 0:e.canDownload)!=null?s:!0,this.canExport=(o=e==null?void 0:e.canExport)!=null?o:!0,this.canDelete=(h=e==null?void 0:e.canDelete)!=null?h:!1,this.maxSize=(m=e==null?void 0:e.maxSize)!=null?m:Zv,this.defaultValue=(v=e==null?void 0:e.defaultValue)!=null?v:[],this.wpsSetting=new Va(e==null?void 0:e.wpsSetting),this.revisionsMode=(I=e==null?void 0:e.revisionsMode)!=null?I:!1}}Xt.Rules=wb,Xt.RuntimeRules=Ab;class Qt extends T{constructor(e){super(e),this.props=new Xt(e==null?void 0:e.props)}static get controlName(){return"\u5728\u7EBF\u6587\u6863"}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}Qt.controlEventKeys=["on_change","on_wps_open"],Qt.controlFieldType=g.FILE,Qt.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 ho extends P{constructor(e){super(e),this.props=new Xt(e==null?void 0:e.props)}static get controlType(){return"wps"}}ho.controlFieldType=g.FILE;var yo={Designer:Qt,Runtime:ho,Property:Xt};class _b extends Q{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],this.businessScope={type:"any"},pi.call(this,e,tt.controlCustomAttributes),e.businessType===ze.ASSIGN&&(this.businessScope={type:"array",required:!0,message:d.getMessage("pleaseAssignBusiness")})}}class Sb extends k{constructor(e){super(e),this[0].type="array"}}class Jt extends R{constructor(e){var n,i,u,r,a,l,s,o,h,m,v,I,w,b;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.rangeOptions=(a=e==null?void 0:e.rangeOptions)!=null?a:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(h=e==null?void 0:e.caption)!=null?h:tt.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.datasourceBind=new rn((v=e==null?void 0:e.datasourceBind)!=null?v:{attributes:tt.controlCustomAttributes}),this.datasourceType=(I=e==null?void 0:e.datasourceType)!=null?I:Ou.INTERNAL,this.businessScope=(w=e==null?void 0:e.businessScope)!=null?w:[],this.businessType=(b=e==null?void 0:e.businessType)!=null?b:ze.ALL,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(A=>{var y;(y=this.multistageFilling)==null||y.push(new p(A))}))}}Jt.Rules=_b,Jt.RuntimeRules=Sb;class tt extends T{constructor(e){super(e),this.props=new Jt(e==null?void 0:e.props)}static get controlName(){return"\u90E8\u95E8"}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}}tt.controlFieldType=g.DEPARTMENTS,tt.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_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 mo extends P{constructor(e){super(e),this.props=new Jt(e==null?void 0:e.props)}static get controlType(){return"department2"}}mo.controlFieldType=g.DEPARTMENTS;var go={Designer:tt,Runtime:mo,Property:Jt},Bb=Object.freeze({__proto__:null,Input:hl,Checkbox:ml,Radio:vl,Number:El,DatePicker:Il,DateRange:Al,Textarea:Sl,RichText:Rl,Select:Pl,SelectMultiple:xl,Employee:Ol,Image:Ml,Attachment:kl,Amount:Ll,Score:Hl,Address:ql,Department:Wl,AutoNumber:zl,Calc:Xl,SearchNumberRange:Jl,SearchDateRange:Yl,VueFormItem:eo,SelectRelation:no,SearchInput:ro,Tree:lo,Employee2:co,ElectronicSignature:fo,WPS:yo,Department2:go});class vo extends V{static get controlName(){return"\u753B\u5E03"}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}vo.excludes=[C.GRID];class Rb extends U{static get controlType(){return"grid"}constructor(e){super(e)}}var bo={Designer:vo,Runtime:Rb,Property:M};const Tb=24;class Se extends M{constructor(e){var n,i;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:Tb,this.offset=(i=e==null?void 0:e.offset)!=null?i:0}}class Zt extends V{constructor(e){super(e),this.props=new Se(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5217"}static get controlType(){return"col"}static get controlIcon(){return"col"}}Zt.excludes=[C.COL,C.CARD_GROUP,C.SUBTABLE,C.SUBTABLE_COLUMN,C.DIVIDER],Zt.childrenMaxLength=1;class Gu extends U{constructor(e){super(e),this.props=new Se(e==null?void 0:e.props)}static get controlType(){return"col"}}var Eo={Designer:Zt,Runtime:Gu,Property:Se};class li extends M{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 oi extends V{constructor(e){super(e),this.props=new li(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5E03\u5C40"}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}oi.excludes=[C.ROW],oi.setting=[{key:"col-setting",visible:!0}];class Co extends U{constructor(e){super(e),this.props=new li(e==null?void 0:e.props)}static get controlType(){return"row"}}var Io={Designer:oi,Runtime:Co,Property:li};const Pb=4;class ci extends oi{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)}}ci.excludes=[C.GRID_ROW],ci.setting=[],ci.childrenMaxLength=Pb;class Db extends Co{static get controlType(){return"grid-row"}constructor(e){super(e)}}class xb extends li{constructor(e){super(e)}}var wo={Designer:ci,Runtime:Db,Property:xb};class Fb extends M.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}}}class si extends M{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"}}si.Rules=Fb;class Xu extends V{constructor(e){super(e),this.props=new si(e==null?void 0:e.props)}static get controlName(){return"\u5206\u7EC4"}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}Xu.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}],Xu.excludes=[C.CARD_GROUP];class Ob extends U{constructor(e){super(e),this.props=new si(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var Ao={Designer:Xu,Runtime:Ob,Property:si};class kb extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.width={type:"number",required:!1,message:d.getMessage("pleaseEnterColumnWidth")},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},this.width.required=e.widthType==="px",e.isShowCaptionTip&&(this.captionTip.required=!0)}}class di extends M{constructor(e){var n,i,u,r,a,l;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:240,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.isShowCaptionTip=(r=e==null?void 0:e.isShowCaptionTip)!=null?r:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.isHideCaption=(l=e==null?void 0:e.isHideCaption)!=null?l:!1}}di.Rules=kb;class re extends V{constructor(e){super(e),this.props=new di(e==null?void 0:e.props)}}re.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",re.controlType="subtable-column",re.controlIcon="subtable-column",re.childrenMaxLength=1,re.excludes=[C.SUBTABLE,C.SUBTABLE_COLUMN,C.ROW,C.COL,C.CARD_GROUP,C.DIVIDER,C.TEXT],re.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",showItems:[c.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-width",visible:!0}];class _o extends U{constructor(e){super(e),this.props=new di(e==null?void 0:e.props)}}_o.controlType="subtable-column";var So={Designer:re,Runtime:_o,Property:di};class Qu extends M{constructor(e){super(e)}}class Be extends V{constructor(e){super(e),this.props=new Qu(e==null?void 0:e.props)}}Be.controlName="\u660E\u7EC6\u5B50\u8868\u884C",Be.controlType="subtable-row",Be.controlIcon="subtable-row",Be.childrenMaxLength=1,Be.excludes=[C.SUBTABLE,C.SUBTABLE_COLUMN,C.SUBTABLE_ROW,C.ROW,C.COL,C.CARD_GROUP,C.DIVIDER,C.TEXT],Be.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0}];class Nb extends U{constructor(e){super(e),this.props=new Qu(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var Bo={Designer:Be,Runtime:Nb,Property:Qu};class Ju extends M{constructor(e){var n,i,u,r,a,l,s,o,h,m;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:200,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.fixed=(u=e==null?void 0:e.fixed)!=null?u:!1,this.fieldCode=(r=e==null?void 0:e.fieldCode)!=null?r:"",this.fieldType=(a=e==null?void 0:e.fieldType)!=null?a:g.VARCHAR,this.fieldName=(l=e==null?void 0:e.fieldName)!=null?l:"",this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.textCleanFormart=(s=e==null?void 0:e.textCleanFormart)!=null?s:!1,this.decimalKeepPrecision=(o=e==null?void 0:e.decimalKeepPrecision)!=null?o:0,this.timestampDateType=(h=e==null?void 0:e.timestampDateType)!=null?h:he.DATE,this.departmentDisplayLevel=(m=e==null?void 0:e.departmentDisplayLevel)!=null?m:1}}class Re extends V{constructor(e){super(e),this.props=new Ju(e==null?void 0:e.props)}}Re.controlName="\u5217\u8868\u5355\u5143\u683C",Re.controlType="gridtable-column",Re.controlIcon="gridtable-column",Re.childrenMaxLength=1,Re.excludes=[C.GRID_TABLE,C.GRID_TABLE_COLUMN,C.ROW,C.COL,C.CARD_GROUP,C.DIVIDER,C.TEXT],Re.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0}];class Ro extends U{constructor(e){super(e),this.props=new Ju(e==null?void 0:e.props)}}Ro.controlType="gridtable-column";var To={Designer:Re,Runtime:Ro,Property:Ju};class Zu extends M{constructor(e){super(e)}}class Mb extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}}}class fi extends M{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:hi.controlName}}fi.Rules=Mb;class Yt extends V{constructor(e){super(e),this.props=new fi(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"}}Yt.excludes=[C.TAB],Yt.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class $b extends U{constructor(e){super(e),this.props=new fi(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var Po={Designer:Yt,Runtime:$b,Property:fi};class hi extends V{constructor(e){var n;super(e),this.props=new Zu(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new Yt,new Yt]}static get controlName(){return"\u6807\u7B7E\u9875"}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}hi.excludes=[C.TAB],hi.setting=[{key:"super-setting",visible:!0}];class Lb extends U{constructor(e){super(e),this.props=new Zu(e==null?void 0:e.props)}static get controlType(){return"tab"}}var Do={Designer:hi,Runtime:Lb,Property:Zu};class xo extends M{constructor(e){super(e)}}class Fo extends V{constructor(e){super(e),this.props=new xo({}),this.children=(e==null?void 0:e.children)||[new Zt({props:new Se({span:12})}),new Zt({props:new Se({span:12})})]}static get controlName(){return"\u5DE5\u5177\u680F"}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}Fo.excludes=[C.GRID_ROW,C.ROW,C.GRID,C.SUBTABLE,C.TAB,C.TOOLBOX];class Vb extends U{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new Gu({props:new Se({span:12})}),new Gu({props:new Se({span:12})})]}}var Oo={Designer:Fo,Runtime:Vb,Property:xo};class Hb extends Ie{constructor(e){super(e),this.push({type:"object",fields:{}})}}class jb extends j{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:d.getMessage("pleaseEnterFieldCode")}),Yi.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 pt extends M{constructor(e){var n,i,u,r,a,l,s,o;super(e),this.datasourceBind=new X(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=(r=e==null?void 0:e.triggerFieldCode)!=null?r:"",this.sublistPage=new Rh(e==null?void 0:e.sublistPage),this.showType=(a=e==null?void 0:e.showType)!=null?a:"stretch",this.showFullScreen=(l=e==null?void 0:e.showFullScreen)!=null?l:!1,this.isFixedHeader=(s=e==null?void 0:e.isFixedHeader)!=null?s:!1,this.isAllLoaded=(o=e==null?void 0:e.isAllLoaded)!=null?o:!0,this.countType=e==null?void 0:e.countType}}pt.Rules=jb,pt.RuntimeRules=Hb;class yi extends V{constructor(e){super(e),this.props=new pt(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"}}yi.excludes=[C.ROW],yi.controlEventKeys=["on_list_search","on_list_mounted","on_list_actions","on_list_rowclick","on_list_before_rowdelete","on_list_rows_checked"],yi.setting=[{key:"list-datasource-bind",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"super-setting",visible:!0}];class qb extends U{constructor(e){super(e),this.props=new pt(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var ko={Designer:yi,Runtime:qb,Property:pt};class Ub extends Ie{constructor(e){super(e),this.push({type:"object",fields:{}})}}class mi extends M{constructor(e){var n,i,u,r,a,l;super(e),this.save=new ie((n=e==null?void 0:e.save)!=null?n:{content:"\u4FDD\u5B58",type:"save",isShow:!1}),this.cancel=new ie((i=e==null?void 0:e.cancel)!=null?i:{content:"\u53D6\u6D88",type:"cancel",isShow:!1}),this.saveAs=new ie((u=e==null?void 0:e.saveAs)!=null?u:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1}),this.print=new ie((r=e==null?void 0:e.print)!=null?r:{content:"\u6253\u5370",type:"print",isShow:!1}),this.custom=((a=e==null?void 0:e.custom)!=null?a:[]).map(s=>new ie(s)),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.datasourceBind=new X(e==null?void 0:e.datasourceBind)}}mi.RuntimeRules=Ub;class No extends V{constructor(e){super(e),this.props=new mi(e==null?void 0:e.props)}static get controlName(){return"\u6570\u636E\u5BB9\u5668"}static get controlType(){return"data-view"}}No.excludes=[];class Wb extends U{constructor(e){super(e),this.props=new mi(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var Mo={Designer:No,Runtime:Wb,Property:mi};class Kb extends V{static get controlName(){return"\u81EA\u7531\u9875\u9762"}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class zb extends U{static get controlType(){return"page"}constructor(e){super(e)}}class Gb extends M{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 $o={Designer:Kb,Runtime:zb,Property:Gb};class Xb extends V{static get controlName(){return"\u9AD8\u7EA7\u5BB9\u5668"}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class Qb extends U{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class Jb extends M{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new qa(e==null?void 0:e.flexConfig)}}var Lo={Designer:Xb,Runtime:Qb,Property:Jb};class Zb extends V{static get controlName(){return"\u5B9A\u4F4D\u5BB9\u5668"}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class Yb extends U{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class pb extends M{constructor(e){super(e)}}var Vo={Designer:Zb,Runtime:Yb,Property:pb};class e0 extends V{static get controlName(){return"\u5B9A\u4F4D\u5B50\u5BB9\u5668"}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class t0 extends U{static get controlType(){return"position"}constructor(e){super(e)}}class n0 extends M{constructor(e){var n,i,u,r;super(e),this.widthSpan=(n=e==null?void 0:e.widthSpan)!=null?n:12,this.heightSpan=(i=e==null?void 0:e.heightSpan)!=null?i:12,this.left=(u=e==null?void 0:e.left)!=null?u:0,this.top=(r=e==null?void 0:e.top)!=null?r:0}}var Ho={Designer:e0,Runtime:t0,Property:n0},i0=Object.freeze({__proto__:null,Grid:bo,Col:Eo,Row:Io,GridRow:wo,CardGroup:Ao,SubTableColumn:So,SubTableRow:Bo,GridTableColumn:To,Tab:Do,TabPane:Po,Toolbox:Oo,ListView:ko,DataView:Mo,Page:$o,AdvancedContainer:Lo,PositioningContainer:Vo,Position:Ho});class u0 extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.limitRows=[{type:"number",required:!0,message:d.getMessage("isNotNumber")},{type:"number",min:0,message:d.getMessage("limitRowsCannotBeLessThan0")}],this.formKey={type:"string",required:!1,message:d.getMessage("pleaseEnterForm")},this.maxHeight={type:"number",required:!0,message:d.getMessage("pleaseEnterMaxHeight")},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0)}}class r0 extends Ie{constructor(e){super(e),e.isHide||this.push({type:"array",required:e.limitRows>0,message:d.getMessage("runtimeRequired",{caption:e.caption})},{type:"array",validator(n,i,u){i.length<e.limitRows&&u(d.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})),u()},message:d.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})})}}class en extends En{constructor(e,n){var i,u,r,a,l,s,o,h,m,v,I,w,b,A,y,E,N,B,x,ne,D;super(e,n),this.caption=(i=n==null?void 0:n.caption)!=null?i:gi.controlName,this.isHideCaption=(u=n==null?void 0:n.isHideCaption)!=null?u:!1,this.defaultState=(r=n==null?void 0:n.defaultState)!=null?r:"default",this.labelPosition=(a=n==null?void 0:n.labelPosition)!=null?a:"top",this.openType=(l=n==null?void 0:n.openType)!=null?l:"default",this.formKey=(s=n==null?void 0:n.formKey)!=null?s:"",this.useCustomHeight=(o=n==null?void 0:n.useCustomHeight)!=null?o:!1,this.maxHeight=(h=n==null?void 0:n.maxHeight)!=null?h:Ha,this.printMode=(m=n==null?void 0:n.printMode)!=null?m:"row",this.limitRows=(v=n==null?void 0:n.limitRows)!=null?v:1,this.defaultRows=(I=n==null?void 0:n.defaultRows)!=null?I:1,this.datasourceBind=new X(n==null?void 0:n.datasourceBind),this.canAdd=(w=n==null?void 0:n.canAdd)!=null?w:!0,this.canDelete=(b=n==null?void 0:n.canDelete)!=null?b:!0,this.canCheck=(A=n==null?void 0:n.canCheck)!=null?A:!1,this.canEdit=(y=n==null?void 0:n.canEdit)!=null?y:!1,this.canImport=(E=n==null?void 0:n.canImport)!=null?E:!1,this.canExport=(N=n==null?void 0:n.canExport)!=null?N:!1,this.canClear=(B=n==null?void 0:n.canClear)!=null?B:!0,this.serverPagination=(x=n==null?void 0:n.serverPagination)!=null?x:!1,this.isShowCaptionTip=(ne=n==null?void 0:n.isShowCaptionTip)!=null?ne:!1,this.captionTip=(D=n==null?void 0:n.captionTip)!=null?D:""}}en.Rules=u0,en.RuntimeRules=r0;class gi extends du{constructor(e){var n;super(e),this.props=new en(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 re,new re,new re])}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 re,u=typeof e=="number"?e:n;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}gi.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_import"],gi.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:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"subtable-max-height",visible:!0},{key:"super-setting",visible:!0}];class a0 extends Pa{constructor(e){super(e),this.props=new en(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){$r("Method not implemented.")}getChildrenFormControl(){return[]}}var jo={Designer:gi,Runtime:a0,Property:en};class Yu extends En{constructor(e,n){var i,u,r,a;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=(r=n==null?void 0:n.isShowSelection)!=null?r:!1,this.isShowCustomColumns=(a=n==null?void 0:n.isShowCustomColumns)!=null?a:!0}}class l0 extends wn{constructor(e){super(e),this.caption.required=!1}}class vi extends H{constructor(e){var n,i,u,r;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:Te.controlName,this.width=(u=e==null?void 0:e.width)!=null?u:50,this.widthType=(r=e==null?void 0:e.widthType)!=null?r:"px"}}vi.Rules=l0;class Te extends K{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}}Te.controlType="order-column",Te.controlName="\u5E8F\u53F7",Te.controlIcon="order-column",Te.setting=[{key:"column-fixed",visible:!0}];class pu extends z{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}}pu.controlType="order-column",pu.controlFieldType=g.DECIMAL;var qo={Designer:Te,Runtime:pu,Property:vi};class o0 extends wn{constructor(e){super(e),this.check=[{type:"object",message:d.getMessage("isNotObject")}],this.edit=[{type:"object",message:d.getMessage("isNotObject")}];const n=()=>({type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterForm")}}});e.check.isShow&&this.check.push(n()),e.edit.isShow&&this.edit.push(n())}}class bi extends H{constructor(e){var n,i,u,r,a,l;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"right",this.check=new ie((i=e==null?void 0:e.check)!=null?i:{content:"\u67E5\u770B",type:"check",isShow:!1,priorityProcess:!0}),this.edit=new ie((u=e==null?void 0:e.edit)!=null?u:{content:"\u7F16\u8F91",type:"edit",isShow:!1}),this.delete=new ie((r=e==null?void 0:e.delete)!=null?r:{content:"\u5220\u9664",type:"delete",isShow:!1}),this.custom=((a=e==null?void 0:e.custom)!=null?a:[]).map(s=>new ie(s)),this.caption=(l=e==null?void 0:e.caption)!=null?l:Pe.controlName}}bi.Rules=o0;class Pe extends K{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}toDataBindModel(){const e=super.toDataBindModel();return e.props.check=this.props.check,e.props.edit=this.props.edit,e.props.delete=this.props.delete,e}}Pe.controlType="operation-column",Pe.controlName="\u64CD\u4F5C",Pe.controlIcon="operation-column",Pe.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"operation-setting",showItems:[c.CAN_CHECK,c.CAN_EDIT,c.CAN_DELETE],visible:!0},{key:"column-width",visible:!0},{key:"column-sort",visible:!0}];class er extends z{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}}er.controlType="operation-column",er.controlFieldType=g.FILE;var Uo={Designer:Pe,Runtime:er,Property:bi};class Ei extends du{constructor(e){super(e),this.props=new Yu(this,e==null?void 0:e.props),we(this,"children",e==null?void 0:e.children),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new Te,new Pe])}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 Ai(Ce({},e),{children:n})}validate(e,n){return hc(this,null,function*(){return yield fc(Ei.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Ei.setting=[{key:"list-fixed-header",visible:!0}];class c0 extends Pa{constructor(e){super(e),this.props=new Yu(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){$r("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var Wo={Designer:Ei,Runtime:c0,Property:Yu},s0=Object.freeze({__proto__:null,SubTable:jo,GridTable:Wo});class d0 extends xa{constructor(e){super(e)}}class Ci extends H{constructor(e){var n,i,u,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:De.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.options=fe((u=e==null?void 0:e.options)!=null?u:[{}]),this.lineEllipsis=(r=e==null?void 0:e.lineEllipsis)!=null?r:1}}Ci.Rules=d0;class De extends K{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}}De.controlType="varchar-column",De.controlName="\u77ED\u6587\u672C",De.controlIcon="varchar-column",De.controlFieldType=g.VARCHAR,De.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-width",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 tr extends z{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}}tr.controlType="varchar-column",tr.controlFieldType=g.VARCHAR;var Ko={Designer:De,Runtime:tr,Property:Ci};class nr extends H{constructor(e){var n,i,u;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:xe.controlName,this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1}}class xe extends K{constructor(e){super(e),this.props=new nr(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}}xe.controlType="text-column",xe.controlName="\u957F\u6587\u672C",xe.controlIcon="text-column",xe.controlFieldType=g.TEXT,xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-width",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 ir extends z{constructor(e){super(e),this.props=new nr(e==null?void 0:e.props)}}ir.controlType="text-column",ir.controlFieldType=g.TEXT;var zo={Designer:xe,Runtime:ir,Property:nr};class ur extends H{constructor(e){var n,i,u,r,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Fe.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=(r=e==null?void 0:e.percentageFormat)!=null?r:!1,this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"none",this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.options=fe((l=e==null?void 0:e.options)!=null?l:[{}])}}class Fe extends K{constructor(e){super(e),this.props=new ur(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}}Fe.controlType="decimal-column",Fe.controlName="\u6570\u503C",Fe.controlIcon="decimal-column",Fe.controlFieldType=g.DECIMAL,Fe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-width",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 rr extends z{constructor(e){super(e),this.props=new ur(e==null?void 0:e.props)}}rr.controlType="decimal-column",rr.controlFieldType=g.DECIMAL;var Go={Designer:Fe,Runtime:rr,Property:ur};class ar extends H{constructor(e){var n,i;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:he.DATE,this.caption=(i=e==null?void 0:e.caption)!=null?i:Oe.controlName}}class Oe extends K{constructor(e){super(e),this.props=new ar(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}}Oe.controlType="timescope-column",Oe.controlName="\u65E5\u671F\u533A\u95F4",Oe.controlIcon="timescope-column",Oe.controlFieldType=g.TIMESCOPE,Oe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class lr extends z{constructor(e){super(e),this.props=new ar(e==null?void 0:e.props)}}lr.controlType="timescope-column",lr.controlFieldType=g.TIMESCOPE;var Xo={Designer:Oe,Runtime:lr,Property:ar};class or extends H{constructor(e){var n,i;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:he.DATE,this.caption=(i=e==null?void 0:e.caption)!=null?i:ke.controlName}}class ke extends K{constructor(e){super(e),this.props=new or(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i}=this.props;n.props.dateType=i}return n}}ke.controlType="timestamp-column",ke.controlName="\u65E5\u671F",ke.controlIcon="timestamp-column",ke.controlFieldType=g.TIMESTAMP,ke.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class cr extends z{constructor(e){super(e),this.props=new or(e==null?void 0:e.props)}}cr.controlType="timestamp-column",cr.controlFieldType=g.TIMESTAMP;var Qo={Designer:ke,Runtime:cr,Property:or};class f0 extends xa{constructor(e){super(e)}}class Ii extends H{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ne.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.options=fe((u=e==null?void 0:e.options)!=null?u:[{}])}}Ii.Rules=f0;class Ne extends K{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}}Ne.controlType="array-column",Ne.controlName="\u6570\u7EC4",Ne.controlIcon="array-column",Ne.controlFieldType=g.ARRAY,Ne.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-sort",visible:!0}];class sr extends z{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}}sr.controlType="array-column",sr.controlFieldType=g.ARRAY;var Jo={Designer:Ne,Runtime:sr,Property:Ii};class dr extends H{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Me.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class Me extends K{constructor(e){super(e),this.props=new dr(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}}Me.controlType="department-column",Me.controlName="\u90E8\u95E8",Me.controlIcon="department-column",Me.controlFieldType=g.DEPARTMENTS,Me.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}];class fr extends z{constructor(e){super(e),this.props=new dr(e==null?void 0:e.props)}}fr.controlType="department-column",fr.controlFieldType=g.DEPARTMENTS;var Zo={Designer:Me,Runtime:fr,Property:dr};class hr extends H{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:$e.controlName}}class $e extends K{constructor(e){super(e),this.props=new hr(e==null?void 0:e.props)}}$e.controlType="auto-number-column",$e.controlName="\u81EA\u52A8\u7F16\u53F7",$e.controlIcon="auto-number-column",$e.controlFieldType=g.AUTO_NUMBER,$e.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class yr extends z{constructor(e){super(e),this.props=new hr(e==null?void 0:e.props)}}yr.controlType="auto-number-column",yr.controlFieldType=g.AUTO_NUMBER;var Yo={Designer:$e,Runtime:yr,Property:hr};class mr extends H{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Le.controlName}}class Le extends K{constructor(e){super(e),this.props=new mr(e==null?void 0:e.props)}}Le.controlType="file-column",Le.controlName="\u9644\u4EF6",Le.controlIcon="file-column",Le.controlFieldType=g.FILE,Le.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class gr extends z{constructor(e){super(e),this.props=new mr(e==null?void 0:e.props)}}gr.controlType="file-column",gr.controlFieldType=g.FILE;var po={Designer:Le,Runtime:gr,Property:mr};class vr extends H{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ve.controlName}}class Ve extends K{constructor(e){super(e),this.props=new vr(e==null?void 0:e.props)}}Ve.controlType="image-column",Ve.controlName="\u56FE\u7247",Ve.controlIcon="image-column",Ve.controlFieldType=g.IMAGE,Ve.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class br extends z{constructor(e){super(e),this.props=new vr(e==null?void 0:e.props)}}br.controlType="image-column",br.controlFieldType=g.IMAGE;var ec={Designer:Ve,Runtime:br,Property:vr};class Er extends H{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:He.controlName}}class He extends K{constructor(e){super(e),this.props=new Er(e==null?void 0:e.props)}}He.controlType="people-column",He.controlName="\u4EBA\u5458",He.controlIcon="people-column",He.controlFieldType=g.EMPLOYEES,He.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Cr extends z{constructor(e){super(e),this.props=new Er(e==null?void 0:e.props)}}Cr.controlType="people-column",Cr.controlFieldType=g.EMPLOYEES;var tc={Designer:He,Runtime:Cr,Property:Er};class Ir extends H{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:je.controlName}}class je extends K{constructor(e){super(e),this.props=new Ir(e==null?void 0:e.props)}}je.controlType="location-column",je.controlName="\u5730\u5740",je.controlIcon="location-column",je.controlFieldType=g.ADDRESS,je.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class wr extends z{constructor(e){super(e),this.props=new Ir(e==null?void 0:e.props)}}wr.controlType="location-column",wr.controlFieldType=g.ADDRESS;var nc={Designer:je,Runtime:wr,Property:Ir};class Ar extends H{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:be.controlName,this.fieldCodeList=(i=e==null?void 0:e.fieldCodeList)!=null?i:[]}}const h0=1;class be extends K{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new Ar(e==null?void 0:e.props),we(this,"children",e==null?void 0:e.children),this.excludes=ye(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 Ai(Ce({},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=h0,be.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class ic extends z{constructor(e){super(e),this.props=new Ar(e==null?void 0:e.props),we(this,"children",e==null?void 0:e.children)}}ic.controlType="custom-column";var uc={Designer:be,Runtime:ic,Property:Ar};class _r extends H{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ee.controlName,this.datasourceBind=new rn((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:Ee.controlCustomAttributes})}}class Ee extends K{constructor(e){super(e),this.props=new _r(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}Ee.controlType="employee-column",Ee.controlName="\u4EBA\u5458",Ee.controlIcon="employee-column",Ee.controlFieldType=g.EMPLOYEES,Ee.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Sr extends z{constructor(e){super(e),this.props=new _r(e==null?void 0:e.props)}}Sr.controlType="employee-column",Sr.controlFieldType=g.EMPLOYEES;var rc={Designer:Ee,Runtime:Sr,Property:_r},y0=Object.freeze({__proto__:null,VarcharColumn:Ko,TextColumn:zo,DecimalColumn:Go,TimescopeColumn:Xo,TimestampColumn:Qo,ArrayColumn:Jo,DepartmentColumn:Zo,AutoNumberColumn:Yo,FileColumn:po,ImageColumn:ec,PeopleColumn:tc,LocationColumn:nc,CustomColumn:uc,OrderColumn:qo,OperationColumn:Uo,EmployeeColumn:rc});class m0 extends Ie{constructor(e){super(e),this.push({type:"object",fields:{}})}}class wi extends Iu{constructor(e){var n,i,u,r,a,l,s;super(e),this.labelPosition=(n=e==null?void 0:e.labelPosition)!=null?n:"top",this.viewType=(i=e==null?void 0:e.viewType)!=null?i:"mini",this.search=new ie((u=e==null?void 0:e.search)!=null?u:{content:"\u67E5\u8BE2",isShow:!0}),this.cancel=new ie((r=e==null?void 0:e.cancel)!=null?r:{content:"\u91CD\u7F6E",isShow:!0}),this.isLoading=(a=e==null?void 0:e.isLoading)!=null?a:!1,this.custom=((l=e==null?void 0:e.custom)!=null?l:[]).map(o=>new ie(o)),this.queryTypeMap=(s=e==null?void 0:e.queryTypeMap)!=null?s:[]}}wi.RuntimeRules=m0;class Br extends zg{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}}Br.controlType="simple-search",Br.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 ac extends ev{constructor(e){var n;super(e),this.props=new wi(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}ac.controlType="simple-search";var lc={Designer:Br,Runtime:ac,Property:wi},g0=Object.freeze({__proto__:null,SimpleSearch:lc});f.Address=ql,f.AdvancedContainer=Lo,f.Amount=Ll,f.ArrayColumn=Jo,f.AssignType=ze,f.Attachment=kl,f.AutoNumber=zl,f.AutoNumberColumn=Yo,f.BatchDeleteButton=dl,f.BatchPrintListButton=cl,f.BatchPrintRecordListButton=sl,f.BatchSubmissionListButton=Xa,f.Button=Na,f.Calc=Xl,f.CardGroup=Ao,f.Checkbox=ml,f.Col=Eo,f.CreateFormListButton=Ga,f.CustomColumn=uc,f.DATE_CONFIG_TYPE=Ma,f.DATE_LIMIT_TYPE=$a,f.Dashboard=ul,f.DataView=Mo,f.DatePicker=Il,f.DateRange=Al,f.DecimalColumn=Go,f.Department=Wl,f.Department2=go,f.DepartmentColumn=Zo,f.DepartmentType=Ou,f.Divider=Ka,f.ElectronicSignature=fo,f.ElectronicSignatureConfig=La,f.Employee=Ol,f.Employee2=co,f.EmployeeColumn=rc,f.EncryptTypeEnum=Ua,f.Explain=Pn,f.ExportListButton=Ja,f.ExportRecordListButton=Za,f.ExportTemplate=Du,f.FileColumn=po,f.FlexStyleConfig=qa,f.FormSelectButton=pa,f.Grid=bo,f.GridRow=wo,f.GridTable=Wo,f.GridTableColumn=To,f.Image=Ml,f.ImageColumn=ec,f.ImportRecordListButton=Ya,f.Input=hl,f.InternalType=ku,f.InvoiceCheckButton=ol,f.LINE_STYLE=Tu,f.LimitDate=Tn,f.Link=ka,f.ListSelectButton=el,f.ListView=ko,f.ListViewSelect=al,f.LocationColumn=nc,f.Number=El,f.OperationColumn=Uo,f.OrderColumn=qo,f.OrganizeType=Fu,f.Page=$o,f.Pagination=nl,f.PeopleColumn=tc,f.Position=Ho,f.PositioningContainer=Vo,f.PrintTemplate=ja,f.Radio=vl,f.RichText=Rl,f.Row=Io,f.SCORE_TYPE=Ru,f.SUBTABLE_DEFAULT_MAX_HEIGHT=Ha,f.Score=Hl,f.SearchDateRange=Yl,f.SearchInput=ro,f.SearchNumberRange=Jl,f.Select=Pl,f.SelectMultiple=xl,f.SelectRelation=no,f.SimpleSearch=lc,f.SubTable=jo,f.SubTableColumn=So,f.SubTableRow=Bo,f.SubmissionRecordListButton=Qa,f.Tab=Do,f.TabPane=Po,f.Text=Oa,f.TextColumn=zo,f.TextOcrButton=ll,f.Textarea=Sl,f.TimescopeColumn=Xo,f.TimestampColumn=Qo,f.Title=za,f.TitleConfigEnum=Ae,f.Toolbox=Oo,f.Tree=lo,f.UndersignedPerson=Pu,f.VarcharColumn=Ko,f.VueFormItem=eo,f.WPS=yo,f.WPSSetting=Va,f.WpsOperationItem=xu,f.baseControls=kv,f.columnControls=y0,f.formControls=Bb,f.initExpression=ht,f.layoutControls=i0,f.listControls=s0,f.searchControls=g0,Object.defineProperty(f,"__esModule",{value:!0})});
|
|
1
|
+
var b0=Object.defineProperty,E0=Object.defineProperties;var C0=Object.getOwnPropertyDescriptors;var sc=Object.getOwnPropertySymbols,_0=Object.getPrototypeOf,I0=Object.prototype.hasOwnProperty,w0=Object.prototype.propertyIsEnumerable,A0=Reflect.get;var dc=(f,F,L)=>F in f?b0(f,F,{enumerable:!0,configurable:!0,writable:!0,value:L}):f[F]=L,_e=(f,F)=>{for(var L in F||(F={}))I0.call(F,L)&&dc(f,L,F[L]);if(sc)for(var L of sc(F))w0.call(F,L)&&dc(f,L,F[L]);return f},wi=(f,F)=>E0(f,C0(F));var fc=(f,F,L)=>A0(_0(f),L,F);var hc=(f,F,L)=>new Promise((Ai,tn)=>{var Si=ce=>{try{ut(L.next(ce))}catch(rt){tn(rt)}},Ti=ce=>{try{ut(L.throw(ce))}catch(rt){tn(rt)}},ut=ce=>ce.done?Ai(ce.value):Promise.resolve(ce.value).then(Si,Ti);ut((L=L.apply(f,F)).next())});(function(f,F){typeof exports=="object"&&typeof module!="undefined"?F(exports):typeof define=="function"&&define.amd?define(["exports"],F):(f=typeof globalThis!="undefined"?globalThis:f||self,F(f.modelDrivenControls={}))})(this,function(f){"use strict";var F="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",L="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Ai="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",tn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Si="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Ti="{caption}\u5FC5\u586B",ut="\u8BF7\u8F93\u5165\u6807\u9898",ce="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",rt="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",yc="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",mc="\u8BF7\u7ED1\u5B9A\u8868\u5355",vc="\u8BF7\u7ED1\u5B9A\u5217\u8868",gc="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",bc="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Ec="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Cc="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",_c="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Ic="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",wc="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Ac="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",Sc="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Tc="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Bc="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",Rc="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Pc="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Dc="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",xc="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Fc="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Oc="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",kc="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Nc="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Mc="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Lc="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",$c="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Vc="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Hc="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",jc="\u8BF7\u9009\u62E9\u7701",qc="\u8BF7\u9009\u62E9\u5E02",Uc="\u8BF7\u9009\u62E9\u533A",Wc="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Kc="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",zc="\u8BF7\u8F93\u5165\u5217\u5BBD",Gc="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Xc="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Qc="\u8BF7\u9009\u62E9\u63A7\u4EF6",Jc="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Zc="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Yc="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",pc="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",es="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ts="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",ns="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",is="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",us="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",rs="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",as="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",ls="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",os="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",cs="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",ss="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",ds="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",fs="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",hs="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ys="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",ms="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",vs="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",gs={isNotNumber:F,isNotString:L,isNotObject:Ai,isNotArray:tn,isNotBoolean:Si,runtimeRequired:Ti,pleaseEnterCaption:ut,pleaseEnterCaptionTip:ce,pleaseEnterPlaceholder:rt,pleaseEnterFieldCode:yc,pleaseEnterForm:mc,pleaseEnterList:vc,pleaseEnterProcess:gc,pleaseEnterLabel:bc,pleaseEnterValue:Ec,bizKeyNotBindFiled:Cc,pleaseEnterNumberRange:_c,pleaseEnterAValueGreaterThanMin:Ic,pleaseEnterAValueLessThanMax:wc,numberRangeSetError:Ac,stringRangeError:Sc,attachmentMaxSize:Tc,pleaseEnterTotalScoreSetting:Bc,theTotalScoreMustNotBeLessThan1:Rc,scoreDefaultValueRange:Pc,attachmentLimitError:Dc,PleaseReselectTheOptionalQuantity:xc,TheMaximumLengthIsGreaterThanTheMinimumLength:Fc,TheMinimumLengthIsGreaterThanTheMaximumLength:Oc,PleaseSelectTheCorrectOptionSettings:kc,optionIdIsRepeat:Nc,optionIsRequired:Mc,pleaseEnterDataCode:Lc,pleaseEnterValueFieldCode:$c,pleaseEnterSvcCode:Vc,pleaseBindAtLeastOneDisplayValue:Hc,pleaseSelectProvince:jc,pleaseSelectCity:qc,pleaseSelectDistrict:Uc,limitRowsCannotBeLessThan0:Wc,TheNumberOfRowsCannotBeLessThanMinRows:Kc,pleaseEnterColumnWidth:zc,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Gc,pleaseCompleteAllRulesAndConditions:Xc,pleaseSelectControl:Qc,pleaseSelectAtLeastOneColumn:Jc,pleaseSelectFillBackMode:Zc,pleaseSelectDashboard:Yc,rootNodeIsRequired:pc,theViewNameCannotBeEmpty:es,pleaseSelectOcrType:ts,pleaseSelectAtLeastOneFieldToFillIn:ns,pleaseChooseAtLeastOne:is,pleaseEnterButtonContent:us,pleaseEnterDataCodeInDataSetting:rs,pleaseEnterValueFieldCodeInDataSetting:as,pleaseEnterSvcCodeInDataSetting:ls,pleaseBindAtLeastOneDisplayValueInDataSetting:os,rootNodeIsRequiredInDataSetting:cs,pleaseEnterMaxHeight:ss,pleaseEnter:ds,pleaseEnterWatermark:fs,pleaseEnterFileName:hs,pleaseUploadAtLeastOnePrintTemplate:ys,pleaseAssignBusiness:ms,pleaseAssignExternal:vs},bs="Please enter a number",Es="Please enter a string",Cs="Please enter an object",_s="Please enter an array",Is="Please enter a boolean",ws="{caption} Required",As="Please enter the title",Ss="Please enter the bubble prompt",Ts="Please enter the prompt text",Bs="Please bind data items",Rs="Please bind the form",Ps="Please bind the list",Ds="Please bind the process",xs="Please enter the displayed value",Fs="Please enter the stored value",Os="The document number is not bound to the data item",ks="Please enter a value greater than or equal to {min} and less than or equal to {max}",Ns="Please enter a value greater than or equal to {min}",Ms="Please enter a value less than or equal to {max}",Ls="The value range is set incorrectly",$s="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Vs="The attachment size must be between 0MB and 1000MB",Hs="Please fill in the total score setting",js="The total score cannot be less than 1",qs="The default value must be between {min} and {max}",Us="The number of attachments uploaded must be between {min} and {max}",Ws="Please re-select the optional quantity",Ks="The maximum length of the control must be greater than the minimum length",zs="The minimum length of the control must be less than the maximum length",Gs="Please select the correct option setting",Xs="Option ID cannot be repeated",Qs="Please enter at least one option",Js="Please bind the data source",Zs="Please bind the stored value",Ys="Please bind the service",ps="At least one display value must be bound",ed="Please select a province",td="Please select a city",nd="Please select a district",id="The minimum number of lines to fill in cannot be less than 0",ud="The number of rows cannot be less than {min} rows",rd="Please enter the column width",ad="Please set the logical relationship of all rule conditions",ld="Please complete all rules and conditions",od="please select control",cd="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",sd="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",dd="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",fd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",hd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",yd="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",md="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",vd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",gd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",bd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Ed="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Cd="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",_d="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Id="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",wd="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ad="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Sd="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Td="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Bd={isNotNumber:bs,isNotString:Es,isNotObject:Cs,isNotArray:_s,isNotBoolean:Is,runtimeRequired:ws,pleaseEnterCaption:As,pleaseEnterCaptionTip:Ss,pleaseEnterPlaceholder:Ts,pleaseEnterFieldCode:Bs,pleaseEnterForm:Rs,pleaseEnterList:Ps,pleaseEnterProcess:Ds,pleaseEnterLabel:xs,pleaseEnterValue:Fs,bizKeyNotBindFiled:Os,pleaseEnterNumberRange:ks,pleaseEnterAValueGreaterThanMin:Ns,pleaseEnterAValueLessThanMax:Ms,numberRangeSetError:Ls,stringRangeError:$s,attachmentMaxSize:Vs,pleaseEnterTotalScoreSetting:Hs,theTotalScoreMustNotBeLessThan1:js,scoreDefaultValueRange:qs,attachmentLimitError:Us,PleaseReselectTheOptionalQuantity:Ws,TheMaximumLengthIsGreaterThanTheMinimumLength:Ks,TheMinimumLengthIsGreaterThanTheMaximumLength:zs,PleaseSelectTheCorrectOptionSettings:Gs,optionIdIsRepeat:Xs,optionIsRequired:Qs,pleaseEnterDataCode:Js,pleaseEnterValueFieldCode:Zs,pleaseEnterSvcCode:Ys,pleaseBindAtLeastOneDisplayValue:ps,pleaseSelectProvince:ed,pleaseSelectCity:td,pleaseSelectDistrict:nd,limitRowsCannotBeLessThan0:id,TheNumberOfRowsCannotBeLessThanMinRows:ud,pleaseEnterColumnWidth:rd,pleaseSetTheLogicalRelationshipOfAllRuleConditions:ad,pleaseCompleteAllRulesAndConditions:ld,pleaseSelectControl:od,pleaseSelectDashboard:cd,theViewNameCannotBeEmpty:sd,pleaseSelectOcrType:dd,pleaseSelectAtLeastOneFieldToFillIn:fd,pleaseChooseAtLeastOne:hd,pleaseEnterButtonContent:yd,pleaseEnterDataCodeInDataSetting:md,pleaseEnterValueFieldCodeInDataSetting:vd,pleaseEnterSvcCodeInDataSetting:gd,pleaseBindAtLeastOneDisplayValueInDataSetting:bd,rootNodeIsRequiredInDataSetting:Ed,pleaseEnterMaxHeight:Cd,pleaseEnter:_d,pleaseEnterWatermark:Id,pleaseEnterFileName:wd,pleaseUploadAtLeastOnePrintTemplate:Ad,pleaseAssignBusiness:Sd,pleaseAssignExternal:Td},Rd="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Pd="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Dd="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",xd="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Fd="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Od="{caption}\u5FC5\u9808",kd="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Nd="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Md="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ld="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",$d="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Vd="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Hd="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",jd="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",qd="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ud="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",Wd="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Kd="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",zd="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Gd="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",Xd="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Qd="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Jd="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Zd="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Yd="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",pd="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",ef="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",tf="\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",nf="\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",uf="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",rf="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",af="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",lf="\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",cf="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",sf="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",df="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ff="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",hf="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",yf="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",mf="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",vf="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",gf="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",bf="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",Ef="please select control",Cf="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",_f="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",If="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",wf="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Af="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Sf="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Tf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Bf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Rf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Pf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Df="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",xf="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Ff="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Of="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",kf="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Nf="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Mf="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Lf="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",$f={isNotNumber:Rd,isNotString:Pd,isNotObject:Dd,isNotArray:xd,isNotBoolean:Fd,runtimeRequired:Od,pleaseEnterCaption:kd,pleaseEnterCaptionTip:Nd,pleaseEnterPlaceholder:Md,pleaseEnterFieldCode:Ld,pleaseEnterForm:$d,pleaseEnterList:Vd,pleaseEnterProcess:Hd,pleaseEnterLabel:jd,pleaseEnterValue:qd,bizKeyNotBindFiled:Ud,pleaseEnterNumberRange:Wd,pleaseEnterAValueGreaterThanMin:Kd,pleaseEnterAValueLessThanMax:zd,numberRangeSetError:Gd,stringRangeError:Xd,attachmentMaxSize:Qd,pleaseEnterTotalScoreSetting:Jd,theTotalScoreMustNotBeLessThan1:Zd,scoreDefaultValueRange:Yd,attachmentLimitError:pd,PleaseReselectTheOptionalQuantity:ef,TheMaximumLengthIsGreaterThanTheMinimumLength:tf,TheMinimumLengthIsGreaterThanTheMaximumLength:nf,PleaseSelectTheCorrectOptionSettings:uf,optionIdIsRepeat:rf,optionIsRequired:af,pleaseEnterDataCode:lf,pleaseEnterValueFieldCode:of,pleaseEnterSvcCode:cf,pleaseBindAtLeastOneDisplayValue:sf,pleaseSelectProvince:df,pleaseSelectCity:ff,pleaseSelectDistrict:hf,limitRowsCannotBeLessThan0:yf,TheNumberOfRowsCannotBeLessThanMinRows:mf,pleaseEnterColumnWidth:vf,pleaseSetTheLogicalRelationshipOfAllRuleConditions:gf,pleaseCompleteAllRulesAndConditions:bf,pleaseSelectControl:Ef,pleaseSelectDashboard:Cf,theViewNameCannotBeEmpty:_f,pleaseSelectOcrType:If,pleaseSelectAtLeastOneFieldToFillIn:wf,pleaseChooseAtLeastOne:Af,pleaseEnterButtonContent:Sf,pleaseEnterDataCodeInDataSetting:Tf,pleaseEnterValueFieldCodeInDataSetting:Bf,pleaseEnterSvcCodeInDataSetting:Rf,pleaseBindAtLeastOneDisplayValueInDataSetting:Pf,rootNodeIsRequiredInDataSetting:Df,pleaseEnterMaxHeight:xf,pleaseEnter:Ff,pleaseEnterWatermark:Of,pleaseEnterFileName:kf,pleaseUploadAtLeastOnePrintTemplate:Nf,pleaseAssignBusiness:Mf,pleaseAssignExternal:Lf},Vf={zhCN:gs,enUS:Bd,jaJP:$f},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 Hf="zh-CN";function Y(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Dr;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(Dr||(Dr={}));var C;(function(t){t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",t.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",t.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",t.EXPORT_LIST_BUTTON="list-page-btn-export-list",t.LIST_SELECT_BUTTON="list-select-button",t.FORM_SELECT_BUTTON="form-select-button",t.LIST_VIEW_SELECT="list-view-select",t.TEXT_OCR_BUTTON="text-ocr-button",t.INVOICE_CHECK_BUTTON="invoice-check-button",t.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",t.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",t.VARCHAR_COLUMN="varchar-column",t.TEXT_COLUMN="text-column",t.DECIMAL_COLUMN="decimal-column",t.TIMESCOPE_COLUMN="timescope-column",t.TIMESTAMP_COLUMN="timestamp-column",t.ARRAY_COLUMN="array-column",t.DEPARTMENT_COLUMN="department-column",t.AUTO_NUMBER_COLUMN="auto-number-column",t.FILE_COLUMN="file-column",t.IMAGE_COLUMN="image-column",t.PEOPLE_COLUMN="people-column",t.LOCATION_COLUMN="location-column",t.CUSTOM_COLUMN="custom-column",t.ORDER_COLUMN="order-column",t.OPERATION_COLUMN="operation-column",t.EMPLOYEE_COLUMN="employee-column",t.ADDRESS="address",t.AMOUNT="amount",t.ATTACHMENT="attachment",t.AUTO_NUMBER="auto-number",t.CALC="calc",t.CHECKBOX="checkbox",t.DATE_PICKER="date-picker",t.DATE_RANGE="date-range",t.DEPARTMENT="department",t.EMPLOYEE="employee",t.IMAGE="image",t.INPUT="input",t.NUMBER="number",t.RADIO="radio",t.RICH_TEXT="rich-text",t.SCORE="score",t.SEARCH_DATE_RANGE="search-date-range",t.SEARCH_NUMBER_RANGE="search-number-range",t.SEARCH_INPUT="search-input",t.SELECT="select",t.SELECT_MULTIPLE="select-multiple",t.SELECT_RELATION="select-relation",t.VUE_FORM_ITEM="vue-form-item",t.TEXTAREA="textarea",t.EMAIL="email",t.FOOTER="footer",t.HEADER="header",t.ID_CARD="id-card",t.MOBILE="mobile",t.PHONE="phone",t.RADIO_IMAGE="radio-image",t.ELECTRONIC_SIGNATURE="electronic-signature",t.WPS="wps",t.CARD_GROUP="card-group",t.COL="col",t.GRID="grid",t.GRID_ROW="grid-row",t.GRID_TABLE_COLUMN="grid-table-column",t.ROW="row",t.TWO_COLUMNS="two-columns",t.SUBTABLE_COLUMN="subtable-column",t.SUBTABLE_ROW="subtable-row",t.TAB="tab",t.TAB_PANE="tab-pane",t.TOOLBOX="toolbox",t.DATA_VIEW="data-view",t.LIST_VIEW="list-view",t.SUBTABLE="subtable",t.GRID_TABLE="grid-table",t.SIMPLE_SEARCH="simple-search",t.PAGINATION="pagination",t.CHECKBOX_IMAGE="checkbox-image",t.DASHBOARD="dashboard",t.TREE="tree",t.EMPLOYEE2="employee2",t.DEPARTMENT2="department2"})(C||(C={}));var 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 G;G={},Y(G,v.ARRAY,C.ARRAY_COLUMN),Y(G,v.AUTO_NUMBER,C.AUTO_NUMBER_COLUMN),Y(G,v.DECIMAL,C.DECIMAL_COLUMN),Y(G,v.DEPARTMENTS,C.DEPARTMENT_COLUMN),Y(G,v.FILE,C.FILE_COLUMN),Y(G,v.IMAGE,C.IMAGE_COLUMN),Y(G,v.ADDRESS,C.LOCATION_COLUMN),Y(G,v.EMPLOYEES,C.EMPLOYEE_COLUMN),Y(G,v.TEXT,C.TEXT_COLUMN),Y(G,v.TIMESCOPE,C.TIMESCOPE_COLUMN),Y(G,v.TIMESTAMP,C.TIMESTAMP_COLUMN),Y(G,v.VARCHAR,C.VARCHAR_COLUMN),Y(G,v.RELATION,C.VARCHAR_COLUMN);var he;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATETIME="datetime"})(he||(he={}));var xr="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",jf=xr+"0123456789";function ae(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?xr:jf,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function Bi(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 qf(t){if(Array.isArray(t))return Bi(t)}function Uf(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Fr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Wf(){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 nn(t,e,n){return Wf()?nn=Reflect.construct:nn=function(u,r,a){var l=[null];l.push.apply(l,r);var c=Function.bind.apply(u,l),o=new c;return a&<(o,a.prototype),o},nn.apply(null,arguments)}function at(t){return at=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},at(t)}function Or(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 Kf(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function zf(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Gf(){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 Xf(t,e){return e&&(Qf(e)==="object"||typeof e=="function")?e:Uf(t)}function lt(t,e){return lt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},lt(t,e)}function kr(t){return qf(t)||zf(t)||Jf(t)||Gf()}var Qf=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Jf(t,e){if(!!t){if(typeof t=="string")return Bi(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 Bi(t,e)}}function Ri(t){var e=typeof Map=="function"?new Map:void 0;return Ri=function(i){if(i===null||!Kf(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return nn(i,arguments,at(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),lt(u,i)},Ri(t)}function Zf(){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 Nr(t){var e=Zf();return function(){var i=at(t),u;if(e){var r=at(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Xf(this,u)}}var Pi=console;function Yf(){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=Pi).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(kr(u)))}function Mr(){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=Pi).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(kr(u)))}function pf(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Di=function(t){Or(n,t);var e=Nr(n);function n(i){Fr(this,n);var u;return u=e.call(this,i),u.name="\u{1F4A5} Driven Error",u.message=i?pf(i):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",u}return n}(Ri(Error)),eh=function(t){Or(n,t);var e=Nr(n);function n(i){Fr(this,n);var u;return u=e.call(this,i),u.name="\u{1F6A8} Driven Reference Error",u}return n}(Di);function Lr(t){throw new Di(t)}function $r(t){throw new eh(t)}function th(t){Pi.error(new Di(t))}var nh=Object.prototype.toString;function Vr(t,e){return nh.call(t)==="[object "+e+"]"}function ih(t){return Vr(t,"String")}function uh(t){return Vr(t,"Promise")}var rh=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();uh(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,r,a,l){if(u!==void 0){var c=u[r];if(!(a===l.length-1&&!ih(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 r=n[u];return r!==void 0?String(r):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 ah(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var d=function(){function t(){ah(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]:Hf;return new rh({locale:n,messages:Vf})},t.setLocale=function(n){return this.$i18n.setLocale(n)},t}();d.$i18n=d.resetI18n();function lh(t,e,n){var i=e.replace(/\[(\d)]/g,function(r,a){return"."+a}).split("."),u=!1;return i.reduce(function(r,a,l,c){var o=r;if(!!r){if(!Object.prototype.hasOwnProperty.call(r,a)){Yf("Can not set ".concat(e,"'s ").concat(a," property in current %o, Because there is no ").concat(a," property on the %o"),r,r);return}return l===c.length-1&&!Object.is(o[a],n)&&(o[a]=n,u=!0),o[a]}},t),u}var oh=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},ch={exports:{}};(function(t){(function(e){var n=function(y,E,N){if(!o(E)||m(E)||g(E)||_(E)||c(E))return E;var T,x=0,ne=0;if(h(E))for(T=[],ne=E.length;x<ne;x++)T.push(n(y,E[x],N));else{T={};for(var D in E)Object.prototype.hasOwnProperty.call(E,D)&&(T[y(D,N)]=n(y,E[D],N))}return T},i=function(y,E){E=E||{};var N=E.separator||"_",T=E.split||/(?=[A-Z])/;return y.split(T).join(N)},u=function(y){return I(y)?y:(y=y.replace(/[\-_\s]+(.)?/g,function(E,N){return N?N.toUpperCase():""}),y.substr(0,1).toLowerCase()+y.substr(1))},r=function(y){var E=u(y);return E.substr(0,1).toUpperCase()+E.substr(1)},a=function(y,E){return i(y,E).toLowerCase()},l=Object.prototype.toString,c=function(y){return typeof y=="function"},o=function(y){return y===Object(y)},h=function(y){return l.call(y)=="[object Array]"},m=function(y){return l.call(y)=="[object Date]"},g=function(y){return l.call(y)=="[object RegExp]"},_=function(y){return l.call(y)=="[object Boolean]"},I=function(y){return y=y-0,y===y},b=function(y,E){var N=E&&"process"in E?E.process:E;return typeof N!="function"?y:function(T,x){return N(T,y,x)}},w={camelize:u,decamelize:a,pascalize:r,depascalize:a,camelizeKeys:function(y,E){return n(b(u,E),y)},decamelizeKeys:function(y,E){return n(b(a,E),y,E)},pascalizeKeys:function(y,E){return n(b(r,E),y)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=w:e.humps=w})(oh)})(ch);function ye(t){if(t!==void 0)return typeof t=="object"?JSON.parse(JSON.stringify(t)):t}function sh(t){return Object.prototype.toString.call(t)==="[object Object]"}function xi(t){return Array.isArray(t)}function dh(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Fi(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 fh(t){if(Array.isArray(t))return Fi(t)}function Hr(t,e,n,i,u,r,a){try{var l=t[r](a),c=l.value}catch(o){n(o);return}l.done?e(c):Promise.resolve(c).then(i,u)}function hh(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var r=t.apply(e,n);function a(c){Hr(r,i,u,a,l,"next",c)}function l(c){Hr(r,i,u,a,l,"throw",c)}a(void 0)})}}function yh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function mh(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function vh(){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 Oi(t){return fh(t)||mh(t)||gh(t)||vh()}function gh(t,e){if(!!t){if(typeof t=="string")return Fi(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 Fi(t,e)}}var bh=function(t,e){var n,i,u,r,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return r={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(r[Symbol.iterator]=function(){return this}),r;function l(o){return function(h){return c([o,h])}}function c(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)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 a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){a=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){a.label=o[1];break}if(o[0]===6&&a.label<u[1]){a.label=u[1],u=o;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(o);break}u[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(h){o=[6,h],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},Eh=function(){function t(){yh(this,t),this._events=new Map,this.debug=!1}var e=t.prototype;return e.emit=function(i){for(var u=arguments.length,r=new Array(u>1?u-1:0),a=1;a<u;a++)r[a-1]=arguments[a];var l=this;return hh(function(){var c,o,h,m,g,_,I,b,w,y,E,N;return bh(this,function(T){switch(T.label){case 0:if(c=l._events.get(i),o=[],!c)return[3,10];h=c.slice(),m=!0,g=!1,_=void 0,T.label=1;case 1:T.trys.push([1,8,9,10]),I=h[Symbol.iterator](),T.label=2;case 2:if(m=(b=I.next()).done)return[3,7];if(w=b.value,!c.includes(w))return[3,6];T.label=3;case 3:return T.trys.push([3,5,,6]),l.debug&&Mr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(i," \u4E8B\u4EF6: ").concat(w.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+w.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(r.map(function(){return"%o"}).join(","),"\u3002")].concat(Oi(r))),[4,w.apply(null,Oi(r))];case 4:return y=T.sent(),l.debug&&Mr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(i," \u4E8B\u4EF6: ").concat(w.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+w.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(r.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(Oi(r),[y])),o.push(y),y===!1?[3,7]:[3,6];case 5:return E=T.sent(),th(String(E)),[3,6];case 6:return m=!0,[3,2];case 7:return[3,10];case 8:return N=T.sent(),g=!0,_=N,[3,10];case 9:try{!m&&I.return!=null&&I.return()}finally{if(g)throw _}return[7];case 10:return[2,o]}})})()},e.on=function(i,u){if(this._events.has(i)){var r;(r=this._events.get(i))===null||r===void 0||r.push(u)}else this._events.set(i,[u])},e.off=function(i,u){if(this._events.has(i)){var r=this._events.get(i),a=r==null?void 0:r.indexOf(u);r==null||r.splice(a,1)}},e.delete=function(i){this._events.has(i)&&this._events.delete(i)},e.clear=function(){this._events=new Map},t}(),Ch=[];new Set(Ch.map(function(t){return t.Designer.controlType}));function jr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function S(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function un(t){return un=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},un(t)}function se(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&&ki(t,e)}function qr(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function _h(t,e){return e&&(Ih(e)==="object"||typeof e=="function")?e:jr(t)}function ki(t,e){return ki=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ki(t,e)}var Ih=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function wh(){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 de(t){var e=wh();return function(){var i=un(t),u;if(e){var r=un(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return _h(this,u)}}var ue=function t(e){S(this,t);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:""},Ni=function t(e){S(this,t);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:""},Ah=function(t){se(n,t);var e=de(n);function n(i){S(this,n);var u;u=e.call(this,i);var r;return u.primaryControlId=(r=i==null?void 0:i.primaryControlId)!==null&&r!==void 0?r:"",u}return n}(Ni),Ur=function t(e){S(this,t);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:""},Wr=function t(e){S(this,t);var n,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 r;this.headers=(r=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(a){return new Ur(a)}))!==null&&r!==void 0?r:[]},Sh=function t(e){S(this,t);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:v.VARCHAR},Th=function(t){se(n,t);var e=de(n);function n(i){S(this,n);var u;u=e.call(this,i);var r;u.title=(r=i==null?void 0:i.title)!==null&&r!==void 0?r:"";var a;u.svcCode=(a=i==null?void 0:i.svcCode)!==null&&a!==void 0?a:"";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}(Ni),Bh=function t(e){S(this,t);var n,i;this.type="sublist-page",this.formBind=new Ni(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(a){return new Sh(a)}))!==null&&u!==void 0?u:[];var r;this.sublists=(r=e==null||(i=e.sublists)===null||i===void 0?void 0:i.map(function(a){return new Th(a)}))!==null&&r!==void 0?r:[]},Rh=function t(e){S(this,t),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value},ot=function t(e){S(this,t);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:[]},Ph=function t(e){var n=this;S(this,t),this.type="conditions";var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:ae();var u;this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf();var r;this.level=(r=e==null?void 0:e.level)!==null&&r!==void 0?r:0;var a;this.value=(a=e==null?void 0:e.value)!==null&&a!==void 0?a:"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 h,m=new Kr(l);(h=n.children)===null||h===void 0||h.push(m)}}))},Kr=function t(e){S(this,t),this.type="condition";var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:ae();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 r;this.checked=(r=e==null?void 0:e.checked)!==null&&r!==void 0?r:!1;var a;this.describe=(a=e==null?void 0:e.describe)!==null&&a!==void 0?a:"",this.leftVariableBo=new Rh(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new ot(e==null?void 0:e.rightVariableBo)},p=function t(e){S(this,t);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 r;this.propName=(r=e==null?void 0:e.propName)!==null&&r!==void 0?r:""},Mi=function t(e){S(this,t);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},Dh=function t(e){S(this,t);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 Li(t){var e,n;if(this.filters=(n=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(r){return r.children!==void 0?new Ph(r):new Kr(r)}))!==null&&n!==void 0?n:[],qr(this,X)||qr(this,$i)){var i,u;this.orders=(u=t==null||(i=t.orders)===null||i===void 0?void 0:i.map(function(r){return new Dh(r)}))!==null&&u!==void 0?u:[]}}var X=function t(e){var n=this;S(this,t);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 r;this.valueFieldCode=(r=e==null?void 0:e.valueFieldCode)!==null&&r!==void 0?r:"",this.displayBoList=[],Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(function(c){var o;(o=n.displayBoList)===null||o===void 0||o.push(new Mi(c))}));var a;this.showOrder=(a=e==null?void 0:e.showOrder)!==null&&a!==void 0?a:!0;var l;this.svcCode=(l=e==null?void 0:e.svcCode)!==null&&l!==void 0?l:"",Li.call(this,e)},xh=function t(e){S(this,t);var n,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 r;this.value=(r=e==null||(n=e.value)===null||n===void 0?void 0:n.map(function(a){return new Mi(a)}))!==null&&r!==void 0?r:[]},rn=function(t){se(n,t);var e=de(n);function n(i){S(this,n);var u,r;u=e.call(this,i);var a;return u.attributes=(a=i==null||(r=i.attributes)===null||r===void 0?void 0:r.map(function(l){return new xh(l)}))!==null&&a!==void 0?a:[],u}return n}(X),Fh=function(t){se(n,t);var e=de(n);function n(i){S(this,n);var u;return u=e.call(this,i),u.rootNode=new ot(i==null?void 0:i.rootNode),u}return n}(rn),zr=function t(e){S(this,t);var n,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 r;this.fillList=(r=e==null||(n=e.fillList)===null||n===void 0?void 0:n.map(function(a){return new p(a)}))!==null&&r!==void 0?r:[]},$i=function(t){se(n,t);var e=de(n);function n(i){S(this,n);var u;return u=e.call(this,i),Li.call(jr(u),i),u}return n}(zr),Gr=function(t){se(n,t);var e=de(n);function n(i){S(this,n);var u;u=e.call(this,i);var r;u.mode=(r=i==null?void 0:i.mode)!==null&&r!==void 0?r:"current";var a;return u.multiple=(a=i==null?void 0:i.multiple)!==null&&a!==void 0?a:!1,u}return n}(zr),Xr=function t(e){S(this,t);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:""},Oh=function t(e){S(this,t);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:ae(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 fe(t){var e;return(e=t==null?void 0:t.map(function(n){return new Oh(n)}))!==null&&e!==void 0?e:[]}var Vi=function t(){S(this,t)},kh=function(t){se(n,t);var e=de(n);function n(i){S(this,n);var u;return u=e.call(this),u.amount=new ue(i==null?void 0:i.amount),u.currency=new ue(i==null?void 0:i.currency),u}return n}(Vi),Nh=function t(e){S(this,t);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:an.CNY},Mh=function(t){se(n,t);var e=de(n);function n(i){S(this,n);var u;return u=e.call(this),u.min=new ue(i==null?void 0:i.min),u.max=new ue(i==null?void 0:i.max),u}return n}(Vi),Lh=function t(e){S(this,t);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:""},$h=function t(e){S(this,t);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 r;this.districtDisplay=(r=e==null?void 0:e.districtDisplay)!==null&&r!==void 0?r:"";var a;this.province=(a=e==null?void 0:e.province)!==null&&a!==void 0?a:"";var l;this.provinceDisplay=(l=e==null?void 0:e.provinceDisplay)!==null&&l!==void 0?l:""},Vh=function(t){se(n,t);var e=de(n);function n(i){S(this,n);var u;return u=e.call(this),u.result=new ue(i==null?void 0:i.result),u.unit=new ue(i==null?void 0:i.unit),u}return n}(Vi),Hh=function t(e){S(this,t);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:""},an;(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"})(an||(an={}));var s;(function(t){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.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 Hi;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(Hi||(Hi={}));var ie=function t(e){S(this,t);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:ae(8);var i;this.type=(i=e==null?void 0:e.type)!==null&&i!==void 0?i:"";var u;this.isShow=(u=e==null?void 0:e.isShow)!==null&&u!==void 0?u:!0,this.invalidType=e==null?void 0:e.invalidType,this.condition=e==null?void 0:e.condition;var r;this.content=(r=e==null?void 0:e.content)!==null&&r!==void 0?r:"";var a;this.formKey=(a=e==null?void 0:e.formKey)!==null&&a!==void 0?a:"",this.icon=e==null?void 0:e.icon,this.showType=e==null?void 0:e.showType;var l;this.openType=(l=e==null?void 0:e.openType)!==null&&l!==void 0?l:"modal";var c;this.priorityProcess=(c=e==null?void 0:e.priorityProcess)!==null&&c!==void 0?c:!1,this.needConfirm=e==null?void 0:e.needConfirm,this.confirmMessage=e==null?void 0:e.confirmMessage},jh=function t(e){S(this,t);var n,i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:ae(8);var u;this.title=(u=e==null?void 0:e.title)!==null&&u!==void 0?u:"";var r;this.headers=(r=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(a){return new Ur(a)}))!==null&&r!==void 0?r:[],Li.call(this,e)},qh=function t(e){S(this,t);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 r;this.heightConfig=(r=e==null?void 0:e.heightConfig)!==null&&r!==void 0?r:"fill"};function Uh(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ji(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Wh(){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 Wh()?ln=Reflect.construct:ln=function(u,r,a){var l=[null];l.push.apply(l,r);var c=Function.bind.apply(u,l),o=new c;return a&&st(o,a.prototype),o},ln.apply(null,arguments)}function ct(t){return ct=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ct(t)}function Kh(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&&st(t,e)}function zh(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Gh(t,e){return e&&(Xh(e)==="object"||typeof e=="function")?e:Uh(t)}function st(t,e){return st=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},st(t,e)}var Xh=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function qi(t){var e=typeof Map=="function"?new Map:void 0;return qi=function(i){if(i===null||!zh(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return ln(i,arguments,ct(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),st(u,i)},qi(t)}function Qh(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Jh(t){var e=Qh();return function(){var i=ct(t),u;if(e){var r=ct(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Gh(this,u)}}var j=function t(e){ji(this,t),this.isHide={type:"boolean"}},Ie=function(t){Kh(n,t);var e=Jh(n);function n(i){return ji(this,n),e.call(this)}return n}(qi(Array)),q=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";ji(this,t);var i;this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new qh(e==null?void 0:e.style);var u;this.caption=(u=e==null?void 0:e.caption)!==null&&u!==void 0?u:n};q.Rules=j,q.RuntimeRules=Ie;function le(){return le=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},le.apply(this,arguments)}function Zh(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Ui(t){return Ui=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ui(t)}function on(t,e){return on=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},on(t,e)}function Yh(){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 cn(t,e,n){return Yh()?cn=Reflect.construct:cn=function(u,r,a){var l=[null];l.push.apply(l,r);var c=Function.bind.apply(u,l),o=new c;return a&&on(o,a.prototype),o},cn.apply(null,arguments)}function ph(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Wi(t){var e=typeof Map=="function"?new Map:void 0;return Wi=function(i){if(i===null||!ph(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 cn(i,arguments,Ui(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),on(u,i)},Wi(t)}var ey=/%[sdj%]/g,Qr=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Qr=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function Ki(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 ee(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=1,u=e[0],r=e.length;if(typeof u=="function")return u.apply(null,e.slice(1));if(typeof u=="string"){var a=String(u).replace(ey,function(l){if(l==="%%")return"%";if(i>=r)return l;switch(l){case"%s":return String(e[i++]);case"%d":return Number(e[i++]);case"%j":try{return JSON.stringify(e[i++])}catch(c){return"[Circular]"}break;default:return l}});return a}return u}function ty(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function $(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||ty(e)&&typeof t=="string"&&!t)}function ny(t,e,n){var i=[],u=0,r=t.length;function a(l){i.push.apply(i,l),u++,u===r&&n(i)}t.forEach(function(l){e(l,a)})}function Jr(t,e,n){var i=0,u=t.length;function r(a){if(a&&a.length){n(a);return}var l=i;i=i+1,l<u?e(t[l],r):n([])}r([])}function iy(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var Zr=function(t){Zh(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}(Wi(Error));function uy(t,e,n,i){if(e.first){var u=new Promise(function(m,g){var _=function(w){return i(w),w.length?g(new Zr(w,Ki(w))):m()},I=iy(t);Jr(I,n,_)});return u.catch(function(m){return m}),u}var r=e.firstFields||[];r===!0&&(r=Object.keys(t));var a=Object.keys(t),l=a.length,c=0,o=[],h=new Promise(function(m,g){var _=function(b){if(o.push.apply(o,b),c++,c===l)return i(o),o.length?g(new Zr(o,Ki(o))):m()};a.length||(i(o),m()),a.forEach(function(I){var b=t[I];r.indexOf(I)!==-1?Jr(b,n,_):ny(b,n,_)})});return h.catch(function(m){return m}),h}function Yr(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 pr(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]=le(le({},t[n]),i):t[n]=i}}return t}function ea(t,e,n,i,u,r){t.required&&(!n.hasOwnProperty(t.field)||$(e,r||t.type))&&i.push(ee(u.messages.required,t.fullField))}function ry(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(ee(u.messages.whitespace,t.fullField))}var zi={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},dt={integer:function(e){return dt.number(e)&&parseInt(e,10)===e},float:function(e){return dt.number(e)&&!dt.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"&&!dt.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(zi.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(zi.url)},hex:function(e){return typeof e=="string"&&!!e.match(zi.hex)}};function ay(t,e,n,i,u){if(t.required&&e===void 0){ea(t,e,n,i,u);return}var r=["integer","float","array","regexp","object","method","email","number","date","url","hex"],a=t.type;r.indexOf(a)>-1?dt[a](e)||i.push(ee(u.messages.types[a],t.fullField,t.type)):a&&typeof e!==t.type&&i.push(ee(u.messages.types[a],t.fullField,t.type))}function ly(t,e,n,i,u){var r=typeof t.len=="number",a=typeof t.min=="number",l=typeof t.max=="number",c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,o=e,h=null,m=typeof e=="number",g=typeof e=="string",_=Array.isArray(e);if(m?h="number":g?h="string":_&&(h="array"),!h)return!1;_&&(o=e.length),g&&(o=e.replace(c,"_").length),r?o!==t.len&&i.push(ee(u.messages[h].len,t.fullField,t.len)):a&&!l&&o<t.min?i.push(ee(u.messages[h].min,t.fullField,t.min)):l&&!a&&o>t.max?i.push(ee(u.messages[h].max,t.fullField,t.max)):a&&l&&(o<t.min||o>t.max)&&i.push(ee(u.messages[h].range,t.fullField,t.min,t.max))}var qe="enum";function oy(t,e,n,i,u){t[qe]=Array.isArray(t[qe])?t[qe]:[],t[qe].indexOf(e)===-1&&i.push(ee(u.messages[qe],t.fullField,t[qe].join(", ")))}function cy(t,e,n,i,u){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(ee(u.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var r=new RegExp(t.pattern);r.test(e)||i.push(ee(u.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var A={required:ea,whitespace:ry,type:ay,range:ly,enum:oy,pattern:cy};function sy(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if($(e,"string")&&!t.required)return n();A.required(t,e,i,r,u,"string"),$(e,"string")||(A.type(t,e,i,r,u),A.range(t,e,i,r,u),A.pattern(t,e,i,r,u),t.whitespace===!0&&A.whitespace(t,e,i,r,u))}n(r)}function dy(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if($(e)&&!t.required)return n();A.required(t,e,i,r,u),e!==void 0&&A.type(t,e,i,r,u)}n(r)}function fy(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(e===""&&(e=void 0),$(e)&&!t.required)return n();A.required(t,e,i,r,u),e!==void 0&&(A.type(t,e,i,r,u),A.range(t,e,i,r,u))}n(r)}function hy(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if($(e)&&!t.required)return n();A.required(t,e,i,r,u),e!==void 0&&A.type(t,e,i,r,u)}n(r)}function yy(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if($(e)&&!t.required)return n();A.required(t,e,i,r,u),$(e)||A.type(t,e,i,r,u)}n(r)}function my(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if($(e)&&!t.required)return n();A.required(t,e,i,r,u),e!==void 0&&(A.type(t,e,i,r,u),A.range(t,e,i,r,u))}n(r)}function vy(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if($(e)&&!t.required)return n();A.required(t,e,i,r,u),e!==void 0&&(A.type(t,e,i,r,u),A.range(t,e,i,r,u))}n(r)}function gy(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(e==null&&!t.required)return n();A.required(t,e,i,r,u,"array"),e!=null&&(A.type(t,e,i,r,u),A.range(t,e,i,r,u))}n(r)}function by(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if($(e)&&!t.required)return n();A.required(t,e,i,r,u),e!==void 0&&A.type(t,e,i,r,u)}n(r)}var Ey="enum";function Cy(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if($(e)&&!t.required)return n();A.required(t,e,i,r,u),e!==void 0&&A[Ey](t,e,i,r,u)}n(r)}function _y(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if($(e,"string")&&!t.required)return n();A.required(t,e,i,r,u),$(e,"string")||A.pattern(t,e,i,r,u)}n(r)}function Iy(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if($(e,"date")&&!t.required)return n();if(A.required(t,e,i,r,u),!$(e,"date")){var l;e instanceof Date?l=e:l=new Date(e),A.type(t,l,i,r,u),l&&A.range(t,l.getTime(),i,r,u)}}n(r)}function wy(t,e,n,i,u){var r=[],a=Array.isArray(e)?"array":typeof e;A.required(t,e,i,r,u,a),n(r)}function Gi(t,e,n,i,u){var r=t.type,a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if($(e,r)&&!t.required)return n();A.required(t,e,i,a,u,r),$(e,r)||A.type(t,e,i,a,u)}n(a)}function Ay(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if($(e)&&!t.required)return n();A.required(t,e,i,r,u)}n(r)}var ft={string:sy,method:dy,number:fy,boolean:hy,regexp:yy,integer:my,float:vy,array:gy,object:by,enum:Cy,pattern:_y,date:Iy,url:Gi,hex:Gi,email:Gi,required:wy,any:Ay};function Xi(){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 Qi=Xi();function me(t){this.rules=null,this._messages=Qi,this.define(t)}me.prototype={messages:function(e){return e&&(this._messages=pr(Xi(),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 r=e,a=n,l=i;if(typeof a=="function"&&(l=a,a={}),!this.rules||Object.keys(this.rules).length===0)return l&&l(),Promise.resolve();function c(b){var w,y=[],E={};function N(T){if(Array.isArray(T)){var x;y=(x=y).concat.apply(x,T)}else y.push(T)}for(w=0;w<b.length;w++)N(b[w]);y.length?E=Ki(y):(y=null,E=null),l(y,E)}if(a.messages){var o=this.messages();o===Qi&&(o=Xi()),pr(o,a.messages),a.messages=o}else a.messages=this.messages();var h,m,g={},_=a.keys||Object.keys(this.rules);_.forEach(function(b){h=u.rules[b],m=r[b],h.forEach(function(w){var y=w;typeof y.transform=="function"&&(r===e&&(r=le({},r)),m=r[b]=y.transform(m)),typeof y=="function"?y={validator:y}:y=le({},y),y.validator=u.getValidationMethod(y),y.field=b,y.fullField=y.fullField||b,y.type=u.getType(y),y.validator&&(g[b]=g[b]||[],g[b].push({rule:y,value:m,source:r,field:b}))})});var I={};return uy(g,a,function(b,w){var y=b.rule,E=(y.type==="object"||y.type==="array")&&(typeof y.fields=="object"||typeof y.defaultField=="object");E=E&&(y.required||!y.required&&b.value),y.field=b.field;function N(ne,D){return le(le({},D),{},{fullField:y.fullField+"."+ne})}function T(ne){ne===void 0&&(ne=[]);var D=ne;if(Array.isArray(D)||(D=[D]),!a.suppressWarning&&D.length&&me.warning("async-validator:",D),D.length&&y.message!==void 0&&(D=[].concat(y.message)),D=D.map(Yr(y)),a.first&&D.length)return I[y.field]=1,w(D);if(!E)w(D);else{if(y.required&&!b.value)return y.message!==void 0?D=[].concat(y.message).map(Yr(y)):a.error&&(D=[a.error(y,ee(a.messages.required,y.field))]),w(D);var oe={};if(y.defaultField)for(var oc in b.value)b.value.hasOwnProperty(oc)&&(oe[oc]=y.defaultField);oe=le(le({},oe),b.rule.fields);for(var nt in oe)if(oe.hasOwnProperty(nt)){var g0=Array.isArray(oe[nt])?oe[nt]:[oe[nt]];oe[nt]=g0.map(N.bind(null,nt))}var cc=new me(oe);cc.messages(a.messages),b.rule.options&&(b.rule.options.messages=a.messages,b.rule.options.error=a.error),cc.validate(b.value,b.rule.options||a,function(Br){var it=[];D&&D.length&&it.push.apply(it,D),Br&&Br.length&&it.push.apply(it,Br),w(it.length?it:null)})}}var x;y.asyncValidator?x=y.asyncValidator(y,b.value,T,b.source,a):y.validator&&(x=y.validator(y,b.value,T,b.source,a),x===!0?T():x===!1?T(y.message||y.field+" fails"):x instanceof Array?T(x):x instanceof Error&&T(x.message)),x&&x.then&&x.then(function(){return T()},function(ne){return T(ne)})},function(b){c(b)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!ft.hasOwnProperty(e.type))throw new Error(ee("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if(typeof e.validator=="function")return e.validator;var n=Object.keys(e),i=n.indexOf("message");return i!==-1&&n.splice(i,1),n.length===1&&n[0]==="required"?ft.required:ft[this.getType(e)]||!1}},me.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");ft[e]=n},me.warning=Qr,me.messages=Qi,me.validators=ft;var Sy={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 Ty(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new me(t);return n.messages(Object.assign(Sy,e)),n}var By=new Eh;function Ji(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 Ry(t){if(Array.isArray(t))return t}function Py(t){if(Array.isArray(t))return Ji(t)}function ta(t,e,n,i,u,r,a){try{var l=t[r](a),c=l.value}catch(o){n(o);return}l.done?e(c):Promise.resolve(c).then(i,u)}function na(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var r=t.apply(e,n);function a(c){ta(r,i,u,a,l,"next",c)}function l(c){ta(r,i,u,a,l,"throw",c)}a(void 0)})}}function Dy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ia(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 xy(t,e,n){return e&&ia(t.prototype,e),n&&ia(t,n),t}function Fy(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ua(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function ra(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Oy(){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 ky(){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 aa(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){Fy(t,u,n[u])})}return t}function Ny(t){return Ry(t)||ra(t)||la(t)||Oy()}function Zi(t){return Py(t)||ra(t)||la(t)||ky()}function la(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 oa=function(t,e){var n,i,u,r,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return r={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(r[Symbol.iterator]=function(){return this}),r;function l(o){return function(h){return c([o,h])}}function c(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)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 a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){a=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){a.label=o[1];break}if(o[0]===6&&a.label<u[1]){a.label=u[1],u=o;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(o);break}u[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(h){o=[6,h],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},O=function(){function e(i){var u=this;Dy(this,e),this.setting=[],this.eventKeys=[],this.customEvents=[],this.parent=null,this.updateSetting=sa,this.removeSetting=ca,this._callControlHooks("preInstance",i);var r=ua(this,e)?this.constructor:void 0,a=r.controlName,l=r.controlIcon,c=r.controlType,o=r.controlFieldType,h=r.controlEventKeys,m=r.controlCustomEvents,g=r.name,_=r.setting;a&&l&&c||$r("The ".concat(g," controlName,controlIcon,controlType is not define"));var I;this.id=(I=i==null?void 0:i.id)!==null&&I!==void 0?I:ae(10),this.name=a,this.icon=l;var b;this.type=(b=i==null?void 0:i.type)!==null&&b!==void 0?b:c,this.props=new q(i==null?void 0:i.props,(ua(this,e)?this.constructor:void 0).controlName);var w;this.controlType=(w=i==null?void 0:i.controlType)!==null&&w!==void 0?w:"base",this.setting=ye(_);var y;this.fieldType=(y=i==null?void 0:i.fieldType)!==null&&y!==void 0?y:o,this.eventKeys=ye(h),this.customEvents=ye(m),Promise.resolve().then(function(){u._callControlHooks("postInstance",i)})}var n=e.prototype;return n._callControlHooks=function(){for(var u=arguments.length,r=new Array(u),a=0;a<u;a++)r[a]=arguments[a];var l,c=Ny(r),o=c[0],h=c.slice(1);return(l=By).emit.apply(l,[o,this].concat(Zi(h)))},n.preUpdate=function(u,r){this._callControlHooks("preUpdateProps",u,r)},n.postUpdate=function(u,r){this._callControlHooks("postUpdateProps",u,r)},n.updateProps=function(u,r){this.preUpdate(u,r),lh(this.props,u,r),this.postUpdate(u,r)},n.preValidate=function(){var u=this;return na(function(){var r,a,l;return oa(this,function(c){switch(c.label){case 0:return r=aa({},u.rules),[4,u._callControlHooks("preValidate",r)];case 1:return a=c.sent(),l=a[a.length-1],[2,l===!1?void 0:l]}})})()},n.validate=function(u,r){var a=this;return na(function(){var l,c,o,h;return oa(this,function(m){switch(m.label){case 0:return[4,a.preValidate()];case 1:l=m.sent(),c=l!==void 0?l:aa({},a.rules),Array.isArray(r)&&r.forEach(function(g){c.hasOwnProperty(g)&&delete c[g]}),o=Ty(c,u),m.label=2;case 2:return m.trys.push([2,4,,5]),[4,o.validate(a.props)];case 3:return m.sent(),[2,!0];case 4:throw h=m.sent(),h.control||(h.control=a),h;case 5:return[2]}})})()},n.toDataBindModel=function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=this.fieldType,a=this.id,l=this.type,c=this.props,o=c.dataBind,h=c.datasourceBind,m=c.optionConfig,g=c.caption,_=c.required,I=c.maxLength,b=c.options,w=c.encrypted,y=c.encryptedMode;if(!(!r&&!o&&!h)){var E={parentId:u,fieldType:r,controlId:a,caption:g,type:l,props:{}};switch(o&&(E.dataBind=o),m){case"datasource":case void 0:h&&(E.datasourceBind=h);break;case"custom":E.props.options=b;break}return _!==void 0&&(E.required=_),I!==void 0&&(E.maxLength=I),w!==void 0&&(E.encrypted=w),y!==void 0&&(E.encryptedMode=y),E}},n.preToSchema=function(){this._callControlHooks("preToSchema",this)},n.toSchema=function(){return this.preToSchema(),{id:this.id,type:this.type,props:ye(this.props),fieldType:this.fieldType,controlType:this.controlType}},e.updateBasicControl=function(u,r){if(u==="setting"){if(r.add){var a;(a=this.setting).push.apply(a,Zi(r.add))}r.remove&&this.removeSettingItem(r.remove),r.update}},xy(e,[{key:"rules",get:function(){var u=this.props.constructor.Rules;return u?new u(this.props):{}}}]),e}();O.controlName="\u63A7\u4EF6",O.controlIcon="icon",O.controlType="control",O.controlEventKeys=[],O.controlCustomEvents=[],O.setting=[],O.__is_control__=!0,O.removeSettingItem=ca,O.updateSettingItem=sa;function ca(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(i){var u=typeof i!="string",r=e.setting.findIndex(function(c){return c.key===(u?i.key:i)});if(r!==-1){var a,l;u?e.setting[r].showItems=(a=e.setting[r].showItems)===null||a===void 0?void 0:a.filter(function(c){return!i.hideItems.includes(c)}):e.setting.splice(r,1),u&&!(!((l=e.setting[r].showItems)===null||l===void 0)&&l.length)&&e.setting.splice(r,1)}})}function sa(t,e){var n=this,i=typeof t=="string"?[t]:t;i.forEach(function(u){var r=n.setting.find(function(o){return o.key===u});if(r){if(typeof e=="boolean")r.visible=e;else if(typeof e=="object"){var a,l=(a=e.type)!==null&&a!==void 0?a:"replace";if(l==="replace")r.showItems=e.showItems;else{var c;(c=r.showItems).push.apply(c,Zi(e.showItems))}}}})}function My(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function da(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Ly(t,e,n){return e&&da(t.prototype,e),n&&da(t,n),t}function $y(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var W=function(){function e(n){My(this,e),this.customEvents=[],this.parent=null;var i=$y(this,e)?this.constructor:void 0,u=i.controlType,r=i.controlFieldType,a=i.name,l=i.controlCustomEvents;u||$r("The ".concat(a," controlType is not define"));var c;this.id=(c=n==null?void 0:n.id)!==null&&c!==void 0?c:ae(10);var o;this.type=(o=n==null?void 0:n.type)!==null&&o!==void 0?o:u,this.props=new q(n==null?void 0:n.props),this.customEvents=l;var h;this.controlType=(h=n==null?void 0:n.controlType)!==null&&h!==void 0?h:"base";var m;this.fieldType=(m=n==null?void 0:n.fieldType)!==null&&m!==void 0?m:r;var g;this.pageStatus=(g=n==null?void 0:n.pageStatus)!==null&&g!==void 0?g:Hi.UNKNOWN}return Ly(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}();W.controlType="control",W.__is_control__=!0,W.controlCustomEvents=[];function Yi(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:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:d.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:d.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(n,i,u){i.length===0&&u(d.getMessage("optionIsRequired")),u()}},{type:"array",validator:function(n,i,u){var r=i.map(function(l){return l.value}),a=dh(r);r.length!==a.length?u(d.getMessage("optionIdIsRepeat")):u()},message:d.getMessage("optionIdIsRepeat")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",validator:function(n,i,u){i.length===0&&u(d.getMessage("pleaseBindAtLeastOneDisplayValue")),u()},message:d.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:d.getMessage("isNotBoolean")}}}}]}}])}function pi(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:d.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:d.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:d.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:d.getMessage("isNotString")},key:{type:"string",required:!0,message:d.getMessage("isNotString")},value:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",validator:function(u,r,a){r.length===0&&a(d.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),a()},message:d.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:d.getMessage("isNotBoolean")}}}}]}}]}function fa(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function sn(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 fn(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&&eu(t,e)}function Vy(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Hy(t,e){return e&&(jy(e)==="object"||typeof e=="function")?e:fa(t)}function eu(t,e){return eu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},eu(t,e)}var jy=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function qy(){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 hn(t){var e=qy();return function(){var i=dn(t),u;if(e){var r=dn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Hy(this,u)}}var Q=function(t){fn(n,t);var e=hn(n);function n(i){sn(this,n);var u;u=e.call(this,i),u.dataBind={},u.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},u.isHideCaption={type:"boolean"},u.labelPosition={type:"enum",enum:["top","left"]},u.defaultState={type:"enum",enum:["default","readonly"]},u.required={type:"boolean"},u.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")};var r={fieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")}};if(Vy(i.dataBind,ue))u.dataBind={type:"object",required:!0,fields:ye(r),message:d.getMessage("pleaseEnterFieldCode")};else{var a={type:"object",required:!0,fields:{},message:d.getMessage("pleaseEnterFieldCode")};Object.keys(i.dataBind).forEach(function(l){a.fields[l]={type:"object",required:!0,fields:ye(r),message:d.getMessage("pleaseEnterFieldCode")}}),u.dataBind=a}return i.isShowCaptionTip&&(u.captionTip.required=!0),u}return n}(j),k=function(t){fn(n,t);var e=hn(n);function n(i){sn(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:d.getMessage("runtimeRequired",{caption:i.caption})}),u}return n}(Ie),B=function(t){fn(n,t);var e=hn(n);function n(i){sn(this,n);var u;u=e.call(this,i);var r;u.caption=(r=i==null?void 0:i.caption)!==null&&r!==void 0?r:"";var a;u.isHideCaption=(a=i==null?void 0:i.isHideCaption)!==null&&a!==void 0?a:!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 h;u.labelPosition=(h=i==null?void 0:i.labelPosition)!==null&&h!==void 0?h:"top";var m;u.placeholder=(m=i==null?void 0:i.placeholder)!==null&&m!==void 0?m:"";var g;u.required=(g=i==null?void 0:i.required)!==null&&g!==void 0?g:!1;var _;u.requiredMessage=(_=i==null?void 0:i.requiredMessage)!==null&&_!==void 0?_:"",u.dataBind=new ue(i==null?void 0:i.dataBind);var I;return u.defaultValue=(I=i==null?void 0:i.defaultValue)!==null&&I!==void 0?I:"",u}return n}(q);B.Rules=Q,B.RuntimeRules=k;var Ue=function(t){fn(n,t);var e=hn(n);function n(i){sn(this,n);var u;return u=e.call(this,i),u.optionConfig={type:"enum",enum:["custom","datasource"],message:d.getMessage("PleaseSelectTheCorrectOptionSettings")},u.options=[{type:"array",message:d.getMessage("isNotArray")}],u.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],Yi.call(fa(u),i),u}return n}(Q);function Uy(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Wy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function yn(t){return yn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yn(t)}function Ky(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&&tu(t,e)}function zy(t,e){return e&&(Gy(e)==="object"||typeof e=="function")?e:Uy(t)}function tu(t,e){return tu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},tu(t,e)}var Gy=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Xy(){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 Qy(t){var e=Xy();return function(){var i=yn(t),u;if(e){var r=yn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return zy(this,u)}}var R=function(t){Ky(n,t);var e=Qy(n);function n(i){Wy(this,n);var u;return u=e.call(this,i),u.controlType="form",u.props=new B(i==null?void 0:i.props),u}return n}(O);R.controlEventKeys=["on_change","on_focus","on_blur"];function Jy(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Zy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function mn(t){return mn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mn(t)}function Yy(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&&nu(t,e)}function py(t,e){return e&&(em(e)==="object"||typeof e=="function")?e:Jy(t)}function nu(t,e){return nu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},nu(t,e)}var em=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function tm(){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 nm(t){var e=tm();return function(){var i=mn(t),u;if(e){var r=mn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return py(this,u)}}var P=function(t){Yy(n,t);var e=nm(n);function n(i){Zy(this,n);var u;return u=e.call(this,i),u.controlType="form",u.props=new B(i==null?void 0:i.props),u}return n}(W);function im(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function um(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 rm(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 am(t,e){return e&&(lm(e)==="object"||typeof e=="function")?e:im(t)}function iu(t,e){return iu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},iu(t,e)}var lm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function om(){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 cm(t){var e=om();return function(){var i=vn(t),u;if(e){var r=vn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return am(this,u)}}var M=function(t){rm(n,t);var e=cm(n);function n(i){return um(this,n),e.call(this,i)}return n}(q);function uu(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 sm(t){if(Array.isArray(t))return uu(t)}function dm(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function fm(){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 ha(t){return sm(t)||dm(t)||hm(t)||fm()}function hm(t,e){if(!!t){if(typeof t=="string")return uu(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 uu(t,e)}}function ym(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function ya(t,e){t.parent=e,ym(t,"parent")}function mm(t,e){t.forEach(function(n){ya(n,e)})}var ma=Symbol("targetKey");function va(t){var e;return(e=t[ma])!==null&&e!==void 0?e:t}function ga(t,e){return mm(t,e),new Proxy(t,{get:function(i,u){for(var r=arguments.length,a=new Array(r>2?r-2:0),l=2;l<r;l++)a[l-2]=arguments[l];var c;return u===ma?i:(c=Reflect).get.apply(c,[i,u].concat(ha(a)))},set:function(i,u,r){for(var a=arguments.length,l=new Array(a>3?a-3:0),c=3;c<a;c++)l[c-3]=arguments[c];var o;if(xi(t)&&u==="length"&&r===t.length)return!0;var h=(o=Reflect).set.apply(o,[i,u,r].concat(ha(l)));return sh(r)&&ya(r,e),h}})}function we(t,e,n,i){var u=i!=null?i:t,r=ga(va(n!=null?n:[]),u);Object.defineProperty(t,e,{get:function(){return r},set:function(l){r=ga(va(l),u)},enumerable:!0})}function ru(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function vm(t){if(Array.isArray(t))return ru(t)}function ba(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ea(t,e,n,i,u,r,a){try{var l=t[r](a),c=l.value}catch(o){n(o);return}l.done?e(c):Promise.resolve(c).then(i,u)}function gm(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var r=t.apply(e,n);function a(c){Ea(r,i,u,a,l,"next",c)}function l(c){Ea(r,i,u,a,l,"throw",c)}a(void 0)})}}function bm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Em(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function We(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?We=Reflect.get:We=function(u,r,a){var l=Rm(u,r);if(!!l){var c=Object.getOwnPropertyDescriptor(l,r);return c.get?c.get.call(a):c.value}},We(t,e,n||t)}function ve(t){return ve=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ve(t)}function Cm(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 _m(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Im(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function wm(){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 Am(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){Em(t,u,n[u])})}return t}function Sm(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 Tm(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Sm(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function Bm(t,e){return e&&(Pm(e)==="object"||typeof e=="function")?e:ba(t)}function au(t,e){return au=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},au(t,e)}function Rm(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=ve(t),t!==null););return t}function Ca(t){return vm(t)||Im(t)||Dm(t)||wm()}var Pm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Dm(t,e){if(!!t){if(typeof t=="string")return ru(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ru(t,e)}}function xm(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Fm(t){var e=xm();return function(){var i=ve(t),u;if(e){var r=ve(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Bm(this,u)}}var Om=function(t,e){var n,i,u,r,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return r={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(r[Symbol.iterator]=function(){return this}),r;function l(o){return function(h){return c([o,h])}}function c(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)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 a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){a=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){a.label=o[1];break}if(o[0]===6&&a.label<u[1]){a.label=u[1],u=o;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(o);break}u[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(h){o=[6,h],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},km=1e4,V=function(e){Cm(i,e);var n=Fm(i);function i(r){bm(this,i);var a;a=n.call(this,r),a.controlType="layout";var l=_m(this,i)?this.constructor:void 0,c=l.excludes,o=l.childrenMaxLength;return a.props=new M(r==null?void 0:r.props),we(ba(a),"children",r==null?void 0:r.children),a.excludes=ye(c),a.childrenMaxLength=o,a}var u=i.prototype;return u.judgeExcludesChildren=function(a){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(a)},u.judgeJoinChildren=function(a){var l=this.judgeExcludesChildren(a);return l&&this.childrenMaxLength>this.children.length},u.validate=function(a,l){var c=this,o=this,h=function(){return We(ve(i.prototype),"validate",c)};return gm(function(){return Om(this,function(m){switch(m.label){case 0:return[4,h().call(o,a,l)];case 1:return m.sent(),[4,Promise.all(o.children.map(function(g){return g.validate(a,l)}))];case 2:return m.sent(),[2,!0]}})})()},u.toDataBindModel=function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,l=We(ve(i.prototype),"toDataBindModel",this).call(this),c=l?[l]:[];return this.children.reduce(function(o,h){var m=h.toDataBindModel(a);if(Array.isArray(m)){var g=m.filter(function(_){return!!_});return Ca(o).concat(Ca(g))}return m&&o.push(m),o},c)},u.toSchema=function(){var a=We(ve(i.prototype),"toSchema",this).call(this),l=this.children.map(function(c){var o=c.toSchema();return o});return Tm(Am({},a),{children:l})},i}(O);V.excludes=!1,V.childrenMaxLength=km;function _a(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Nm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function gn(t){return gn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gn(t)}function Mm(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 Lm(t,e){return e&&($m(e)==="object"||typeof e=="function")?e:_a(t)}function lu(t,e){return lu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},lu(t,e)}var $m=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Vm(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Hm(t){var e=Vm();return function(){var i=gn(t),u;if(e){var r=gn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Lm(this,u)}}var U=function(t){Mm(n,t);var e=Hm(n);function n(i){Nm(this,n);var u;return u=e.call(this,i),u.controlType="layout",u.props=new M(i==null?void 0:i.props),we(_a(u),"children",i==null?void 0:i.children),u}return n}(W);function Ia(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function jm(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 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&&ou(t,e)}function Um(t,e){return e&&(Wm(e)==="object"||typeof e=="function")?e:Ia(t)}function ou(t,e){return ou=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ou(t,e)}var Wm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Km(){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 zm(t){var e=Km();return function(){var i=bn(t),u;if(e){var r=bn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Um(this,u)}}var En=function(t){qm(n,t);var e=zm(n);function n(i,u){jm(this,n);var r;return r=e.call(this,u),we(Ia(r),"headers",u==null?void 0:u.headers,i),r}return n}(q);function cu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Gm(t){if(Array.isArray(t))return cu(t)}function wa(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Aa(t,e,n,i,u,r,a){try{var l=t[r](a),c=l.value}catch(o){n(o);return}l.done?e(c):Promise.resolve(c).then(i,u)}function Xm(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var r=t.apply(e,n);function a(c){Aa(r,i,u,a,l,"next",c)}function l(c){Aa(r,i,u,a,l,"throw",c)}a(void 0)})}}function Qm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Jm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ke(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Ke=Reflect.get:Ke=function(u,r,a){var l=nv(u,r);if(!!l){var c=Object.getOwnPropertyDescriptor(l,r);return c.get?c.get.call(a):c.value}},Ke(t,e,n||t)}function ge(t){return ge=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ge(t)}function Zm(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 Ym(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function pm(){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 Sa(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){Jm(t,u,n[u])})}return t}function ev(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 Ta(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):ev(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function tv(t,e){return e&&(iv(e)==="object"||typeof e=="function")?e:wa(t)}function su(t,e){return su=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},su(t,e)}function nv(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=ge(t),t!==null););return t}function Ba(t){return Gm(t)||Ym(t)||uv(t)||pm()}var iv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function uv(t,e){if(!!t){if(typeof t=="string")return cu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return cu(t,e)}}function rv(){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=rv();return function(){var i=ge(t),u;if(e){var r=ge(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return tv(this,u)}}var lv=function(t,e){var n,i,u,r,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return r={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(r[Symbol.iterator]=function(){return this}),r;function l(o){return function(h){return c([o,h])}}function c(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)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 a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){a=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){a.label=o[1];break}if(o[0]===6&&a.label<u[1]){a.label=u[1],u=o;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(o);break}u[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(h){o=[6,h],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},du=function(t){Zm(n,t);var e=av(n);function n(u){Qm(this,n);var r;return r=e.call(this,u),r.controlType="list",r.props=new En(wa(r),u==null?void 0:u.props),r}var i=n.prototype;return i.validate=function(r,a){var l=this,c=this,o=function(){return Ke(ge(n.prototype),"validate",l)};return Xm(function(){return lv(this,function(h){switch(h.label){case 0:return[4,o().call(c,r)];case 1:return h.sent(),[4,Promise.all(c.props.headers.map(function(m){return m.validate(r,a)}))];case 2:return h.sent(),[2,!0]}})})()},i.toDataBindModel=function(){var r=Ke(ge(n.prototype),"toDataBindModel",this).call(this),a=r?[r]:[],l=this.id;return this.props.headers.reduce(function(c,o){var h=o.toDataBindModel(l);if(Array.isArray(h)){var m=h.filter(function(g){return!!g});return Ba(c).concat(Ba(m))}return h&&c.push(h),c},a)},i.toSchema=function(){var r=Ke(ge(n.prototype),"toSchema",this).call(this),a=this.props.headers.map(function(l){return l.toSchema()});return Ta(Sa({},r),{props:Ta(Sa({},this.props),{headers:a})})},n}(O);du.controlFieldType=v.LIST;function fu(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ov(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ra(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 cv(t,e,n){return e&&Ra(t.prototype,e),n&&Ra(t,n),t}function Cn(t){return Cn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cn(t)}function sv(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 dv(t,e){return e&&(fv(e)==="object"||typeof e=="function")?e:fu(t)}function hu(t,e){return hu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},hu(t,e)}var fv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function hv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function yv(t){var e=hv();return function(){var i=Cn(t),u;if(e){var r=Cn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return dv(this,u)}}var Pa=function(t){sv(n,t);var e=yv(n);function n(i){ov(this,n);var u;return u=e.call(this,i),u.controlType="list",u.props=new En(fu(u),i==null?void 0:i.props),we(fu(u),"children",i==null?void 0:i.children),u}return cv(n,[{key:"length",get:function(){return this.children.length}}]),n}(W);function Da(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function yu(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 mu(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 mv(t,e){return e&&(vv(e)==="object"||typeof e=="function")?e:Da(t)}function vu(t,e){return vu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},vu(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 gu(t){var e=gv();return function(){var i=_n(t),u;if(e){var r=_n(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return mv(this,u)}}var In=function(t){mu(n,t);var e=gu(n);function n(i){yu(this,n);var u;return u=e.call(this,i),u.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},u.width={type:"number",required:!1,message:d.getMessage("pleaseEnterColumnWidth")},u.width.required=i.widthType==="px",u}return n}(j),H=function(t){mu(n,t);var e=gu(n);function n(i){yu(this,n);var u;u=e.call(this,i);var r;u.width=(r=i==null?void 0:i.width)!==null&&r!==void 0?r:150,u.widthType=(i==null?void 0:i.widthType)||"auto";var a;u.caption=(a=i==null?void 0:i.caption)!==null&&a!==void 0?a:"";var l;u.fixed=(l=i==null?void 0:i.fixed)!==null&&l!==void 0?l:"none",u.dataBind=new ue(i==null?void 0:i.dataBind);var c;return 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,u}return n}(q);H.Rules=In;var xa=function(t){mu(n,t);var e=gu(n);function n(i){yu(this,n);var u;return u=e.call(this,i),u.optionConfig={type:"enum",enum:["custom","datasource","none"],message:d.getMessage("PleaseSelectTheCorrectOptionSettings")},u.options=[{type:"array",message:d.getMessage("isNotArray")}],u.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],Yi.call(Da(u),i),u}return n}(In);function bv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ev(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wn(t){return wn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wn(t)}function Cv(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 _v(t,e){return e&&(Iv(e)==="object"||typeof e=="function")?e:bv(t)}function bu(t,e){return bu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},bu(t,e)}var Iv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function wv(){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=wv();return function(){var i=wn(t),u;if(e){var r=wn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return _v(this,u)}}var K=function(t){Cv(n,t);var e=Av(n);function n(i){Ev(this,n);var u;return u=e.call(this,i),u.controlType="column",u.props=new H(i==null?void 0:i.props),u}return n}(O);function Sv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Tv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function An(t){return An=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},An(t)}function Bv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Eu(t,e)}function Rv(t,e){return e&&(Pv(e)==="object"||typeof e=="function")?e:Sv(t)}function Eu(t,e){return Eu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Eu(t,e)}var Pv=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 xv(t){var e=Dv();return function(){var i=An(t),u;if(e){var r=An(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Rv(this,u)}}var z=function(t){Bv(n,t);var e=xv(n);function n(i){Tv(this,n);var u;return u=e.call(this,i),u.controlType="column",u.props=new H(i==null?void 0:i.props),u}return n}(W);function Fv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ov(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Sn(t){return Sn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Sn(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&&Cu(t,e)}function Nv(t,e){return e&&(Mv(e)==="object"||typeof e=="function")?e:Fv(t)}function Cu(t,e){return Cu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Cu(t,e)}var Mv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Lv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function $v(t){var e=Lv();return function(){var i=Sn(t),u;if(e){var r=Sn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Nv(this,u)}}var _u=function(t){kv(n,t);var e=$v(n);function n(i){Ov(this,n);var u;return u=e.call(this,i),u.dataBind=new ue(i==null?void 0:i.dataBind),u}return n}(M);function Vv(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 Tn(t){return Tn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tn(t)}function jv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Iu(t,e)}function qv(t,e){return e&&(Uv(e)==="object"||typeof e=="function")?e:Vv(t)}function Iu(t,e){return Iu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Iu(t,e)}var Uv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Wv(){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 Kv(t){var e=Wv();return function(){var i=Tn(t),u;if(e){var r=Tn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return qv(this,u)}}var zv=function(t){jv(n,t);var e=Kv(n);function n(i){Hv(this,n);var u;return u=e.call(this,i),u.controlType="search",u.props=new _u(i==null?void 0:i.props),u}return n}(V);function Gv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Xv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Bn(t){return Bn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bn(t)}function Qv(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 Jv(t,e){return e&&(Zv(e)==="object"||typeof e=="function")?e:Gv(t)}function wu(t,e){return wu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},wu(t,e)}var Zv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Yv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function pv(t){var e=Yv();return function(){var i=Bn(t),u;if(e){var r=Bn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Jv(this,u)}}var eg=function(t){Qv(n,t);var e=pv(n);function n(i){Xv(this,n);var u;return u=e.call(this,i),u.controlType="search",u.props=new _u(i==null?void 0:i.props),u}return n}(U);class Au extends q{constructor(e){var n,i,u,r,a;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=(r=e==null?void 0:e.showState)!=null?r:"text",this.content=(a=e==null?void 0:e.content)!=null?a:"\u8BF4\u660E\u6587\u5B57"}}class Fa extends O{constructor(e){super(e),this.props=new Au(e==null?void 0:e.props)}static get controlName(){return"\u8BF4\u660E\u6587\u5B57"}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}Fa.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 tg extends W{constructor(e){super(e),this.props=new Au(e==null?void 0:e.props)}static get controlType(){return"text"}}var Oa={Designer:Fa,Runtime:tg,Property:Au};class Su extends q{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 Tu extends O{constructor(e){super(e),this.props=new Su(e==null?void 0:e.props)}static get controlName(){return"\u94FE\u63A5"}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}Tu.controlEventKeys=["on_click"],Tu.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 ng extends W{constructor(e){super(e),this.props=new Su(e==null?void 0:e.props)}static get controlType(){return"link"}}var ka={Designer:Tu,Runtime:ng,Property:Su};class J extends q{constructor(e){var n,i,u,r,a,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=(r=e==null?void 0:e.color)!=null?r:"primary",this.icon=(a=e==null?void 0:e.icon)!=null?a:"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 Z extends O{constructor(e){super(e),this.props=new J(e==null?void 0:e.props)}static get controlName(){return"\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}Z.controlEventKeys=["on_click"],Z.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 te extends W{constructor(e){super(e),this.props=new J(e==null?void 0:e.props)}static get controlType(){return"button"}}var Na={Designer:Z,Runtime:te,Property:J},be=(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))(be||{}),Ma=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(Ma||{}),La=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(La||{});class Rn{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:ae(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var Bu=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(Bu||{});class Pn{constructor(e){var n,i;this.id=(n=e==null?void 0:e.id)!=null?n:ae(),this.text=(i=e==null?void 0:e.text)!=null?i:""}}var Ru=(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))(Ru||{});class Pu{constructor(e){var n,i,u,r,a,l,c,o;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new ot((i=e==null?void 0:e.person)!=null?i:{type:"form"}),this.signatureType=(u=e==null?void 0:e.signatureType)!=null?u:[],this.telephone=(a=e==null?void 0:e.telephone)!=null?a:new ot((r=e==null?void 0:e.telephone)!=null?r:{type:"form"}),this.company=(c=e==null?void 0:e.company)!=null?c:new ot((l=e==null?void 0:e.company)!=null?l:{type:"form"}),this.remark=(o=e==null?void 0:e.remark)!=null?o:""}}class $a{constructor(e){var n,i,u,r,a,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 Pu(c)))!=null?u:[new Pu],this.statusControl=(r=e==null?void 0:e.statusControl)!=null?r:"",this.completeControl=(a=e==null?void 0:e.completeControl)!=null?a:"",this.completeTimeControl=(l=e==null?void 0:e.completeTimeControl)!=null?l:""}}class Du{constructor(e){var n,i,u,r,a,l,c;this.id=(n=e==null?void 0:e.id)!=null?n:ae(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=(r=e==null?void 0:e.svcCode)!=null?r:"",this.name=(a=e==null?void 0:e.name)!=null?a:"",this.fieldList=(l=e==null?void 0:e.fieldList)!=null?l:[],this.active=(c=e==null?void 0:e.active)!=null?c:!1}}class xu{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 Va{constructor(e){var n,i,u,r;this.types=(n=e==null?void 0:e.types)!=null?n:["word","ppt","excel"],this.history=(i=e==null?void 0:e.history)!=null?i:!1,this.collaborativeRecord=(u=e==null?void 0:e.collaborativeRecord)!=null?u:!1,this.logicToDelete=(r=e==null?void 0:e.logicToDelete)!=null?r:!0,this.watermark=new xu(e==null?void 0:e.watermark),this.autoRename=new xu(e==null?void 0:e.autoRename)}}const Ha=480;function ht(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class ja{constructor(e){var n,i,u,r,a;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=(r=e.isDefault)!=null?r:!1,this.rules=(a=e.rules)!=null?a:[]}}class qa{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 Ua=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(Ua||{}),Fu=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(Fu||{}),Ou=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(Ou||{}),ze=(t=>(t.ALL="all",t.ASSIGN="assign",t))(ze||{}),ku=(t=>(t.ALL="all",t.ADMIN="admin",t))(ku||{});class Nu extends q{constructor(e){var n,i;super(e),this.color=(n=e==null?void 0:e.color)!=null?n:"#000",this.lineStyle=(i=e==null?void 0:e.lineStyle)!=null?i:Ru.SOLID}}class Wa extends O{constructor(e){super(e),this.props=new Nu(e==null?void 0:e.props)}static get controlName(){return"\u5206\u5272\u7EBF"}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}Wa.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]}];class ig extends W{constructor(e){super(e),this.props=new Nu(e==null?void 0:e.props)}static get controlType(){return"divider"}}var Ka={Designer:Wa,Runtime:ig,Property:Nu};class ug extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.dataBind={type:"any"},e.config.includes(be.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:d.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:d.getMessage("bizKeyNotBindFiled")}},message:d.getMessage("bizKeyNotBindFiled")})}}class Dn extends q{constructor(e){var n,i,u,r;super(e),this.dataBind=new ue(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[be.ShowSubmitUser,be.ShowSubmitDept,be.ShowSubmitTime,be.ShowCurrentApprovar,be.ShowTitle],this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:Ge==null?void 0:Ge.controlName)!=null?u:"",this.position=(r=e==null?void 0:e.position)!=null?r:"top"}}Dn.Rules=ug;class Ge extends O{constructor(e){super(e),this.props=new Dn(e==null?void 0:e.props)}static get controlName(){return"\u6807\u9898\u7EC4\u4EF6"}static get controlIcon(){return"title"}static get controlType(){return"title"}}Ge.controlFieldType=v.AUTO_NUMBER,Ge.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"super-setting",visible:!0}];class rg extends W{constructor(e){super(e),this.props=new Dn(e==null?void 0:e.props)}static get controlType(){return"title"}}var za={Designer:Ge,Runtime:rg,Property:Dn};class ag extends j{constructor(e){super(e),this.formKey={type:"string",required:!0,message:d.getMessage("pleaseEnterForm")}}}class xn extends J{constructor(e){var n,i,u,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:yt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:yt.controlName,this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(r=e==null?void 0:e.openType)!=null?r:"modal"}}xn.Rules=ag;class yt extends Z{constructor(e){super(e),this.props=new xn(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"}}yt.controlEventKeys=["on_click","on_click_finish"],yt.setting=[{key:"button-content",visible:!0},{key:"select-form",visible:!0},{key:"open-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class lg extends te{constructor(e){super(e),this.props=new xn(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var Ga={Designer:yt,Runtime:lg,Property:xn};class og extends j{constructor(e){super(e),this.processKey=[{type:"string",message:d.getMessage("isNotString")},{type:"string",required:!0,message:d.getMessage("pleaseEnterProcess")}]}}class Fn extends J{constructor(e){var n,i,u,r,a,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:mt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:mt.controlName,this.initiatorMode=(u=e==null?void 0:e.initiatorMode)!=null?u:"currentInitiator",this.processKey=(r=e==null?void 0:e.processKey)!=null?r:"",this.fieldCode=(a=e==null?void 0:e.fieldCode)!=null?a:"",this.employeeId=(l=e==null?void 0:e.employeeId)!=null?l:""}}Fn.Rules=og;class mt extends Z{constructor(e){super(e),this.props=new Fn(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"}}mt.controlEventKeys=["on_click","on_click_finish"],mt.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 cg extends te{constructor(e){super(e),this.props=new Fn(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var Xa={Designer:mt,Runtime:cg,Property:Fn};class Mu extends J{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:vt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:vt.controlIcon}}class vt extends Z{constructor(e){super(e),this.props=new Mu(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"}}vt.controlEventKeys=["on_click"],vt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class sg extends te{constructor(e){super(e),this.props=new Mu(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var Qa={Designer:vt,Runtime:sg,Property:Mu};class Lu extends J{constructor(e){var n,i,u,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:gt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:gt.controlName,this.templateList=(r=(u=e==null?void 0:e.templateList)==null?void 0:u.map(a=>new Du(a)))!=null?r:[new Du({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class gt extends Z{constructor(e){super(e),this.props=new Lu(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"}}gt.controlEventKeys=["on_click","on_click_finish"],gt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"export-list-template",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class dg extends te{constructor(e){super(e),this.props=new Lu(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var Ja={Designer:gt,Runtime:dg,Property:Lu};class $u extends J{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:bt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:bt.controlIcon}}class bt extends Z{constructor(e){super(e),this.props=new $u(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"}}bt.controlEventKeys=["on_click"],bt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class fg extends te{constructor(e){super(e),this.props=new $u(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var Za={Designer:bt,Runtime:fg,Property:$u};class hg{constructor(e){this.dataCode=e.dataCode}}class Vu extends J{constructor(e){var n,i,u,r;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Et.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Et.controlIcon,this.canImportList=(r=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(a=>new hg(a)))!=null?r:[]}}class Et extends Z{constructor(e){super(e),this.props=new Vu(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"}}Et.controlEventKeys=["on_click","on_click_finish"],Et.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"can-import-subtable",visible:!0},{key:"super-setting",visible:!0}];class yg extends te{constructor(e){super(e),this.props=new Vu(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var Ya={Designer:Et,Runtime:yg,Property:Vu};function On(){return{dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:d.getMessage("pleaseSelectControl")}}}}}}class mg extends j{constructor(e){super(e),this.fillPayload={type:"object",fields:_e({},On())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterList")}}},this.fillBack={type:"object",fields:_e({mode:{type:"string",required:!0,message:d.getMessage("pleaseSelectFillBackMode")}},On())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:d.getMessage("pleaseSelectControl")})}}class kn extends J{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Ct.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Ct.controlIcon,this.command=(u=e==null?void 0:e.command)!=null?u:"create",this.fillPayload=new $i(e==null?void 0:e.fillPayload),this.formBind=new Ah(e==null?void 0:e.formBind),this.fillBack=new Gr(e==null?void 0:e.fillBack)}}kn.Rules=mg;class Ct extends Z{constructor(e){super(e),this.props=new kn(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"}}Ct.controlEventKeys=["on_click","on_click_finish"],Ct.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class vg extends te{constructor(e){super(e),this.props=new kn(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var pa={Designer:Ct,Runtime:vg,Property:kn};class gg extends j{constructor(e){super(e),this.fillPayload={type:"object",fields:_e({},On())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:d.getMessage("pleaseSelectAtLeastOneColumn")}}},this.fillBack={type:"object",fields:_e({mode:{type:"string",required:!0,message:d.getMessage("pleaseSelectFillBackMode")}},On())}}}class Nn extends J{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:_t.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:_t.controlIcon,this.fillPayload=new $i(e==null?void 0:e.fillPayload),this.listPageBind=new Wr(e==null?void 0:e.listPageBind),this.fillBack=new Gr(e==null?void 0:e.fillBack)}}Nn.Rules=gg;class _t extends Z{constructor(e){super(e),this.props=new Nn(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"}}_t.controlEventKeys=["on_click","on_click_finish"],_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:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class bg extends te{constructor(e){super(e),this.props=new Nn(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var el={Designer:_t,Runtime:bg,Property:Nn};class Eg extends j{constructor(e){super(e)}}class Cg extends Ie{constructor(e){super(e)}}class It extends q{constructor(e){super(e)}}It.Rules=Eg,It.RuntimeRules=Cg;class tl extends O{constructor(e){super(e),this.props=new It(e==null?void 0:e.props)}static get controlName(){return"\u5206\u9875"}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}tl.setting=[];class _g extends W{constructor(e){super(e),this.props=new It(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var nl={Designer:tl,Runtime:_g,Property:It};class Ig extends j{constructor(e){super(e),this.dashboardKey={type:"string",required:!0,message:d.getMessage("pleaseSelectDashboard")},this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Mn extends q{constructor(e){var n,i,u,r,a,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=(r=e==null?void 0:e.isShowCaptionTip)!=null?r:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top"}}Mn.Rules=Ig;class il extends O{constructor(e){super(e),this.props=new Mn(e==null?void 0:e.props)}static get controlName(){return"\u4EEA\u8868\u76D8"}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}il.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 wg extends W{constructor(e){super(e),this.props=new Mn(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var ul={Designer:il,Runtime:wg,Property:Mn};class Ag extends j{constructor(e){super(e),this.showType={type:"enum",enum:["select","tabs"]},this.viewList={type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:d.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:d.getMessage("pleaseSelectAtLeastOneColumn")}}}}}}class Ln extends q{constructor(e){var n,i,u;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"select",this.viewList=(u=(i=e==null?void 0:e.viewList)==null?void 0:i.map(r=>new jh(r)))!=null?u:[]}}Ln.Rules=Ag;class rl extends O{constructor(e){super(e),this.props=new Ln(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"}}rl.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class Sg extends W{constructor(e){super(e),this.props=new Ln(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var al={Designer:rl,Runtime:Sg,Property:Ln};class Tg extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:d.getMessage("pleaseSelectOcrType")},this.fillList={type:"array",validator(n,i,u){if(i.every(a=>!a.controlId)){u(d.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class $n extends J{constructor(e){var n,i,u,r,a,l,c,o,h,m;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Xe.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=(r=e==null?void 0:e.captionTip)!=null?r:"",this.labelPosition=(a=e==null?void 0:e.labelPosition)!=null?a:"top",this.content=(l=e==null?void 0:e.content)!=null?l:Xe.controlName,this.icon=(c=e==null?void 0:e.icon)!=null?c:Xe.controlIcon,this.ocrType=(o=e==null?void 0:e.ocrType)!=null?o:"",this.fillList=(m=(h=e==null?void 0:e.fillList)==null?void 0:h.map(g=>new p(g)))!=null?m:[]}}$n.Rules=Tg;class Xe extends Z{constructor(e){super(e),this.props=new $n(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"}}Xe.controlEventKeys=["on_click","on_click_finish"],Xe.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 Bg extends te{constructor(e){super(e),this.props=new $n(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var ll={Designer:Xe,Runtime:Bg,Property:$n};class Rg extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.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(a=>!a.controlId)){u(d.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Vn extends J{constructor(e){var n,i,u,r,a,l,c,o,h,m;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Qe.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=(r=e==null?void 0:e.captionTip)!=null?r:"",this.labelPosition=(a=e==null?void 0:e.labelPosition)!=null?a:"top",this.content=(l=e==null?void 0:e.content)!=null?l:Qe.controlName,this.icon=(c=e==null?void 0:e.icon)!=null?c:Qe.controlIcon,this.invoiceCheck=(o=e==null?void 0:e.invoiceCheck)!=null?o:!0,this.fillList=(m=(h=e==null?void 0:e.fillList)==null?void 0:h.map(g=>new p(g)))!=null?m:[]}}Vn.Rules=Rg;class Qe extends Z{constructor(e){super(e),this.props=new Vn(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"}}Qe.controlEventKeys=["on_click","on_click_finish"],Qe.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 Pg extends te{constructor(e){super(e),this.props=new Vn(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var ol={Designer:Qe,Runtime:Pg,Property:Vn};class Dg extends j{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:d.getMessage("pleaseUploadAtLeastOnePrintTemplate")}}}class Hn extends J{constructor(e){var n,i,u,r,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.printTemplates=(r=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(l=>new ja(l)))!=null?r:[],this.autoSelectTemplate=(a=e==null?void 0:e.autoSelectTemplate)!=null?a:!1}}Hn.Rules=Dg;class wt extends Z{constructor(e){super(e),this.props=new Hn(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u6253\u5370"}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-print"}}wt.controlEventKeys=["on_click","on_click_finish"],wt.setting=[{key:"button-content",visible:!0},{key:"batch-print-setting",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class xg extends te{constructor(e){super(e),this.props=new Hn(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var cl={Designer:wt,Runtime:xg,Property:Hn};class Hu extends J{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:At.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:At.controlIcon}}class At extends Z{constructor(e){super(e),this.props=new Hu(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"}}At.controlEventKeys=["on_click"],At.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 Fg extends te{constructor(e){super(e),this.props=new Hu(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var sl={Designer:At,Runtime:Fg,Property:Hu};class ju extends q{constructor(e){var n,i,u,r,a,l,c,o,h;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:St.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:St.controlIcon,this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(r=e==null?void 0:e.showType)!=null?r:"iconText",this.color=(a=e==null?void 0:e.color)!=null?a:"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=(h=e==null?void 0:e.isLoading)!=null?h:!1}}class St extends O{constructor(e){super(e),this.props=new ju(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"}}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:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class Og extends W{constructor(e){super(e),this.props=new ju(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var dl={Designer:St,Runtime:Og,Property:ju},kg=Object.freeze({__proto__:null,Text:Oa,Link:ka,Button:Na,Divider:Ka,Title:za,CreateFormListButton:Ga,BatchSubmissionListButton:Xa,SubmissionRecordListButton:Qa,ExportListButton:Ja,ExportRecordListButton:Za,ImportRecordListButton:Ya,FormSelectButton:pa,ListSelectButton:el,Pagination:nl,Dashboard:ul,ListViewSelect:al,TextOcrButton:ll,InvoiceCheckButton:ol,BatchPrintListButton:cl,BatchPrintRecordListButton:sl,BatchDeleteButton:dl});class Ng extends Q{constructor(e){super(e),this.maxLength={type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:200,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue=[{type:"string",max:200,min:0,message:d.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=d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength}),this.defaultValue[1].pattern=ht(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class Mg extends k{constructor(e){super(e),this.push({type:"string",message:d.getMessage("isNotString")},{max:e.maxLength,min:e.minLength,message:d.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 Je extends B{constructor(e){var n,i,u,r,a,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 Xr(e==null?void 0:e.regularRules),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(r=e==null?void 0:e.caption)!=null?r:Ze.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\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:""}}Je.Rules=Ng,Je.RuntimeRules=Mg;class Ze extends R{constructor(e){super(e),this.props=new Je(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"}}Ze.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Ze.controlFieldType=v.VARCHAR,Ze.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 fl extends P{constructor(e){super(e),this.props=new Je(e==null?void 0:e.props)}static get controlType(){return"input"}}fl.controlFieldType=v.VARCHAR;var hl={Designer:Ze,Runtime:fl,Property:Je};class Lg extends Ue{constructor(e){super(e),this.limitMax={type:"number",min:void 0,message:d.getMessage("PleaseReselectTheOptionalQuantity")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const i=u=>u==="unlimited"?void 0:u;this.limitMax.min=i(e.limitMin)}}class $g extends k{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 Tt extends B{constructor(e){var n,i,u,r,a,l,c,o,h,m,g,_;super(e),this.options=fe((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=(r=e==null?void 0:e.optionsOrder)!=null?r:!1,this.otherOption=(a=e==null?void 0:e.otherOption)!=null?a:!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 X(e==null?void 0:e.datasourceBind),this.interreaction=(o=e==null?void 0:e.interreaction)!=null?o:[],this.caption=(h=e==null?void 0:e.caption)!=null?h:Bt.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:[],this.optionsFormat=(g=e==null?void 0:e.optionsFormat)!=null?g:"horizontal",this.defaultShowOptions=(_=e==null?void 0:e.defaultShowOptions)!=null?_:!0,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(I=>{var b;(b=this.multistageFilling)==null||b.push(new p(I))}))}}Tt.Rules=Lg,Tt.RuntimeRules=$g;class Bt extends R{constructor(e){super(e),this.props=new Tt(e==null?void 0:e.props)}static get controlName(){return"\u591A\u9009"}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}Bt.controlEventKeys=["on_change","on_click"],Bt.controlFieldType=v.ARRAY,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:"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 yl extends P{constructor(e){super(e),this.props=new Tt(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}yl.controlFieldType=v.ARRAY;var ml={Designer:Bt,Runtime:yl,Property:Tt};class Vg extends Ue{constructor(e){super(e)}}class jn extends B{constructor(e){var n,i,u,r,a,l,c,o,h,m;super(e),this.options=fe((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=(r=e==null?void 0:e.otherOption)!=null?r:!1,this.optionsOrder=(a=e==null?void 0:e.optionsOrder)!=null?a:!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 X(e==null?void 0:e.datasourceBind),this.interreaction=(o=e==null?void 0:e.interreaction)!=null?o:[],this.caption=(h=e==null?void 0:e.caption)!=null?h:Rt.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:"",this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(g=>{var _;(_=this.multistageFilling)==null||_.push(new p(g))}))}}jn.Rules=Vg;class Rt extends R{constructor(e){super(e),this.props=new jn(e==null?void 0:e.props)}static get controlName(){return"\u5355\u9009"}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}Rt.controlEventKeys=["on_change","on_click"],Rt.controlFieldType=v.VARCHAR,Rt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"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 vl extends P{constructor(e){super(e),this.props=new jn(e==null?void 0:e.props)}static get controlType(){return"radio"}}vl.controlFieldType=v.VARCHAR;var gl={Designer:Rt,Runtime:vl,Property:jn};class Hg extends Q{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:200,message:d.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=d.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:d.getMessage("numberRangeSetError")}),this.defaultValue[1].pattern=ht(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class jg extends k{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:d.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 Pt extends B{constructor(e){var n,i,u,r,a,l,c,o,h,m,g,_,I;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.numberType=(u=e==null?void 0:e.numberType)!=null?u:"number",this.percentageFormat=(r=e==null?void 0:e.percentageFormat)!=null?r:!1,this.micrometer=(a=e==null?void 0:e.micrometer)!=null?a:!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=(h=e==null?void 0:e.unitPosition)!=null?h:"right",this.unit=(m=e==null?void 0:e.unit)!=null?m:"",this.caption=(g=e==null?void 0:e.caption)!=null?g:Dt.controlName,this.placeholder=(_=e==null?void 0:e.placeholder)!=null?_:"\u8BF7\u8F93\u5165",this.defaultValue=(I=e==null?void 0:e.defaultValue)!=null?I:"",this.regularRules=new Xr(e==null?void 0:e.regularRules)}}Pt.Rules=Hg,Pt.RuntimeRules=jg;class Dt extends R{constructor(e){super(e),this.props=new Pt(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}}Dt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Dt.controlFieldType=v.DECIMAL,Dt.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 bl extends P{constructor(e){super(e),this.props=new Pt(e==null?void 0:e.props)}static get controlType(){return"number"}}bl.controlFieldType=v.DECIMAL;var El={Designer:Dt,Runtime:bl,Property:Pt};class qu extends B{constructor(e){var n,i,u,r,a,l,c,o,h;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:he.DATE,this.setValueType=(i=e==null?void 0:e.setValueType)!=null?i:"custom",this.caption=(u=e==null?void 0:e.caption)!=null?u:qn.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165\u65E5\u671F",this.defaultValue=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.limitDateList=(c=(l=e==null?void 0:e.limitDateList)==null?void 0:l.map(m=>new Rn(m)))!=null?c:[],this.allowDateRange=(o=e==null?void 0:e.allowDateRange)!=null?o:["",""],this.filterWeekend=(h=e==null?void 0:e.filterWeekend)!=null?h:!1}}class qn extends R{constructor(e){super(e),this.props=new qu(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}}qn.controlFieldType=v.TIMESTAMP,qn.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 Cl extends P{constructor(e){super(e),this.props=new qu(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}Cl.controlFieldType=v.TIMESTAMP;var _l={Designer:qn,Runtime:Cl,Property:qu};class qg extends k{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 Un extends B{constructor(e){var n,i,u,r,a,l,c,o,h;super(e),this.dataBind=new Mh(e==null?void 0:e.dataBind),this.defaultValue=new Lh(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:he.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=(r=e==null?void 0:e.rangeMax)!=null?r:"",this.placeholderStart=(a=e==null?void 0:e.placeholderStart)!=null?a:"\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:Wn.controlName,this.limitDateList=(h=(o=e==null?void 0:e.limitDateList)==null?void 0:o.map(m=>new Rn(m)))!=null?h:[]}}Un.RuntimeRules=qg;class Wn extends R{constructor(e){super(e),this.props=new Un(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}}Wn.controlFieldType=v.TIMESCOPE,Wn.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 Il extends P{constructor(e){super(e),this.props=new Un(e==null?void 0:e.props)}static get controlType(){return"date-range"}}Il.controlFieldType=v.TIMESCOPE;var wl={Designer:Wn,Runtime:Il,Property:Un};class Ug extends Q{constructor(e){super(e),this.maxLength={type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:d.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=d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class Wg extends k{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class xt extends B{constructor(e){var n,i,u,r,a,l;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(r=e==null?void 0:e.caption)!=null?r:Ft.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u8F93\u5165",this.lineEllipsis=(l=e==null?void 0:e.lineEllipsis)!=null?l:4}}xt.Rules=Ug,xt.RuntimeRules=Wg;class Ft extends R{constructor(e){super(e),this.props=new xt(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"}}Ft.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Ft.controlFieldType=v.TEXT,Ft.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{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 Al extends P{constructor(e){super(e),this.props=new xt(e==null?void 0:e.props)}static get controlType(){return"textarea"}}Al.controlFieldType=v.TEXT;var Sl={Designer:Ft,Runtime:Al,Property:xt};class Kg extends Q{constructor(e){super(e),this.maxLength={type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:d.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=d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class zg extends k{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class Ot extends B{constructor(e){var n,i,u,r,a;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=(r=e==null?void 0:e.caption)!=null?r:kt.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u8F93\u5165"}}Ot.Rules=Kg,Ot.RuntimeRules=zg;class kt extends R{constructor(e){super(e),this.props=new Ot(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"}}kt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],kt.controlFieldType=v.TEXT,kt.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 Tl extends P{constructor(e){super(e),this.props=new Ot(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}Tl.controlFieldType=v.TEXT;var Bl={Designer:kt,Runtime:Tl,Property:Ot};class Gg extends Ue{constructor(e){super(e)}}class Kn extends B{constructor(e){var n,i,u,r,a,l,c;super(e),this.options=fe((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 X(e==null?void 0:e.datasourceBind),this.caption=(r=e==null?void 0:e.caption)!=null?r:zn.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\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.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(o=>{var h;(h=this.multistageFilling)==null||h.push(new p(o))}))}}Kn.Rules=Gg;class zn extends R{constructor(e){super(e),this.props=new Kn(e==null?void 0:e.props)}static get controlName(){return"\u4E0B\u62C9\u5355\u9009"}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}zn.controlFieldType=v.VARCHAR,zn.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 Rl extends P{constructor(e){super(e),this.props=new Kn(e==null?void 0:e.props)}static get controlType(){return"select"}}Rl.controlFieldType=v.VARCHAR;var Pl={Designer:zn,Runtime:Rl,Property:Kn};class Xg extends Ue{constructor(e){super(e)}}class Qg extends k{constructor(e){super(e),this[0].type="array"}}class Nt extends B{constructor(e){var n,i,u,r,a,l;super(e),this.options=fe((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 X(e==null?void 0:e.datasourceBind),this.caption=(r=e==null?void 0:e.caption)!=null?r:Gn.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u9009\u62E9",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(c=>{var o;(o=this.multistageFilling)==null||o.push(new p(c))}))}}Nt.Rules=Xg,Nt.RuntimeRules=Qg;class Gn extends R{constructor(e){super(e),this.props=new Nt(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"}}Gn.controlFieldType=v.ARRAY,Gn.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 Dl extends P{constructor(e){super(e),this.props=new Nt(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}Dl.controlFieldType=v.ARRAY;var xl={Designer:Gn,Runtime:Dl,Property:Nt};class Jg extends k{constructor(e){super(e),this[0].type="array"}}class Xn extends B{constructor(e){var n,i,u,r,a,l,c,o;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=(r=e==null?void 0:e.multiple)!=null?r:!1,this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(c=e==null?void 0:e.caption)!=null?c:Qn.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(h=>{var m;(m=this.multistageFilling)==null||m.push(new p(h))}))}}Xn.RuntimeRules=Jg;class Qn extends R{constructor(e){super(e),this.props=new Xn(e==null?void 0:e.props)}static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}Qn.controlFieldType=v.EMPLOYEES,Qn.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 Fl extends P{constructor(e){super(e),this.props=new Xn(e==null?void 0:e.props)}static get controlType(){return"employee"}}Fl.controlFieldType=v.EMPLOYEES;var Ol={Designer:Qn,Runtime:Fl,Property:Xn};const Zg=10485760,Yg=104857600,pg=1048576e3;class eb extends Q{constructor(e){super(e),this.maxSize={type:"number",min:0,max:pg,message:d.getMessage("attachmentMaxSize")}}}class tb extends k{constructor(e){super(e),this[0].type="array",this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:d.getMessage("attachmentLimitError",{max:e.maxLimit,min:e.minLimit})})}}class Ye extends B{constructor(e){var n,i,u,r,a,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=(r=e==null?void 0:e.maxLimit)!=null?r:10,this.minLimit=(a=e==null?void 0:e.minLimit)!=null?a:0,this.maxSize=(l=e==null?void 0:e.maxSize)!=null?l:Yg,this.caption=(c=e==null?void 0:e.caption)!=null?c:pe.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u4E0A\u4F20\u9644\u4EF6"}}Ye.Rules=eb,Ye.RuntimeRules=tb;class pe extends R{constructor(e){super(e),this.props=new Ye(e==null?void 0:e.props)}static get controlName(){return"\u9644\u4EF6"}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}pe.controlEventKeys=["on_change"],pe.controlFieldType=v.FILE,pe.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 Uu extends P{constructor(e){super(e),this.props=new Ye(e==null?void 0:e.props)}static get controlType(){return"attachment"}}Uu.controlFieldType=v.FILE;var kl={Designer:pe,Runtime:Uu,Property:Ye};const Nl=class extends pe{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:Nl.controlName,this.props.placeholder=(u=(i=t==null?void 0:t.props)==null?void 0:i.placeholder)!=null?u:"\u4E0A\u4F20\u56FE\u7247"}};let Wu=Nl;Wu.controlFieldType=v.IMAGE,Wu.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 nb extends Uu{static get controlType(){return"image"}constructor(e){var n,i,u,r,a,l;super(e),this.props.showType="image",this.props.maxLimit=(i=(n=e==null?void 0:e.props)==null?void 0:n.maxLimit)!=null?i:9,this.props.caption=(r=(u=e==null?void 0:e.props)==null?void 0:u.caption)!=null?r:"\u56FE\u7247",this.props.placeholder=(l=(a=e==null?void 0:e.props)==null?void 0:a.placeholder)!=null?l:"\u4E0A\u4F20\u56FE\u7247"}}class ib extends Ye{constructor(e){super(e)}}var Ml={Designer:Wu,Runtime:nb,Property:ib};class ub extends Ue{constructor(e){super(e),this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:d.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=d.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:d.getMessage("numberRangeSetError")})}}class rb extends k{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:[wi(_e({},this[0]),{type:"number"}),{type:"number",min:i,max:n,message:d.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}],currency:{type:"string"}}})}}class Mt extends B{constructor(e){var n,i,u,r,a,l,c,o,h,m,g;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"datasource",this.micrometer=(r=e==null?void 0:e.micrometer)!=null?r:!1,this.precision=(a=e==null?void 0:e.precision)!=null?a:2,this.dataBind=new kh(e==null?void 0:e.dataBind),this.datasourceBind=new X((l=e==null?void 0:e.datasourceBind)!=null?l:{displayBoList:[new Mi({value:"name"})]}),this.defaultValue=new Nh((c=e==null?void 0:e.defaultValue)!=null?c:{amount:"",currency:an.CNY}),this.options=fe(e==null?void 0:e.options),this.caption=(o=e==null?void 0:e.caption)!=null?o:Lt.controlName,this.placeholder=(h=e==null?void 0:e.placeholder)!=null?h:"\u8BF7\u8F93\u5165",this.submitSelectCurrency=(m=e==null?void 0:e.submitSelectCurrency)!=null?m:!1,this.showUpperCase=(g=e==null?void 0:e.showUpperCase)!=null?g:!1}}Mt.Rules=ub,Mt.RuntimeRules=rb;class Lt extends R{constructor(e){super(e),this.props=new Mt(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}}Lt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Lt.controlFieldType=v.MONEY,Lt.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 Ll extends P{constructor(e){super(e),this.props=new Mt(e==null?void 0:e.props)}static get controlType(){return"amount"}}Ll.controlFieldType=v.MONEY;var $l={Designer:Lt,Runtime:Ll,Property:Mt};class ab extends Q{constructor(e){super(e),this.totalScore=[{type:"number",required:!0,message:d.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:d.getMessage("theTotalScoreMustNotBeLessThan1")}],this.defaultValue={type:"number",min:0,max:5,message:d.getMessage("scoreDefaultValueRange")},this.defaultValue.max=e.totalScore,this.defaultValue.message=d.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:0})}}class lb extends k{constructor(e){super(e),this[0].type="number";const n=e.required?1:0;this.push({type:"number",min:n,max:e.totalScore,message:d.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:n})})}}class $t extends B{constructor(e){var n,i,u,r,a,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:Bu.STAR,this.isShowExplain=(u=e==null?void 0:e.isShowExplain)!=null?u:!0,this.explain=(a=(r=e==null?void 0:e.explain)==null?void 0:r.map(o=>new Pn(o)))!=null?a:Array(this.totalScore).fill(void 0).map(()=>new Pn),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:0,this.caption=(c=e==null?void 0:e.caption)!=null?c:Vt.controlName}}$t.Rules=ab,$t.RuntimeRules=lb;class Vt extends R{constructor(e){super(e),this.props=new $t(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 Pn);this.props.explain.push(...u)}}super.postUpdate(e,n)}}Vt.controlEventKeys=["on_change","on_click"],Vt.controlFieldType=v.DECIMAL,Vt.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 Vl extends P{constructor(e){super(e),this.props=new $t(e==null?void 0:e.props)}static get controlType(){return"score"}}Vl.controlFieldType=v.DECIMAL;var Hl={Designer:Vt,Runtime:Vl,Property:$t};class ob extends k{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:d.getMessage("pleaseSelectProvince")}}};e.addressType.includes("city")&&(n.fields.city={type:"string",required:e.required,message:d.getMessage("pleaseSelectCity")}),e.addressType.includes("district")&&(n.fields.district={type:"string",required:e.required,message:d.getMessage("pleaseSelectDistrict")}),this.push(n)}}}class Jn extends B{constructor(e){var n,i,u,r,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Zn.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 $h((r=e==null?void 0:e.defaultValue)!=null?r:{}),this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u9009\u62E9\u5730\u5740"}}Jn.RuntimeRules=ob;class Zn extends R{constructor(e){super(e),this.props=new Jn(e==null?void 0:e.props)}static get controlName(){return"\u5730\u5740"}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}Zn.controlFieldType=v.ADDRESS,Zn.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 jl extends P{constructor(e){super(e),this.props=new Jn(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"}}jl.controlFieldType=v.ADDRESS;var ql={Designer:Zn,Runtime:jl,Property:Jn};class cb extends k{constructor(e){super(e),this[0].type="array"}}class Yn extends B{constructor(e){var n,i,u,r,a,l,c,o,h,m;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.rangeOptions=(a=e==null?void 0:e.rangeOptions)!=null?a:[],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=(h=e==null?void 0:e.caption)!=null?h:pn.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(g=>{var _;(_=this.multistageFilling)==null||_.push(new p(g))}))}}Yn.RuntimeRules=cb;class pn extends R{constructor(e){super(e),this.props=new Yn(e==null?void 0:e.props)}static get controlName(){return"\u90E8\u95E8"}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}}pn.controlFieldType=v.DEPARTMENTS,pn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"department-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class Ul extends P{constructor(e){super(e),this.props=new Yn(e==null?void 0:e.props)}static get controlType(){return"department"}}Ul.controlFieldType=v.DEPARTMENTS;var Wl={Designer:pn,Runtime:Ul,Property:Yn};class Ku extends B{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:Ht.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7"}}class Ht extends R{constructor(e){super(e),this.props=new Ku(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"}}Ht.controlEventKeys=["on_change"],Ht.controlFieldType=v.AUTO_NUMBER,Ht.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 Kl extends P{constructor(e){super(e),this.props=new Ku(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}Kl.controlFieldType=v.AUTO_NUMBER;var zl={Designer:Ht,Runtime:Kl,Property:Ku};class sb extends Q{constructor(e){super(e),this.dataBind.fields.result.required=!1,this.dataBind.fields.result.fields.fieldCode.required=!1,this.dataBind.fields.result.fields.dataCode.required=!1,this.dataBind.fields.unit.required=!1,this.dataBind.fields.unit.fields.fieldCode.required=!1,this.dataBind.fields.unit.fields.dataCode.required=!1}}class db extends k{constructor(e){super(e),this[0].type="object",this.push({type:"object",message:d.getMessage("isNotObject"),fields:{result:[{type:"number",message:d.getMessage("isNotNumber")}],unit:{type:"string",message:d.getMessage("isNotString")}}})}}class jt extends B{constructor(e){var n,i,u,r,a,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 Vh(e==null?void 0:e.dataBind),this.defaultValue=new Hh(e==null?void 0:e.defaultValue),this.caption=(r=e==null?void 0:e.caption)!=null?r:qt.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\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:""}}jt.Rules=sb,jt.RuntimeRules=db;class qt extends R{constructor(e){super(e),this.props=new jt(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}}qt.controlEventKeys=["on_change"],qt.controlFieldType=v.CALC,qt.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 Gl extends P{constructor(e){super(e),this.props=new jt(e==null?void 0:e.props)}static get controlType(){return"calc"}}Gl.controlFieldType=v.CALC;var Xl={Designer:qt,Runtime:Gl,Property:jt};class fb extends k{constructor(e){super(e),this[0].type="array",this.push({validator(n,i){return e.required&&i.every(r=>!r)?Promise.reject(d.getMessage("runtimeRequired",{caption:e.caption})):Promise.resolve()}})}}class ei extends B{constructor(e){var n,i,u,r,a,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=(r=e==null?void 0:e.placeholderStart)!=null?r:"\u6700\u5C0F\u503C",this.placeholderEnd=(a=e==null?void 0:e.placeholderEnd)!=null?a:"\u6700\u5927\u503C",this.caption=(l=e==null?void 0:e.caption)!=null?l:ti.controlName}}ei.RuntimeRules=fb;class ti extends R{constructor(e){super(e),this.props=new ei(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"}}ti.controlFieldType=v.DECIMAL_RANGE,ti.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"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 Ql extends P{constructor(e){super(e),this.props=new ei(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}Ql.controlFieldType=v.DECIMAL_RANGE;var Jl={Designer:ti,Runtime:Ql,Property:ei};class hb extends k{constructor(e){super(e),this[0].type="array",this.push({type:"array",fields:{0:{type:"string",required:e.required,message:this[0].message},1:{type:"string",required:e.required,message:this[0].message}}})}}class ni extends B{constructor(e){var n,i,u,r,a,l,c,o,h,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:he.DATE,this.setValueType=(u=e==null?void 0:e.setValueType)!=null?u:"custom",this.rangeMin=(r=e==null?void 0:e.rangeMin)!=null?r:"",this.rangeMax=(a=e==null?void 0:e.rangeMax)!=null?a:"",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:ii.controlName,this.limitDateList=(m=(h=e==null?void 0:e.limitDateList)==null?void 0:h.map(g=>new Rn(g)))!=null?m:[]}}ni.RuntimeRules=hb;class ii extends R{constructor(e){super(e),this.props=new ni(e==null?void 0:e.props)}static get controlName(){return"\u65E5\u671F\u533A\u95F4"}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"search-date-range"}}ii.controlFieldType=v.ARRAY,ii.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 Zl extends P{constructor(e){super(e),this.props=new ni(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}Zl.controlFieldType=v.ARRAY;var Yl={Designer:ii,Runtime:Zl,Property:ni};class yb extends Q{constructor(e){super(e),this.dataBind={type:"any"}}}class mb extends k{constructor(e){super(e),this[0].type="any"}}class Ut extends B{constructor(e){var n,i,u,r,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Wt.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=(r=e==null?void 0:e.permissions)!=null?r:[],this.isInlineEdit=(a=e==null?void 0:e.isInlineEdit)!=null?a:!1}}Ut.Rules=yb,Ut.RuntimeRules=mb;class Wt extends R{constructor(e){super(e),this.props=new Ut(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"}}Wt.controlFieldType=v.ANY,Wt.controlEventKeys=[],Wt.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 pl extends P{constructor(e){super(e),this.props=new Ut(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}pl.controlFieldType=v.ANY;var eo={Designer:Wt,Runtime:pl,Property:Ut};class vb extends Ue{constructor(e){super(e),this.listPageBind=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:d.getMessage("isNotString")},{type:"string",required:!0,message:d.getMessage("pleaseEnterList")}]}}]}}class ui extends B{constructor(e){var n,i,u,r,a,l;super(e),this.options=fe((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new Wr(e==null?void 0:e.listPageBind),this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.caption=(u=e==null?void 0:e.caption)!=null?u:ri.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9",this.defaultValue=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(c=>{var o;(o=this.multistageFilling)==null||o.push(new p(c))})),this.canViewForm=(l=e==null?void 0:e.canViewForm)!=null?l:!1}}ui.Rules=vb;class ri extends R{constructor(e){super(e),this.props=new ui(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"}}ri.controlFieldType=v.VARCHAR,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:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.CAN_VIEW_FORM,s.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0},{key:"super-setting",visible:!0}];class to extends P{constructor(e){super(e),this.props=new ui(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}to.controlFieldType=v.VARCHAR;var no={Designer:ri,Runtime:to,Property:ui};class zu extends Je{constructor(e){super(e)}}class io extends Ze{constructor(e){super(e),this.props=new zu(e==null?void 0:e.props)}static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlType(){return"search-input"}}io.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 uo extends P{constructor(e){super(e),this.props=new zu(e==null?void 0:e.props)}static get controlType(){return"search-input"}}uo.controlFieldType=v.VARCHAR;var ro={Designer:io,Runtime:uo,Property:zu};class gb extends Q{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],pi.call(this,e,Ae.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:d.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom"],required:!0},value:{type:"array",required:!0,min:1,message:d.getMessage("rootNodeIsRequired")}}}])}}class bb extends k{constructor(e){super(e),this[0].type="array"}}class Kt extends B{constructor(e){var n,i,u,r,a,l,c,o,h,m,g,_,I;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:Ae.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=(r=e==null?void 0:e.canSearch)!=null?r:!0,this.levelType=(a=e==null?void 0:e.levelType)!=null?a:"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.defaultCollapse=(o=e==null?void 0:e.defaultCollapse)!=null?o:"all",this.defaultCollapseLevel=(h=e==null?void 0:e.defaultCollapseLevel)!=null?h:1,this.datasourceBind=new Fh((m=e==null?void 0:e.datasourceBind)!=null?m:{attributes:Ae.controlCustomAttributes}),this.multistageFilling=(_=(g=e==null?void 0:e.multistageFilling)==null?void 0:g.map(b=>new p(b)))!=null?_:[],this.defaultValue=(I=e==null?void 0:e.defaultValue)!=null?I:[]}}Kt.Rules=gb,Kt.RuntimeRules=bb;class Ae extends R{constructor(e){super(e),this.props=new Kt(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}]}}Ae.controlEventKeys=["on_change","on_click"],Ae.controlFieldType=v.ARRAY,Ae.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.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 ao extends P{constructor(e){super(e),this.props=new Kt(e==null?void 0:e.props)}static get controlType(){return"tree"}}ao.controlFieldType=v.ARRAY;var lo={Designer:Ae,Runtime:ao,Property:Kt};class Eb extends Q{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],this.externalScope={type:"any"},pi.call(this,e,et.controlCustomAttributes),e.externalType===ze.ASSIGN&&(this.externalScope={type:"array",required:!0,message:d.getMessage("pleaseAssignExternal")})}}class Cb extends k{constructor(e){super(e),this[0].type="array"}}class zt extends B{constructor(e){var n,i,u,r,a,l,c,o,h,m,g,_,I;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=(r=e==null?void 0:e.multiple)!=null?r:!1,this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(c=e==null?void 0:e.caption)!=null?c:et.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 rn((h=e==null?void 0:e.datasourceBind)!=null?h:{attributes:et.controlCustomAttributes}),this.datasourceType=(m=e==null?void 0:e.datasourceType)!=null?m:Fu.INTERNAL,this.insideType=(g=e==null?void 0:e.insideType)!=null?g:ku.ADMIN,this.externalType=(_=e==null?void 0:e.externalType)!=null?_:ze.ALL,this.externalScope=(I=e==null?void 0:e.externalScope)!=null?I:[],this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(b=>{var w;(w=this.multistageFilling)==null||w.push(new p(b))}))}}zt.Rules=Eb,zt.RuntimeRules=Cb;class et extends R{constructor(e){super(e),this.props=new zt(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}]}}et.controlFieldType=v.EMPLOYEES,et.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 oo extends P{constructor(e){super(e),this.props=new zt(e==null?void 0:e.props)}static get controlType(){return"employee2"}}oo.controlFieldType=v.EMPLOYEES;var co={Designer:et,Runtime:oo,Property:zt};class _b extends Q{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(r,a,l){if(i.type==="public"&&xi(a.value)&&a.value.length===0){l("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}l()}},company:{type:"object",required:!0,validator(r,a,l){if(i.type==="public"&&i.signatureType.includes("company")&&xi(a.value)&&a.value.length===0){l("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}l()}}}},n),{})}}}}}class ai extends B{constructor(e){var n,i,u,r,a,l;super(e),this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:Gt.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=(r=e==null?void 0:e.showType)!=null?r:"text",this.color=(a=e==null?void 0:e.color)!=null?a:"primary",this.icon=(l=e==null?void 0:e.icon)!=null?l:"iconfenlei2",this.signatureConfig=new $a(e==null?void 0:e.signatureConfig)}}ai.Rules=_b;class Gt extends R{constructor(e){super(e),this.props=new ai(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"}}Gt.controlEventKeys=["on_click","on_click_finish"],Gt.controlFieldType=v.VARCHAR,Gt.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 so extends P{constructor(e){super(e),this.props=new ai(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}so.controlFieldType=v.VARCHAR;var fo={Designer:Gt,Runtime:so,Property:ai};class Ib extends Q{constructor(e){super(e),this.content={type:"string",required:!0,message:d.getMessage("pleaseEnterButtonContent")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(d.getMessage("pleaseEnterWatermark"));return}u()}},autoRename:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(d.getMessage("pleaseEnterFileName"));return}u()}}}},this.canAdd={type:"boolean",validator(n,i,u){if(e.canAdd&&!e.addLocal&&!e.addOnline){u(d.getMessage("pleaseChooseAtLeastOne"));return}u()}}}}class wb extends k{constructor(e){super(e),this[0].type="array"}}class Xt extends B{constructor(e){var n,i,u,r,a,l,c,o,h,m,g,_;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Qt.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=(r=e==null?void 0:e.addLocal)!=null?r:!0,this.addOnline=(a=e==null?void 0:e.addOnline)!=null?a:!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=(h=e==null?void 0:e.canDelete)!=null?h:!1,this.maxSize=(m=e==null?void 0:e.maxSize)!=null?m:Zg,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:[],this.wpsSetting=new Va(e==null?void 0:e.wpsSetting),this.revisionsMode=(_=e==null?void 0:e.revisionsMode)!=null?_:!1}}Xt.Rules=Ib,Xt.RuntimeRules=wb;class Qt extends R{constructor(e){super(e),this.props=new Xt(e==null?void 0:e.props)}static get controlName(){return"\u5728\u7EBF\u6587\u6863"}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}Qt.controlEventKeys=["on_change","on_wps_open"],Qt.controlFieldType=v.FILE,Qt.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 ho extends P{constructor(e){super(e),this.props=new Xt(e==null?void 0:e.props)}static get controlType(){return"wps"}}ho.controlFieldType=v.FILE;var yo={Designer:Qt,Runtime:ho,Property:Xt};class Ab extends Q{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],this.businessScope={type:"any"},pi.call(this,e,tt.controlCustomAttributes),e.businessType===ze.ASSIGN&&(this.businessScope={type:"array",required:!0,message:d.getMessage("pleaseAssignBusiness")})}}class Sb extends k{constructor(e){super(e),this[0].type="array"}}class Jt extends B{constructor(e){var n,i,u,r,a,l,c,o,h,m,g,_,I,b;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.rangeOptions=(a=e==null?void 0:e.rangeOptions)!=null?a:[],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=(h=e==null?void 0:e.caption)!=null?h:tt.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.datasourceBind=new rn((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:tt.controlCustomAttributes}),this.datasourceType=(_=e==null?void 0:e.datasourceType)!=null?_:Ou.INTERNAL,this.businessScope=(I=e==null?void 0:e.businessScope)!=null?I:[],this.businessType=(b=e==null?void 0:e.businessType)!=null?b:ze.ALL,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(w=>{var y;(y=this.multistageFilling)==null||y.push(new p(w))}))}}Jt.Rules=Ab,Jt.RuntimeRules=Sb;class tt extends R{constructor(e){super(e),this.props=new Jt(e==null?void 0:e.props)}static get controlName(){return"\u90E8\u95E8"}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}}tt.controlFieldType=v.DEPARTMENTS,tt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.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 mo extends P{constructor(e){super(e),this.props=new Jt(e==null?void 0:e.props)}static get controlType(){return"department2"}}mo.controlFieldType=v.DEPARTMENTS;var vo={Designer:tt,Runtime:mo,Property:Jt},Tb=Object.freeze({__proto__:null,Input:hl,Checkbox:ml,Radio:gl,Number:El,DatePicker:_l,DateRange:wl,Textarea:Sl,RichText:Bl,Select:Pl,SelectMultiple:xl,Employee:Ol,Image:Ml,Attachment:kl,Amount:$l,Score:Hl,Address:ql,Department:Wl,AutoNumber:zl,Calc:Xl,SearchNumberRange:Jl,SearchDateRange:Yl,VueFormItem:eo,SelectRelation:no,SearchInput:ro,Tree:lo,Employee2:co,ElectronicSignature:fo,WPS:yo,Department2:vo});class go extends V{static get controlName(){return"\u753B\u5E03"}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}go.excludes=[C.GRID];class Bb extends U{static get controlType(){return"grid"}constructor(e){super(e)}}var bo={Designer:go,Runtime:Bb,Property:M};const Rb=24;class Se extends M{constructor(e){var n,i;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:Rb,this.offset=(i=e==null?void 0:e.offset)!=null?i:0}}class Zt extends V{constructor(e){super(e),this.props=new Se(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5217"}static get controlType(){return"col"}static get controlIcon(){return"col"}}Zt.excludes=[C.COL,C.CARD_GROUP,C.SUBTABLE,C.SUBTABLE_COLUMN,C.DIVIDER],Zt.childrenMaxLength=1;class Gu extends U{constructor(e){super(e),this.props=new Se(e==null?void 0:e.props)}static get controlType(){return"col"}}var Eo={Designer:Zt,Runtime:Gu,Property:Se};class li extends M{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 oi extends V{constructor(e){super(e),this.props=new li(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5E03\u5C40"}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}oi.excludes=[C.ROW],oi.setting=[{key:"col-setting",visible:!0}];class Co extends U{constructor(e){super(e),this.props=new li(e==null?void 0:e.props)}static get controlType(){return"row"}}var _o={Designer:oi,Runtime:Co,Property:li};const Pb=4;class ci extends oi{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)}}ci.excludes=[C.GRID_ROW],ci.setting=[],ci.childrenMaxLength=Pb;class Db extends Co{static get controlType(){return"grid-row"}constructor(e){super(e)}}class xb extends li{constructor(e){super(e)}}var Io={Designer:ci,Runtime:Db,Property:xb};class Fb extends M.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}}}class si extends M{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"}}si.Rules=Fb;class Xu extends V{constructor(e){super(e),this.props=new si(e==null?void 0:e.props)}static get controlName(){return"\u5206\u7EC4"}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}Xu.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}],Xu.excludes=[C.CARD_GROUP];class Ob extends U{constructor(e){super(e),this.props=new si(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var wo={Designer:Xu,Runtime:Ob,Property:si};class kb extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.width={type:"number",required:!1,message:d.getMessage("pleaseEnterColumnWidth")},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},this.width.required=e.widthType==="px",e.isShowCaptionTip&&(this.captionTip.required=!0)}}class di extends M{constructor(e){var n,i,u,r,a,l;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:240,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.isShowCaptionTip=(r=e==null?void 0:e.isShowCaptionTip)!=null?r:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.isHideCaption=(l=e==null?void 0:e.isHideCaption)!=null?l:!1}}di.Rules=kb;class re extends V{constructor(e){super(e),this.props=new di(e==null?void 0:e.props)}}re.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",re.controlType="subtable-column",re.controlIcon="subtable-column",re.childrenMaxLength=1,re.excludes=[C.SUBTABLE,C.SUBTABLE_COLUMN,C.ROW,C.COL,C.CARD_GROUP,C.DIVIDER,C.TEXT],re.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",showItems:[s.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-width",visible:!0}];class Ao extends U{constructor(e){super(e),this.props=new di(e==null?void 0:e.props)}}Ao.controlType="subtable-column";var So={Designer:re,Runtime:Ao,Property:di};class Qu extends M{constructor(e){super(e)}}class Te extends V{constructor(e){super(e),this.props=new Qu(e==null?void 0:e.props)}}Te.controlName="\u660E\u7EC6\u5B50\u8868\u884C",Te.controlType="subtable-row",Te.controlIcon="subtable-row",Te.childrenMaxLength=1,Te.excludes=[C.SUBTABLE,C.SUBTABLE_COLUMN,C.SUBTABLE_ROW,C.ROW,C.COL,C.CARD_GROUP,C.DIVIDER,C.TEXT],Te.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0}];class Nb extends U{constructor(e){super(e),this.props=new Qu(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var To={Designer:Te,Runtime:Nb,Property:Qu};class Ju extends M{constructor(e){var n,i,u,r,a,l,c,o,h,m;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:200,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.fixed=(u=e==null?void 0:e.fixed)!=null?u:!1,this.fieldCode=(r=e==null?void 0:e.fieldCode)!=null?r:"",this.fieldType=(a=e==null?void 0:e.fieldType)!=null?a:v.VARCHAR,this.fieldName=(l=e==null?void 0:e.fieldName)!=null?l:"",this.datasourceBind=new X(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=(h=e==null?void 0:e.timestampDateType)!=null?h:he.DATE,this.departmentDisplayLevel=(m=e==null?void 0:e.departmentDisplayLevel)!=null?m:1}}class Be extends V{constructor(e){super(e),this.props=new Ju(e==null?void 0:e.props)}}Be.controlName="\u5217\u8868\u5355\u5143\u683C",Be.controlType="gridtable-column",Be.controlIcon="gridtable-column",Be.childrenMaxLength=1,Be.excludes=[C.GRID_TABLE,C.GRID_TABLE_COLUMN,C.ROW,C.COL,C.CARD_GROUP,C.DIVIDER,C.TEXT],Be.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0}];class Bo extends U{constructor(e){super(e),this.props=new Ju(e==null?void 0:e.props)}}Bo.controlType="gridtable-column";var Ro={Designer:Be,Runtime:Bo,Property:Ju};class Zu extends M{constructor(e){super(e)}}class Mb extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}}}class fi extends M{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:hi.controlName}}fi.Rules=Mb;class Yt extends V{constructor(e){super(e),this.props=new fi(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"}}Yt.excludes=[C.TAB],Yt.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class Lb extends U{constructor(e){super(e),this.props=new fi(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var Po={Designer:Yt,Runtime:Lb,Property:fi};class hi extends V{constructor(e){var n;super(e),this.props=new Zu(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new Yt,new Yt]}static get controlName(){return"\u6807\u7B7E\u9875"}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}hi.excludes=[C.TAB],hi.setting=[{key:"super-setting",visible:!0}];class $b extends U{constructor(e){super(e),this.props=new Zu(e==null?void 0:e.props)}static get controlType(){return"tab"}}var Do={Designer:hi,Runtime:$b,Property:Zu};class xo extends M{constructor(e){super(e)}}class Fo extends V{constructor(e){super(e),this.props=new xo({}),this.children=(e==null?void 0:e.children)||[new Zt({props:new Se({span:12})}),new Zt({props:new Se({span:12})})]}static get controlName(){return"\u5DE5\u5177\u680F"}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}Fo.excludes=[C.GRID_ROW,C.ROW,C.GRID,C.SUBTABLE,C.TAB,C.TOOLBOX];class Vb extends U{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new Gu({props:new Se({span:12})}),new Gu({props:new Se({span:12})})]}}var Oo={Designer:Fo,Runtime:Vb,Property:xo};class Hb extends Ie{constructor(e){super(e),this.push({type:"object",fields:{}})}}class jb extends j{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:d.getMessage("pleaseEnterFieldCode")}),Yi.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 pt extends M{constructor(e){var n,i,u,r,a,l,c,o;super(e),this.datasourceBind=new X(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=(r=e==null?void 0:e.triggerFieldCode)!=null?r:"",this.sublistPage=new Bh(e==null?void 0:e.sublistPage),this.showType=(a=e==null?void 0:e.showType)!=null?a:"stretch",this.showFullScreen=(l=e==null?void 0:e.showFullScreen)!=null?l:!1,this.isFixedHeader=(c=e==null?void 0:e.isFixedHeader)!=null?c:!1,this.isAllLoaded=(o=e==null?void 0:e.isAllLoaded)!=null?o:!0,this.countType=e==null?void 0:e.countType}}pt.Rules=jb,pt.RuntimeRules=Hb;class yi extends V{constructor(e){super(e),this.props=new pt(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"}}yi.excludes=[C.ROW],yi.controlEventKeys=["on_list_search","on_list_mounted","on_list_actions","on_list_rowclick","on_list_before_rowdelete","on_list_rows_checked"],yi.setting=[{key:"list-datasource-bind",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"super-setting",visible:!0}];class qb extends U{constructor(e){super(e),this.props=new pt(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var ko={Designer:yi,Runtime:qb,Property:pt};class Ub extends Ie{constructor(e){super(e),this.push({type:"object",fields:{}})}}class mi extends M{constructor(e){var n,i,u,r,a,l;super(e),this.save=new ie((n=e==null?void 0:e.save)!=null?n:{content:"\u4FDD\u5B58",type:"save",isShow:!1}),this.cancel=new ie((i=e==null?void 0:e.cancel)!=null?i:{content:"\u53D6\u6D88",type:"cancel",isShow:!1}),this.saveAs=new ie((u=e==null?void 0:e.saveAs)!=null?u:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1}),this.print=new ie((r=e==null?void 0:e.print)!=null?r:{content:"\u6253\u5370",type:"print",isShow:!1}),this.custom=((a=e==null?void 0:e.custom)!=null?a:[]).map(c=>new ie(c)),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.datasourceBind=new X(e==null?void 0:e.datasourceBind)}}mi.RuntimeRules=Ub;class No extends V{constructor(e){super(e),this.props=new mi(e==null?void 0:e.props)}static get controlName(){return"\u6570\u636E\u5BB9\u5668"}static get controlType(){return"data-view"}}No.excludes=[];class Wb extends U{constructor(e){super(e),this.props=new mi(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var Mo={Designer:No,Runtime:Wb,Property:mi};class Kb extends V{static get controlName(){return"\u81EA\u7531\u9875\u9762"}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class zb extends U{static get controlType(){return"page"}constructor(e){super(e)}}class Gb extends M{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 Lo={Designer:Kb,Runtime:zb,Property:Gb};class Xb extends V{static get controlName(){return"\u9AD8\u7EA7\u5BB9\u5668"}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class Qb extends U{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class Jb extends M{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new qa(e==null?void 0:e.flexConfig)}}var $o={Designer:Xb,Runtime:Qb,Property:Jb};class Zb extends V{static get controlName(){return"\u5B9A\u4F4D\u5BB9\u5668"}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class Yb extends U{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class pb extends M{constructor(e){super(e)}}var Vo={Designer:Zb,Runtime:Yb,Property:pb};class e0 extends V{static get controlName(){return"\u5B9A\u4F4D\u5B50\u5BB9\u5668"}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class t0 extends U{static get controlType(){return"position"}constructor(e){super(e)}}class n0 extends M{constructor(e){var n,i,u,r;super(e),this.widthSpan=(n=e==null?void 0:e.widthSpan)!=null?n:12,this.heightSpan=(i=e==null?void 0:e.heightSpan)!=null?i:12,this.left=(u=e==null?void 0:e.left)!=null?u:0,this.top=(r=e==null?void 0:e.top)!=null?r:0}}var Ho={Designer:e0,Runtime:t0,Property:n0},i0=Object.freeze({__proto__:null,Grid:bo,Col:Eo,Row:_o,GridRow:Io,CardGroup:wo,SubTableColumn:So,SubTableRow:To,GridTableColumn:Ro,Tab:Do,TabPane:Po,Toolbox:Oo,ListView:ko,DataView:Mo,Page:Lo,AdvancedContainer:$o,PositioningContainer:Vo,Position:Ho});class u0 extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.limitRows=[{type:"number",required:!0,message:d.getMessage("isNotNumber")},{type:"number",min:0,message:d.getMessage("limitRowsCannotBeLessThan0")}],this.formKey={type:"string",required:!1,message:d.getMessage("pleaseEnterForm")},this.maxHeight={type:"number",required:!0,message:d.getMessage("pleaseEnterMaxHeight")},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0)}}class r0 extends Ie{constructor(e){super(e),e.isHide||this.push({type:"array",required:e.limitRows>0,message:d.getMessage("runtimeRequired",{caption:e.caption})},{type:"array",validator(n,i,u){i.length<e.limitRows&&u(d.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})),u()},message:d.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})})}}class en extends En{constructor(e,n){var i,u,r,a,l,c,o,h,m,g,_,I,b,w,y,E,N,T,x,ne,D;super(e,n),this.caption=(i=n==null?void 0:n.caption)!=null?i:vi.controlName,this.isHideCaption=(u=n==null?void 0:n.isHideCaption)!=null?u:!1,this.defaultState=(r=n==null?void 0:n.defaultState)!=null?r:"default",this.labelPosition=(a=n==null?void 0:n.labelPosition)!=null?a:"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=(h=n==null?void 0:n.maxHeight)!=null?h:Ha,this.printMode=(m=n==null?void 0:n.printMode)!=null?m:"row",this.limitRows=(g=n==null?void 0:n.limitRows)!=null?g:1,this.defaultRows=(_=n==null?void 0:n.defaultRows)!=null?_:1,this.datasourceBind=new X(n==null?void 0:n.datasourceBind),this.canAdd=(I=n==null?void 0:n.canAdd)!=null?I:!0,this.canDelete=(b=n==null?void 0:n.canDelete)!=null?b:!0,this.canCheck=(w=n==null?void 0:n.canCheck)!=null?w:!1,this.canEdit=(y=n==null?void 0:n.canEdit)!=null?y:!1,this.canImport=(E=n==null?void 0:n.canImport)!=null?E:!1,this.canExport=(N=n==null?void 0:n.canExport)!=null?N:!1,this.canClear=(T=n==null?void 0:n.canClear)!=null?T:!0,this.serverPagination=(x=n==null?void 0:n.serverPagination)!=null?x:!1,this.isShowCaptionTip=(ne=n==null?void 0:n.isShowCaptionTip)!=null?ne:!1,this.captionTip=(D=n==null?void 0:n.captionTip)!=null?D:""}}en.Rules=u0,en.RuntimeRules=r0;class vi extends du{constructor(e){var n;super(e),this.props=new en(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 re,new re,new re])}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 re,u=typeof e=="number"?e:n;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}vi.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_import"],vi.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:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"subtable-max-height",visible:!0},{key:"super-setting",visible:!0}];class a0 extends Pa{constructor(e){super(e),this.props=new en(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){Lr("Method not implemented.")}getChildrenFormControl(){return[]}}var jo={Designer:vi,Runtime:a0,Property:en};class Yu extends En{constructor(e,n){var i,u,r,a;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=(r=n==null?void 0:n.isShowSelection)!=null?r:!1,this.isShowCustomColumns=(a=n==null?void 0:n.isShowCustomColumns)!=null?a:!0}}class l0 extends In{constructor(e){super(e),this.caption.required=!1}}class gi extends H{constructor(e){var n,i,u,r;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:Re.controlName,this.width=(u=e==null?void 0:e.width)!=null?u:50,this.widthType=(r=e==null?void 0:e.widthType)!=null?r:"px"}}gi.Rules=l0;class Re extends K{constructor(e){super(e),this.props=new gi(e==null?void 0:e.props)}}Re.controlType="order-column",Re.controlName="\u5E8F\u53F7",Re.controlIcon="order-column",Re.setting=[{key:"column-fixed",visible:!0}];class pu extends z{constructor(e){super(e),this.props=new gi(e==null?void 0:e.props)}}pu.controlType="order-column",pu.controlFieldType=v.DECIMAL;var qo={Designer:Re,Runtime:pu,Property:gi};class o0 extends In{constructor(e){super(e),this.check=[{type:"object",message:d.getMessage("isNotObject")}],this.edit=[{type:"object",message:d.getMessage("isNotObject")}];const n=()=>({type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterForm")}}});e.check.isShow&&this.check.push(n()),e.edit.isShow&&this.edit.push(n())}}class bi extends H{constructor(e){var n,i,u,r,a,l;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"right",this.check=new ie((i=e==null?void 0:e.check)!=null?i:{content:"\u67E5\u770B",type:"check",isShow:!1,priorityProcess:!0}),this.edit=new ie((u=e==null?void 0:e.edit)!=null?u:{content:"\u7F16\u8F91",type:"edit",isShow:!1}),this.delete=new ie((r=e==null?void 0:e.delete)!=null?r:{content:"\u5220\u9664",type:"delete",isShow:!1}),this.custom=((a=e==null?void 0:e.custom)!=null?a:[]).map(c=>new ie(c)),this.caption=(l=e==null?void 0:e.caption)!=null?l:Pe.controlName}}bi.Rules=o0;class Pe extends K{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}toDataBindModel(){const e=super.toDataBindModel();return e.props.check=this.props.check,e.props.edit=this.props.edit,e.props.delete=this.props.delete,e}}Pe.controlType="operation-column",Pe.controlName="\u64CD\u4F5C",Pe.controlIcon="operation-column",Pe.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"operation-setting",showItems:[s.CAN_CHECK,s.CAN_EDIT,s.CAN_DELETE],visible:!0},{key:"column-width",visible:!0},{key:"column-sort",visible:!0}];class er extends z{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}}er.controlType="operation-column",er.controlFieldType=v.FILE;var Uo={Designer:Pe,Runtime:er,Property:bi};class Ei extends du{constructor(e){super(e),this.props=new Yu(this,e==null?void 0:e.props),we(this,"children",e==null?void 0:e.children),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new Re,new Pe])}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 wi(_e({},e),{children:n})}validate(e,n){return hc(this,null,function*(){return yield fc(Ei.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Ei.setting=[{key:"list-fixed-header",visible:!0}];class c0 extends Pa{constructor(e){super(e),this.props=new Yu(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){Lr("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var Wo={Designer:Ei,Runtime:c0,Property:Yu},s0=Object.freeze({__proto__:null,SubTable:jo,GridTable:Wo});class d0 extends xa{constructor(e){super(e)}}class Ci extends H{constructor(e){var n,i,u,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:De.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.options=fe((u=e==null?void 0:e.options)!=null?u:[{}]),this.lineEllipsis=(r=e==null?void 0:e.lineEllipsis)!=null?r:1}}Ci.Rules=d0;class De extends K{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}}De.controlType="varchar-column",De.controlName="\u77ED\u6587\u672C",De.controlIcon="varchar-column",De.controlFieldType=v.VARCHAR,De.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-width",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 tr extends z{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}}tr.controlType="varchar-column",tr.controlFieldType=v.VARCHAR;var Ko={Designer:De,Runtime:tr,Property:Ci};class nr extends H{constructor(e){var n,i,u;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:xe.controlName,this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1}}class xe extends K{constructor(e){super(e),this.props=new nr(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}}xe.controlType="text-column",xe.controlName="\u957F\u6587\u672C",xe.controlIcon="text-column",xe.controlFieldType=v.TEXT,xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-width",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 ir extends z{constructor(e){super(e),this.props=new nr(e==null?void 0:e.props)}}ir.controlType="text-column",ir.controlFieldType=v.TEXT;var zo={Designer:xe,Runtime:ir,Property:nr};class ur extends H{constructor(e){var n,i,u,r,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Fe.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=(r=e==null?void 0:e.percentageFormat)!=null?r:!1,this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"none",this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.options=fe((l=e==null?void 0:e.options)!=null?l:[{}])}}class Fe extends K{constructor(e){super(e),this.props=new ur(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}}Fe.controlType="decimal-column",Fe.controlName="\u6570\u503C",Fe.controlIcon="decimal-column",Fe.controlFieldType=v.DECIMAL,Fe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-width",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 rr extends z{constructor(e){super(e),this.props=new ur(e==null?void 0:e.props)}}rr.controlType="decimal-column",rr.controlFieldType=v.DECIMAL;var Go={Designer:Fe,Runtime:rr,Property:ur};class ar extends H{constructor(e){var n,i;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:he.DATE,this.caption=(i=e==null?void 0:e.caption)!=null?i:Oe.controlName}}class Oe extends K{constructor(e){super(e),this.props=new ar(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}}Oe.controlType="timescope-column",Oe.controlName="\u65E5\u671F\u533A\u95F4",Oe.controlIcon="timescope-column",Oe.controlFieldType=v.TIMESCOPE,Oe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class lr extends z{constructor(e){super(e),this.props=new ar(e==null?void 0:e.props)}}lr.controlType="timescope-column",lr.controlFieldType=v.TIMESCOPE;var Xo={Designer:Oe,Runtime:lr,Property:ar};class or extends H{constructor(e){var n,i;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:he.DATE,this.caption=(i=e==null?void 0:e.caption)!=null?i:ke.controlName}}class ke extends K{constructor(e){super(e),this.props=new or(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i}=this.props;n.props.dateType=i}return n}}ke.controlType="timestamp-column",ke.controlName="\u65E5\u671F",ke.controlIcon="timestamp-column",ke.controlFieldType=v.TIMESTAMP,ke.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class cr extends z{constructor(e){super(e),this.props=new or(e==null?void 0:e.props)}}cr.controlType="timestamp-column",cr.controlFieldType=v.TIMESTAMP;var Qo={Designer:ke,Runtime:cr,Property:or};class f0 extends xa{constructor(e){super(e)}}class _i extends H{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ne.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.options=fe((u=e==null?void 0:e.options)!=null?u:[{}])}}_i.Rules=f0;class Ne extends K{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}}Ne.controlType="array-column",Ne.controlName="\u6570\u7EC4",Ne.controlIcon="array-column",Ne.controlFieldType=v.ARRAY,Ne.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-sort",visible:!0}];class sr extends z{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}}sr.controlType="array-column",sr.controlFieldType=v.ARRAY;var Jo={Designer:Ne,Runtime:sr,Property:_i};class dr extends H{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Me.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class Me extends K{constructor(e){super(e),this.props=new dr(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}}Me.controlType="department-column",Me.controlName="\u90E8\u95E8",Me.controlIcon="department-column",Me.controlFieldType=v.DEPARTMENTS,Me.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}];class fr extends z{constructor(e){super(e),this.props=new dr(e==null?void 0:e.props)}}fr.controlType="department-column",fr.controlFieldType=v.DEPARTMENTS;var Zo={Designer:Me,Runtime:fr,Property:dr};class hr extends H{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Le.controlName}}class Le extends K{constructor(e){super(e),this.props=new hr(e==null?void 0:e.props)}}Le.controlType="auto-number-column",Le.controlName="\u81EA\u52A8\u7F16\u53F7",Le.controlIcon="auto-number-column",Le.controlFieldType=v.AUTO_NUMBER,Le.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class yr extends z{constructor(e){super(e),this.props=new hr(e==null?void 0:e.props)}}yr.controlType="auto-number-column",yr.controlFieldType=v.AUTO_NUMBER;var Yo={Designer:Le,Runtime:yr,Property:hr};class mr extends H{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:$e.controlName}}class $e extends K{constructor(e){super(e),this.props=new mr(e==null?void 0:e.props)}}$e.controlType="file-column",$e.controlName="\u9644\u4EF6",$e.controlIcon="file-column",$e.controlFieldType=v.FILE,$e.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class vr extends z{constructor(e){super(e),this.props=new mr(e==null?void 0:e.props)}}vr.controlType="file-column",vr.controlFieldType=v.FILE;var po={Designer:$e,Runtime:vr,Property:mr};class gr extends H{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ve.controlName}}class Ve extends K{constructor(e){super(e),this.props=new gr(e==null?void 0:e.props)}}Ve.controlType="image-column",Ve.controlName="\u56FE\u7247",Ve.controlIcon="image-column",Ve.controlFieldType=v.IMAGE,Ve.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class br extends z{constructor(e){super(e),this.props=new gr(e==null?void 0:e.props)}}br.controlType="image-column",br.controlFieldType=v.IMAGE;var ec={Designer:Ve,Runtime:br,Property:gr};class Er extends H{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:He.controlName}}class He extends K{constructor(e){super(e),this.props=new Er(e==null?void 0:e.props)}}He.controlType="people-column",He.controlName="\u4EBA\u5458",He.controlIcon="people-column",He.controlFieldType=v.EMPLOYEES,He.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Cr extends z{constructor(e){super(e),this.props=new Er(e==null?void 0:e.props)}}Cr.controlType="people-column",Cr.controlFieldType=v.EMPLOYEES;var tc={Designer:He,Runtime:Cr,Property:Er};class _r extends H{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:je.controlName}}class je extends K{constructor(e){super(e),this.props=new _r(e==null?void 0:e.props)}}je.controlType="location-column",je.controlName="\u5730\u5740",je.controlIcon="location-column",je.controlFieldType=v.ADDRESS,je.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Ir extends z{constructor(e){super(e),this.props=new _r(e==null?void 0:e.props)}}Ir.controlType="location-column",Ir.controlFieldType=v.ADDRESS;var nc={Designer:je,Runtime:Ir,Property:_r};class wr extends H{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ee.controlName,this.fieldCodeList=(i=e==null?void 0:e.fieldCodeList)!=null?i:[]}}const h0=1;class Ee extends K{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new wr(e==null?void 0:e.props),we(this,"children",e==null?void 0:e.children),this.excludes=ye(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 wi(_e({},e),{children:this.children.map(n=>n.toSchema())})}}Ee.controlType="custom-column",Ee.controlName="\u81EA\u5B9A\u4E49",Ee.controlIcon="custom-column",Ee.excludes=[],Ee.childrenMaxLength=h0,Ee.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class ic extends z{constructor(e){super(e),this.props=new wr(e==null?void 0:e.props),we(this,"children",e==null?void 0:e.children)}}ic.controlType="custom-column";var uc={Designer:Ee,Runtime:ic,Property:wr};class Ar extends H{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ce.controlName,this.datasourceBind=new rn((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:Ce.controlCustomAttributes})}}class Ce extends K{constructor(e){super(e),this.props=new Ar(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}Ce.controlType="employee-column",Ce.controlName="\u4EBA\u5458",Ce.controlIcon="employee-column",Ce.controlFieldType=v.EMPLOYEES,Ce.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Sr extends z{constructor(e){super(e),this.props=new Ar(e==null?void 0:e.props)}}Sr.controlType="employee-column",Sr.controlFieldType=v.EMPLOYEES;var rc={Designer:Ce,Runtime:Sr,Property:Ar},y0=Object.freeze({__proto__:null,VarcharColumn:Ko,TextColumn:zo,DecimalColumn:Go,TimescopeColumn:Xo,TimestampColumn:Qo,ArrayColumn:Jo,DepartmentColumn:Zo,AutoNumberColumn:Yo,FileColumn:po,ImageColumn:ec,PeopleColumn:tc,LocationColumn:nc,CustomColumn:uc,OrderColumn:qo,OperationColumn:Uo,EmployeeColumn:rc});class m0 extends Ie{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Ii extends _u{constructor(e){var n,i,u,r,a,l,c;super(e),this.labelPosition=(n=e==null?void 0:e.labelPosition)!=null?n:"top",this.viewType=(i=e==null?void 0:e.viewType)!=null?i:"mini",this.search=new ie((u=e==null?void 0:e.search)!=null?u:{content:"\u67E5\u8BE2",isShow:!0}),this.cancel=new ie((r=e==null?void 0:e.cancel)!=null?r:{content:"\u91CD\u7F6E",isShow:!0}),this.isLoading=(a=e==null?void 0:e.isLoading)!=null?a:!1,this.custom=((l=e==null?void 0:e.custom)!=null?l:[]).map(o=>new ie(o)),this.queryTypeMap=(c=e==null?void 0:e.queryTypeMap)!=null?c:[]}}Ii.RuntimeRules=m0;class Tr extends zv{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}}Tr.controlType="simple-search",Tr.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 ac extends eg{constructor(e){var n;super(e),this.props=new Ii(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}ac.controlType="simple-search";var lc={Designer:Tr,Runtime:ac,Property:Ii},v0=Object.freeze({__proto__:null,SimpleSearch:lc});f.Address=ql,f.AdvancedContainer=$o,f.Amount=$l,f.ArrayColumn=Jo,f.AssignType=ze,f.Attachment=kl,f.AutoNumber=zl,f.AutoNumberColumn=Yo,f.BatchDeleteButton=dl,f.BatchPrintListButton=cl,f.BatchPrintRecordListButton=sl,f.BatchSubmissionListButton=Xa,f.Button=Na,f.Calc=Xl,f.CardGroup=wo,f.Checkbox=ml,f.Col=Eo,f.CreateFormListButton=Ga,f.CustomColumn=uc,f.DATE_CONFIG_TYPE=Ma,f.DATE_LIMIT_TYPE=La,f.Dashboard=ul,f.DataView=Mo,f.DatePicker=_l,f.DateRange=wl,f.DecimalColumn=Go,f.Department=Wl,f.Department2=vo,f.DepartmentColumn=Zo,f.DepartmentType=Ou,f.Divider=Ka,f.ElectronicSignature=fo,f.ElectronicSignatureConfig=$a,f.Employee=Ol,f.Employee2=co,f.EmployeeColumn=rc,f.EncryptTypeEnum=Ua,f.Explain=Pn,f.ExportListButton=Ja,f.ExportRecordListButton=Za,f.ExportTemplate=Du,f.FileColumn=po,f.FlexStyleConfig=qa,f.FormSelectButton=pa,f.Grid=bo,f.GridRow=Io,f.GridTable=Wo,f.GridTableColumn=Ro,f.Image=Ml,f.ImageColumn=ec,f.ImportRecordListButton=Ya,f.Input=hl,f.InternalType=ku,f.InvoiceCheckButton=ol,f.LINE_STYLE=Ru,f.LimitDate=Rn,f.Link=ka,f.ListSelectButton=el,f.ListView=ko,f.ListViewSelect=al,f.LocationColumn=nc,f.Number=El,f.OperationColumn=Uo,f.OrderColumn=qo,f.OrganizeType=Fu,f.Page=Lo,f.Pagination=nl,f.PeopleColumn=tc,f.Position=Ho,f.PositioningContainer=Vo,f.PrintTemplate=ja,f.Radio=gl,f.RichText=Bl,f.Row=_o,f.SCORE_TYPE=Bu,f.SUBTABLE_DEFAULT_MAX_HEIGHT=Ha,f.Score=Hl,f.SearchDateRange=Yl,f.SearchInput=ro,f.SearchNumberRange=Jl,f.Select=Pl,f.SelectMultiple=xl,f.SelectRelation=no,f.SimpleSearch=lc,f.SubTable=jo,f.SubTableColumn=So,f.SubTableRow=To,f.SubmissionRecordListButton=Qa,f.Tab=Do,f.TabPane=Po,f.Text=Oa,f.TextColumn=zo,f.TextOcrButton=ll,f.Textarea=Sl,f.TimescopeColumn=Xo,f.TimestampColumn=Qo,f.Title=za,f.TitleConfigEnum=be,f.Toolbox=Oo,f.Tree=lo,f.UndersignedPerson=Pu,f.VarcharColumn=Ko,f.VueFormItem=eo,f.WPS=yo,f.WPSSetting=Va,f.WpsOperationItem=xu,f.baseControls=kg,f.columnControls=y0,f.formControls=Tb,f.initExpression=ht,f.layoutControls=i0,f.listControls=s0,f.searchControls=v0,Object.defineProperty(f,"__esModule",{value:!0})});
|