@byteluck-fe/model-driven-controls 2.2.6 → 2.2.7-beta.0
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/designer.js +18 -4
- package/dist/esm/baseControls/BatchDeleteButton/property.js +22 -0
- package/dist/esm/baseControls/BatchDeleteButton/runtime.js +14 -0
- package/dist/esm/baseControls/BatchPrintListButton/designer.js +18 -4
- package/dist/esm/baseControls/BatchPrintListButton/property.js +19 -3
- package/dist/esm/baseControls/BatchPrintListButton/runtime.js +14 -0
- package/dist/esm/baseControls/BatchPrintRecordListButton/designer.js +18 -4
- package/dist/esm/baseControls/BatchPrintRecordListButton/runtime.js +14 -0
- package/dist/esm/baseControls/BatchSubmissionListButton/designer.js +18 -4
- package/dist/esm/baseControls/BatchSubmissionListButton/property.js +28 -3
- package/dist/esm/baseControls/BatchSubmissionListButton/runtime.js +14 -0
- package/dist/esm/baseControls/Button/designer.js +18 -4
- package/dist/esm/baseControls/Button/property.js +22 -0
- package/dist/esm/baseControls/Button/runtime.js +14 -0
- package/dist/esm/baseControls/CreateFormListButton/designer.js +18 -4
- package/dist/esm/baseControls/CreateFormListButton/property.js +18 -3
- package/dist/esm/baseControls/CreateFormListButton/runtime.js +14 -0
- package/dist/esm/baseControls/Dashboard/designer.js +16 -2
- package/dist/esm/baseControls/Dashboard/property.js +30 -11
- package/dist/esm/baseControls/Dashboard/runtime.js +14 -0
- package/dist/esm/baseControls/Divider/designer.js +16 -2
- package/dist/esm/baseControls/Divider/property.js +15 -0
- package/dist/esm/baseControls/Divider/runtime.js +14 -0
- package/dist/esm/baseControls/ExportListButton/designer.js +18 -4
- package/dist/esm/baseControls/ExportListButton/property.js +14 -0
- package/dist/esm/baseControls/ExportListButton/runtime.js +14 -0
- package/dist/esm/baseControls/ExportRecordListButton/designer.js +18 -4
- package/dist/esm/baseControls/ExportRecordListButton/runtime.js +14 -0
- package/dist/esm/baseControls/FormSelectButton/designer.js +18 -4
- package/dist/esm/baseControls/FormSelectButton/property.js +11 -7
- package/dist/esm/baseControls/FormSelectButton/runtime.js +14 -0
- package/dist/esm/baseControls/ImportRecordListButton/designer.js +18 -4
- package/dist/esm/baseControls/ImportRecordListButton/property.js +17 -0
- package/dist/esm/baseControls/ImportRecordListButton/runtime.js +14 -0
- package/dist/esm/baseControls/InvoiceCheckButton/designer.js +18 -4
- package/dist/esm/baseControls/InvoiceCheckButton/property.js +33 -13
- package/dist/esm/baseControls/InvoiceCheckButton/runtime.js +14 -0
- package/dist/esm/baseControls/Link/designer.js +18 -4
- package/dist/esm/baseControls/Link/property.js +16 -0
- package/dist/esm/baseControls/Link/runtime.js +14 -0
- package/dist/esm/baseControls/ListSelectButton/designer.js +18 -4
- package/dist/esm/baseControls/ListSelectButton/property.js +10 -7
- package/dist/esm/baseControls/ListSelectButton/runtime.js +14 -0
- package/dist/esm/baseControls/ListViewSelect/designer.js +16 -2
- package/dist/esm/baseControls/ListViewSelect/property.js +20 -5
- package/dist/esm/baseControls/ListViewSelect/runtime.js +14 -0
- package/dist/esm/baseControls/OperationButton/designer.js +18 -4
- package/dist/esm/baseControls/OperationButton/property.js +29 -3
- package/dist/esm/baseControls/OperationButton/runtime.js +14 -0
- package/dist/esm/baseControls/Pagination/designer.js +15 -1
- package/dist/esm/baseControls/Pagination/property.js +15 -2
- package/dist/esm/baseControls/Pagination/runtime.js +14 -0
- package/dist/esm/baseControls/SubmissionRecordListButton/designer.js +18 -4
- package/dist/esm/baseControls/SubmissionRecordListButton/runtime.js +14 -0
- package/dist/esm/baseControls/Text/designer.js +16 -2
- package/dist/esm/baseControls/Text/property.js +19 -0
- package/dist/esm/baseControls/Text/runtime.js +14 -0
- package/dist/esm/baseControls/TextOcrButton/designer.js +18 -4
- package/dist/esm/baseControls/TextOcrButton/property.js +33 -13
- package/dist/esm/baseControls/TextOcrButton/runtime.js +14 -0
- package/dist/esm/baseControls/Title/designer.js +17 -3
- package/dist/esm/baseControls/Title/property.js +24 -7
- package/dist/esm/baseControls/Title/runtime.js +14 -0
- package/dist/esm/columnControls/ArrayColumn/designer.js +20 -6
- package/dist/esm/columnControls/ArrayColumn/property.js +20 -1
- package/dist/esm/columnControls/ArrayColumn/runtime.js +16 -2
- package/dist/esm/columnControls/AutoNumberColumn/designer.js +20 -6
- package/dist/esm/columnControls/AutoNumberColumn/runtime.js +16 -2
- package/dist/esm/columnControls/CustomColumn/designer.js +58 -30
- package/dist/esm/columnControls/CustomColumn/property.js +14 -0
- package/dist/esm/columnControls/CustomColumn/runtime.js +16 -1
- package/dist/esm/columnControls/DecimalColumn/designer.js +47 -15
- package/dist/esm/columnControls/DecimalColumn/property.js +28 -0
- package/dist/esm/columnControls/DecimalColumn/runtime.js +16 -2
- package/dist/esm/columnControls/DepartmentColumn/designer.js +46 -14
- package/dist/esm/columnControls/DepartmentColumn/property.js +16 -0
- package/dist/esm/columnControls/DepartmentColumn/runtime.js +16 -2
- package/dist/esm/columnControls/EmployeeColumn/designer.js +20 -6
- package/dist/esm/columnControls/EmployeeColumn/property.js +14 -0
- package/dist/esm/columnControls/EmployeeColumn/runtime.js +16 -2
- package/dist/esm/columnControls/FileColumn/designer.js +20 -6
- package/dist/esm/columnControls/FileColumn/runtime.js +16 -2
- package/dist/esm/columnControls/ImageColumn/designer.js +20 -6
- package/dist/esm/columnControls/ImageColumn/runtime.js +16 -2
- package/dist/esm/columnControls/LocationColumn/designer.js +20 -6
- package/dist/esm/columnControls/LocationColumn/runtime.js +16 -2
- package/dist/esm/columnControls/OperationColumn/designer.js +84 -58
- package/dist/esm/columnControls/OperationColumn/property.js +20 -0
- package/dist/esm/columnControls/OperationColumn/runtime.js +17 -2
- package/dist/esm/columnControls/OrderColumn/designer.js +19 -5
- package/dist/esm/columnControls/OrderColumn/property.js +14 -1
- package/dist/esm/columnControls/OrderColumn/runtime.js +16 -2
- package/dist/esm/columnControls/PeopleColumn/designer.js +20 -6
- package/dist/esm/columnControls/PeopleColumn/runtime.js +16 -2
- package/dist/esm/columnControls/TextColumn/designer.js +46 -14
- package/dist/esm/columnControls/TextColumn/property.js +17 -0
- package/dist/esm/columnControls/TextColumn/runtime.js +16 -2
- package/dist/esm/columnControls/TimescopeColumn/designer.js +46 -14
- package/dist/esm/columnControls/TimescopeColumn/property.js +16 -0
- package/dist/esm/columnControls/TimescopeColumn/runtime.js +16 -2
- package/dist/esm/columnControls/TimestampColumn/designer.js +46 -14
- package/dist/esm/columnControls/TimestampColumn/property.js +16 -0
- package/dist/esm/columnControls/TimestampColumn/runtime.js +16 -2
- package/dist/esm/columnControls/VarcharColumn/designer.js +20 -6
- package/dist/esm/columnControls/VarcharColumn/property.js +23 -1
- package/dist/esm/columnControls/VarcharColumn/runtime.js +16 -2
- package/dist/esm/formControls/Address/designer.js +17 -3
- package/dist/esm/formControls/Address/property.js +20 -1
- package/dist/esm/formControls/Address/runtime.js +15 -1
- package/dist/esm/formControls/Amount/designer.js +32 -15
- package/dist/esm/formControls/Amount/property.js +39 -6
- package/dist/esm/formControls/Amount/runtime.js +15 -1
- package/dist/esm/formControls/Attachment/designer.js +19 -5
- package/dist/esm/formControls/Attachment/property.js +26 -4
- package/dist/esm/formControls/Attachment/runtime.js +15 -1
- package/dist/esm/formControls/AutoNumber/designer.js +19 -5
- package/dist/esm/formControls/AutoNumber/property.js +14 -0
- package/dist/esm/formControls/AutoNumber/runtime.js +15 -1
- package/dist/esm/formControls/Calc/designer.js +32 -15
- package/dist/esm/formControls/Calc/property.js +36 -2
- package/dist/esm/formControls/Calc/runtime.js +15 -1
- package/dist/esm/formControls/Checkbox/designer.js +19 -5
- package/dist/esm/formControls/Checkbox/property.js +40 -4
- package/dist/esm/formControls/Checkbox/runtime.js +15 -1
- package/dist/esm/formControls/DatePicker/designer.js +29 -12
- package/dist/esm/formControls/DatePicker/property.js +25 -0
- package/dist/esm/formControls/DatePicker/runtime.js +15 -1
- package/dist/esm/formControls/DateRange/designer.js +29 -12
- package/dist/esm/formControls/DateRange/property.js +27 -1
- package/dist/esm/formControls/DateRange/runtime.js +15 -1
- package/dist/esm/formControls/Department/designer.js +30 -13
- package/dist/esm/formControls/Department/property.js +43 -1
- package/dist/esm/formControls/Department/runtime.js +15 -1
- package/dist/esm/formControls/Department2/designer.js +30 -13
- package/dist/esm/formControls/Department2/property.js +59 -6
- package/dist/esm/formControls/Department2/runtime.js +15 -1
- package/dist/esm/formControls/ElectronicSignature/designer.js +19 -5
- package/dist/esm/formControls/ElectronicSignature/property.js +23 -3
- package/dist/esm/formControls/ElectronicSignature/runtime.js +15 -1
- package/dist/esm/formControls/Employee/designer.js +17 -3
- package/dist/esm/formControls/Employee/property.js +29 -1
- package/dist/esm/formControls/Employee/runtime.js +15 -1
- package/dist/esm/formControls/Employee2/designer.js +17 -3
- package/dist/esm/formControls/Employee2/property.js +43 -6
- package/dist/esm/formControls/Employee2/runtime.js +15 -1
- package/dist/esm/formControls/Image/designer.js +16 -3
- package/dist/esm/formControls/Input/designer.js +19 -5
- package/dist/esm/formControls/Input/property.js +27 -8
- package/dist/esm/formControls/Input/runtime.js +15 -1
- package/dist/esm/formControls/Number/designer.js +32 -15
- package/dist/esm/formControls/Number/property.js +53 -6
- package/dist/esm/formControls/Number/runtime.js +15 -1
- package/dist/esm/formControls/Radio/designer.js +19 -5
- package/dist/esm/formControls/Radio/property.js +33 -1
- package/dist/esm/formControls/Radio/runtime.js +15 -1
- package/dist/esm/formControls/RichText/designer.js +19 -5
- package/dist/esm/formControls/RichText/property.js +24 -8
- package/dist/esm/formControls/RichText/runtime.js +15 -1
- package/dist/esm/formControls/Score/designer.js +38 -21
- package/dist/esm/formControls/Score/property.js +24 -6
- package/dist/esm/formControls/Score/runtime.js +15 -1
- package/dist/esm/formControls/SearchDateRange/designer.js +17 -3
- package/dist/esm/formControls/SearchDateRange/property.js +26 -1
- package/dist/esm/formControls/SearchDateRange/runtime.js +15 -1
- package/dist/esm/formControls/SearchInput/designer.js +16 -2
- package/dist/esm/formControls/SearchInput/runtime.js +15 -1
- package/dist/esm/formControls/SearchNumberRange/designer.js +17 -3
- package/dist/esm/formControls/SearchNumberRange/property.js +21 -1
- package/dist/esm/formControls/SearchNumberRange/runtime.js +15 -1
- package/dist/esm/formControls/Select/designer.js +17 -3
- package/dist/esm/formControls/Select/property.js +25 -1
- package/dist/esm/formControls/Select/runtime.js +15 -1
- package/dist/esm/formControls/SelectMultiple/designer.js +17 -3
- package/dist/esm/formControls/SelectMultiple/property.js +24 -2
- package/dist/esm/formControls/SelectMultiple/runtime.js +15 -1
- package/dist/esm/formControls/SelectRelation/designer.js +19 -5
- package/dist/esm/formControls/SelectRelation/property.js +28 -3
- package/dist/esm/formControls/SelectRelation/runtime.js +15 -1
- package/dist/esm/formControls/Textarea/designer.js +19 -5
- package/dist/esm/formControls/Textarea/property.js +25 -8
- package/dist/esm/formControls/Textarea/runtime.js +15 -1
- package/dist/esm/formControls/Tree/designer.js +19 -5
- package/dist/esm/formControls/Tree/property.js +32 -6
- package/dist/esm/formControls/Tree/runtime.js +15 -1
- package/dist/esm/formControls/VueFormItem/designer.js +18 -4
- package/dist/esm/formControls/VueFormItem/property.js +19 -2
- package/dist/esm/formControls/VueFormItem/runtime.js +15 -1
- package/dist/esm/formControls/WPS/designer.js +19 -5
- package/dist/esm/formControls/WPS/property.js +32 -6
- package/dist/esm/formControls/WPS/runtime.js +15 -1
- package/dist/esm/framework.js +80 -0
- package/dist/esm/layoutControls/AdvancedContainer/property.js +15 -0
- package/dist/esm/layoutControls/CardGroup/designer.js +18 -4
- package/dist/esm/layoutControls/CardGroup/property.js +23 -3
- package/dist/esm/layoutControls/CardGroup/runtime.js +14 -0
- package/dist/esm/layoutControls/Col/designer.js +17 -3
- package/dist/esm/layoutControls/Col/property.js +15 -0
- package/dist/esm/layoutControls/Col/runtime.js +14 -0
- package/dist/esm/layoutControls/DataView/designer.js +15 -1
- package/dist/esm/layoutControls/DataView/property.js +21 -1
- package/dist/esm/layoutControls/DataView/runtime.js +14 -0
- package/dist/esm/layoutControls/Grid/designer.js +15 -2
- package/dist/esm/layoutControls/GridRow/designer.js +17 -4
- package/dist/esm/layoutControls/GridTableColumn/designer.js +22 -8
- package/dist/esm/layoutControls/GridTableColumn/property.js +26 -0
- package/dist/esm/layoutControls/GridTableColumn/runtime.js +15 -1
- package/dist/esm/layoutControls/ListView/designer.js +20 -6
- package/dist/esm/layoutControls/ListView/property.js +33 -6
- package/dist/esm/layoutControls/ListView/runtime.js +14 -0
- package/dist/esm/layoutControls/Page/property.js +18 -4
- package/dist/esm/layoutControls/Position/property.js +17 -0
- package/dist/esm/layoutControls/Row/designer.js +18 -4
- package/dist/esm/layoutControls/Row/property.js +15 -0
- package/dist/esm/layoutControls/Row/runtime.js +14 -0
- package/dist/esm/layoutControls/SubTableColumn/designer.js +22 -8
- package/dist/esm/layoutControls/SubTableColumn/property.js +42 -7
- package/dist/esm/layoutControls/SubTableColumn/runtime.js +15 -1
- package/dist/esm/layoutControls/SubTableRow/designer.js +22 -8
- package/dist/esm/layoutControls/SubTableRow/runtime.js +14 -0
- package/dist/esm/layoutControls/Tab/designer.js +20 -6
- package/dist/esm/layoutControls/Tab/runtime.js +14 -0
- package/dist/esm/layoutControls/TabPane/designer.js +18 -4
- package/dist/esm/layoutControls/TabPane/property.js +17 -3
- package/dist/esm/layoutControls/TabPane/runtime.js +14 -0
- package/dist/esm/layoutControls/Toolbox/designer.js +16 -2
- package/dist/esm/listControls/GridTable/designer.js +52 -44
- package/dist/esm/listControls/GridTable/property.js +18 -0
- package/dist/esm/listControls/GridTable/runtime.js +35 -12
- package/dist/esm/listControls/SubTable/designer.js +33 -15
- package/dist/esm/listControls/SubTable/property.js +91 -12
- package/dist/esm/listControls/SubTable/runtime.js +29 -9
- package/dist/esm/searchControls/SimpleSearch/designer.js +17 -3
- package/dist/esm/searchControls/SimpleSearch/property.js +21 -1
- package/dist/esm/searchControls/SimpleSearch/runtime.js +16 -1
- 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/OperationButton/designer.d.ts +13 -13
- package/dist/types/baseControls/OperationButton/index.d.ts +12 -12
- package/dist/types/baseControls/OperationButton/property.d.ts +25 -25
- package/dist/types/baseControls/OperationButton/runtime.d.ts +9 -9
- package/dist/types/baseControls/Pagination/designer.d.ts +13 -13
- package/dist/types/baseControls/Pagination/index.d.ts +12 -12
- package/dist/types/baseControls/Pagination/property.d.ts +14 -14
- package/dist/types/baseControls/Pagination/runtime.d.ts +10 -10
- package/dist/types/baseControls/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 +19 -19
- package/dist/types/baseControls/Title/runtime.d.ts +10 -10
- package/dist/types/baseControls/index.d.ts +22 -22
- 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 +24 -24
- package/dist/types/columnControls/OperationColumn/index.d.ts +12 -12
- package/dist/types/columnControls/OperationColumn/property.d.ts +8 -8
- package/dist/types/columnControls/OperationColumn/runtime.d.ts +13 -13
- 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 +30 -30
- package/dist/types/formControls/Checkbox/runtime.d.ts +12 -12
- package/dist/types/formControls/DatePicker/designer.d.ts +15 -15
- package/dist/types/formControls/DatePicker/index.d.ts +12 -12
- package/dist/types/formControls/DatePicker/property.d.ts +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 +47 -47
- package/dist/types/formControls/Department/runtime.d.ts +12 -12
- package/dist/types/formControls/Department2/designer.d.ts +20 -20
- package/dist/types/formControls/Department2/index.d.ts +12 -12
- package/dist/types/formControls/Department2/property.d.ts +64 -64
- package/dist/types/formControls/Department2/runtime.d.ts +12 -12
- package/dist/types/formControls/ElectronicSignature/designer.d.ts +15 -15
- package/dist/types/formControls/ElectronicSignature/index.d.ts +12 -12
- package/dist/types/formControls/ElectronicSignature/property.d.ts +22 -22
- package/dist/types/formControls/ElectronicSignature/runtime.d.ts +12 -12
- package/dist/types/formControls/Employee/designer.d.ts +14 -14
- package/dist/types/formControls/Employee/index.d.ts +12 -12
- package/dist/types/formControls/Employee/property.d.ts +21 -21
- package/dist/types/formControls/Employee/runtime.d.ts +12 -12
- package/dist/types/formControls/Employee2/designer.d.ts +19 -19
- package/dist/types/formControls/Employee2/index.d.ts +12 -12
- package/dist/types/formControls/Employee2/property.d.ts +33 -33
- 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 +22 -22
- package/dist/types/formControls/Radio/runtime.d.ts +12 -12
- package/dist/types/formControls/RichText/designer.d.ts +15 -15
- package/dist/types/formControls/RichText/index.d.ts +12 -12
- package/dist/types/formControls/RichText/property.d.ts +21 -21
- package/dist/types/formControls/RichText/runtime.d.ts +12 -12
- package/dist/types/formControls/Score/designer.d.ts +16 -16
- package/dist/types/formControls/Score/index.d.ts +12 -12
- package/dist/types/formControls/Score/property.d.ts +23 -23
- package/dist/types/formControls/Score/runtime.d.ts +12 -12
- package/dist/types/formControls/SearchDateRange/designer.d.ts +14 -14
- package/dist/types/formControls/SearchDateRange/index.d.ts +12 -12
- package/dist/types/formControls/SearchDateRange/property.d.ts +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 +18 -18
- 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 +21 -21
- package/dist/types/formControls/SelectMultiple/runtime.d.ts +12 -12
- package/dist/types/formControls/SelectRelation/designer.d.ts +15 -15
- package/dist/types/formControls/SelectRelation/index.d.ts +12 -12
- package/dist/types/formControls/SelectRelation/property.d.ts +23 -23
- 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 +29 -29
- 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 +16 -16
- 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 +106 -106
- package/package.json +5 -5
package/dist/index.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var P0=Object.defineProperty,D0=Object.defineProperties;var x0=Object.getOwnPropertyDescriptors;var vc=Object.getOwnPropertySymbols,F0=Object.getPrototypeOf,O0=Object.prototype.hasOwnProperty,k0=Object.prototype.propertyIsEnumerable,M0=Reflect.get;var bc=(h,O,L)=>O in h?P0(h,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):h[O]=L,ye=(h,O)=>{for(var L in O||(O={}))O0.call(O,L)&&bc(h,L,O[L]);if(vc)for(var L of vc(O))k0.call(O,L)&&bc(h,L,O[L]);return h},un=(h,O)=>D0(h,x0(O));var xa=(h,O,L)=>M0(F0(h),L,O);var Fa=(h,O,L)=>new Promise((Ai,an)=>{var Si=le=>{try{ut(L.next(le))}catch(at){an(at)}},Bi=le=>{try{ut(L.throw(le))}catch(at){an(at)}},ut=le=>le.done?Ai(le.value):Promise.resolve(le.value).then(Si,Bi);ut((L=L.apply(h,O)).next())});(function(h,O){typeof exports=="object"&&typeof module!="undefined"?O(exports):typeof define=="function"&&define.amd?define(["exports"],O):(h=typeof globalThis!="undefined"?globalThis:h||self,O(h.modelDrivenControls={}))})(this,function(h){"use strict";var O="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",L="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Ai="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",an="\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",le="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",at="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",Ec="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",Cc="\u8BF7\u7ED1\u5B9A\u8868\u5355",_c="\u8BF7\u7ED1\u5B9A\u5217\u8868",Ic="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",wc="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Ac="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Sc="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Bc="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Tc="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Rc="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",Pc="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Dc="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",xc="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Fc="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Oc="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",kc="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Mc="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Nc="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Lc="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",$c="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Vc="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Hc="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",jc="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",qc="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Uc="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Wc="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Kc="\u8BF7\u7ED1\u5B9A\u670D\u52A1",zc="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Gc="\u8BF7\u9009\u62E9\u7701",Xc="\u8BF7\u9009\u62E9\u5E02",Qc="\u8BF7\u9009\u62E9\u533A",Jc="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Zc="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Yc="\u8BF7\u8F93\u5165\u5217\u5BBD",pc="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",es="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",ts="\u8BF7\u9009\u62E9\u63A7\u4EF6",ns="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",is="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",us="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",as="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",rs="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ls="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",os="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",cs="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",ss="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",ds="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",fs="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",hs="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",ys="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",ms="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",gs="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",vs="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",bs="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Es="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Cs="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",_s="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Is="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",ws={isNotNumber:O,isNotString:L,isNotObject:Ai,isNotArray:an,isNotBoolean:Si,runtimeRequired:Bi,pleaseEnterCaption:ut,pleaseEnterCaptionTip:le,pleaseEnterPlaceholder:at,pleaseEnterFieldCode:Ec,pleaseEnterForm:Cc,pleaseEnterList:_c,pleaseEnterProcess:Ic,pleaseEnterLabel:wc,pleaseEnterValue:Ac,bizKeyNotBindFiled:Sc,pleaseSelectOneField:Bc,pleaseEnterNumberRange:Tc,pleaseEnterAValueGreaterThanMin:Rc,pleaseEnterAValueLessThanMax:Pc,numberRangeSetError:Dc,stringRangeError:xc,attachmentMaxSize:Fc,pleaseEnterTotalScoreSetting:Oc,theTotalScoreMustNotBeLessThan1:kc,scoreDefaultValueRange:Mc,attachmentLimitError:Nc,PleaseReselectTheOptionalQuantity:Lc,TheMaximumLengthIsGreaterThanTheMinimumLength:$c,TheMinimumLengthIsGreaterThanTheMaximumLength:Vc,PleaseSelectTheCorrectOptionSettings:Hc,optionIdIsRepeat:jc,optionIsRequired:qc,pleaseEnterDataCode:Uc,pleaseEnterValueFieldCode:Wc,pleaseEnterSvcCode:Kc,pleaseBindAtLeastOneDisplayValue:zc,pleaseSelectProvince:Gc,pleaseSelectCity:Xc,pleaseSelectDistrict:Qc,limitRowsCannotBeLessThan0:Jc,TheNumberOfRowsCannotBeLessThanMinRows:Zc,pleaseEnterColumnWidth:Yc,pleaseSetTheLogicalRelationshipOfAllRuleConditions:pc,pleaseCompleteAllRulesAndConditions:es,pleaseSelectControl:ts,pleaseSelectAtLeastOneColumn:ns,pleaseSelectFillBackMode:is,pleaseSelectDashboard:us,rootNodeIsRequired:as,theViewNameCannotBeEmpty:rs,pleaseSelectOcrType:ls,pleaseSelectAtLeastOneFieldToFillIn:os,pleaseChooseAtLeastOne:cs,pleaseEnterButtonContent:ss,pleaseEnterDataCodeInDataSetting:ds,pleaseEnterValueFieldCodeInDataSetting:fs,pleaseEnterSvcCodeInDataSetting:hs,pleaseBindAtLeastOneDisplayValueInDataSetting:ys,rootNodeIsRequiredInDataSetting:ms,pleaseEnterMaxHeight:gs,pleaseEnter:vs,pleaseEnterWatermark:bs,pleaseEnterFileName:Es,pleaseUploadAtLeastOnePrintTemplate:Cs,pleaseAssignBusiness:_s,pleaseAssignExternal:Is},As="Please enter a number",Ss="Please enter a string",Bs="Please enter an object",Ts="Please enter an array",Rs="Please enter a boolean",Ps="{caption} Required",Ds="Please enter the title",xs="Please enter the bubble prompt",Fs="Please enter the prompt text",Os="Please bind data items",ks="Please bind the form",Ms="Please bind the list",Ns="Please bind the process",Ls="Please enter the displayed value",$s="Please enter the stored value",Vs="The document number is not bound to the data item",Hs="Please select at least one display field",js="Please enter a value greater than or equal to {min} and less than or equal to {max}",qs="Please enter a value greater than or equal to {min}",Us="Please enter a value less than or equal to {max}",Ws="The value range is set incorrectly",Ks="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",zs="The attachment size must be between 0MB and 1000MB",Gs="Please fill in the total score setting",Xs="The total score cannot be less than 1",Qs="The default value must be between {min} and {max}",Js="The number of attachments uploaded must be between {min} and {max}",Zs="Please re-select the optional quantity",Ys="The maximum length of the control must be greater than the minimum length",ps="The minimum length of the control must be less than the maximum length",ed="Please select the correct option setting",td="Option ID cannot be repeated",nd="Please enter at least one option",id="Please bind the data source",ud="Please bind the stored value",ad="Please bind the service",rd="At least one display value must be bound",ld="Please select a province",od="Please select a city",cd="Please select a district",sd="The minimum number of lines to fill in cannot be less than 0",dd="The number of rows cannot be less than {min} rows",fd="Please enter the column width",hd="Please set the logical relationship of all rule conditions",yd="Please complete all rules and conditions",md="please select control",gd="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",vd="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",bd="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Ed="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Cd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",_d="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Id="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",wd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Ad="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Sd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Bd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Td="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Rd="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Pd="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Dd="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",xd="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Fd="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Od="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",kd={isNotNumber:As,isNotString:Ss,isNotObject:Bs,isNotArray:Ts,isNotBoolean:Rs,runtimeRequired:Ps,pleaseEnterCaption:Ds,pleaseEnterCaptionTip:xs,pleaseEnterPlaceholder:Fs,pleaseEnterFieldCode:Os,pleaseEnterForm:ks,pleaseEnterList:Ms,pleaseEnterProcess:Ns,pleaseEnterLabel:Ls,pleaseEnterValue:$s,bizKeyNotBindFiled:Vs,pleaseSelectOneField:Hs,pleaseEnterNumberRange:js,pleaseEnterAValueGreaterThanMin:qs,pleaseEnterAValueLessThanMax:Us,numberRangeSetError:Ws,stringRangeError:Ks,attachmentMaxSize:zs,pleaseEnterTotalScoreSetting:Gs,theTotalScoreMustNotBeLessThan1:Xs,scoreDefaultValueRange:Qs,attachmentLimitError:Js,PleaseReselectTheOptionalQuantity:Zs,TheMaximumLengthIsGreaterThanTheMinimumLength:Ys,TheMinimumLengthIsGreaterThanTheMaximumLength:ps,PleaseSelectTheCorrectOptionSettings:ed,optionIdIsRepeat:td,optionIsRequired:nd,pleaseEnterDataCode:id,pleaseEnterValueFieldCode:ud,pleaseEnterSvcCode:ad,pleaseBindAtLeastOneDisplayValue:rd,pleaseSelectProvince:ld,pleaseSelectCity:od,pleaseSelectDistrict:cd,limitRowsCannotBeLessThan0:sd,TheNumberOfRowsCannotBeLessThanMinRows:dd,pleaseEnterColumnWidth:fd,pleaseSetTheLogicalRelationshipOfAllRuleConditions:hd,pleaseCompleteAllRulesAndConditions:yd,pleaseSelectControl:md,pleaseSelectDashboard:gd,theViewNameCannotBeEmpty:vd,pleaseSelectOcrType:bd,pleaseSelectAtLeastOneFieldToFillIn:Ed,pleaseChooseAtLeastOne:Cd,pleaseEnterButtonContent:_d,pleaseEnterDataCodeInDataSetting:Id,pleaseEnterValueFieldCodeInDataSetting:wd,pleaseEnterSvcCodeInDataSetting:Ad,pleaseBindAtLeastOneDisplayValueInDataSetting:Sd,rootNodeIsRequiredInDataSetting:Bd,pleaseEnterMaxHeight:Td,pleaseEnter:Rd,pleaseEnterWatermark:Pd,pleaseEnterFileName:Dd,pleaseUploadAtLeastOnePrintTemplate:xd,pleaseAssignBusiness:Fd,pleaseAssignExternal:Od},Md="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Nd="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ld="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",$d="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Vd="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Hd="{caption}\u5FC5\u9808",jd="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",qd="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ud="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Wd="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Kd="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",zd="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Gd="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Xd="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Qd="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Jd="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",Zd="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Yd="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",pd="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ef="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",tf="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",nf="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",uf="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",af="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",rf="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",lf="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",of="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",cf="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",sf="\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",df="\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",ff="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",hf="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",yf="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",mf="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",gf="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",vf="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",bf="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",Ef="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Cf="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",_f="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",If="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",wf="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Af="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Sf="\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",Tf="please select control",Rf="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Pf="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Df="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",xf="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Ff="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Of="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",kf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Mf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Nf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Lf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",$f="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Vf="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Hf="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",jf="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",qf="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Uf="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Wf="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Kf="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",zf={isNotNumber:Md,isNotString:Nd,isNotObject:Ld,isNotArray:$d,isNotBoolean:Vd,runtimeRequired:Hd,pleaseEnterCaption:jd,pleaseEnterCaptionTip:qd,pleaseEnterPlaceholder:Ud,pleaseEnterFieldCode:Wd,pleaseEnterForm:Kd,pleaseEnterList:zd,pleaseEnterProcess:Gd,pleaseEnterLabel:Xd,pleaseEnterValue:Qd,bizKeyNotBindFiled:Jd,pleaseSelectOneField:Zd,pleaseEnterNumberRange:Yd,pleaseEnterAValueGreaterThanMin:pd,pleaseEnterAValueLessThanMax:ef,numberRangeSetError:tf,stringRangeError:nf,attachmentMaxSize:uf,pleaseEnterTotalScoreSetting:af,theTotalScoreMustNotBeLessThan1:rf,scoreDefaultValueRange:lf,attachmentLimitError:of,PleaseReselectTheOptionalQuantity:cf,TheMaximumLengthIsGreaterThanTheMinimumLength:sf,TheMinimumLengthIsGreaterThanTheMaximumLength:df,PleaseSelectTheCorrectOptionSettings:ff,optionIdIsRepeat:hf,optionIsRequired:yf,pleaseEnterDataCode:mf,pleaseEnterValueFieldCode:gf,pleaseEnterSvcCode:vf,pleaseBindAtLeastOneDisplayValue:bf,pleaseSelectProvince:Ef,pleaseSelectCity:Cf,pleaseSelectDistrict:_f,limitRowsCannotBeLessThan0:If,TheNumberOfRowsCannotBeLessThanMinRows:wf,pleaseEnterColumnWidth:Af,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Sf,pleaseCompleteAllRulesAndConditions:Bf,pleaseSelectControl:Tf,pleaseSelectDashboard:Rf,theViewNameCannotBeEmpty:Pf,pleaseSelectOcrType:Df,pleaseSelectAtLeastOneFieldToFillIn:xf,pleaseChooseAtLeastOne:Ff,pleaseEnterButtonContent:Of,pleaseEnterDataCodeInDataSetting:kf,pleaseEnterValueFieldCodeInDataSetting:Mf,pleaseEnterSvcCodeInDataSetting:Nf,pleaseBindAtLeastOneDisplayValueInDataSetting:Lf,rootNodeIsRequiredInDataSetting:$f,pleaseEnterMaxHeight:Vf,pleaseEnter:Hf,pleaseEnterWatermark:jf,pleaseEnterFileName:qf,pleaseUploadAtLeastOnePrintTemplate:Uf,pleaseAssignBusiness:Wf,pleaseAssignExternal:Kf},Gf={zhCN:ws,enUS:kd,jaJP:zf},Oa;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(Oa||(Oa={}));var ka;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(ka||(ka={}));var Xf="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 Ma;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(Ma||(Ma={}));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 me;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATETIME="datetime"})(me||(me={}));var Na="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",Qf=Na+"0123456789";function oe(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?Na:Qf,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function Ti(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 Jf(t){if(Array.isArray(t))return Ti(t)}function Zf(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function La(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Yf(){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 rn(t,e,n){return Yf()?rn=Reflect.construct:rn=function(u,a,r){var l=[null];l.push.apply(l,a);var c=Function.bind.apply(u,l),o=new c;return r&<(o,r.prototype),o},rn.apply(null,arguments)}function rt(t){return rt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},rt(t)}function $a(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 pf(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function eh(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function th(){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 nh(t,e){return e&&(ih(e)==="object"||typeof e=="function")?e:Zf(t)}function lt(t,e){return lt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},lt(t,e)}function Va(t){return Jf(t)||eh(t)||uh(t)||th()}var ih=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function uh(t,e){if(!!t){if(typeof t=="string")return Ti(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 Ti(t,e)}}function Ri(t){var e=typeof Map=="function"?new Map:void 0;return Ri=function(i){if(i===null||!pf(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 rn(i,arguments,rt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),lt(u,i)},Ri(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 Ha(t){var e=ah();return function(){var i=rt(t),u;if(e){var a=rt(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return nh(this,u)}}var Pi=console;function rh(){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(Va(u)))}function ja(){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(Va(u)))}function lh(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Di=function(t){$a(n,t);var e=Ha(n);function n(i){La(this,n);var u;return u=e.call(this,i),u.name="\u{1F4A5} Driven Error",u.message=i?lh(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)),oh=function(t){$a(n,t);var e=Ha(n);function n(i){La(this,n);var u;return u=e.call(this,i),u.name="\u{1F6A8} Driven Reference Error",u}return n}(Di);function qa(t){throw new Di(t)}function Ua(t){throw new oh(t)}function ch(t){Pi.error(new Di(t))}var sh=Object.prototype.toString;function Wa(t,e){return sh.call(t)==="[object "+e+"]"}function dh(t){return Wa(t,"String")}function fh(t){return Wa(t,"Promise")}var hh=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();fh(i)?i.then(function(u){n._messageCache.clear(),n.messages[n.localeInMessageKey]=u}):this.messages[this.localeInMessageKey]=i},t.prototype.getMessageData=function(){var e=this._messages[this.localeInMessageKey];return typeof e=="function"?e():e},t.prototype.translate=function(e,n,i){var u=this.getMessage(e);return u?this.formatMessage(u,i):this.formatMessage(n,i)},t.prototype.getMessage=function(e){if(this._messageCache.has(e))return this._messageCache.get(e);var n=this.getPathArray(e),i=n.reduce(function(u,a,r,l){if(u!==void 0){var c=u[a];if(!(r===l.length-1&&!dh(c)))return c}},this.message);return this._messageCache.set(e,i),i},t.prototype.formatMessage=function(e,n){return n?e.replace(this.variableRegExp,function(i,u){var a=n[u];return a!==void 0?String(a):i}):e},t.prototype.getPreImport=function(e){var n;if(window.okI18nPreImport){var i=this.getLocaleInMessageKey(e);return window.okI18nPreImport.hasOwnProperty(i)?window.okI18nPreImport:(n={},n[i]=window.okI18nPreImport,n)}},t.prototype.getPathArray=function(e){return e.split(".")},t.prototype.getLocaleInMessageKey=function(e){return e.replace(/-/g,"")},Object.defineProperty(t.prototype,"$t",{get:function(){return this.translate},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"localeInMessageKey",{get:function(){return this.getLocaleInMessageKey(this.locale)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"message",{get:function(){var e;return(e=this.messages[this.localeInMessageKey])!==null&&e!==void 0?e:{}},enumerable:!1,configurable:!0}),t}();function yh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var d=function(){function t(){yh(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]:Xf;return new hh({locale:n,messages:Gf})},t.setLocale=function(n){return this.$i18n.setLocale(n)},t}();d.$i18n=d.resetI18n();function mh(t,e,n){var i=e.replace(/\[(\d)]/g,function(a,r){return"."+r}).split("."),u=!1;return i.reduce(function(a,r,l,c){var o=a;if(!!a){if(!Object.prototype.hasOwnProperty.call(a,r)){rh("Can not set ".concat(e,"'s ").concat(r," property in current %o, Because there is no ").concat(r," property on the %o"),a,a);return}return l===c.length-1&&!Object.is(o[r],n)&&(o[r]=n,u=!0),o[r]}},t),u}var gh=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},vh={exports:{}};(function(t){(function(e){var n=function(y,E,M){if(!o(E)||m(E)||v(E)||_(E)||c(E))return E;var B,F=0,ne=0;if(f(E))for(B=[],ne=E.length;F<ne;F++)B.push(n(y,E[F],M));else{B={};for(var D in E)Object.prototype.hasOwnProperty.call(E,D)&&(B[y(D,M)]=n(y,E[D],M))}return B},i=function(y,E){E=E||{};var M=E.separator||"_",B=E.split||/(?=[A-Z])/;return y.split(B).join(M)},u=function(y){return I(y)?y:(y=y.replace(/[\-_\s]+(.)?/g,function(E,M){return M?M.toUpperCase():""}),y.substr(0,1).toLowerCase()+y.substr(1))},a=function(y){var E=u(y);return E.substr(0,1).toUpperCase()+E.substr(1)},r=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)},f=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]"},_=function(y){return l.call(y)=="[object Boolean]"},I=function(y){return y=y-0,y===y},b=function(y,E){var M=E&&"process"in E?E.process:E;return typeof M!="function"?y:function(B,F){return M(B,y,F)}},w={camelize:u,decamelize:r,pascalize:a,depascalize:r,camelizeKeys:function(y,E){return n(b(u,E),y)},decamelizeKeys:function(y,E){return n(b(r,E),y,E)},pascalizeKeys:function(y,E){return n(b(a,E),y)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=w:e.humps=w})(gh)})(vh);var Ka={};Object.defineProperty(Ka,"__esModule",{value:!0});function xi(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:xi(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:xi(i)}return e}}var bh=Ka.default=xi;function ge(t){if(t!==void 0)return typeof t=="object"?bh(t):t}function Eh(t){return Object.prototype.toString.call(t)==="[object Object]"}function Fi(t){return Array.isArray(t)}function Ch(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Oi(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 _h(t){if(Array.isArray(t))return Oi(t)}function za(t,e,n,i,u,a,r){try{var l=t[a](r),c=l.value}catch(o){n(o);return}l.done?e(c):Promise.resolve(c).then(i,u)}function Ih(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){za(a,i,u,r,l,"next",c)}function l(c){za(a,i,u,r,l,"throw",c)}r(void 0)})}}function wh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ah(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Sh(){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 ki(t){return _h(t)||Ah(t)||Bh(t)||Sh()}function Bh(t,e){if(!!t){if(typeof t=="string")return Oi(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 Oi(t,e)}}var Th=function(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(f){return c([o,f])}}function c(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(f){o=[6,f],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},Rh=function(){function t(){wh(this,t),this._events=new Map,this.debug=!1}var e=t.prototype;return e.emit=function(i){for(var u=arguments.length,a=new Array(u>1?u-1:0),r=1;r<u;r++)a[r-1]=arguments[r];var l=this;return Ih(function(){var c,o,f,m,v,_,I,b,w,y,E,M;return Th(this,function(B){switch(B.label){case 0:if(c=l._events.get(i),o=[],!c)return[3,10];f=c.slice(),m=!0,v=!1,_=void 0,B.label=1;case 1:B.trys.push([1,8,9,10]),I=f[Symbol.iterator](),B.label=2;case 2:if(m=(b=I.next()).done)return[3,7];if(w=b.value,!c.includes(w))return[3,6];B.label=3;case 3:return B.trys.push([3,5,,6]),l.debug&&ja.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(a.map(function(){return"%o"}).join(","),"\u3002")].concat(ki(a))),[4,w.apply(null,ki(a))];case 4:return y=B.sent(),l.debug&&ja.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(a.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(ki(a),[y])),o.push(y),y===!1?[3,7]:[3,6];case 5:return E=B.sent(),ch(String(E)),[3,6];case 6:return m=!0,[3,2];case 7:return[3,10];case 8:return M=B.sent(),v=!0,_=M,[3,10];case 9:try{!m&&I.return!=null&&I.return()}finally{if(v)throw _}return[7];case 10:return[2,o]}})})()},e.on=function(i,u){if(this._events.has(i)){var a;(a=this._events.get(i))===null||a===void 0||a.push(u)}else this._events.set(i,[u])},e.off=function(i,u){if(this._events.has(i)){var a=this._events.get(i),r=a==null?void 0:a.indexOf(u);a==null||a.splice(r,1)}},e.delete=function(i){this._events.has(i)&&this._events.delete(i)},e.clear=function(){this._events=new Map},t}(),Ph=[];new Set(Ph.map(function(t){return t.Designer.controlType}));function Ga(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function A(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ln(t){return ln=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ln(t)}function ce(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Mi(t,e)}function Xa(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Dh(t,e){return e&&(xh(e)==="object"||typeof e=="function")?e:Ga(t)}function Mi(t,e){return Mi=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Mi(t,e)}var xh=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Fh(){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 se(t){var e=Fh();return function(){var i=ln(t),u;if(e){var a=ln(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Dh(this,u)}}var ie=function t(e){A(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:""},Oh=function t(e){A(this,t);var n;this.minWidth=(n=e==null?void 0:e.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=e==null?void 0:e.maxWidth;var i;this.flex=(i=e==null?void 0:e.flex)!==null&&i!==void 0?i:1},Ni=function t(e){A(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:""},kh=function(t){ce(n,t);var e=se(n);function n(i){A(this,n);var u;u=e.call(this,i);var a;return u.primaryControlId=(a=i==null?void 0:i.primaryControlId)!==null&&a!==void 0?a:"",u}return n}(Ni),Qa=function t(e){A(this,t);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:""},Ja=function t(e){A(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 a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(r){return new Qa(r)}))!==null&&a!==void 0?a:[]},Mh=function t(e){A(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},Nh=function(t){ce(n,t);var e=se(n);function n(i){A(this,n);var u;u=e.call(this,i);var a;u.title=(a=i==null?void 0:i.title)!==null&&a!==void 0?a:"";var r;u.svcCode=(r=i==null?void 0:i.svcCode)!==null&&r!==void 0?r:"";var l;u.isOpenFilter=(l=i==null?void 0:i.isOpenFilter)!==null&&l!==void 0?l:!1;var c;return u.filters=(c=i==null?void 0:i.filters)!==null&&c!==void 0?c:[],u}return n}(Ni),Lh=function t(e){A(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(r){return new Mh(r)}))!==null&&u!==void 0?u:[];var a;this.sublists=(a=e==null||(i=e.sublists)===null||i===void 0?void 0:i.map(function(r){return new Nh(r)}))!==null&&a!==void 0?a:[]},$h=function t(e){A(this,t),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value},ot=function t(e){A(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:[]},Vh=function t(e){var n=this;A(this,t),this.type="conditions";var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:oe();var u;this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf();var a;this.level=(a=e==null?void 0:e.level)!==null&&a!==void 0?a:0;var r;this.value=(r=e==null?void 0:e.value)!==null&&r!==void 0?r:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(function(l){if(l.children!==void 0){var c,o=new t(l);(c=n.children)===null||c===void 0||c.push(o)}else{var f,m=new Za(l);(f=n.children)===null||f===void 0||f.push(m)}}))},Za=function t(e){A(this,t),this.type="condition";var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:oe();var i;this.ruleId=(i=e==null?void 0:e.ruleId)!==null&&i!==void 0?i:new Date().valueOf();var u;this.symbol=(u=e==null?void 0:e.symbol)!==null&&u!==void 0?u:"";var a;this.checked=(a=e==null?void 0:e.checked)!==null&&a!==void 0?a:!1;var r;this.describe=(r=e==null?void 0:e.describe)!==null&&r!==void 0?r:"",this.leftVariableBo=new $h(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new ot(e==null?void 0:e.rightVariableBo)},p=function t(e){A(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 a;this.propName=(a=e==null?void 0:e.propName)!==null&&a!==void 0?a:""},Li=function t(e){A(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},Hh=function t(e){A(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(a){return a.children!==void 0?new Vh(a):new Za(a)}))!==null&&n!==void 0?n:[],Xa(this,X)||Xa(this,Vi)){var i,u;this.orders=(u=t==null||(i=t.orders)===null||i===void 0?void 0:i.map(function(a){return new Hh(a)}))!==null&&u!==void 0?u:[]}}var X=function t(e){var n=this;A(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 a;this.valueFieldCode=(a=e==null?void 0:e.valueFieldCode)!==null&&a!==void 0?a:"",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 Li(c))}));var r;this.showOrder=(r=e==null?void 0:e.showOrder)!==null&&r!==void 0?r:!0;var l;this.svcCode=(l=e==null?void 0:e.svcCode)!==null&&l!==void 0?l:"",$i.call(this,e)},jh=function t(e){A(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 a;this.value=(a=e==null||(n=e.value)===null||n===void 0?void 0:n.map(function(r){return new Li(r)}))!==null&&a!==void 0?a:[]},on=function(t){ce(n,t);var e=se(n);function n(i){A(this,n);var u,a;u=e.call(this,i);var r;return u.attributes=(r=i==null||(a=i.attributes)===null||a===void 0?void 0:a.map(function(l){return new jh(l)}))!==null&&r!==void 0?r:[],u}return n}(X),qh=function(t){ce(n,t);var e=se(n);function n(i){A(this,n);var u;return u=e.call(this,i),u.rootNode=new ot(i==null?void 0:i.rootNode),u}return n}(on),Ya=function t(e){A(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 a;this.fillList=(a=e==null||(n=e.fillList)===null||n===void 0?void 0:n.map(function(r){return new p(r)}))!==null&&a!==void 0?a:[]},Vi=function(t){ce(n,t);var e=se(n);function n(i){A(this,n);var u;return u=e.call(this,i),$i.call(Ga(u),i),u}return n}(Ya),pa=function(t){ce(n,t);var e=se(n);function n(i){A(this,n);var u;u=e.call(this,i);var a;u.mode=(a=i==null?void 0:i.mode)!==null&&a!==void 0?a:"current";var r;return u.multiple=(r=i==null?void 0:i.multiple)!==null&&r!==void 0?r:!1,u}return n}(Ya),er=function t(e){A(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:""},Uh=function t(e){A(this,t);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:oe(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 de(t){var e;return(e=t==null?void 0:t.map(function(n){return new Uh(n)}))!==null&&e!==void 0?e:[]}var Hi=function t(){A(this,t)},Wh=function(t){ce(n,t);var e=se(n);function n(i){A(this,n);var u;return u=e.call(this),u.amount=new ie(i==null?void 0:i.amount),u.currency=new ie(i==null?void 0:i.currency),u}return n}(Hi),Kh=function t(e){A(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:cn.CNY},zh=function(t){ce(n,t);var e=se(n);function n(i){A(this,n);var u;return u=e.call(this),u.min=new ie(i==null?void 0:i.min),u.max=new ie(i==null?void 0:i.max),u}return n}(Hi),Gh=function t(e){A(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:""},Xh=function t(e){A(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 a;this.districtDisplay=(a=e==null?void 0:e.districtDisplay)!==null&&a!==void 0?a:"";var r;this.province=(r=e==null?void 0:e.province)!==null&&r!==void 0?r:"";var l;this.provinceDisplay=(l=e==null?void 0:e.provinceDisplay)!==null&&l!==void 0?l:""},Qh=function(t){ce(n,t);var e=se(n);function n(i){A(this,n);var u;return u=e.call(this),u.result=new ie(i==null?void 0:i.result),u.unit=new ie(i==null?void 0:i.unit),u}return n}(Hi),Jh=function t(e){A(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:""},cn;(function(t){t.CNY="CNY",t.USD="USD",t.JPY="JPY",t.EUR="EUR",t.INR="INR",t.IDR="IDR",t.BRL="BRL",t.AED="AED",t.AUD="AUD",t.CAD="CAD",t.EGP="EGP",t.GBP="GBP",t.ZAR="ZAR",t.KRW="KRW",t.MAD="MAD",t.MXN="MXN",t.MYR="MYR",t.PHP="PHP",t.PLN="PLN",t.RUB="RUB",t.SGD="SGD",t.THB="THB",t.TRY="TRY",t.TWD="TWD",t.VND="VND",t.HKD="HKD",t.IEP="IEP"})(cn||(cn={}));var 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 ji;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(ji||(ji={}));var ve=function t(e){A(this,t);var n;this.isShow=(n=e==null?void 0:e.isShow)!==null&&n!==void 0?n:!0;var i;this.content=(i=e==null?void 0:e.content)!==null&&i!==void 0?i:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.openType=(a=e==null?void 0:e.openType)!==null&&a!==void 0?a:"modal";var r;this.type=(r=e==null?void 0:e.type)!==null&&r!==void 0?r:"";var l;this.priorityProcess=(l=e==null?void 0:e.priorityProcess)!==null&&l!==void 0?l:!1},Zh=function t(e){A(this,t);var n,i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:oe(8);var u;this.title=(u=e==null?void 0:e.title)!==null&&u!==void 0?u:"";var a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(r){return new Qa(r)}))!==null&&a!==void 0?a:[],$i.call(this,e)},Yh=function t(e){A(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 a;this.heightConfig=(a=e==null?void 0:e.heightConfig)!==null&&a!==void 0?a:"fill"};function ph(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function qi(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ey(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function sn(t,e,n){return ey()?sn=Reflect.construct:sn=function(u,a,r){var l=[null];l.push.apply(l,a);var c=Function.bind.apply(u,l),o=new c;return r&&st(o,r.prototype),o},sn.apply(null,arguments)}function ct(t){return ct=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ct(t)}function ty(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 ny(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function iy(t,e){return e&&(uy(e)==="object"||typeof e=="function")?e:ph(t)}function st(t,e){return st=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},st(t,e)}var uy=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Ui(t){var e=typeof Map=="function"?new Map:void 0;return Ui=function(i){if(i===null||!ny(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 sn(i,arguments,ct(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),st(u,i)},Ui(t)}function ay(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function ry(t){var e=ay();return function(){var i=ct(t),u;if(e){var a=ct(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return iy(this,u)}}var $=function t(e){qi(this,t),this.isHide={type:"boolean"}},Ae=function(t){ty(n,t);var e=ry(n);function n(i){return qi(this,n),e.call(this)}return n}(Ui(Array)),q=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";qi(this,t);var i;this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new Yh(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=$,q.RuntimeRules=Ae;function ae(){return ae=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},ae.apply(this,arguments)}function ly(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Wi(t){return Wi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wi(t)}function dn(t,e){return dn=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},dn(t,e)}function oy(){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 fn(t,e,n){return oy()?fn=Reflect.construct:fn=function(u,a,r){var l=[null];l.push.apply(l,a);var c=Function.bind.apply(u,l),o=new c;return r&&dn(o,r.prototype),o},fn.apply(null,arguments)}function cy(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Ki(t){var e=typeof Map=="function"?new Map:void 0;return Ki=function(i){if(i===null||!cy(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 fn(i,arguments,Wi(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),dn(u,i)},Ki(t)}var sy=/%[sdj%]/g,tr=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(tr=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function zi(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],a=e.length;if(typeof u=="function")return u.apply(null,e.slice(1));if(typeof u=="string"){var r=String(u).replace(sy,function(l){if(l==="%%")return"%";if(i>=a)return l;switch(l){case"%s":return String(e[i++]);case"%d":return Number(e[i++]);case"%j":try{return JSON.stringify(e[i++])}catch(c){return"[Circular]"}break;default:return l}});return r}return u}function dy(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function V(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||dy(e)&&typeof t=="string"&&!t)}function fy(t,e,n){var i=[],u=0,a=t.length;function r(l){i.push.apply(i,l),u++,u===a&&n(i)}t.forEach(function(l){e(l,r)})}function nr(t,e,n){var i=0,u=t.length;function a(r){if(r&&r.length){n(r);return}var l=i;i=i+1,l<u?e(t[l],a):n([])}a([])}function hy(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var ir=function(t){ly(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}(Ki(Error));function yy(t,e,n,i){if(e.first){var u=new Promise(function(m,v){var _=function(w){return i(w),w.length?v(new ir(w,zi(w))):m()},I=hy(t);nr(I,n,_)});return u.catch(function(m){return m}),u}var a=e.firstFields||[];a===!0&&(a=Object.keys(t));var r=Object.keys(t),l=r.length,c=0,o=[],f=new Promise(function(m,v){var _=function(b){if(o.push.apply(o,b),c++,c===l)return i(o),o.length?v(new ir(o,zi(o))):m()};r.length||(i(o),m()),r.forEach(function(I){var b=t[I];a.indexOf(I)!==-1?nr(b,n,_):fy(b,n,_)})});return f.catch(function(m){return m}),f}function ur(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 ar(t,e){if(e){for(var n in e)if(e.hasOwnProperty(n)){var i=e[n];typeof i=="object"&&typeof t[n]=="object"?t[n]=ae(ae({},t[n]),i):t[n]=i}}return t}function rr(t,e,n,i,u,a){t.required&&(!n.hasOwnProperty(t.field)||V(e,a||t.type))&&i.push(ee(u.messages.required,t.fullField))}function my(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(ee(u.messages.whitespace,t.fullField))}var Gi={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(Gi.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(Gi.url)},hex:function(e){return typeof e=="string"&&!!e.match(Gi.hex)}};function gy(t,e,n,i,u){if(t.required&&e===void 0){rr(t,e,n,i,u);return}var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],r=t.type;a.indexOf(r)>-1?dt[r](e)||i.push(ee(u.messages.types[r],t.fullField,t.type)):r&&typeof e!==t.type&&i.push(ee(u.messages.types[r],t.fullField,t.type))}function vy(t,e,n,i,u){var a=typeof t.len=="number",r=typeof t.min=="number",l=typeof t.max=="number",c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,o=e,f=null,m=typeof e=="number",v=typeof e=="string",_=Array.isArray(e);if(m?f="number":v?f="string":_&&(f="array"),!f)return!1;_&&(o=e.length),v&&(o=e.replace(c,"_").length),a?o!==t.len&&i.push(ee(u.messages[f].len,t.fullField,t.len)):r&&!l&&o<t.min?i.push(ee(u.messages[f].min,t.fullField,t.min)):l&&!r&&o>t.max?i.push(ee(u.messages[f].max,t.fullField,t.max)):r&&l&&(o<t.min||o>t.max)&&i.push(ee(u.messages[f].range,t.fullField,t.min,t.max))}var qe="enum";function by(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 Ey(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 a=new RegExp(t.pattern);a.test(e)||i.push(ee(u.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var S={required:rr,whitespace:my,type:gy,range:vy,enum:by,pattern:Ey};function Cy(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e,"string")&&!t.required)return n();S.required(t,e,i,a,u,"string"),V(e,"string")||(S.type(t,e,i,a,u),S.range(t,e,i,a,u),S.pattern(t,e,i,a,u),t.whitespace===!0&&S.whitespace(t,e,i,a,u))}n(a)}function _y(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e)&&!t.required)return n();S.required(t,e,i,a,u),e!==void 0&&S.type(t,e,i,a,u)}n(a)}function Iy(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(e===""&&(e=void 0),V(e)&&!t.required)return n();S.required(t,e,i,a,u),e!==void 0&&(S.type(t,e,i,a,u),S.range(t,e,i,a,u))}n(a)}function wy(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e)&&!t.required)return n();S.required(t,e,i,a,u),e!==void 0&&S.type(t,e,i,a,u)}n(a)}function Ay(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e)&&!t.required)return n();S.required(t,e,i,a,u),V(e)||S.type(t,e,i,a,u)}n(a)}function Sy(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e)&&!t.required)return n();S.required(t,e,i,a,u),e!==void 0&&(S.type(t,e,i,a,u),S.range(t,e,i,a,u))}n(a)}function By(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e)&&!t.required)return n();S.required(t,e,i,a,u),e!==void 0&&(S.type(t,e,i,a,u),S.range(t,e,i,a,u))}n(a)}function Ty(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(e==null&&!t.required)return n();S.required(t,e,i,a,u,"array"),e!=null&&(S.type(t,e,i,a,u),S.range(t,e,i,a,u))}n(a)}function Ry(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e)&&!t.required)return n();S.required(t,e,i,a,u),e!==void 0&&S.type(t,e,i,a,u)}n(a)}var Py="enum";function Dy(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e)&&!t.required)return n();S.required(t,e,i,a,u),e!==void 0&&S[Py](t,e,i,a,u)}n(a)}function xy(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e,"string")&&!t.required)return n();S.required(t,e,i,a,u),V(e,"string")||S.pattern(t,e,i,a,u)}n(a)}function Fy(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e,"date")&&!t.required)return n();if(S.required(t,e,i,a,u),!V(e,"date")){var l;e instanceof Date?l=e:l=new Date(e),S.type(t,l,i,a,u),l&&S.range(t,l.getTime(),i,a,u)}}n(a)}function Oy(t,e,n,i,u){var a=[],r=Array.isArray(e)?"array":typeof e;S.required(t,e,i,a,u,r),n(a)}function Xi(t,e,n,i,u){var a=t.type,r=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(V(e,a)&&!t.required)return n();S.required(t,e,i,r,u,a),V(e,a)||S.type(t,e,i,r,u)}n(r)}function ky(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(V(e)&&!t.required)return n();S.required(t,e,i,a,u)}n(a)}var ft={string:Cy,method:_y,number:Iy,boolean:wy,regexp:Ay,integer:Sy,float:By,array:Ty,object:Ry,enum:Dy,pattern:xy,date:Fy,url:Xi,hex:Xi,email:Xi,required:Oy,any:ky};function Qi(){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 Ji=Qi();function be(t){this.rules=null,this._messages=Ji,this.define(t)}be.prototype={messages:function(e){return e&&(this._messages=ar(Qi(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if(typeof e!="object"||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var n,i;for(n in e)e.hasOwnProperty(n)&&(i=e[n],this.rules[n]=Array.isArray(i)?i:[i])},validate:function(e,n,i){var u=this;n===void 0&&(n={}),i===void 0&&(i=function(){});var a=e,r=n,l=i;if(typeof r=="function"&&(l=r,r={}),!this.rules||Object.keys(this.rules).length===0)return l&&l(),Promise.resolve();function c(b){var w,y=[],E={};function M(B){if(Array.isArray(B)){var F;y=(F=y).concat.apply(F,B)}else y.push(B)}for(w=0;w<b.length;w++)M(b[w]);y.length?E=zi(y):(y=null,E=null),l(y,E)}if(r.messages){var o=this.messages();o===Ji&&(o=Qi()),ar(o,r.messages),r.messages=o}else r.messages=this.messages();var f,m,v={},_=r.keys||Object.keys(this.rules);_.forEach(function(b){f=u.rules[b],m=a[b],f.forEach(function(w){var y=w;typeof y.transform=="function"&&(a===e&&(a=ae({},a)),m=a[b]=y.transform(m)),typeof y=="function"?y={validator:y}:y=ae({},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:a,field:b}))})});var I={};return yy(v,r,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 M(ne,D){return ae(ae({},D),{},{fullField:y.fullField+"."+ne})}function B(ne){ne===void 0&&(ne=[]);var D=ne;if(Array.isArray(D)||(D=[D]),!r.suppressWarning&&D.length&&be.warning("async-validator:",D),D.length&&y.message!==void 0&&(D=[].concat(y.message)),D=D.map(ur(y)),r.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(ur(y)):r.error&&(D=[r.error(y,ee(r.messages.required,y.field))]),w(D);var re={};if(y.defaultField)for(var mc in b.value)b.value.hasOwnProperty(mc)&&(re[mc]=y.defaultField);re=ae(ae({},re),b.rule.fields);for(var nt in re)if(re.hasOwnProperty(nt)){var R0=Array.isArray(re[nt])?re[nt]:[re[nt]];re[nt]=R0.map(M.bind(null,nt))}var gc=new be(re);gc.messages(r.messages),b.rule.options&&(b.rule.options.messages=r.messages,b.rule.options.error=r.error),gc.validate(b.value,b.rule.options||r,function(Da){var it=[];D&&D.length&&it.push.apply(it,D),Da&&Da.length&&it.push.apply(it,Da),w(it.length?it:null)})}}var F;y.asyncValidator?F=y.asyncValidator(y,b.value,B,b.source,r):y.validator&&(F=y.validator(y,b.value,B,b.source,r),F===!0?B():F===!1?B(y.message||y.field+" fails"):F instanceof Array?B(F):F instanceof Error&&B(F.message)),F&&F.then&&F.then(function(){return B()},function(ne){return B(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}},be.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},be.warning=tr,be.messages=Ji,be.validators=ft;var My={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 Ny(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new be(t);return n.messages(Object.assign(My,e)),n}var Ly=new Rh;function Zi(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function $y(t){if(Array.isArray(t))return t}function Vy(t){if(Array.isArray(t))return Zi(t)}function lr(t,e,n,i,u,a,r){try{var l=t[a](r),c=l.value}catch(o){n(o);return}l.done?e(c):Promise.resolve(c).then(i,u)}function or(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){lr(a,i,u,r,l,"next",c)}function l(c){lr(a,i,u,r,l,"throw",c)}r(void 0)})}}function Hy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function cr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function jy(t,e,n){return e&&cr(t.prototype,e),n&&cr(t,n),t}function qy(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function sr(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function dr(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Uy(){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 Wy(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function fr(t){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){qy(t,u,n[u])})}return t}function Ky(t){return $y(t)||dr(t)||hr(t)||Uy()}function Yi(t){return Vy(t)||dr(t)||hr(t)||Wy()}function hr(t,e){if(!!t){if(typeof t=="string")return Zi(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 Zi(t,e)}}var yr=function(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(f){return c([o,f])}}function c(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(f){o=[6,f],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},x=function(){function e(i){var u=this;Hy(this,e),this.setting=[],this.eventKeys=[],this.customEvents=[],this.parent=null,this.updateSetting=gr,this.removeSetting=mr,this._callControlHooks("preInstance",i);var a=sr(this,e)?this.constructor:void 0,r=a.controlName,l=a.controlIcon,c=a.controlType,o=a.controlFieldType,f=a.controlEventKeys,m=a.controlCustomEvents,v=a.name,_=a.setting;r&&l&&c||Ua("The ".concat(v," controlName,controlIcon,controlType is not define"));var I;this.id=(I=i==null?void 0:i.id)!==null&&I!==void 0?I:oe(10),this.name=r,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,(sr(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=ge(_);var y;this.fieldType=(y=i==null?void 0:i.fieldType)!==null&&y!==void 0?y:o,this.eventKeys=ge(f),this.customEvents=ge(m),Promise.resolve().then(function(){u._callControlHooks("postInstance",i)})}var n=e.prototype;return n._callControlHooks=function(){for(var u=arguments.length,a=new Array(u),r=0;r<u;r++)a[r]=arguments[r];var l,c=Ky(a),o=c[0],f=c.slice(1);return(l=Ly).emit.apply(l,[o,this].concat(Yi(f)))},n.preUpdate=function(u,a){this._callControlHooks("preUpdateProps",u,a)},n.postUpdate=function(u,a){this._callControlHooks("postUpdateProps",u,a)},n.updateProps=function(u,a){this.preUpdate(u,a),mh(this.props,u,a),this.postUpdate(u,a)},n.preValidate=function(){var u=this;return or(function(){var a,r,l;return yr(this,function(c){switch(c.label){case 0:return a=fr({},u.rules),[4,u._callControlHooks("preValidate",a)];case 1:return r=c.sent(),l=r[r.length-1],[2,l===!1?void 0:l]}})})()},n.validate=function(u,a){var r=this;return or(function(){var l,c,o,f;return yr(this,function(m){switch(m.label){case 0:return[4,r.preValidate()];case 1:l=m.sent(),c=l!==void 0?l:fr({},r.rules),Array.isArray(a)&&a.forEach(function(v){c.hasOwnProperty(v)&&delete c[v]}),o=Ny(c,u),m.label=2;case 2:return m.trys.push([2,4,,5]),[4,o.validate(r.props)];case 3:return m.sent(),[2,!0];case 4:throw f=m.sent(),f.control||(f.control=r),f;case 5:return[2]}})})()},n.toDataBindModel=function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,a=this.fieldType,r=this.id,l=this.type,c=this.props,o=c.dataBind,f=c.datasourceBind,m=c.optionConfig,v=c.caption,_=c.required,I=c.maxLength,b=c.options,w=c.encrypted,y=c.encryptedMode;if(!(!a&&!o&&!f)){var E={parentId:u,fieldType:a,controlId:r,caption:v,type:l,props:{}};switch(o&&(E.dataBind=o),m){case"datasource":case void 0:f&&(E.datasourceBind=f);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:ge(this.props),fieldType:this.fieldType,controlType:this.controlType}},e.updateBasicControl=function(u,a){if(u==="setting"){if(a.add){var r;(r=this.setting).push.apply(r,Yi(a.add))}a.remove&&this.removeSettingItem(a.remove),a.update}},jy(e,[{key:"rules",get:function(){var u=this.props.constructor.Rules;return u?new u(this.props):{}}}]),e}();x.controlName="\u63A7\u4EF6",x.controlIcon="icon",x.controlType="control",x.controlEventKeys=[],x.controlCustomEvents=[],x.setting=[],x.__is_control__=!0,x.removeSettingItem=mr,x.updateSettingItem=gr;function mr(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(i){var u=typeof i!="string",a=e.setting.findIndex(function(c){return c.key===(u?i.key:i)});if(a!==-1){var r,l;u?e.setting[a].showItems=(r=e.setting[a].showItems)===null||r===void 0?void 0:r.filter(function(c){return!i.hideItems.includes(c)}):e.setting.splice(a,1),u&&!(!((l=e.setting[a].showItems)===null||l===void 0)&&l.length)&&e.setting.splice(a,1)}})}function gr(t,e){var n=this,i=typeof t=="string"?[t]:t;i.forEach(function(u){var a=n.setting.find(function(o){return o.key===u});if(a){if(typeof e=="boolean")a.visible=e;else if(typeof e=="object"){var r,l=(r=e.type)!==null&&r!==void 0?r:"replace";if(l==="replace")a.showItems=e.showItems;else{var c;(c=a.showItems).push.apply(c,Yi(e.showItems))}}}})}function zy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Gy(t,e,n){return e&&vr(t.prototype,e),n&&vr(t,n),t}function Xy(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var U=function(){function e(n){zy(this,e),this.customEvents=[],this.parent=null;var i=Xy(this,e)?this.constructor:void 0,u=i.controlType,a=i.controlFieldType,r=i.name,l=i.controlCustomEvents;u||Ua("The ".concat(r," controlType is not define"));var c;this.id=(c=n==null?void 0:n.id)!==null&&c!==void 0?c:oe(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 f;this.controlType=(f=n==null?void 0:n.controlType)!==null&&f!==void 0?f:"base";var m;this.fieldType=(m=n==null?void 0:n.fieldType)!==null&&m!==void 0?m:a;var v;this.pageStatus=(v=n==null?void 0:n.pageStatus)!==null&&v!==void 0?v:ji.UNKNOWN}return Gy(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}();U.controlType="control",U.__is_control__=!0,U.controlCustomEvents=[];function pi(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 a=i.map(function(l){return l.value}),r=Ch(a);a.length!==r.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 eu(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,a,r){a.length===0&&r(d.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),r()},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 br(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function hn(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 mn(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 Qy(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Jy(t,e){return e&&(Zy(e)==="object"||typeof e=="function")?e:br(t)}function tu(t,e){return tu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},tu(t,e)}var Zy=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Yy(){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 gn(t){var e=Yy();return function(){var i=yn(t),u;if(e){var a=yn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Jy(this,u)}}var Q=function(t){mn(n,t);var e=gn(n);function n(i){hn(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 a={fieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")}};if(Qy(i.dataBind,ie))u.dataBind={type:"object",required:!0,fields:ge(a),message:d.getMessage("pleaseEnterFieldCode")};else{var r={type:"object",required:!0,fields:{},message:d.getMessage("pleaseEnterFieldCode")};Object.keys(i.dataBind).forEach(function(l){r.fields[l]={type:"object",required:!0,fields:ge(a),message:d.getMessage("pleaseEnterFieldCode")}}),u.dataBind=r}return i.isShowCaptionTip&&(u.captionTip.required=!0),u}return n}($),k=function(t){mn(n,t);var e=gn(n);function n(i){hn(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}(Ae),T=function(t){mn(n,t);var e=gn(n);function n(i){hn(this,n);var u;u=e.call(this,i);var a;u.caption=(a=i==null?void 0:i.caption)!==null&&a!==void 0?a:"";var r;u.isHideCaption=(r=i==null?void 0:i.isHideCaption)!==null&&r!==void 0?r:!1;var l;u.isShowCaptionTip=(l=i==null?void 0:i.isShowCaptionTip)!==null&&l!==void 0?l:!1;var c;u.captionTip=(c=i==null?void 0:i.captionTip)!==null&&c!==void 0?c:"";var o;u.defaultState=(o=i==null?void 0:i.defaultState)!==null&&o!==void 0?o:"default";var f;u.labelPosition=(f=i==null?void 0:i.labelPosition)!==null&&f!==void 0?f:"top";var m;u.placeholder=(m=i==null?void 0:i.placeholder)!==null&&m!==void 0?m:"";var v;u.required=(v=i==null?void 0:i.required)!==null&&v!==void 0?v:!1;var _;u.requiredMessage=(_=i==null?void 0:i.requiredMessage)!==null&&_!==void 0?_:"",u.dataBind=new ie(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);T.Rules=Q,T.RuntimeRules=k;var Ue=function(t){mn(n,t);var e=gn(n);function n(i){hn(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")}],pi.call(br(u),i),u}return n}(Q);function py(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function em(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 tm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&nu(t,e)}function nm(t,e){return e&&(im(e)==="object"||typeof e=="function")?e:py(t)}function nu(t,e){return nu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},nu(t,e)}var im=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function um(){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 am(t){var e=um();return function(){var i=vn(t),u;if(e){var a=vn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return nm(this,u)}}var R=function(t){tm(n,t);var e=am(n);function n(i){em(this,n);var u;return u=e.call(this,i),u.controlType="form",u.props=new T(i==null?void 0:i.props),u}return n}(x);R.controlEventKeys=["on_change","on_focus","on_blur"];function rm(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function lm(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 om(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&iu(t,e)}function cm(t,e){return e&&(sm(e)==="object"||typeof e=="function")?e:rm(t)}function iu(t,e){return iu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},iu(t,e)}var sm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function dm(){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=dm();return function(){var i=bn(t),u;if(e){var a=bn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return cm(this,u)}}var P=function(t){om(n,t);var e=fm(n);function n(i){lm(this,n);var u;return u=e.call(this,i),u.controlType="form",u.props=new T(i==null?void 0:i.props),u}return n}(U);function hm(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ym(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function En(t){return En=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},En(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&&uu(t,e)}function gm(t,e){return e&&(vm(e)==="object"||typeof e=="function")?e:hm(t)}function uu(t,e){return uu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},uu(t,e)}var vm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function bm(){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 Em(t){var e=bm();return function(){var i=En(t),u;if(e){var a=En(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return gm(this,u)}}var N=function(t){mm(n,t);var e=Em(n);function n(i){return ym(this,n),e.call(this,i)}return n}(q);function au(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Cm(t){if(Array.isArray(t))return au(t)}function _m(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Im(){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 Er(t){return Cm(t)||_m(t)||wm(t)||Im()}function wm(t,e){if(!!t){if(typeof t=="string")return au(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return au(t,e)}}function Am(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function Cr(t,e){t.parent=e,Am(t,"parent")}function Sm(t,e){t.forEach(function(n){Cr(n,e)})}var _r=Symbol("targetKey");function Ir(t){var e;return(e=t[_r])!==null&&e!==void 0?e:t}function wr(t,e){return Sm(t,e),new Proxy(t,{get:function(i,u){for(var a=arguments.length,r=new Array(a>2?a-2:0),l=2;l<a;l++)r[l-2]=arguments[l];var c;return u===_r?i:(c=Reflect).get.apply(c,[i,u].concat(Er(r)))},set:function(i,u,a){for(var r=arguments.length,l=new Array(r>3?r-3:0),c=3;c<r;c++)l[c-3]=arguments[c];var o;if(Fi(t)&&u==="length"&&a===t.length)return!0;var f=(o=Reflect).set.apply(o,[i,u,a].concat(Er(l)));return Eh(a)&&Cr(a,e),f}})}function fe(t,e,n,i){var u=i!=null?i:t,a=wr(Ir(n!=null?n:[]),u);Object.defineProperty(t,e,{get:function(){return a},set:function(l){a=wr(Ir(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 Bm(t){if(Array.isArray(t))return ru(t)}function Ar(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Sr(t,e,n,i,u,a,r){try{var l=t[a](r),c=l.value}catch(o){n(o);return}l.done?e(c):Promise.resolve(c).then(i,u)}function Tm(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){Sr(a,i,u,r,l,"next",c)}function l(c){Sr(a,i,u,r,l,"throw",c)}r(void 0)})}}function Rm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pm(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,a,r){var l=$m(u,a);if(!!l){var c=Object.getOwnPropertyDescriptor(l,a);return c.get?c.get.call(r):c.value}},We(t,e,n||t)}function Ee(t){return Ee=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ee(t)}function Dm(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 xm(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Fm(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Om(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function km(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){Pm(t,u,n[u])})}return t}function Mm(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 Nm(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Mm(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function Lm(t,e){return e&&(Vm(e)==="object"||typeof e=="function")?e:Ar(t)}function lu(t,e){return lu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},lu(t,e)}function $m(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Ee(t),t!==null););return t}function Br(t){return Bm(t)||Fm(t)||Hm(t)||Om()}var Vm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Hm(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 jm(){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 qm(t){var e=jm();return function(){var i=Ee(t),u;if(e){var a=Ee(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Lm(this,u)}}var Um=function(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(f){return c([o,f])}}function c(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(f){o=[6,f],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},Wm=1e4,H=function(e){Dm(i,e);var n=qm(i);function i(a){Rm(this,i);var r;r=n.call(this,a),r.controlType="layout";var l=xm(this,i)?this.constructor:void 0,c=l.excludes,o=l.childrenMaxLength;return r.props=new N(a==null?void 0:a.props),fe(Ar(r),"children",a==null?void 0:a.children),r.excludes=ge(c),r.childrenMaxLength=o,r}var u=i.prototype;return u.judgeExcludesChildren=function(r){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(r)},u.judgeJoinChildren=function(r){var l=this.judgeExcludesChildren(r);return l&&this.childrenMaxLength>this.children.length},u.validate=function(r,l){var c=this,o=this,f=function(){return We(Ee(i.prototype),"validate",c)};return Tm(function(){return Um(this,function(m){switch(m.label){case 0:return[4,f().call(o,r,l)];case 1:return m.sent(),[4,Promise.all(o.children.map(function(v){return v.validate(r,l)}))];case 2:return m.sent(),[2,!0]}})})()},u.toDataBindModel=function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,l=We(Ee(i.prototype),"toDataBindModel",this).call(this),c=l?[l]:[];return this.children.reduce(function(o,f){var m=f.toDataBindModel(r);if(Array.isArray(m)){var v=m.filter(function(_){return!!_});return Br(o).concat(Br(v))}return m&&o.push(m),o},c)},u.toSchema=function(){var r=We(Ee(i.prototype),"toSchema",this).call(this),l=this.children.map(function(c){var o=c.toSchema();return o});return Nm(km({},r),{children:l})},i}(x);H.excludes=!1,H.childrenMaxLength=Wm;function Tr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Km(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Cn(t){return Cn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cn(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&&ou(t,e)}function Gm(t,e){return e&&(Xm(e)==="object"||typeof e=="function")?e:Tr(t)}function ou(t,e){return ou=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ou(t,e)}var Xm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Qm(){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 Jm(t){var e=Qm();return function(){var i=Cn(t),u;if(e){var a=Cn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Gm(this,u)}}var W=function(t){zm(n,t);var e=Jm(n);function n(i){Km(this,n);var u;return u=e.call(this,i),u.controlType="layout",u.props=new N(i==null?void 0:i.props),fe(Tr(u),"children",i==null?void 0:i.children),u}return n}(U);function Rr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Zm(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 Ym(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&cu(t,e)}function pm(t,e){return e&&(eg(e)==="object"||typeof e=="function")?e:Rr(t)}function cu(t,e){return cu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},cu(t,e)}var eg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function tg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function ng(t){var e=tg();return function(){var i=_n(t),u;if(e){var a=_n(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return pm(this,u)}}var In=function(t){Ym(n,t);var e=ng(n);function n(i,u){Zm(this,n);var a;return a=e.call(this,u),fe(Rr(a),"headers",u==null?void 0:u.headers,i),a}return n}(q);function su(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function ig(t){if(Array.isArray(t))return su(t)}function Pr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Dr(t,e,n,i,u,a,r){try{var l=t[a](r),c=l.value}catch(o){n(o);return}l.done?e(c):Promise.resolve(c).then(i,u)}function ug(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){Dr(a,i,u,r,l,"next",c)}function l(c){Dr(a,i,u,r,l,"throw",c)}r(void 0)})}}function ag(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function rg(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,a,r){var l=fg(u,a);if(!!l){var c=Object.getOwnPropertyDescriptor(l,a);return c.get?c.get.call(r):c.value}},Ke(t,e,n||t)}function Ce(t){return Ce=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ce(t)}function lg(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&&du(t,e)}function og(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function cg(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function xr(t){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){rg(t,u,n[u])})}return t}function sg(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 Fr(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):sg(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function dg(t,e){return e&&(hg(e)==="object"||typeof e=="function")?e:Pr(t)}function du(t,e){return du=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},du(t,e)}function fg(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Ce(t),t!==null););return t}function Or(t){return ig(t)||og(t)||yg(t)||cg()}var hg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function yg(t,e){if(!!t){if(typeof t=="string")return su(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return su(t,e)}}function mg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function gg(t){var e=mg();return function(){var i=Ce(t),u;if(e){var a=Ce(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return dg(this,u)}}var vg=function(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(f){return c([o,f])}}function c(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(f){o=[6,f],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},fu=function(t){lg(n,t);var e=gg(n);function n(u){ag(this,n);var a;return a=e.call(this,u),a.controlType="list",a.props=new In(Pr(a),u==null?void 0:u.props),a}var i=n.prototype;return i.validate=function(a,r){var l=this,c=this,o=function(){return Ke(Ce(n.prototype),"validate",l)};return ug(function(){return vg(this,function(f){switch(f.label){case 0:return[4,o().call(c,a)];case 1:return f.sent(),[4,Promise.all(c.props.headers.map(function(m){return m.validate(a,r)}))];case 2:return f.sent(),[2,!0]}})})()},i.toDataBindModel=function(){var a=Ke(Ce(n.prototype),"toDataBindModel",this).call(this),r=a?[a]:[],l=this.id;return this.props.headers.reduce(function(c,o){var f=o.toDataBindModel(l);if(Array.isArray(f)){var m=f.filter(function(v){return!!v});return Or(c).concat(Or(m))}return f&&c.push(f),c},r)},i.toSchema=function(){var a=Ke(Ce(n.prototype),"toSchema",this).call(this),r=this.props.headers.map(function(l){return l.toSchema()});return Fr(xr({},a),{props:Fr(xr({},this.props),{headers:r})})},n}(x);fu.controlFieldType=g.LIST;function hu(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 kr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Eg(t,e,n){return e&&kr(t.prototype,e),n&&kr(t,n),t}function wn(t){return wn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wn(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&&yu(t,e)}function _g(t,e){return e&&(Ig(e)==="object"||typeof e=="function")?e:hu(t)}function yu(t,e){return yu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},yu(t,e)}var Ig=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 Ag(t){var e=wg();return function(){var i=wn(t),u;if(e){var a=wn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return _g(this,u)}}var Mr=function(t){Cg(n,t);var e=Ag(n);function n(i){bg(this,n);var u;return u=e.call(this,i),u.controlType="list",u.props=new In(hu(u),i==null?void 0:i.props),fe(hu(u),"children",i==null?void 0:i.children),u}return Eg(n,[{key:"length",get:function(){return this.children.length}}]),n}(U);function Nr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function mu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function An(t){return An=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},An(t)}function gu(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 Sg(t,e){return e&&(Bg(e)==="object"||typeof e=="function")?e:Nr(t)}function vu(t,e){return vu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},vu(t,e)}var Bg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Tg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function bu(t){var e=Tg();return function(){var i=An(t),u;if(e){var a=An(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Sg(this,u)}}var Eu=function(t){gu(n,t);var e=bu(n);function n(i){mu(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=function(t){gu(n,t);var e=bu(n);function n(i){mu(this,n);var u;u=e.call(this,i);var a;u.width=(a=i==null?void 0:i.width)!==null&&a!==void 0?a:150,u.widthType=(i==null?void 0:i.widthType)||"auto";var r;u.caption=(r=i==null?void 0:i.caption)!==null&&r!==void 0?r:"";var l;u.fixed=(l=i==null?void 0:i.fixed)!==null&&l!==void 0?l:"none",u.autoWidth=new Oh(i==null?void 0:i.autoWidth),u.dataBind=new ie(i==null?void 0:i.dataBind);var c;u.sort=(c=i==null?void 0:i.sort)!==null&&c!==void 0?c:!0,u.align=i==null?void 0:i.align,u.colSpan=i==null?void 0:i.colSpan;var o;return u.autoHeight=(o=i==null?void 0:i.autoHeight)!==null&&o!==void 0?o:!1,u}return n}(q);j.Rules=Eu;var Lr=function(t){gu(n,t);var e=bu(n);function n(i){mu(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")}],pi.call(Nr(u),i),u}return n}(Eu);function Rg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Pg(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 Dg(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 xg(t,e){return e&&(Fg(e)==="object"||typeof e=="function")?e:Rg(t)}function Cu(t,e){return Cu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Cu(t,e)}var Fg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Og(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function kg(t){var e=Og();return function(){var i=Sn(t),u;if(e){var a=Sn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return xg(this,u)}}var K=function(t){Dg(n,t);var e=kg(n);function n(i){Pg(this,n);var u;return u=e.call(this,i),u.controlType="column",u.props=new j(i==null?void 0:i.props),u}return n}(x);function Mg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ng(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 Lg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_u(t,e)}function $g(t,e){return e&&(Vg(e)==="object"||typeof e=="function")?e:Mg(t)}function _u(t,e){return _u=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},_u(t,e)}var Vg=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 jg(t){var e=Hg();return function(){var i=Bn(t),u;if(e){var a=Bn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return $g(this,u)}}var z=function(t){Lg(n,t);var e=jg(n);function n(i){Ng(this,n);var u;return u=e.call(this,i),u.controlType="column",u.props=new j(i==null?void 0:i.props),u}return n}(U);function qg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ug(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Tn(t){return Tn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tn(t)}function Wg(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 Kg(t,e){return e&&(zg(e)==="object"||typeof e=="function")?e:qg(t)}function Iu(t,e){return Iu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Iu(t,e)}var zg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Gg(){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=Gg();return function(){var i=Tn(t),u;if(e){var a=Tn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Kg(this,u)}}var wu=function(t){Wg(n,t);var e=Xg(n);function n(i){Ug(this,n);var u;return u=e.call(this,i),u.dataBind=new ie(i==null?void 0:i.dataBind),u}return n}(N);function Qg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Jg(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 Zg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Au(t,e)}function Yg(t,e){return e&&(pg(e)==="object"||typeof e=="function")?e:Qg(t)}function Au(t,e){return Au=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Au(t,e)}var pg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function ev(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function tv(t){var e=ev();return function(){var i=Rn(t),u;if(e){var a=Rn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Yg(this,u)}}var nv=function(t){Zg(n,t);var e=tv(n);function n(i){Jg(this,n);var u;return u=e.call(this,i),u.controlType="search",u.props=new wu(i==null?void 0:i.props),u}return n}(H);function iv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function uv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pn(t){return Pn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pn(t)}function av(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Su(t,e)}function rv(t,e){return e&&(lv(e)==="object"||typeof e=="function")?e:iv(t)}function Su(t,e){return Su=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Su(t,e)}var lv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function ov(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function cv(t){var e=ov();return function(){var i=Pn(t),u;if(e){var a=Pn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return rv(this,u)}}var sv=function(t){av(n,t);var e=cv(n);function n(i){uv(this,n);var u;return u=e.call(this,i),u.controlType="search",u.props=new wu(i==null?void 0:i.props),u}return n}(W);class Bu extends q{constructor(e){var n,i,u,a,r;super(e),this.fontSize=(n=e==null?void 0:e.fontSize)!=null?n:"14px",this.color=(i=e==null?void 0:e.color)!=null?i:"#646A73",this.icon=(u=e==null?void 0:e.icon)!=null?u:"page-hint",this.showState=(a=e==null?void 0:e.showState)!=null?a:"text",this.content=(r=e==null?void 0:e.content)!=null?r:"\u8BF4\u660E\u6587\u5B57"}}class $r extends x{constructor(e){super(e),this.props=new Bu(e==null?void 0:e.props)}static get controlName(){return"\u8BF4\u660E\u6587\u5B57"}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}$r.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 dv extends U{constructor(e){super(e),this.props=new Bu(e==null?void 0:e.props)}static get controlType(){return"text"}}var Vr={Designer:$r,Runtime:dv,Property:Bu};class Tu 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 Ru extends x{constructor(e){super(e),this.props=new Tu(e==null?void 0:e.props)}static get controlName(){return"\u94FE\u63A5"}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}Ru.controlEventKeys=["on_click"],Ru.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 fv extends U{constructor(e){super(e),this.props=new Tu(e==null?void 0:e.props)}static get controlType(){return"link"}}var Hr={Designer:Ru,Runtime:fv,Property:Tu};class J extends q{constructor(e){var n,i,u,a,r,l,c,o;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6309\u94AE",this.buttonType=(i=e==null?void 0:e.buttonType)!=null?i:"primary",this.showType=(u=e==null?void 0:e.showType)!=null?u:"text",this.color=(a=e==null?void 0:e.color)!=null?a:"primary",this.icon=(r=e==null?void 0:e.icon)!=null?r:"iconfenlei2",this.defaultState=(l=e==null?void 0:e.defaultState)!=null?l:"default",this.command=(c=e==null?void 0:e.command)!=null?c:"custom",this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1}}class Z extends x{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 U{constructor(e){super(e),this.props=new J(e==null?void 0:e.props)}static get controlType(){return"button"}}var jr={Designer:Z,Runtime:te,Property:J},_e=(t=>(t.ShowBizKey="is_show_biz_key",t.ShowSubmitUser="is_show_submit_user",t.ShowSubmitTime="is_show_submit_time",t.ShowSubmitDept="is_show_submit_dept",t.ShowCurrentApprovar="is_show_current_approvar",t.ShowTitle="is_show_title",t))(_e||{}),qr=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(qr||{}),Ur=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(Ur||{});class Dn{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:oe(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var Pu=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(Pu||{});class xn{constructor(e){var n,i;this.id=(n=e==null?void 0:e.id)!=null?n:oe(),this.text=(i=e==null?void 0:e.text)!=null?i:""}}var Du=(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))(Du||{});class xu{constructor(e){var n,i,u,a,r,l,c,o;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new 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=(r=e==null?void 0:e.telephone)!=null?r:new ot((a=e==null?void 0:e.telephone)!=null?a:{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 Wr{constructor(e){var n,i,u,a,r,l;this.fileControl=(n=e==null?void 0:e.fileControl)!=null?n:"",this.undersignedList=(u=(i=e==null?void 0:e.undersignedList)==null?void 0:i.map(c=>new xu(c)))!=null?u:[new xu],this.statusControl=(a=e==null?void 0:e.statusControl)!=null?a:"",this.completeControl=(r=e==null?void 0:e.completeControl)!=null?r:"",this.completeTimeControl=(l=e==null?void 0:e.completeTimeControl)!=null?l:""}}class Fu{constructor(e){var n,i,u,a,r,l,c;this.id=(n=e==null?void 0:e.id)!=null?n:oe(8),this.appId=(i=e==null?void 0:e.appId)!=null?i:"",this.dataCode=(u=e==null?void 0:e.dataCode)!=null?u:"",this.svcCode=(a=e==null?void 0:e.svcCode)!=null?a:"",this.name=(r=e==null?void 0:e.name)!=null?r:"",this.fieldList=(l=e==null?void 0:e.fieldList)!=null?l:[],this.active=(c=e==null?void 0:e.active)!=null?c:!1}}class Ou{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 Kr{constructor(e){var n,i,u,a;this.types=(n=e==null?void 0:e.types)!=null?n:["word","ppt","excel"],this.history=(i=e==null?void 0:e.history)!=null?i:!1,this.collaborativeRecord=(u=e==null?void 0:e.collaborativeRecord)!=null?u:!1,this.logicToDelete=(a=e==null?void 0:e.logicToDelete)!=null?a:!0,this.watermark=new Ou(e==null?void 0:e.watermark),this.autoRename=new Ou(e==null?void 0:e.autoRename)}}const zr=480;function ht(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class Gr{constructor(e){var n,i,u,a,r;this.fileId=(n=e==null?void 0:e.fileId)!=null?n:"",this.fileName=(i=e==null?void 0:e.fileName)!=null?i:"",this.ruleName=(u=e==null?void 0:e.ruleName)!=null?u:"",this.isDefault=(a=e.isDefault)!=null?a:!1,this.rules=(r=e.rules)!=null?r:[]}}class Xr{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 Qr=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(Qr||{}),ku=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(ku||{}),Mu=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(Mu||{}),ze=(t=>(t.ALL="all",t.ASSIGN="assign",t))(ze||{}),Nu=(t=>(t.ALL="all",t.ADMIN="admin",t))(Nu||{});class Lu 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:Du.SOLID}}class Jr extends x{constructor(e){super(e),this.props=new Lu(e==null?void 0:e.props)}static get controlName(){return"\u5206\u5272\u7EBF"}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}Jr.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]}];class hv extends U{constructor(e){super(e),this.props=new Lu(e==null?void 0:e.props)}static get controlType(){return"divider"}}var Zr={Designer:Jr,Runtime:hv,Property:Lu};class yv extends ${constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.dataBind={type:"any"},this.config={type:"array"},e.config.includes(_e.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:d.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:d.getMessage("bizKeyNotBindFiled")}},message:d.getMessage("bizKeyNotBindFiled")}),!e.isHide&&e.config.length===0&&(this.config={type:"array",min:1,required:!0,message:d.getMessage("pleaseSelectOneField")})}}class Fn extends q{constructor(e){var n,i,u,a;super(e),this.dataBind=new ie(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[_e.ShowSubmitUser,_e.ShowSubmitDept,_e.ShowSubmitTime,_e.ShowCurrentApprovar,_e.ShowTitle],this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:Ge==null?void 0:Ge.controlName)!=null?u:"",this.position=(a=e==null?void 0:e.position)!=null?a:"top"}}Fn.Rules=yv;class Ge extends x{constructor(e){super(e),this.props=new Fn(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:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class mv extends U{constructor(e){super(e),this.props=new Fn(e==null?void 0:e.props)}static get controlType(){return"title"}}var Yr={Designer:Ge,Runtime:mv,Property:Fn};class gv extends ${constructor(e){super(e),this.formKey={type:"string",required:!0,message:d.getMessage("pleaseEnterForm")}}}class On extends J{constructor(e){var n,i,u,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:yt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:yt.controlName,this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(a=e==null?void 0:e.openType)!=null?a:"modal"}}On.Rules=gv;class yt extends Z{constructor(e){super(e),this.props=new On(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 vv extends te{constructor(e){super(e),this.props=new On(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var pr={Designer:yt,Runtime:vv,Property:On};class bv extends ${constructor(e){super(e),this.processKey=[{type:"string",message:d.getMessage("isNotString")},{type:"string",required:!0,message:d.getMessage("pleaseEnterProcess")}]}}class kn extends J{constructor(e){var n,i,u,a,r,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=(a=e==null?void 0:e.processKey)!=null?a:"",this.fieldCode=(r=e==null?void 0:e.fieldCode)!=null?r:"",this.employeeId=(l=e==null?void 0:e.employeeId)!=null?l:""}}kn.Rules=bv;class mt extends Z{constructor(e){super(e),this.props=new kn(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 Ev extends te{constructor(e){super(e),this.props=new kn(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var el={Designer:mt,Runtime:Ev,Property:kn};class $u 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 $u(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 Cv extends te{constructor(e){super(e),this.props=new $u(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var tl={Designer:gt,Runtime:Cv,Property:$u};class Vu extends J{constructor(e){var n,i,u,a;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=(a=(u=e==null?void 0:e.templateList)==null?void 0:u.map(r=>new Fu(r)))!=null?a:[new Fu({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 Vu(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 _v extends te{constructor(e){super(e),this.props=new Vu(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var nl={Designer:vt,Runtime:_v,Property:Vu};class Hu 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 Hu(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 Iv extends te{constructor(e){super(e),this.props=new Hu(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var il={Designer:bt,Runtime:Iv,Property:Hu};class wv{constructor(e){this.dataCode=e.dataCode}}class ju extends J{constructor(e){var n,i,u,a;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=(a=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(r=>new wv(r)))!=null?a:[]}}class Et extends Z{constructor(e){super(e),this.props=new ju(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 Av extends te{constructor(e){super(e),this.props=new ju(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var ul={Designer:Et,Runtime:Av,Property:ju};function Mn(){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 Sv extends ${constructor(e){super(e),this.fillPayload={type:"object",fields:ye({},Mn())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterList")}}},this.fillBack={type:"object",fields:ye({mode:{type:"string",required:!0,message:d.getMessage("pleaseSelectFillBackMode")}},Mn())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:d.getMessage("pleaseSelectControl")})}}class Nn 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 Vi(e==null?void 0:e.fillPayload),this.formBind=new kh(e==null?void 0:e.formBind),this.fillBack=new pa(e==null?void 0:e.fillBack)}}Nn.Rules=Sv;class Ct extends Z{constructor(e){super(e),this.props=new Nn(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 Bv extends te{constructor(e){super(e),this.props=new Nn(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var al={Designer:Ct,Runtime:Bv,Property:Nn};class Tv extends ${constructor(e){super(e),this.fillPayload={type:"object",fields:ye({},Mn())},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:ye({mode:{type:"string",required:!0,message:d.getMessage("pleaseSelectFillBackMode")}},Mn())}}}class Ln 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 Vi(e==null?void 0:e.fillPayload),this.listPageBind=new Ja(e==null?void 0:e.listPageBind),this.fillBack=new pa(e==null?void 0:e.fillBack)}}Ln.Rules=Tv;class _t extends Z{constructor(e){super(e),this.props=new Ln(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","on_modal_ok"],_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 Rv extends te{constructor(e){super(e),this.props=new Ln(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var rl={Designer:_t,Runtime:Rv,Property:Ln};class Pv extends ${constructor(e){super(e)}}class Dv extends Ae{constructor(e){super(e)}}class It extends q{constructor(e){super(e)}}It.Rules=Pv,It.RuntimeRules=Dv;class ll extends x{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"}}ll.setting=[];class xv extends U{constructor(e){super(e),this.props=new It(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var ol={Designer:ll,Runtime:xv,Property:It};class Fv extends ${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 $n extends q{constructor(e){var n,i,u,a,r,l;super(e),this.dashboardKey=(n=e==null?void 0:e.dashboardKey)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.isHideCaption=(u=e==null?void 0:e.isHideCaption)!=null?u:!1,this.isShowCaptionTip=(a=e==null?void 0:e.isShowCaptionTip)!=null?a:!1,this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top"}}$n.Rules=Fv;class cl extends x{constructor(e){super(e),this.props=new $n(e==null?void 0:e.props)}static get controlName(){return"\u4EEA\u8868\u76D8"}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}cl.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 Ov extends U{constructor(e){super(e),this.props=new $n(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var sl={Designer:cl,Runtime:Ov,Property:$n};class kv extends ${constructor(e){super(e),this.showType={type:"enum",enum:["select","tabs"]},this.viewList={type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:d.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:d.getMessage("pleaseSelectAtLeastOneColumn")}}}}}}class Vn extends q{constructor(e){var n,i,u;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"select",this.viewList=(u=(i=e==null?void 0:e.viewList)==null?void 0:i.map(a=>new Zh(a)))!=null?u:[]}}Vn.Rules=kv;class dl extends x{constructor(e){super(e),this.props=new Vn(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"}}dl.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class Mv extends U{constructor(e){super(e),this.props=new Vn(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var fl={Designer:dl,Runtime:Mv,Property:Vn};class Nv extends ${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(r=>!r.controlId)){u(d.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Hn extends J{constructor(e){var n,i,u,a,r,l,c,o,f,m;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n: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=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(r=e==null?void 0:e.labelPosition)!=null?r:"top",this.content=(l=e==null?void 0:e.content)!=null?l: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=(f=e==null?void 0:e.fillList)==null?void 0:f.map(v=>new p(v)))!=null?m:[]}}Hn.Rules=Nv;class Xe extends Z{constructor(e){super(e),this.props=new Hn(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 Lv extends te{constructor(e){super(e),this.props=new Hn(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var hl={Designer:Xe,Runtime:Lv,Property:Hn};class $v extends ${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(r=>!r.controlId)){u(d.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class jn extends J{constructor(e){var n,i,u,a,r,l,c,o,f,m;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n: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=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(r=e==null?void 0:e.labelPosition)!=null?r:"top",this.content=(l=e==null?void 0:e.content)!=null?l: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=(f=e==null?void 0:e.fillList)==null?void 0:f.map(v=>new p(v)))!=null?m:[]}}jn.Rules=$v;class Qe extends Z{constructor(e){super(e),this.props=new jn(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 Vv extends te{constructor(e){super(e),this.props=new jn(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var yl={Designer:Qe,Runtime:Vv,Property:jn};class Hv extends ${constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:d.getMessage("pleaseUploadAtLeastOnePrintTemplate")}}}class qn extends J{constructor(e){var n,i,u,a,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:wt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:wt.controlName,this.printTemplates=(a=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(l=>new Gr(l)))!=null?a:[],this.autoSelectTemplate=(r=e==null?void 0:e.autoSelectTemplate)!=null?r:!1}}qn.Rules=Hv;class wt extends Z{constructor(e){super(e),this.props=new qn(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 jv extends te{constructor(e){super(e),this.props=new qn(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var ml={Designer:wt,Runtime:jv,Property:qn};class qu 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 qu(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 qv extends te{constructor(e){super(e),this.props=new qu(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var gl={Designer:At,Runtime:qv,Property:qu};class Uv extends ${constructor(e){super(e),this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:d.getMessage("pleaseEnterForm")})}}class Un extends q{constructor(e){var n,i,u,a,r;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6309\u94AE",this.code=e==null?void 0:e.code,this.command=(i=e==null?void 0:e.command)!=null?i:"custom",this.color=(u=e==null?void 0:e.color)!=null?u:"primary",this.icon=e==null?void 0:e.icon,this.formKey=e==null?void 0:e.formKey,this.openType=e==null?void 0:e.openType,this.needConfirm=e==null?void 0:e.needConfirm,this.confirmMessage=e==null?void 0:e.confirmMessage,this.options=e==null?void 0:e.options,this.defaultState=(a=e==null?void 0:e.defaultState)!=null?a:"default",this.priorityProcess=e==null?void 0:e.priorityProcess,this.isLoading=(r=e==null?void 0:e.isLoading)!=null?r:!1}}Un.Rules=Uv;class Wn extends x{constructor(e){super(e),this.props=new Un(e==null?void 0:e.props)}static get controlName(){return"\u64CD\u4F5C\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"operation-button"}}Wn.controlEventKeys=["on_click"],Wn.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 Wv extends U{constructor(e){super(e),this.props=new Un(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var vl={Designer:Wn,Runtime:Wv,Property:Un};class Uu extends q{constructor(e){var n,i,u,a,r,l,c,o,f;super(e),this.content=(n=e==null?void 0:e.content)!=null?n: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=(a=e==null?void 0:e.showType)!=null?a:"iconText",this.color=(r=e==null?void 0:e.color)!=null?r:"danger",this.isHide=(l=e==null?void 0:e.isHide)!=null?l:!1,this.defaultState=(c=e==null?void 0:e.defaultState)!=null?c:"default",this.command=(o=e==null?void 0:e.command)!=null?o:"custom",this.isLoading=(f=e==null?void 0:e.isLoading)!=null?f:!1}}class St extends x{constructor(e){super(e),this.props=new Uu(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 Kv extends U{constructor(e){super(e),this.props=new Uu(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var bl={Designer:St,Runtime:Kv,Property:Uu},zv=Object.freeze({__proto__:null,Text:Vr,Link:Hr,Button:jr,Divider:Zr,Title:Yr,CreateFormListButton:pr,BatchSubmissionListButton:el,SubmissionRecordListButton:tl,ExportListButton:nl,ExportRecordListButton:il,ImportRecordListButton:ul,FormSelectButton:al,ListSelectButton:rl,Pagination:ol,Dashboard:sl,ListViewSelect:fl,TextOcrButton:hl,InvoiceCheckButton:yl,BatchPrintListButton:ml,BatchPrintRecordListButton:gl,OperationButton:vl,BatchDeleteButton:bl});class Gv 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 Xv 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 T{constructor(e){var n,i,u,a,r,l,c;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:200,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.regularRules=new er(e==null?void 0:e.regularRules),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:Ze.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165",this.encrypted=(l=e==null?void 0:e.encrypted)!=null?l:!1,this.encryptedMode=(c=e==null?void 0:e.encryptedMode)!=null?c:""}}Je.Rules=Gv,Je.RuntimeRules=Xv;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=g.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 El extends P{constructor(e){super(e),this.props=new Je(e==null?void 0:e.props)}static get controlType(){return"input"}}El.controlFieldType=g.VARCHAR;var Cl={Designer:Ze,Runtime:El,Property:Je};class Qv 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 Jv 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 T{constructor(e){var n,i,u,a,r,l,c,o,f,m,v,_,I;super(e),this.options=de((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.checkboxMode=(i=e==null?void 0:e.checkboxMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.optionsOrder=(a=e==null?void 0:e.optionsOrder)!=null?a:!1,this.otherOption=(r=e==null?void 0:e.otherOption)!=null?r:!1,this.limitMin=(l=e==null?void 0:e.limitMin)!=null?l:"unlimited",this.limitMax=(c=e==null?void 0:e.limitMax)!=null?c:"unlimited",this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.interreaction=(o=e==null?void 0:e.interreaction)!=null?o:[],this.caption=(f=e==null?void 0:e.caption)!=null?f:Tt.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=(_=e==null?void 0:e.defaultShowOptions)!=null?_:!0,this.openMultistageFilling=(I=e==null?void 0:e.openMultistageFilling)!=null?I:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(b=>{var w;(w=this.multistageFilling)==null||w.push(new p(b))}))}}Bt.Rules=Qv,Bt.RuntimeRules=Jv;class Tt extends R{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"}}Tt.controlEventKeys=["on_change","on_click"],Tt.controlFieldType=g.ARRAY,Tt.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 _l extends P{constructor(e){super(e),this.props=new Bt(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}_l.controlFieldType=g.ARRAY;var Il={Designer:Tt,Runtime:_l,Property:Bt};class Zv extends Ue{constructor(e){super(e)}}class Kn extends T{constructor(e){var n,i,u,a,r,l,c,o,f,m,v;super(e),this.options=de((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.radioMode=(i=e==null?void 0:e.radioMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.otherOption=(a=e==null?void 0:e.otherOption)!=null?a:!1,this.optionsOrder=(r=e==null?void 0:e.optionsOrder)!=null?r:!1,this.defaultShowOptions=(l=e==null?void 0:e.defaultShowOptions)!=null?l:!0,this.optionsFormat=(c=e==null?void 0:e.optionsFormat)!=null?c:"horizontal",this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.interreaction=(o=e==null?void 0:e.interreaction)!=null?o:[],this.caption=(f=e==null?void 0:e.caption)!=null?f:Rt.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:"",this.openMultistageFilling=(v=e==null?void 0:e.openMultistageFilling)!=null?v:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var I;(I=this.multistageFilling)==null||I.push(new p(_))}))}}Kn.Rules=Zv;class Rt extends R{constructor(e){super(e),this.props=new Kn(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=g.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 wl extends P{constructor(e){super(e),this.props=new Kn(e==null?void 0:e.props)}static get controlType(){return"radio"}}wl.controlFieldType=g.VARCHAR;var Al={Designer:Rt,Runtime:wl,Property:Kn};class Yv 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 pv 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 T{constructor(e){var n,i,u,a,r,l,c,o,f,m,v,_,I;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.numberType=(u=e==null?void 0:e.numberType)!=null?u:"number",this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.micrometer=(r=e==null?void 0:e.micrometer)!=null?r:!1,this.precision=(l=e==null?void 0:e.precision)!=null?l:0,this.showUpperCase=(c=e==null?void 0:e.showUpperCase)!=null?c:!1,this.isShowUnit=(o=e==null?void 0:e.isShowUnit)!=null?o:!1,this.unitPosition=(f=e==null?void 0:e.unitPosition)!=null?f:"right",this.unit=(m=e==null?void 0:e.unit)!=null?m:"",this.caption=(v=e==null?void 0:e.caption)!=null?v: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 er(e==null?void 0:e.regularRules)}}Pt.Rules=Yv,Pt.RuntimeRules=pv;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=g.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 Sl extends P{constructor(e){super(e),this.props=new Pt(e==null?void 0:e.props)}static get controlType(){return"number"}}Sl.controlFieldType=g.DECIMAL;var Bl={Designer:Dt,Runtime:Sl,Property:Pt};class Wu extends T{constructor(e){var n,i,u,a,r,l,c,o,f;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:me.DATE,this.setValueType=(i=e==null?void 0:e.setValueType)!=null?i:"custom",this.caption=(u=e==null?void 0:e.caption)!=null?u:zn.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u8F93\u5165\u65E5\u671F",this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:"",this.limitDateList=(c=(l=e==null?void 0:e.limitDateList)==null?void 0:l.map(m=>new Dn(m)))!=null?c:[],this.allowDateRange=(o=e==null?void 0:e.allowDateRange)!=null?o:["",""],this.filterWeekend=(f=e==null?void 0:e.filterWeekend)!=null?f:!1}}class zn extends R{constructor(e){super(e),this.props=new Wu(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}}zn.controlFieldType=g.TIMESTAMP,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:"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 Tl extends P{constructor(e){super(e),this.props=new Wu(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}Tl.controlFieldType=g.TIMESTAMP;var Rl={Designer:zn,Runtime:Tl,Property:Wu};class eb 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 Gn extends T{constructor(e){var n,i,u,a,r,l,c,o,f;super(e),this.dataBind=new zh(e==null?void 0:e.dataBind),this.defaultValue=new Gh(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:me.DATE,this.setValueType=(i=e==null?void 0:e.setValueType)!=null?i:"custom",this.rangeMin=(u=e==null?void 0:e.rangeMin)!=null?u:"",this.rangeMax=(a=e==null?void 0:e.rangeMax)!=null?a:"",this.placeholderStart=(r=e==null?void 0:e.placeholderStart)!=null?r:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(l=e==null?void 0:e.placeholderEnd)!=null?l:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",this.caption=(c=e==null?void 0:e.caption)!=null?c:Xn.controlName,this.limitDateList=(f=(o=e==null?void 0:e.limitDateList)==null?void 0:o.map(m=>new Dn(m)))!=null?f:[]}}Gn.RuntimeRules=eb;class Xn extends R{constructor(e){super(e),this.props=new Gn(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}}Xn.controlFieldType=g.TIMESCOPE,Xn.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 Pl extends P{constructor(e){super(e),this.props=new Gn(e==null?void 0:e.props)}static get controlType(){return"date-range"}}Pl.controlFieldType=g.TIMESCOPE;var Dl={Designer:Xn,Runtime:Pl,Property:Gn};class tb 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 nb 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 T{constructor(e){var n,i,u,a,r,l;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:Ft.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165",this.lineEllipsis=(l=e==null?void 0:e.lineEllipsis)!=null?l:4}}xt.Rules=tb,xt.RuntimeRules=nb;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=g.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 xl extends P{constructor(e){super(e),this.props=new xt(e==null?void 0:e.props)}static get controlType(){return"textarea"}}xl.controlFieldType=g.TEXT;var Fl={Designer:Ft,Runtime:xl,Property:xt};class ib 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 ub 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 T{constructor(e){var n,i,u,a,r;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:kt.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165"}}Ot.Rules=ib,Ot.RuntimeRules=ub;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=g.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 Ol extends P{constructor(e){super(e),this.props=new Ot(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}Ol.controlFieldType=g.TEXT;var kl={Designer:kt,Runtime:Ol,Property:Ot};class ab extends Ue{constructor(e){super(e)}}class Qn extends T{constructor(e){var n,i,u,a,r,l,c,o;super(e),this.options=de((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=(a=e==null?void 0:e.caption)!=null?a:Jn.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:"",this.allowCopyOptions=(c=e==null?void 0:e.allowCopyOptions)!=null?c:!1,this.openMultistageFilling=(o=e==null?void 0:e.openMultistageFilling)!=null?o:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(f=>{var m;(m=this.multistageFilling)==null||m.push(new p(f))}))}}Qn.Rules=ab;class Jn extends R{constructor(e){super(e),this.props=new Qn(e==null?void 0:e.props)}static get controlName(){return"\u4E0B\u62C9\u5355\u9009"}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}Jn.controlFieldType=g.VARCHAR,Jn.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 Ml extends P{constructor(e){super(e),this.props=new Qn(e==null?void 0:e.props)}static get controlType(){return"select"}}Ml.controlFieldType=g.VARCHAR;var Nl={Designer:Jn,Runtime:Ml,Property:Qn};class rb extends Ue{constructor(e){super(e)}}class lb extends k{constructor(e){super(e),this[0].type="array"}}class Mt extends T{constructor(e){var n,i,u,a,r,l,c;super(e),this.options=de((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=(a=e==null?void 0:e.caption)!=null?a:Zn.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.openMultistageFilling=(c=e==null?void 0:e.openMultistageFilling)!=null?c:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(o=>{var f;(f=this.multistageFilling)==null||f.push(new p(o))}))}}Mt.Rules=rb,Mt.RuntimeRules=lb;class Zn extends R{constructor(e){super(e),this.props=new Mt(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"}}Zn.controlFieldType=g.ARRAY,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]},{key:"options-setting",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"select-multiple"}}Ll.controlFieldType=g.ARRAY;var $l={Designer:Zn,Runtime:Ll,Property:Mt};class ob extends k{constructor(e){super(e),this[0].type="array"}}class Yn extends T{constructor(e){var n,i,u,a,r,l,c,o,f;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(c=e==null?void 0:e.caption)!=null?c:pn.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.openMultistageFilling=(f=e==null?void 0:e.openMultistageFilling)!=null?f:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var v;(v=this.multistageFilling)==null||v.push(new p(m))}))}}Yn.RuntimeRules=ob;class pn extends R{constructor(e){super(e),this.props=new Yn(e==null?void 0:e.props)}static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}pn.controlFieldType=g.EMPLOYEES,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.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 Vl extends P{constructor(e){super(e),this.props=new Yn(e==null?void 0:e.props)}static get controlType(){return"employee"}}Vl.controlFieldType=g.EMPLOYEES;var Hl={Designer:pn,Runtime:Vl,Property:Yn};const cb=10485760,sb=104857600,db=1048576e3;class fb extends Q{constructor(e){super(e),this.maxSize={type:"number",min:0,max:db,message:d.getMessage("attachmentMaxSize")}}}class hb 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 T{constructor(e){var n,i,u,a,r,l,c,o;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:[],this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.attachmentAccept=(u=e==null?void 0:e.attachmentAccept)!=null?u:[],this.maxLimit=(a=e==null?void 0:e.maxLimit)!=null?a:10,this.minLimit=(r=e==null?void 0:e.minLimit)!=null?r:0,this.maxSize=(l=e==null?void 0:e.maxSize)!=null?l:sb,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=fb,Ye.RuntimeRules=hb;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=g.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 Ku extends P{constructor(e){super(e),this.props=new Ye(e==null?void 0:e.props)}static get controlType(){return"attachment"}}Ku.controlFieldType=g.FILE;var jl={Designer:pe,Runtime:Ku,Property:Ye};const ql=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:ql.controlName,this.props.placeholder=(u=(i=t==null?void 0:t.props)==null?void 0:i.placeholder)!=null?u:"\u4E0A\u4F20\u56FE\u7247"}};let zu=ql;zu.controlFieldType=g.IMAGE,zu.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 yb extends Ku{static get controlType(){return"image"}constructor(e){var n,i,u,a,r,l;super(e),this.props.showType="image",this.props.maxLimit=(i=(n=e==null?void 0:e.props)==null?void 0:n.maxLimit)!=null?i:9,this.props.caption=(a=(u=e==null?void 0:e.props)==null?void 0:u.caption)!=null?a:"\u56FE\u7247",this.props.placeholder=(l=(r=e==null?void 0:e.props)==null?void 0:r.placeholder)!=null?l:"\u4E0A\u4F20\u56FE\u7247"}}class mb extends Ye{constructor(e){super(e)}}var Ul={Designer:zu,Runtime:yb,Property:mb};class gb 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 vb 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:[un(ye({},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 Nt extends T{constructor(e){var n,i,u,a,r,l,c,o,f,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=(a=e==null?void 0:e.micrometer)!=null?a:!1,this.precision=(r=e==null?void 0:e.precision)!=null?r:2,this.dataBind=new Wh(e==null?void 0:e.dataBind),this.datasourceBind=new X((l=e==null?void 0:e.datasourceBind)!=null?l:{displayBoList:[new Li({value:"name"})]}),this.defaultValue=new Kh((c=e==null?void 0:e.defaultValue)!=null?c:{amount:"",currency:cn.CNY}),this.options=de(e==null?void 0:e.options),this.caption=(o=e==null?void 0:e.caption)!=null?o:Lt.controlName,this.placeholder=(f=e==null?void 0:e.placeholder)!=null?f:"\u8BF7\u8F93\u5165",this.submitSelectCurrency=(m=e==null?void 0:e.submitSelectCurrency)!=null?m:!1,this.showUpperCase=(v=e==null?void 0:e.showUpperCase)!=null?v:!1}}Nt.Rules=gb,Nt.RuntimeRules=vb;class Lt extends R{constructor(e){super(e),this.props=new Nt(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=g.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 Wl extends P{constructor(e){super(e),this.props=new Nt(e==null?void 0:e.props)}static get controlType(){return"amount"}}Wl.controlFieldType=g.MONEY;var Kl={Designer:Lt,Runtime:Wl,Property:Nt};class bb 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 Eb 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 T{constructor(e){var n,i,u,a,r,l,c;super(e),this.totalScore=(n=e==null?void 0:e.totalScore)!=null?n:5,this.scoreType=(i=e==null?void 0:e.scoreType)!=null?i:Pu.STAR,this.isShowExplain=(u=e==null?void 0:e.isShowExplain)!=null?u:!0,this.explain=(r=(a=e==null?void 0:e.explain)==null?void 0:a.map(o=>new xn(o)))!=null?r:Array(this.totalScore).fill(void 0).map(()=>new xn),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=bb,$t.RuntimeRules=Eb;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 xn);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:[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 zl extends P{constructor(e){super(e),this.props=new $t(e==null?void 0:e.props)}static get controlType(){return"score"}}zl.controlFieldType=g.DECIMAL;var Gl={Designer:Vt,Runtime:zl,Property:$t};class Cb 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 ei extends T{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ti.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 Xh((a=e==null?void 0:e.defaultValue)!=null?a:{}),this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9\u5730\u5740"}}ei.RuntimeRules=Cb;class ti extends R{constructor(e){super(e),this.props=new ei(e==null?void 0:e.props)}static get controlName(){return"\u5730\u5740"}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}ti.controlFieldType=g.ADDRESS,ti.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 Xl extends P{constructor(e){super(e),this.props=new ei(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"}}Xl.controlFieldType=g.ADDRESS;var Ql={Designer:ti,Runtime:Xl,Property:ei};class _b extends k{constructor(e){super(e),this[0].type="array"}}class ni extends T{constructor(e){var n,i,u,a,r,l,c,o,f,m,v;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(c=e==null?void 0:e.displayLevel)!=null?c:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(f=e==null?void 0:e.caption)!=null?f:ii.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.openMultistageFilling=(v=e==null?void 0:e.openMultistageFilling)!=null?v:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var I;(I=this.multistageFilling)==null||I.push(new p(_))}))}}ni.RuntimeRules=_b;class ii extends R{constructor(e){super(e),this.props=new ni(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}}ii.controlFieldType=g.DEPARTMENTS,ii.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 Jl extends P{constructor(e){super(e),this.props=new ni(e==null?void 0:e.props)}static get controlType(){return"department"}}Jl.controlFieldType=g.DEPARTMENTS;var Zl={Designer:ii,Runtime:Jl,Property:ni};class Gu extends T{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 Gu(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:[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 Yl extends P{constructor(e){super(e),this.props=new Gu(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}Yl.controlFieldType=g.AUTO_NUMBER;var pl={Designer:Ht,Runtime:Yl,Property:Gu};class Ib 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 wb 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 T{constructor(e){var n,i,u,a,r,l,c;super(e),this.precision=(n=e==null?void 0:e.precision)!=null?n:0,this.micrometer=(i=e==null?void 0:e.micrometer)!=null?i:!1,this.showUpperCase=(u=e==null?void 0:e.showUpperCase)!=null?u:!1,this.dataBind=new Qh(e==null?void 0:e.dataBind),this.defaultValue=new Jh(e==null?void 0:e.defaultValue),this.caption=(a=e==null?void 0:e.caption)!=null?a:qt.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165",this.scriptEcho=(l=e==null?void 0:e.scriptEcho)!=null?l:[],this.scriptSrc=(c=e==null?void 0:e.scriptSrc)!=null?c:""}}jt.Rules=Ib,jt.RuntimeRules=wb;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=g.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 eo extends P{constructor(e){super(e),this.props=new jt(e==null?void 0:e.props)}static get controlType(){return"calc"}}eo.controlFieldType=g.CALC;var to={Designer:qt,Runtime:eo,Property:jt};class Ab extends k{constructor(e){super(e),this[0].type="array",this.push({validator(n,i){return e.required&&i.every(a=>!a)?Promise.reject(d.getMessage("runtimeRequired",{caption:e.caption})):Promise.resolve()}})}}class ui extends T{constructor(e){var n,i,u,a,r,l;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.rangeMin=(i=e==null?void 0:e.rangeMin)!=null?i:"",this.rangeMax=(u=e==null?void 0:e.rangeMax)!=null?u:"",this.placeholderStart=(a=e==null?void 0:e.placeholderStart)!=null?a:"\u6700\u5C0F\u503C",this.placeholderEnd=(r=e==null?void 0:e.placeholderEnd)!=null?r:"\u6700\u5927\u503C",this.caption=(l=e==null?void 0:e.caption)!=null?l:ai.controlName}}ui.RuntimeRules=Ab;class ai extends R{constructor(e){super(e),this.props=new ui(e==null?void 0:e.props)}static get controlName(){return"\u6570\u5B57\u533A\u95F4"}static get controlIcon(){return"iconshuziqujian"}static get controlType(){return"search-number-range"}}ai.controlFieldType=g.DECIMAL_RANGE,ai.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 no extends P{constructor(e){super(e),this.props=new ui(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}no.controlFieldType=g.DECIMAL_RANGE;var io={Designer:ai,Runtime:no,Property:ui};class Sb 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 ri extends T{constructor(e){var n,i,u,a,r,l,c,o,f,m;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(i=e==null?void 0:e.dateType)!=null?i:me.DATE,this.setValueType=(u=e==null?void 0:e.setValueType)!=null?u:"custom",this.rangeMin=(a=e==null?void 0:e.rangeMin)!=null?a:"",this.rangeMax=(r=e==null?void 0:e.rangeMax)!=null?r:"",this.placeholderStart=(l=e==null?void 0:e.placeholderStart)!=null?l:"\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(c=e==null?void 0:e.placeholderEnd)!=null?c:"\u7ED3\u675F\u65E5\u671F",this.caption=(o=e==null?void 0:e.caption)!=null?o:li.controlName,this.limitDateList=(m=(f=e==null?void 0:e.limitDateList)==null?void 0:f.map(v=>new Dn(v)))!=null?m:[]}}ri.RuntimeRules=Sb;class li extends R{constructor(e){super(e),this.props=new ri(e==null?void 0:e.props)}static get controlName(){return"\u65E5\u671F\u533A\u95F4"}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"search-date-range"}}li.controlFieldType=g.ARRAY,li.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[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 uo extends P{constructor(e){super(e),this.props=new ri(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}uo.controlFieldType=g.ARRAY;var ao={Designer:li,Runtime:uo,Property:ri};class Bb extends Q{constructor(e){super(e),this.dataBind={type:"any"}}}class Tb extends k{constructor(e){super(e),this[0].type="any"}}class Ut extends T{constructor(e){var n,i,u,a,r;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=(a=e==null?void 0:e.permissions)!=null?a:[],this.isInlineEdit=(r=e==null?void 0:e.isInlineEdit)!=null?r:!1}}Ut.Rules=Bb,Ut.RuntimeRules=Tb;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=g.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 ro extends P{constructor(e){super(e),this.props=new Ut(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}ro.controlFieldType=g.ANY;var lo={Designer:Wt,Runtime:ro,Property:Ut};class Rb 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 oi extends T{constructor(e){var n,i,u,a,r,l,c;super(e),this.options=de((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new Ja(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:Kt.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u9009\u62E9",this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:"",this.openMultistageFilling=(l=e==null?void 0:e.openMultistageFilling)!=null?l:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(o=>{var f;(f=this.multistageFilling)==null||f.push(new p(o))})),this.canViewForm=(c=e==null?void 0:e.canViewForm)!=null?c:!1}}oi.Rules=Rb;class Kt extends R{constructor(e){super(e),this.props=new oi(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"}}Kt.controlFieldType=g.VARCHAR,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.CAN_VIEW_FORM,s.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0},{key:"super-setting",visible:!0}],Kt.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class oo extends P{constructor(e){super(e),this.props=new oi(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}oo.controlFieldType=g.VARCHAR;var co={Designer:Kt,Runtime:oo,Property:oi};class Xu extends Je{constructor(e){super(e)}}class so extends Ze{constructor(e){super(e),this.props=new Xu(e==null?void 0:e.props)}static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlType(){return"search-input"}}so.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 fo extends P{constructor(e){super(e),this.props=new Xu(e==null?void 0:e.props)}static get controlType(){return"search-input"}}fo.controlFieldType=g.VARCHAR;var ho={Designer:so,Runtime:fo,Property:Xu};class Pb extends Q{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],eu.call(this,e,Se.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 Db extends k{constructor(e){super(e),this[0].type="array"}}class zt extends T{constructor(e){var n,i,u,a,r,l,c,o,f,m,v,_,I,b;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:Se.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:"\u8BF7\u9009\u62E9",this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.canSearch=(a=e==null?void 0:e.canSearch)!=null?a:!0,this.levelType=(r=e==null?void 0:e.levelType)!=null?r:"all",this.optionalLevel=(l=e==null?void 0:e.optionalLevel)!=null?l:1,this.containsSubNode=(c=e==null?void 0:e.containsSubNode)!=null?c:!1,this.defaultCollapse=(o=e==null?void 0:e.defaultCollapse)!=null?o:"all",this.defaultCollapseLevel=(f=e==null?void 0:e.defaultCollapseLevel)!=null?f:1,this.datasourceBind=new qh((m=e==null?void 0:e.datasourceBind)!=null?m:{attributes:Se.controlCustomAttributes}),this.openMultistageFilling=(v=e==null?void 0:e.openMultistageFilling)!=null?v:!1,this.multistageFilling=(I=(_=e==null?void 0:e.multistageFilling)==null?void 0:_.map(w=>new p(w)))!=null?I:[],this.defaultValue=(b=e==null?void 0:e.defaultValue)!=null?b:[]}}zt.Rules=Pb,zt.RuntimeRules=Db;class Se extends R{constructor(e){super(e),this.props=new zt(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}]}}Se.controlEventKeys=["on_change","on_click"],Se.controlFieldType=g.ARRAY,Se.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 yo extends P{constructor(e){super(e),this.props=new zt(e==null?void 0:e.props)}static get controlType(){return"tree"}}yo.controlFieldType=g.ARRAY;var mo={Designer:Se,Runtime:yo,Property:zt};class xb extends Q{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],this.externalScope={type:"any"},eu.call(this,e,et.controlCustomAttributes),e.externalType===ze.ASSIGN&&(this.externalScope={type:"array",required:!0,message:d.getMessage("pleaseAssignExternal")})}}class Fb extends k{constructor(e){super(e),this[0].type="array"}}class Gt extends T{constructor(e){var n,i,u,a,r,l,c,o,f,m,v,_,I,b;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(c=e==null?void 0:e.caption)!=null?c: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 on((f=e==null?void 0:e.datasourceBind)!=null?f:{attributes:et.controlCustomAttributes}),this.datasourceType=(m=e==null?void 0:e.datasourceType)!=null?m:ku.INTERNAL,this.insideType=(v=e==null?void 0:e.insideType)!=null?v:Nu.ADMIN,this.externalType=(_=e==null?void 0:e.externalType)!=null?_:ze.ALL,this.externalScope=(I=e==null?void 0:e.externalScope)!=null?I:[],this.openMultistageFilling=(b=e==null?void 0:e.openMultistageFilling)!=null?b:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(w=>{var y;(y=this.multistageFilling)==null||y.push(new p(w))}))}}Gt.Rules=xb,Gt.RuntimeRules=Fb;class et extends R{constructor(e){super(e),this.props=new Gt(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:[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 go extends P{constructor(e){super(e),this.props=new Gt(e==null?void 0:e.props)}static get controlType(){return"employee2"}}go.controlFieldType=g.EMPLOYEES;var vo={Designer:et,Runtime:go,Property:Gt};class Ob 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(a,r,l){if(i.type==="public"&&Fi(r.value)&&r.value.length===0){l("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}l()}},company:{type:"object",required:!0,validator(a,r,l){if(i.type==="public"&&i.signatureType.includes("company")&&Fi(r.value)&&r.value.length===0){l("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}l()}}}},n),{})}}}}}class ci extends T{constructor(e){var n,i,u,a,r,l;super(e),this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:Xt.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:"\u53D1\u8D77\u7B7E\u7F72",this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"text",this.color=(r=e==null?void 0:e.color)!=null?r:"primary",this.icon=(l=e==null?void 0:e.icon)!=null?l:"iconfenlei2",this.signatureConfig=new Wr(e==null?void 0:e.signatureConfig)}}ci.Rules=Ob;class Xt extends R{constructor(e){super(e),this.props=new ci(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"}}Xt.controlEventKeys=["on_click","on_click_finish"],Xt.controlFieldType=g.VARCHAR,Xt.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 bo extends P{constructor(e){super(e),this.props=new ci(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}bo.controlFieldType=g.VARCHAR;var Eo={Designer:Xt,Runtime:bo,Property:ci};class kb 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 Mb extends k{constructor(e){super(e),this[0].type="array"}}class Qt extends T{constructor(e){var n,i,u,a,r,l,c,o,f,m,v,_;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Jt.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:"\u65B0\u5EFA\u6587\u6863",this.canAdd=(u=e==null?void 0:e.canAdd)!=null?u:!0,this.addLocal=(a=e==null?void 0:e.addLocal)!=null?a:!0,this.addOnline=(r=e==null?void 0:e.addOnline)!=null?r:!0,this.canEdit=(l=e==null?void 0:e.canEdit)!=null?l:!0,this.canDownload=(c=e==null?void 0:e.canDownload)!=null?c:!0,this.canExport=(o=e==null?void 0:e.canExport)!=null?o:!0,this.canDelete=(f=e==null?void 0:e.canDelete)!=null?f:!1,this.maxSize=(m=e==null?void 0:e.maxSize)!=null?m:cb,this.defaultValue=(v=e==null?void 0:e.defaultValue)!=null?v:[],this.wpsSetting=new Kr(e==null?void 0:e.wpsSetting),this.revisionsMode=(_=e==null?void 0:e.revisionsMode)!=null?_:!1}}Qt.Rules=kb,Qt.RuntimeRules=Mb;class Jt extends R{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlName(){return"\u5728\u7EBF\u6587\u6863"}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}Jt.controlEventKeys=["on_change","on_wps_open"],Jt.controlFieldType=g.FILE,Jt.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 Co extends P{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlType(){return"wps"}}Co.controlFieldType=g.FILE;var _o={Designer:Jt,Runtime:Co,Property:Qt};class Nb extends Q{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],this.businessScope={type:"any"},eu.call(this,e,tt.controlCustomAttributes),e.businessType===ze.ASSIGN&&(this.businessScope={type:"array",required:!0,message:d.getMessage("pleaseAssignBusiness")})}}class Lb extends k{constructor(e){super(e),this[0].type="array"}}class Zt extends T{constructor(e){var n,i,u,a,r,l,c,o,f,m,v,_,I,b,w;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(c=e==null?void 0:e.displayLevel)!=null?c:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(f=e==null?void 0:e.caption)!=null?f:tt.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.datasourceBind=new on((v=e==null?void 0:e.datasourceBind)!=null?v:{attributes:tt.controlCustomAttributes}),this.datasourceType=(_=e==null?void 0:e.datasourceType)!=null?_:Mu.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.openMultistageFilling=(w=e==null?void 0:e.openMultistageFilling)!=null?w:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(y=>{var E;(E=this.multistageFilling)==null||E.push(new p(y))}))}}Zt.Rules=Nb,Zt.RuntimeRules=Lb;class tt extends R{constructor(e){super(e),this.props=new Zt(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:[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 Io extends P{constructor(e){super(e),this.props=new Zt(e==null?void 0:e.props)}static get controlType(){return"department2"}}Io.controlFieldType=g.DEPARTMENTS;var wo={Designer:tt,Runtime:Io,Property:Zt},$b=Object.freeze({__proto__:null,Input:Cl,Checkbox:Il,Radio:Al,Number:Bl,DatePicker:Rl,DateRange:Dl,Textarea:Fl,RichText:kl,Select:Nl,SelectMultiple:$l,Employee:Hl,Image:Ul,Attachment:jl,Amount:Kl,Score:Gl,Address:Ql,Department:Zl,AutoNumber:pl,Calc:to,SearchNumberRange:io,SearchDateRange:ao,VueFormItem:lo,SelectRelation:co,SearchInput:ho,Tree:mo,Employee2:vo,ElectronicSignature:Eo,WPS:_o,Department2:wo});class Ao extends H{static get controlName(){return"\u753B\u5E03"}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}Ao.excludes=[C.GRID];class Vb extends W{static get controlType(){return"grid"}constructor(e){super(e)}}var So={Designer:Ao,Runtime:Vb,Property:N};const Hb=24;class Be extends N{constructor(e){var n,i;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:Hb,this.offset=(i=e==null?void 0:e.offset)!=null?i:0}}class Yt extends H{constructor(e){super(e),this.props=new Be(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5217"}static get controlType(){return"col"}static get controlIcon(){return"col"}}Yt.excludes=[C.COL,C.CARD_GROUP,C.SUBTABLE,C.SUBTABLE_COLUMN,C.DIVIDER],Yt.childrenMaxLength=1;class Qu extends W{constructor(e){super(e),this.props=new Be(e==null?void 0:e.props)}static get controlType(){return"col"}}var Bo={Designer:Yt,Runtime:Qu,Property:Be};class si extends N{constructor(e){var n,i;super(e),this.layoutMode=(n=e==null?void 0:e.layoutMode)!=null?n:"select",this.gutter=(i=e==null?void 0:e.gutter)!=null?i:0}}class di extends H{constructor(e){super(e),this.props=new si(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5E03\u5C40"}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}di.excludes=[C.ROW],di.setting=[{key:"col-setting",visible:!0}];class To extends W{constructor(e){super(e),this.props=new si(e==null?void 0:e.props)}static get controlType(){return"row"}}var Ro={Designer:di,Runtime:To,Property:si};const jb=4;class fi extends di{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)}}fi.excludes=[C.GRID_ROW],fi.setting=[],fi.childrenMaxLength=jb;class qb extends To{static get controlType(){return"grid-row"}constructor(e){super(e)}}class Ub extends si{constructor(e){super(e)}}var Po={Designer:fi,Runtime:qb,Property:Ub};class Wb extends N.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}}}class hi extends N{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"}}hi.Rules=Wb;class Ju extends H{constructor(e){super(e),this.props=new hi(e==null?void 0:e.props)}static get controlName(){return"\u5206\u7EC4"}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}Ju.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}],Ju.excludes=[C.CARD_GROUP];class Kb extends W{constructor(e){super(e),this.props=new hi(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var Do={Designer:Ju,Runtime:Kb,Property:hi};class zb extends ${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 yi extends N{constructor(e){var n,i,u,a,r,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=(a=e==null?void 0:e.isShowCaptionTip)!=null?a:!1,this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",this.isHideCaption=(l=e==null?void 0:e.isHideCaption)!=null?l:!1}}yi.Rules=zb;class ue extends H{constructor(e){super(e),this.props=new yi(e==null?void 0:e.props)}}ue.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",ue.controlType="subtable-column",ue.controlIcon="subtable-column",ue.childrenMaxLength=1,ue.excludes=[C.SUBTABLE,C.SUBTABLE_COLUMN,C.ROW,C.COL,C.CARD_GROUP,C.DIVIDER,C.TEXT],ue.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 xo extends W{constructor(e){super(e),this.props=new yi(e==null?void 0:e.props)}}xo.controlType="subtable-column";var Fo={Designer:ue,Runtime:xo,Property:yi};class Zu extends N{constructor(e){super(e)}}class Te extends H{constructor(e){super(e),this.props=new Zu(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 Gb extends W{constructor(e){super(e),this.props=new Zu(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var Oo={Designer:Te,Runtime:Gb,Property:Zu};class Yu extends N{constructor(e){var n,i,u,a,r,l,c,o,f,m;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:200,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.fixed=(u=e==null?void 0:e.fixed)!=null?u:!1,this.fieldCode=(a=e==null?void 0:e.fieldCode)!=null?a:"",this.fieldType=(r=e==null?void 0:e.fieldType)!=null?r: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=(c=e==null?void 0:e.textCleanFormart)!=null?c:!1,this.decimalKeepPrecision=(o=e==null?void 0:e.decimalKeepPrecision)!=null?o:0,this.timestampDateType=(f=e==null?void 0:e.timestampDateType)!=null?f:me.DATE,this.departmentDisplayLevel=(m=e==null?void 0:e.departmentDisplayLevel)!=null?m:1}}class Re extends H{constructor(e){super(e),this.props=new Yu(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:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class ko extends W{constructor(e){super(e),this.props=new Yu(e==null?void 0:e.props)}}ko.controlType="gridtable-column";var Mo={Designer:Re,Runtime:ko,Property:Yu};class pu extends N{constructor(e){super(e)}}class Xb extends ${constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}}}class mi extends N{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:en.controlName}}mi.Rules=Xb;class pt extends H{constructor(e){super(e),this.props=new mi(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"}}pt.excludes=[C.TAB],pt.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class Qb extends W{constructor(e){super(e),this.props=new mi(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var No={Designer:pt,Runtime:Qb,Property:mi};class en extends H{constructor(e){var n;super(e),this.props=new pu(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new pt,new pt]}static get controlName(){return"\u6807\u7B7E\u9875"}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}en.excludes=[C.TAB],en.controlEventKeys=["on_change_tab"],en.setting=[{key:"super-setting",visible:!0}];class Jb extends W{constructor(e){super(e),this.props=new pu(e==null?void 0:e.props)}static get controlType(){return"tab"}}var Lo={Designer:en,Runtime:Jb,Property:pu};class $o extends N{constructor(e){super(e)}}class Vo extends H{constructor(e){super(e),this.props=new $o({}),this.children=(e==null?void 0:e.children)||[new Yt({props:new Be({span:12})}),new Yt({props:new Be({span:12})})]}static get controlName(){return"\u5DE5\u5177\u680F"}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}Vo.excludes=[C.GRID_ROW,C.ROW,C.GRID,C.SUBTABLE,C.TAB,C.TOOLBOX];class Zb extends W{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new Qu({props:new Be({span:12})}),new Qu({props:new Be({span:12})})]}}var Ho={Designer:Vo,Runtime:Zb,Property:$o};class Yb extends Ae{constructor(e){super(e),this.push({type:"object",fields:{}})}}class pb extends ${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")}),pi.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 tn extends N{constructor(e){var n,i,u,a,r,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=(a=e==null?void 0:e.triggerFieldCode)!=null?a:"",this.sublistPage=new Lh(e==null?void 0:e.sublistPage),this.showType=(r=e==null?void 0:e.showType)!=null?r:"stretch",this.showFullScreen=(l=e==null?void 0:e.showFullScreen)!=null?l:!1,this.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}}tn.Rules=pb,tn.RuntimeRules=Yb;class gi extends H{constructor(e){super(e),this.props=new tn(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"}}gi.excludes=[C.ROW],gi.controlEventKeys=["on_list_search","on_list_mounted","on_list_actions","on_list_render_operation","on_list_rowclick","on_list_before_rowdelete","on_list_rows_checked"],gi.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 e0 extends W{constructor(e){super(e),this.props=new tn(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var jo={Designer:gi,Runtime:e0,Property:tn};class t0 extends Ae{constructor(e){super(e),this.push({type:"object",fields:{}})}}class vi extends N{constructor(e){var n,i,u,a,r,l;super(e),this.save=new ve((n=e==null?void 0:e.save)!=null?n:{content:"\u4FDD\u5B58",type:"save",isShow:!1}),this.cancel=new ve((i=e==null?void 0:e.cancel)!=null?i:{content:"\u53D6\u6D88",type:"cancel",isShow:!1}),this.saveAs=new ve((u=e==null?void 0:e.saveAs)!=null?u:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1}),this.print=new ve((a=e==null?void 0:e.print)!=null?a:{content:"\u6253\u5370",type:"print",isShow:!1}),this.custom=((r=e==null?void 0:e.custom)!=null?r:[]).map(c=>new ve(c)),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.datasourceBind=new X(e==null?void 0:e.datasourceBind)}}vi.RuntimeRules=t0;class qo extends H{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlName(){return"\u6570\u636E\u5BB9\u5668"}static get controlType(){return"data-view"}}qo.excludes=[];class n0 extends W{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var Uo={Designer:qo,Runtime:n0,Property:vi};class i0 extends H{static get controlName(){return"\u81EA\u7531\u9875\u9762"}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class u0 extends W{static get controlType(){return"page"}constructor(e){super(e)}}class a0 extends N{constructor(e){var n;super(e),this.background="#fff",this.minWidth="",this.maxWidth="",this.heightConfig="auto",this.hideHeader=(n=e==null?void 0:e.hideHeader)!=null?n:!1}}var Wo={Designer:i0,Runtime:u0,Property:a0};class r0 extends H{static get controlName(){return"\u9AD8\u7EA7\u5BB9\u5668"}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class l0 extends W{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class o0 extends N{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new Xr(e==null?void 0:e.flexConfig)}}var Ko={Designer:r0,Runtime:l0,Property:o0};class c0 extends H{static get controlName(){return"\u5B9A\u4F4D\u5BB9\u5668"}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class s0 extends W{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class d0 extends N{constructor(e){super(e)}}var zo={Designer:c0,Runtime:s0,Property:d0};class f0 extends H{static get controlName(){return"\u5B9A\u4F4D\u5B50\u5BB9\u5668"}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class h0 extends W{static get controlType(){return"position"}constructor(e){super(e)}}class y0 extends N{constructor(e){var n,i,u,a;super(e),this.widthSpan=(n=e==null?void 0:e.widthSpan)!=null?n:12,this.heightSpan=(i=e==null?void 0:e.heightSpan)!=null?i:12,this.left=(u=e==null?void 0:e.left)!=null?u:0,this.top=(a=e==null?void 0:e.top)!=null?a:0}}var Go={Designer:f0,Runtime:h0,Property:y0},m0=Object.freeze({__proto__:null,Grid:So,Col:Bo,Row:Ro,GridRow:Po,CardGroup:Do,SubTableColumn:Fo,SubTableRow:Oo,GridTableColumn:Mo,Tab:Lo,TabPane:No,Toolbox:Ho,ListView:jo,DataView:Uo,Page:Wo,AdvancedContainer:Ko,PositioningContainer:zo,Position:Go});class g0 extends ${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 v0 extends Ae{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 nn extends In{constructor(e,n){var i,u,a,r,l,c,o,f,m,v,_,I,b,w,y,E,M,B,F,ne,D;super(e,n),this.caption=(i=n==null?void 0:n.caption)!=null?i:bi.controlName,this.isHideCaption=(u=n==null?void 0:n.isHideCaption)!=null?u:!1,this.defaultState=(a=n==null?void 0:n.defaultState)!=null?a:"default",this.labelPosition=(r=n==null?void 0:n.labelPosition)!=null?r:"top",this.openType=(l=n==null?void 0:n.openType)!=null?l:"default",this.formKey=(c=n==null?void 0:n.formKey)!=null?c:"",this.useCustomHeight=(o=n==null?void 0:n.useCustomHeight)!=null?o:!1,this.maxHeight=(f=n==null?void 0:n.maxHeight)!=null?f:zr,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=(_=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=(M=n==null?void 0:n.canExport)!=null?M:!1,this.canClear=(B=n==null?void 0:n.canClear)!=null?B:!0,this.serverPagination=(F=n==null?void 0:n.serverPagination)!=null?F:!1,this.isShowCaptionTip=(ne=n==null?void 0:n.isShowCaptionTip)!=null?ne:!1,this.captionTip=(D=n==null?void 0:n.captionTip)!=null?D:""}}nn.Rules=g0,nn.RuntimeRules=v0;class bi extends fu{constructor(e){var n;super(e),this.props=new nn(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 ue,new ue,new ue])}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 ue,u=typeof e=="number"?e:n;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}bi.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_import"],bi.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 b0 extends Mr{constructor(e){super(e),this.props=new nn(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){qa("Method not implemented.")}getChildrenFormControl(){return[]}}var Xo={Designer:bi,Runtime:b0,Property:nn};class ea extends In{constructor(e,n){var i,u,a,r;super(e,n),this.isFixedHeader=(i=n==null?void 0:n.isFixedHeader)!=null?i:!1,this.selectionType=n==null?void 0:n.selectionType,this.isShowToolbar=(u=n==null?void 0:n.isShowToolbar)!=null?u:!0,this.isShowSelection=(a=n==null?void 0:n.isShowSelection)!=null?a:!1,this.isShowCustomColumns=(r=n==null?void 0:n.isShowCustomColumns)!=null?r:!0}}class E0 extends Eu{constructor(e){super(e),this.caption.required=!1}}class Ei extends j{constructor(e){var n,i,u,a,r,l,c,o;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"left",this.caption=(i=e==null?void 0:e.caption)!=null?i:Pe.controlName,this.width=(u=e==null?void 0:e.width)!=null?u:60,this.autoWidth.minWidth=(r=(a=e==null?void 0:e.autoWidth)==null?void 0:a.minWidth)!=null?r:60,this.autoWidth.flex=(c=(l=e==null?void 0:e.autoWidth)==null?void 0:l.flex)!=null?c:.4,this.widthType=(o=e==null?void 0:e.widthType)!=null?o:"px"}}Ei.Rules=E0;class Pe extends K{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}}Pe.controlType="order-column",Pe.controlName="\u5E8F\u53F7",Pe.controlIcon="order-column",Pe.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0}];class ta extends z{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}}ta.controlType="order-column",ta.controlFieldType=g.DECIMAL;var Qo={Designer:Pe,Runtime:ta,Property:Ei};class na extends j{constructor(e){var n,i,u,a,r,l;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"right",this.widthType="auto",this.autoWidth.minWidth=(u=(i=e==null?void 0:e.autoWidth)==null?void 0:i.minWidth)!=null?u:84,this.caption=(a=e==null?void 0:e.caption)!=null?a:he.controlName,this.showType=(r=e==null?void 0:e.showType)!=null?r:"icon",this.limit=(l=e==null?void 0:e.limit)!=null?l:3}}class he extends K{constructor(e){super(e),this.props=new na(e==null?void 0:e.props),fe(this,"children",e==null?void 0:e.children)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===Wn.controlType){const i=n;e.props[i.props.command]=i.props}}),e}toSchema(){const e=super.toSchema();return un(ye({},e),{children:this.children.map(n=>n.toSchema())})}validate(e,n){return Fa(this,null,function*(){return yield xa(he.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}he.controlType="operation-column",he.controlName="\u64CD\u4F5C",he.controlIcon="operation-column",he.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0}];class ia extends z{constructor(e){super(e),this.props=new na(e==null?void 0:e.props),fe(this,"children",e==null?void 0:e.children)}}ia.controlType="operation-column",ia.controlFieldType=g.FILE;var Jo={Designer:he,Runtime:ia,Property:na};class Ci extends fu{constructor(e){super(e),this.props=new ea(this,e==null?void 0:e.props),fe(this,"children",e==null?void 0:e.children),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new Pe,new he])}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 un(ye({},e),{children:n})}validate(e,n){return Fa(this,null,function*(){return yield xa(Ci.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Ci.setting=[{key:"list-fixed-header",visible:!0}];class C0 extends Mr{constructor(e){super(e),this.props=new ea(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){qa("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var Zo={Designer:Ci,Runtime:C0,Property:ea},_0=Object.freeze({__proto__:null,SubTable:Xo,GridTable:Zo});class I0 extends Lr{constructor(e){super(e)}}class _i extends j{constructor(e){var n,i,u,a;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=de((u=e==null?void 0:e.options)!=null?u:[{}]),this.lineEllipsis=(a=e==null?void 0:e.lineEllipsis)!=null?a:1}}_i.Rules=I0;class De extends K{constructor(e){super(e),this.props=new _i(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:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",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 ua extends z{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}}ua.controlType="varchar-column",ua.controlFieldType=g.VARCHAR;var Yo={Designer:De,Runtime:ua,Property:_i};class aa extends j{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 aa(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:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",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 ra extends z{constructor(e){super(e),this.props=new aa(e==null?void 0:e.props)}}ra.controlType="text-column",ra.controlFieldType=g.TEXT;var po={Designer:xe,Runtime:ra,Property:aa};class la extends j{constructor(e){var n,i,u,a,r,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=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.optionConfig=(r=e==null?void 0:e.optionConfig)!=null?r:"none",this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.options=de((l=e==null?void 0:e.options)!=null?l:[{}])}}class Fe extends K{constructor(e){super(e),this.props=new la(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:[s.CAPTION],visible:!0},{key:"column-autowidth",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 oa extends z{constructor(e){super(e),this.props=new la(e==null?void 0:e.props)}}oa.controlType="decimal-column",oa.controlFieldType=g.DECIMAL;var ec={Designer:Fe,Runtime:oa,Property:la};class ca extends j{constructor(e){var n,i;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:me.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 ca(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:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class sa extends z{constructor(e){super(e),this.props=new ca(e==null?void 0:e.props)}}sa.controlType="timescope-column",sa.controlFieldType=g.TIMESCOPE;var tc={Designer:Oe,Runtime:sa,Property:ca};class da extends j{constructor(e){var n,i;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:me.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 da(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:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class fa extends z{constructor(e){super(e),this.props=new da(e==null?void 0:e.props)}}fa.controlType="timestamp-column",fa.controlFieldType=g.TIMESTAMP;var nc={Designer:ke,Runtime:fa,Property:da};class w0 extends Lr{constructor(e){super(e)}}class Ii extends j{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Me.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=de((u=e==null?void 0:e.options)!=null?u:[{}])}}Ii.Rules=w0;class Me extends K{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}}Me.controlType="array-column",Me.controlName="\u6570\u7EC4",Me.controlIcon="array-column",Me.controlFieldType=g.ARRAY,Me.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-sort",visible:!0}];class ha extends z{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}}ha.controlType="array-column",ha.controlFieldType=g.ARRAY;var ic={Designer:Me,Runtime:ha,Property:Ii};class ya extends j{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ne.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class Ne extends K{constructor(e){super(e),this.props=new ya(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}}Ne.controlType="department-column",Ne.controlName="\u90E8\u95E8",Ne.controlIcon="department-column",Ne.controlFieldType=g.DEPARTMENTS,Ne.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}];class ma extends z{constructor(e){super(e),this.props=new ya(e==null?void 0:e.props)}}ma.controlType="department-column",ma.controlFieldType=g.DEPARTMENTS;var uc={Designer:Ne,Runtime:ma,Property:ya};class ga extends j{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 ga(e==null?void 0:e.props)}}Le.controlType="auto-number-column",Le.controlName="\u81EA\u52A8\u7F16\u53F7",Le.controlIcon="auto-number-column",Le.controlFieldType=g.AUTO_NUMBER,Le.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class va extends z{constructor(e){super(e),this.props=new ga(e==null?void 0:e.props)}}va.controlType="auto-number-column",va.controlFieldType=g.AUTO_NUMBER;var ac={Designer:Le,Runtime:va,Property:ga};class ba extends j{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 ba(e==null?void 0:e.props)}}$e.controlType="file-column",$e.controlName="\u9644\u4EF6",$e.controlIcon="file-column",$e.controlFieldType=g.FILE,$e.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Ea extends z{constructor(e){super(e),this.props=new ba(e==null?void 0:e.props)}}Ea.controlType="file-column",Ea.controlFieldType=g.FILE;var rc={Designer:$e,Runtime:Ea,Property:ba};class Ca extends j{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 Ca(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:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class _a extends z{constructor(e){super(e),this.props=new Ca(e==null?void 0:e.props)}}_a.controlType="image-column",_a.controlFieldType=g.IMAGE;var lc={Designer:Ve,Runtime:_a,Property:Ca};class Ia extends j{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 Ia(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:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class wa extends z{constructor(e){super(e),this.props=new Ia(e==null?void 0:e.props)}}wa.controlType="people-column",wa.controlFieldType=g.EMPLOYEES;var oc={Designer:He,Runtime:wa,Property:Ia};class Aa extends j{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 Aa(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:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Sa extends z{constructor(e){super(e),this.props=new Aa(e==null?void 0:e.props)}}Sa.controlType="location-column",Sa.controlFieldType=g.ADDRESS;var cc={Designer:je,Runtime:Sa,Property:Aa};class Ba extends j{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ie.controlName,this.fieldCodeList=(i=e==null?void 0:e.fieldCodeList)!=null?i:[]}}const A0=1;class Ie extends K{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new Ba(e==null?void 0:e.props),fe(this,"children",e==null?void 0:e.children),this.excludes=ge(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 un(ye({},e),{children:this.children.map(n=>n.toSchema())})}}Ie.controlType="custom-column",Ie.controlName="\u81EA\u5B9A\u4E49",Ie.controlIcon="custom-column",Ie.excludes=[],Ie.childrenMaxLength=A0,Ie.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class sc extends z{constructor(e){super(e),this.props=new Ba(e==null?void 0:e.props),fe(this,"children",e==null?void 0:e.children)}}sc.controlType="custom-column";var dc={Designer:Ie,Runtime:sc,Property:Ba};class Ta extends j{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:we.controlName,this.datasourceBind=new on((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:we.controlCustomAttributes})}}class we extends K{constructor(e){super(e),this.props=new Ta(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}we.controlType="employee-column",we.controlName="\u4EBA\u5458",we.controlIcon="employee-column",we.controlFieldType=g.EMPLOYEES,we.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Ra extends z{constructor(e){super(e),this.props=new Ta(e==null?void 0:e.props)}}Ra.controlType="employee-column",Ra.controlFieldType=g.EMPLOYEES;var fc={Designer:we,Runtime:Ra,Property:Ta},S0=Object.freeze({__proto__:null,VarcharColumn:Yo,TextColumn:po,DecimalColumn:ec,TimescopeColumn:tc,TimestampColumn:nc,ArrayColumn:ic,DepartmentColumn:uc,AutoNumberColumn:ac,FileColumn:rc,ImageColumn:lc,PeopleColumn:oc,LocationColumn:cc,CustomColumn:dc,OrderColumn:Qo,OperationColumn:Jo,EmployeeColumn:fc});class B0 extends Ae{constructor(e){super(e),this.push({type:"object",fields:{}})}}class wi extends wu{constructor(e){var n,i,u,a,r,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 ve((u=e==null?void 0:e.search)!=null?u:{content:"\u67E5\u8BE2",isShow:!0}),this.cancel=new ve((a=e==null?void 0:e.cancel)!=null?a:{content:"\u91CD\u7F6E",isShow:!0}),this.isLoading=(r=e==null?void 0:e.isLoading)!=null?r:!1,this.custom=((l=e==null?void 0:e.custom)!=null?l:[]).map(o=>new ve(o)),this.queryTypeMap=(c=e==null?void 0:e.queryTypeMap)!=null?c:[]}}wi.RuntimeRules=B0;class Pa extends nv{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}}Pa.controlType="simple-search",Pa.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 hc extends sv{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:[]}}hc.controlType="simple-search";var yc={Designer:Pa,Runtime:hc,Property:wi},T0=Object.freeze({__proto__:null,SimpleSearch:yc});h.Address=Ql,h.AdvancedContainer=Ko,h.Amount=Kl,h.ArrayColumn=ic,h.AssignType=ze,h.Attachment=jl,h.AutoNumber=pl,h.AutoNumberColumn=ac,h.BatchDeleteButton=bl,h.BatchPrintListButton=ml,h.BatchPrintRecordListButton=gl,h.BatchSubmissionListButton=el,h.Button=jr,h.Calc=to,h.CardGroup=Do,h.Checkbox=Il,h.Col=Bo,h.CreateFormListButton=pr,h.CustomColumn=dc,h.DATE_CONFIG_TYPE=qr,h.DATE_LIMIT_TYPE=Ur,h.Dashboard=sl,h.DataView=Uo,h.DatePicker=Rl,h.DateRange=Dl,h.DecimalColumn=ec,h.Department=Zl,h.Department2=wo,h.DepartmentColumn=uc,h.DepartmentType=Mu,h.Divider=Zr,h.ElectronicSignature=Eo,h.ElectronicSignatureConfig=Wr,h.Employee=Hl,h.Employee2=vo,h.EmployeeColumn=fc,h.EncryptTypeEnum=Qr,h.Explain=xn,h.ExportListButton=nl,h.ExportRecordListButton=il,h.ExportTemplate=Fu,h.FileColumn=rc,h.FlexStyleConfig=Xr,h.FormSelectButton=al,h.Grid=So,h.GridRow=Po,h.GridTable=Zo,h.GridTableColumn=Mo,h.Image=Ul,h.ImageColumn=lc,h.ImportRecordListButton=ul,h.Input=Cl,h.InternalType=Nu,h.InvoiceCheckButton=yl,h.LINE_STYLE=Du,h.LimitDate=Dn,h.Link=Hr,h.ListSelectButton=rl,h.ListView=jo,h.ListViewSelect=fl,h.LocationColumn=cc,h.Number=Bl,h.OperationButton=vl,h.OperationColumn=Jo,h.OrderColumn=Qo,h.OrganizeType=ku,h.Page=Wo,h.Pagination=ol,h.PeopleColumn=oc,h.Position=Go,h.PositioningContainer=zo,h.PrintTemplate=Gr,h.Radio=Al,h.RichText=kl,h.Row=Ro,h.SCORE_TYPE=Pu,h.SUBTABLE_DEFAULT_MAX_HEIGHT=zr,h.Score=Gl,h.SearchDateRange=ao,h.SearchInput=ho,h.SearchNumberRange=io,h.Select=Nl,h.SelectMultiple=$l,h.SelectRelation=co,h.SimpleSearch=yc,h.SubTable=Xo,h.SubTableColumn=Fo,h.SubTableRow=Oo,h.SubmissionRecordListButton=tl,h.Tab=Lo,h.TabPane=No,h.Text=Vr,h.TextColumn=po,h.TextOcrButton=hl,h.Textarea=Fl,h.TimescopeColumn=tc,h.TimestampColumn=nc,h.Title=Yr,h.TitleConfigEnum=_e,h.Toolbox=Ho,h.Tree=mo,h.UndersignedPerson=xu,h.VarcharColumn=Yo,h.VueFormItem=lo,h.WPS=_o,h.WPSSetting=Kr,h.WpsOperationItem=Ou,h.baseControls=zv,h.columnControls=S0,h.formControls=$b,h.initExpression=ht,h.layoutControls=m0,h.listControls=_0,h.searchControls=T0,Object.defineProperty(h,"__esModule",{value:!0})});
|
|
1
|
+
var dE=Object.defineProperty,fE=Object.defineProperties;var hE=Object.getOwnPropertyDescriptors;var Zc=Object.getOwnPropertySymbols,yE=Object.getPrototypeOf,mE=Object.prototype.hasOwnProperty,vE=Object.prototype.propertyIsEnumerable,gE=Reflect.get;var Yc=(h,L,q)=>L in h?dE(h,L,{enumerable:!0,configurable:!0,writable:!0,value:q}):h[L]=q,we=(h,L)=>{for(var q in L||(L={}))mE.call(L,q)&&Yc(h,q,L[q]);if(Zc)for(var q of Zc(L))vE.call(L,q)&&Yc(h,q,L[q]);return h},_n=(h,L)=>fE(h,hE(L));var la=(h,L,q)=>gE(yE(h),q,L);var oa=(h,L,q)=>new Promise((Wi,Cn)=>{var Ki=me=>{try{bt(q.next(me))}catch(Et){Cn(Et)}},zi=me=>{try{bt(q.throw(me))}catch(Et){Cn(Et)}},bt=me=>me.done?Wi(me.value):Promise.resolve(me.value).then(Ki,zi);bt((q=q.apply(h,L)).next())});(function(h,L){typeof exports=="object"&&typeof module!="undefined"?L(exports):typeof define=="function"&&define.amd?define(["exports"],L):(h=typeof globalThis!="undefined"?globalThis:h||self,L(h.modelDrivenControls={}))})(this,function(h){"use strict";var L="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",q="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Wi="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",Cn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Ki="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",zi="{caption}\u5FC5\u586B",bt="\u8BF7\u8F93\u5165\u6807\u9898",me="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",Et="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",pc="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",es="\u8BF7\u7ED1\u5B9A\u8868\u5355",ts="\u8BF7\u7ED1\u5B9A\u5217\u8868",ns="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",is="\u8BF7\u8F93\u5165\u663E\u793A\u503C",us="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",rs="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",as="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",ls="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",os="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",cs="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",ss="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",ds="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",fs="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",hs="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",ys="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",ms="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",vs="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",gs="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",bs="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Es="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",_s="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Cs="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",ws="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Is="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",As="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Ss="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Ts="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Bs="\u8BF7\u9009\u62E9\u7701",Rs="\u8BF7\u9009\u62E9\u5E02",Ps="\u8BF7\u9009\u62E9\u533A",xs="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Ds="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Fs="\u8BF7\u8F93\u5165\u5217\u5BBD",Os="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",ks="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Ms="\u8BF7\u9009\u62E9\u63A7\u4EF6",Ns="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",$s="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Ls="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Vs="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Hs="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",qs="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",js="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Us="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Ws="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Ks="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",zs="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Gs="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Xs="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Qs="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Js="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Zs="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Ys="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",ps="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ed="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",td="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",nd="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",id={isNotNumber:L,isNotString:q,isNotObject:Wi,isNotArray:Cn,isNotBoolean:Ki,runtimeRequired:zi,pleaseEnterCaption:bt,pleaseEnterCaptionTip:me,pleaseEnterPlaceholder:Et,pleaseEnterFieldCode:pc,pleaseEnterForm:es,pleaseEnterList:ts,pleaseEnterProcess:ns,pleaseEnterLabel:is,pleaseEnterValue:us,bizKeyNotBindFiled:rs,pleaseSelectOneField:as,pleaseEnterNumberRange:ls,pleaseEnterAValueGreaterThanMin:os,pleaseEnterAValueLessThanMax:cs,numberRangeSetError:ss,stringRangeError:ds,attachmentMaxSize:fs,pleaseEnterTotalScoreSetting:hs,theTotalScoreMustNotBeLessThan1:ys,scoreDefaultValueRange:ms,attachmentLimitError:vs,PleaseReselectTheOptionalQuantity:gs,TheMaximumLengthIsGreaterThanTheMinimumLength:bs,TheMinimumLengthIsGreaterThanTheMaximumLength:Es,PleaseSelectTheCorrectOptionSettings:_s,optionIdIsRepeat:Cs,optionIsRequired:ws,pleaseEnterDataCode:Is,pleaseEnterValueFieldCode:As,pleaseEnterSvcCode:Ss,pleaseBindAtLeastOneDisplayValue:Ts,pleaseSelectProvince:Bs,pleaseSelectCity:Rs,pleaseSelectDistrict:Ps,limitRowsCannotBeLessThan0:xs,TheNumberOfRowsCannotBeLessThanMinRows:Ds,pleaseEnterColumnWidth:Fs,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Os,pleaseCompleteAllRulesAndConditions:ks,pleaseSelectControl:Ms,pleaseSelectAtLeastOneColumn:Ns,pleaseSelectFillBackMode:$s,pleaseSelectDashboard:Ls,rootNodeIsRequired:Vs,theViewNameCannotBeEmpty:Hs,pleaseSelectOcrType:qs,pleaseSelectAtLeastOneFieldToFillIn:js,pleaseChooseAtLeastOne:Us,pleaseEnterButtonContent:Ws,pleaseEnterDataCodeInDataSetting:Ks,pleaseEnterValueFieldCodeInDataSetting:zs,pleaseEnterSvcCodeInDataSetting:Gs,pleaseBindAtLeastOneDisplayValueInDataSetting:Xs,rootNodeIsRequiredInDataSetting:Qs,pleaseEnterMaxHeight:Js,pleaseEnter:Zs,pleaseEnterWatermark:Ys,pleaseEnterFileName:ps,pleaseUploadAtLeastOnePrintTemplate:ed,pleaseAssignBusiness:td,pleaseAssignExternal:nd},ud="Please enter a number",rd="Please enter a string",ad="Please enter an object",ld="Please enter an array",od="Please enter a boolean",cd="{caption} Required",sd="Please enter the title",dd="Please enter the bubble prompt",fd="Please enter the prompt text",hd="Please bind data items",yd="Please bind the form",md="Please bind the list",vd="Please bind the process",gd="Please enter the displayed value",bd="Please enter the stored value",Ed="The document number is not bound to the data item",_d="Please select at least one display field",Cd="Please enter a value greater than or equal to {min} and less than or equal to {max}",wd="Please enter a value greater than or equal to {min}",Id="Please enter a value less than or equal to {max}",Ad="The value range is set incorrectly",Sd="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Td="The attachment size must be between 0MB and 1000MB",Bd="Please fill in the total score setting",Rd="The total score cannot be less than 1",Pd="The default value must be between {min} and {max}",xd="The number of attachments uploaded must be between {min} and {max}",Dd="Please re-select the optional quantity",Fd="The maximum length of the control must be greater than the minimum length",Od="The minimum length of the control must be less than the maximum length",kd="Please select the correct option setting",Md="Option ID cannot be repeated",Nd="Please enter at least one option",$d="Please bind the data source",Ld="Please bind the stored value",Vd="Please bind the service",Hd="At least one display value must be bound",qd="Please select a province",jd="Please select a city",Ud="Please select a district",Wd="The minimum number of lines to fill in cannot be less than 0",Kd="The number of rows cannot be less than {min} rows",zd="Please enter the column width",Gd="Please set the logical relationship of all rule conditions",Xd="Please complete all rules and conditions",Qd="please select control",Jd="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Zd="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Yd="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",pd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",ef="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",tf="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",nf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",uf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",rf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",af="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",lf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",of="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",cf="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",sf="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",df="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ff="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",hf="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",yf="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",mf={isNotNumber:ud,isNotString:rd,isNotObject:ad,isNotArray:ld,isNotBoolean:od,runtimeRequired:cd,pleaseEnterCaption:sd,pleaseEnterCaptionTip:dd,pleaseEnterPlaceholder:fd,pleaseEnterFieldCode:hd,pleaseEnterForm:yd,pleaseEnterList:md,pleaseEnterProcess:vd,pleaseEnterLabel:gd,pleaseEnterValue:bd,bizKeyNotBindFiled:Ed,pleaseSelectOneField:_d,pleaseEnterNumberRange:Cd,pleaseEnterAValueGreaterThanMin:wd,pleaseEnterAValueLessThanMax:Id,numberRangeSetError:Ad,stringRangeError:Sd,attachmentMaxSize:Td,pleaseEnterTotalScoreSetting:Bd,theTotalScoreMustNotBeLessThan1:Rd,scoreDefaultValueRange:Pd,attachmentLimitError:xd,PleaseReselectTheOptionalQuantity:Dd,TheMaximumLengthIsGreaterThanTheMinimumLength:Fd,TheMinimumLengthIsGreaterThanTheMaximumLength:Od,PleaseSelectTheCorrectOptionSettings:kd,optionIdIsRepeat:Md,optionIsRequired:Nd,pleaseEnterDataCode:$d,pleaseEnterValueFieldCode:Ld,pleaseEnterSvcCode:Vd,pleaseBindAtLeastOneDisplayValue:Hd,pleaseSelectProvince:qd,pleaseSelectCity:jd,pleaseSelectDistrict:Ud,limitRowsCannotBeLessThan0:Wd,TheNumberOfRowsCannotBeLessThanMinRows:Kd,pleaseEnterColumnWidth:zd,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Gd,pleaseCompleteAllRulesAndConditions:Xd,pleaseSelectControl:Qd,pleaseSelectDashboard:Jd,theViewNameCannotBeEmpty:Zd,pleaseSelectOcrType:Yd,pleaseSelectAtLeastOneFieldToFillIn:pd,pleaseChooseAtLeastOne:ef,pleaseEnterButtonContent:tf,pleaseEnterDataCodeInDataSetting:nf,pleaseEnterValueFieldCodeInDataSetting:uf,pleaseEnterSvcCodeInDataSetting:rf,pleaseBindAtLeastOneDisplayValueInDataSetting:af,rootNodeIsRequiredInDataSetting:lf,pleaseEnterMaxHeight:of,pleaseEnter:cf,pleaseEnterWatermark:sf,pleaseEnterFileName:df,pleaseUploadAtLeastOnePrintTemplate:ff,pleaseAssignBusiness:hf,pleaseAssignExternal:yf},vf="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",gf="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",bf="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ef="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",_f="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Cf="{caption}\u5FC5\u9808",wf="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",If="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Af="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Sf="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Tf="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Bf="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Rf="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Pf="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",xf="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Df="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",Ff="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Of="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",kf="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Mf="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Nf="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",$f="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Lf="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Vf="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Hf="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",qf="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",jf="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Uf="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Wf="\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",Kf="\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",zf="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Gf="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Xf="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Qf="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Jf="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Zf="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Yf="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",pf="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",eh="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",th="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",nh="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",ih="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",uh="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",rh="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",ah="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",lh="please select control",oh="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",ch="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",sh="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",dh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",fh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",hh="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",yh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",mh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",vh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",gh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",bh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Eh="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",_h="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Ch="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",wh="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ih="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Ah="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Sh="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Th={isNotNumber:vf,isNotString:gf,isNotObject:bf,isNotArray:Ef,isNotBoolean:_f,runtimeRequired:Cf,pleaseEnterCaption:wf,pleaseEnterCaptionTip:If,pleaseEnterPlaceholder:Af,pleaseEnterFieldCode:Sf,pleaseEnterForm:Tf,pleaseEnterList:Bf,pleaseEnterProcess:Rf,pleaseEnterLabel:Pf,pleaseEnterValue:xf,bizKeyNotBindFiled:Df,pleaseSelectOneField:Ff,pleaseEnterNumberRange:Of,pleaseEnterAValueGreaterThanMin:kf,pleaseEnterAValueLessThanMax:Mf,numberRangeSetError:Nf,stringRangeError:$f,attachmentMaxSize:Lf,pleaseEnterTotalScoreSetting:Vf,theTotalScoreMustNotBeLessThan1:Hf,scoreDefaultValueRange:qf,attachmentLimitError:jf,PleaseReselectTheOptionalQuantity:Uf,TheMaximumLengthIsGreaterThanTheMinimumLength:Wf,TheMinimumLengthIsGreaterThanTheMaximumLength:Kf,PleaseSelectTheCorrectOptionSettings:zf,optionIdIsRepeat:Gf,optionIsRequired:Xf,pleaseEnterDataCode:Qf,pleaseEnterValueFieldCode:Jf,pleaseEnterSvcCode:Zf,pleaseBindAtLeastOneDisplayValue:Yf,pleaseSelectProvince:pf,pleaseSelectCity:eh,pleaseSelectDistrict:th,limitRowsCannotBeLessThan0:nh,TheNumberOfRowsCannotBeLessThanMinRows:ih,pleaseEnterColumnWidth:uh,pleaseSetTheLogicalRelationshipOfAllRuleConditions:rh,pleaseCompleteAllRulesAndConditions:ah,pleaseSelectControl:lh,pleaseSelectDashboard:oh,theViewNameCannotBeEmpty:ch,pleaseSelectOcrType:sh,pleaseSelectAtLeastOneFieldToFillIn:dh,pleaseChooseAtLeastOne:fh,pleaseEnterButtonContent:hh,pleaseEnterDataCodeInDataSetting:yh,pleaseEnterValueFieldCodeInDataSetting:mh,pleaseEnterSvcCodeInDataSetting:vh,pleaseBindAtLeastOneDisplayValueInDataSetting:gh,rootNodeIsRequiredInDataSetting:bh,pleaseEnterMaxHeight:Eh,pleaseEnter:_h,pleaseEnterWatermark:Ch,pleaseEnterFileName:wh,pleaseUploadAtLeastOnePrintTemplate:Ih,pleaseAssignBusiness:Ah,pleaseAssignExternal:Sh},Bh={zhCN:id,enUS:mf,jaJP:Th},ca;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(ca||(ca={}));var sa;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(sa||(sa={}));var Rh="zh-CN";function re(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var et;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(et||(et={}));var _;(function(t){t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",t.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",t.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",t.EXPORT_LIST_BUTTON="list-page-btn-export-list",t.LIST_SELECT_BUTTON="list-select-button",t.FORM_SELECT_BUTTON="form-select-button",t.LIST_VIEW_SELECT="list-view-select",t.TEXT_OCR_BUTTON="text-ocr-button",t.INVOICE_CHECK_BUTTON="invoice-check-button",t.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",t.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",t.VARCHAR_COLUMN="varchar-column",t.TEXT_COLUMN="text-column",t.DECIMAL_COLUMN="decimal-column",t.TIMESCOPE_COLUMN="timescope-column",t.TIMESTAMP_COLUMN="timestamp-column",t.ARRAY_COLUMN="array-column",t.DEPARTMENT_COLUMN="department-column",t.AUTO_NUMBER_COLUMN="auto-number-column",t.FILE_COLUMN="file-column",t.IMAGE_COLUMN="image-column",t.PEOPLE_COLUMN="people-column",t.LOCATION_COLUMN="location-column",t.CUSTOM_COLUMN="custom-column",t.ORDER_COLUMN="order-column",t.OPERATION_COLUMN="operation-column",t.EMPLOYEE_COLUMN="employee-column",t.ADDRESS="address",t.AMOUNT="amount",t.ATTACHMENT="attachment",t.AUTO_NUMBER="auto-number",t.CALC="calc",t.CHECKBOX="checkbox",t.DATE_PICKER="date-picker",t.DATE_RANGE="date-range",t.DEPARTMENT="department",t.EMPLOYEE="employee",t.IMAGE="image",t.INPUT="input",t.NUMBER="number",t.RADIO="radio",t.RICH_TEXT="rich-text",t.SCORE="score",t.SEARCH_DATE_RANGE="search-date-range",t.SEARCH_NUMBER_RANGE="search-number-range",t.SEARCH_INPUT="search-input",t.SELECT="select",t.SELECT_MULTIPLE="select-multiple",t.SELECT_RELATION="select-relation",t.VUE_FORM_ITEM="vue-form-item",t.TEXTAREA="textarea",t.EMAIL="email",t.FOOTER="footer",t.HEADER="header",t.ID_CARD="id-card",t.MOBILE="mobile",t.PHONE="phone",t.RADIO_IMAGE="radio-image",t.ELECTRONIC_SIGNATURE="electronic-signature",t.WPS="wps",t.CARD_GROUP="card-group",t.COL="col",t.GRID="grid",t.GRID_ROW="grid-row",t.GRID_TABLE_COLUMN="grid-table-column",t.ROW="row",t.TWO_COLUMNS="two-columns",t.SUBTABLE_COLUMN="subtable-column",t.SUBTABLE_ROW="subtable-row",t.TAB="tab",t.TAB_PANE="tab-pane",t.TOOLBOX="toolbox",t.DATA_VIEW="data-view",t.LIST_VIEW="list-view",t.SUBTABLE="subtable",t.GRID_TABLE="grid-table",t.SIMPLE_SEARCH="simple-search",t.PAGINATION="pagination",t.CHECKBOX_IMAGE="checkbox-image",t.DASHBOARD="dashboard",t.TREE="tree",t.EMPLOYEE2="employee2",t.DEPARTMENT2="department2"})(_||(_={}));var v;(function(t){t.VARCHAR="varchar",t.TEXT="text",t.ARRAY="array",t.ADDRESS="location",t.DECIMAL="decimal",t.DECIMAL_RANGE="decimal_range",t.TIMESTAMP="timestamp",t.EMPLOYEES="people",t.DEPARTMENTS="department",t.MONEY="money",t.TIMESCOPE="timescope",t.FILE="file",t.IMAGE="image",t.AUTO_NUMBER="auto_number",t.CALC="calc",t.RELATION="relation",t.LIST="list",t.RELATION_FIELD="relation-field",t.REFERENCE_FIELD="reference-field",t.CALC_FIELD="calc",t.JSON="json",t.BIGINT="bigint",t.ANY="ANY",t.ENCRYPTED_FIELD="encrypted_field"})(v||(v={}));var ee;ee={},re(ee,v.ARRAY,_.ARRAY_COLUMN),re(ee,v.AUTO_NUMBER,_.AUTO_NUMBER_COLUMN),re(ee,v.DECIMAL,_.DECIMAL_COLUMN),re(ee,v.DEPARTMENTS,_.DEPARTMENT_COLUMN),re(ee,v.FILE,_.FILE_COLUMN),re(ee,v.IMAGE,_.IMAGE_COLUMN),re(ee,v.ADDRESS,_.LOCATION_COLUMN),re(ee,v.EMPLOYEES,_.EMPLOYEE_COLUMN),re(ee,v.TEXT,_.TEXT_COLUMN),re(ee,v.TIMESCOPE,_.TIMESCOPE_COLUMN),re(ee,v.TIMESTAMP,_.TIMESTAMP_COLUMN),re(ee,v.VARCHAR,_.VARCHAR_COLUMN),re(ee,v.RELATION,_.VARCHAR_COLUMN);var Ie;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATETIME="datetime"})(Ie||(Ie={}));var da="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",Ph=da+"0123456789";function ve(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?da:Ph,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function Gi(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 xh(t){if(Array.isArray(t))return Gi(t)}function Dh(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fa(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Fh(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function wn(t,e,n){return Fh()?wn=Reflect.construct:wn=function(u,r,a){var l=[null];l.push.apply(l,r);var s=Function.bind.apply(u,l),o=new s;return a&&Ct(o,a.prototype),o},wn.apply(null,arguments)}function _t(t){return _t=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_t(t)}function ha(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&&Ct(t,e)}function Oh(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function kh(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Mh(){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 Nh(t,e){return e&&($h(e)==="object"||typeof e=="function")?e:Dh(t)}function Ct(t,e){return Ct=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ct(t,e)}function ya(t){return xh(t)||kh(t)||Lh(t)||Mh()}var $h=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Lh(t,e){if(!!t){if(typeof t=="string")return Gi(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 Gi(t,e)}}function Xi(t){var e=typeof Map=="function"?new Map:void 0;return Xi=function(i){if(i===null||!Oh(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 wn(i,arguments,_t(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Ct(u,i)},Xi(t)}function Vh(){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 ma(t){var e=Vh();return function(){var i=_t(t),u;if(e){var r=_t(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Nh(this,u)}}var Qi=console;function Ji(){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=Qi).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(ya(u)))}function va(){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=Qi).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(ya(u)))}function Hh(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Zi=function(t){ha(n,t);var e=ma(n);function n(i){fa(this,n);var u;return u=e.call(this,i),u.name="\u{1F4A5} Driven Error",u.message=i?Hh(i):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",u}return n}(Xi(Error)),qh=function(t){ha(n,t);var e=ma(n);function n(i){fa(this,n);var u;return u=e.call(this,i),u.name="\u{1F6A8} Driven Reference Error",u}return n}(Zi);function wt(t){throw new Zi(t)}function ga(t){throw new qh(t)}function jh(t){Qi.error(new Zi(t))}var Uh=Object.prototype.toString;function ba(t,e){return Uh.call(t)==="[object "+e+"]"}function Wh(t){return ba(t,"String")}function Kh(t){return ba(t,"Promise")}var zh=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();Kh(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&&!Wh(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 Gh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ea(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 Xh(t,e,n){return e&&Ea(t.prototype,e),n&&Ea(t,n),t}function Qh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var d=function(){function t(){Gh(this,t)}return Xh(t,null,[{key:"getMessage",value:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(n,"",i)}},{key:"resetI18n",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Rh;return new zh({locale:n,messages:Bh})}},{key:"setLocale",value:function(n){return this.$i18n.setLocale(n)}}]),t}();Qh(d,"$i18n",d.resetI18n());function Jh(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)){Ji("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 Zh=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Yh={exports:{}};(function(t){(function(e){var n=function(y,w,x){if(!o(w)||g(w)||b(w)||C(w)||s(w))return w;var F,$=0,ce=0;if(f(w))for(F=[],ce=w.length;$<ce;$++)F.push(n(y,w[$],x));else{F={};for(var D in w)Object.prototype.hasOwnProperty.call(w,D)&&(F[y(D,x)]=n(y,w[D],x))}return F},i=function(y,w){w=w||{};var x=w.separator||"_",F=w.split||/(?=[A-Z])/;return y.split(F).join(x)},u=function(y){return I(y)?y:(y=y.replace(/[\-_\s]+(.)?/g,function(w,x){return x?x.toUpperCase():""}),y.substr(0,1).toLowerCase()+y.substr(1))},r=function(y){var w=u(y);return w.substr(0,1).toUpperCase()+w.substr(1)},a=function(y,w){return i(y,w).toLowerCase()},l=Object.prototype.toString,s=function(y){return typeof y=="function"},o=function(y){return y===Object(y)},f=function(y){return l.call(y)=="[object Array]"},g=function(y){return l.call(y)=="[object Date]"},b=function(y){return l.call(y)=="[object RegExp]"},C=function(y){return l.call(y)=="[object Boolean]"},I=function(y){return y=y-0,y===y},E=function(y,w){var x=w&&"process"in w?w.process:w;return typeof x!="function"?y:function(F,$){return x(F,y,$)}},A={camelize:u,decamelize:a,pascalize:r,depascalize:a,camelizeKeys:function(y,w){return n(E(u,w),y)},decamelizeKeys:function(y,w){return n(E(a,w),y,w)},pascalizeKeys:function(y,w){return n(E(r,w),y)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=A:e.humps=A})(Zh)})(Yh);var _a={};Object.defineProperty(_a,"__esModule",{value:!0});function Yi(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:Yi(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:Yi(i)}return e}}var ph=_a.default=Yi;function Ae(t){if(t!==void 0)return typeof t=="object"?ph(t):t}function ey(t){return Object.prototype.toString.call(t)==="[object Object]"}function pi(t){return Array.isArray(t)}function ty(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function eu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function ny(t){if(Array.isArray(t))return eu(t)}function Ca(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 iy(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var r=t.apply(e,n);function a(s){Ca(r,i,u,a,l,"next",s)}function l(s){Ca(r,i,u,a,l,"throw",s)}a(void 0)})}}function uy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wa(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 ry(t,e,n){return e&&wa(t.prototype,e),n&&wa(t,n),t}function Ia(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ay(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function ly(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function tu(t){return ny(t)||ay(t)||oy(t)||ly()}function oy(t,e){if(!!t){if(typeof t=="string")return eu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return eu(t,e)}}var cy=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(f){return s([o,f])}}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(f){o=[6,f],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},sy=function(){function t(){uy(this,t),Ia(this,"_events",new Map),Ia(this,"debug",!1)}return ry(t,[{key:"emit",value:function(n){for(var i=arguments.length,u=new Array(i>1?i-1:0),r=1;r<i;r++)u[r-1]=arguments[r];var a=this;return iy(function(){var l,s,o,f,g,b,C,I,E,A,y,w;return cy(this,function(x){switch(x.label){case 0:if(l=a._events.get(n),s=[],!l)return[3,10];o=l.slice(),f=!0,g=!1,b=void 0,x.label=1;case 1:x.trys.push([1,8,9,10]),C=o[Symbol.iterator](),x.label=2;case 2:if(f=(I=C.next()).done)return[3,7];if(E=I.value,!l.includes(E))return[3,6];x.label=3;case 3:return x.trys.push([3,5,,6]),a.debug&&va.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(E.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+E.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"\u3002")].concat(tu(u))),[4,E.apply(null,tu(u))];case 4:return A=x.sent(),a.debug&&va.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(E.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+E.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(tu(u),[A])),s.push(A),A===!1?[3,7]:[3,6];case 5:return y=x.sent(),jh(String(y)),[3,6];case 6:return f=!0,[3,2];case 7:return[3,10];case 8:return w=x.sent(),g=!0,b=w,[3,10];case 9:try{!f&&C.return!=null&&C.return()}finally{if(g)throw b}return[7];case 10:return[2,s]}})})()}},{key:"on",value:function(n,i){if(this._events.has(n)){var u;(u=this._events.get(n))===null||u===void 0||u.push(i)}else this._events.set(n,[i])}},{key:"off",value:function(n,i){if(this._events.has(n)){var u=this._events.get(n),r=u==null?void 0:u.indexOf(i);u==null||u.splice(r,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),t}();function dy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Aa(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function fy(t,e,n){return e&&Aa(t.prototype,e),n&&Aa(t,n),t}function hy(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var yy=[{key:"on_click",name:"\u70B9\u51FB\u65F6",code:"click"},{key:"on_click_finish",name:"\u6267\u884C\u5B8C\u6210\u65F6",code:"click-finish"},{key:"on_change",name:"\u503C\u53D1\u751F\u53D8\u5316\u65F6",code:"change"},{key:"on_search",name:"\u641C\u7D22\u65F6",code:"search"},{key:"on_list_change",name:"\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",code:"list-change"},{key:"on_list_search",name:"\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",code:"list-search"},{key:"on_list_mounted",name:"\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",code:"list-mounted"},{key:"on_list_delete",name:"\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",code:"list-delete"},{key:"on_list_before_delete",name:"\u5217\u8868\u6570\u636E\u5220\u9664\u524D",code:"list-before-delete"},{key:"on_input",name:"\u7528\u6237\u8F93\u5165\u65F6",code:"input"},{key:"on_blur",name:"\u5931\u53BB\u7126\u70B9\u65F6",code:"blur"},{key:"on_focus",name:"\u83B7\u53D6\u7126\u70B9\u65F6",code:"focus"},{key:"on_wps_open",name:"\u6253\u5F00\u6587\u4EF6\u65F6",code:"wps-open"},{key:"on_wps_save",name:"\u4FDD\u5B58\u6587\u4EF6\u65F6",code:"wps-save"},{key:"on_wps_rename",name:"\u91CD\u547D\u540D\u65F6",code:"wps-rename"},{key:"on_list_actions",name:"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",code:"list-actions"},{key:"on_list_render_operation",name:"\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",code:"list-render-operation"},{key:"on_list_rowclick",name:"\u884C\u70B9\u51FB\u65F6",code:"list-rowclick"},{key:"on_list_before_rowdelete",name:"\u884C\u5220\u9664\u524D",code:"list-before-rowdelete"},{key:"on_list_before_import",name:"\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",code:"list-before-import"},{key:"on_list_rows_checked",name:"\u884C\u9009\u4E2D\u65F6",code:"list-rows-checked"},{key:"on_change_tab",name:"\u6807\u7B7E\u9875\u5207\u6362\u65F6",code:"change-tab"},{key:"on_modal_ok",name:"\u5F39\u7A97\u786E\u8BA4\u65F6",code:"modal-ok"}],my=function(){function t(){dy(this,t)}return fy(t,[{key:"getEventsFromKeys",value:function(n){var i=typeof n=="string"?[n]:n;return t.events.filter(function(u){return i.includes(u.key)})}}]),t}();hy(my,"events",yy);function vy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Sa(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 gy(t,e,n){return e&&Sa(t.prototype,e),n&&Sa(t,n),t}function Oe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Ta=[],nu=function(){function t(e){vy(this,t),Oe(this,"registeredControlTypes",new Set),Oe(this,"controlConfigMap",new Map),Oe(this,"_controls",[]),Oe(this,"_type",void 0),this._type=e,this._initControls(e)}return gy(t,[{key:"registerControlConfig",value:function(n,i){return this.controlConfigMap.set(n,i),this}},{key:"getControlConfig",value:function(n){return this.controlConfigMap.get(n)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(n){n.__is_control__||wt("".concat(n.name," is not a Control"));var i=this._controls.findIndex(function(u){return u.controlType===n.controlType});return i>-1&&(Ji("The ".concat(n.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(i,1)),this.registeredControlTypes.add(n.controlType),this._controls.push(n),this}},{key:"isLayoutControl",value:function(n){return n.controlType===et.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===et.FORM}},{key:"isListControl",value:function(n){return n.controlType===et.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===et.COLUMN}},{key:"createControl",value:function(n,i){var u=this;if(Array.isArray(n))return n.map(function(o){return u.createControl(o,i)});n.children&&(n.children=n.children.map(function(o){return u.createControl(o,i)})),this.isListControl(n)&&n.props.headers&&(n.props.headers=n.props.headers.map(function(o){return u.createControl(o,i)}));var r=this.getControlFormType(n.type);if(r){var a=n;if(typeof i=="function"){var l=i(a);l&&(a=l)}var s=new r(a);return s}else wt("The constructor of ".concat(n.type," could not be found, please confirm that the constructor has been registered"))}},{key:"createControlInstance",value:function(n,i){var u=this.getControlFormType(n);if(u)return new u(i)}},{key:"getControlFormType",value:function(n){return this._controls.find(function(i){return i.controlType===n})}},{key:"_initControls",value:function(n){var i=this;this.constructor.staticControls.forEach(function(u){i.register(u[n])})}}],[{key:"register",value:function(n){var i=n.Designer,u=n.Runtime;(!i||!u||!i.__is_control__||!u.__is_control__)&&wt("".concat(n," is can't register as a Control"));var r=this.staticControls.findIndex(function(a){return a.Designer.controlType===i.controlType});return r>-1&&(Ji("The ".concat(i.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(r,1)),this.staticRegisteredTypes.add(i.controlType),this.staticControls.push(n),this}}]),t}();Oe(nu,"staticControls",Ta),Oe(nu,"staticRegisteredTypes",new Set(Ta.map(function(t){return t.Designer.controlType}))),Oe(nu,"staticRegisteredConfigs",new Map);function j(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 m(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function In(t){return In=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},In(t)}function ge(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&iu(t,e)}function Ba(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function by(t,e){return e&&(Ey(e)==="object"||typeof e=="function")?e:j(t)}function iu(t,e){return iu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},iu(t,e)}var Ey=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function _y(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function be(t){var e=_y();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 by(this,u)}}var de=function t(e){S(this,t),m(this,"dataCode",void 0),m(this,"fieldCode",void 0),m(this,"fieldType",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:""},Cy=function t(e){S(this,t),m(this,"minWidth",void 0),m(this,"maxWidth",void 0),m(this,"flex",void 0);var n;this.minWidth=(n=e==null?void 0:e.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=e==null?void 0:e.maxWidth;var i;this.flex=(i=e==null?void 0:e.flex)!==null&&i!==void 0?i:1},uu=function t(e){S(this,t),m(this,"dataCode",void 0),m(this,"formKey",void 0),m(this,"appId",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.formKey=(i=e==null?void 0:e.formKey)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:""},wy=function(t){ge(n,t);var e=be(n);function n(i){S(this,n);var u;u=e.call(this,i),m(j(u),"primaryControlId",void 0);var r;return u.primaryControlId=(r=i==null?void 0:i.primaryControlId)!==null&&r!==void 0?r:"",u}return n}(uu),Ra=function t(e){S(this,t),m(this,"fieldCode",void 0);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:""},Pa=function t(e){S(this,t);var n;m(this,"appId",void 0),m(this,"formKey",void 0),m(this,"headers",void 0);var i;this.appId=(i=e==null?void 0:e.appId)!==null&&i!==void 0?i:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var r;this.headers=(r=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(a){return new Ra(a)}))!==null&&r!==void 0?r:[]},Iy=function t(e){S(this,t),m(this,"fieldName",void 0),m(this,"fieldCode",void 0),m(this,"fieldType",void 0);var n;this.fieldName=(n=e==null?void 0:e.fieldName)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:v.VARCHAR},Ay=function(t){ge(n,t);var e=be(n);function n(i){S(this,n);var u;u=e.call(this,i),m(j(u),"title",void 0),m(j(u),"svcCode",void 0),m(j(u),"isOpenFilter",void 0),m(j(u),"filters",void 0);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}(uu),Sy=function t(e){S(this,t);var n,i;m(this,"type","sublist-page"),m(this,"formBind",void 0),m(this,"displayFields",void 0),m(this,"sublists",void 0),this.formBind=new uu(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 Iy(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 Ay(a)}))!==null&&r!==void 0?r:[]},Ty=function t(e){S(this,t),m(this,"type",void 0),m(this,"value",void 0),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value},It=function t(e){S(this,t),m(this,"type",void 0),m(this,"value",void 0),m(this,"displayBos",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"custom";var i;this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:[];var u;this.displayBos=(u=e==null?void 0:e.displayBos)!==null&&u!==void 0?u:[]},By=function t(e){var n=this;S(this,t),m(this,"id",void 0),m(this,"ruleId",void 0),m(this,"type","conditions"),m(this,"level",void 0),m(this,"value",void 0),m(this,"children",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:ve();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 f,g=new xa(l);(f=n.children)===null||f===void 0||f.push(g)}}))},xa=function t(e){S(this,t),m(this,"id",void 0),m(this,"ruleId",void 0),m(this,"type","condition"),m(this,"symbol",void 0),m(this,"checked",void 0),m(this,"describe",void 0),m(this,"leftVariableBo",void 0),m(this,"rightVariableBo",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:ve();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 Ty(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new It(e==null?void 0:e.rightVariableBo)},ae=function t(e){S(this,t),m(this,"controlId",void 0),m(this,"fieldCode",void 0),m(this,"fieldType",void 0),m(this,"propName",void 0);var n;this.controlId=(n=e==null?void 0:e.controlId)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"";var r;this.propName=(r=e==null?void 0:e.propName)!==null&&r!==void 0?r:""},ru=function t(e){S(this,t),m(this,"type",void 0),m(this,"value",void 0),m(this,"fieldType",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"FIELD";var i;this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:"",this.fieldType=e==null?void 0:e.fieldType},Ry=function t(e){S(this,t),m(this,"columnName",void 0),m(this,"desc",void 0);var n;this.columnName=(n=e.columnName)!==null&&n!==void 0?n:"";var i;this.desc=(i=e.desc)!==null&&i!==void 0?i:!1};function au(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 By(r):new xa(r)}))!==null&&n!==void 0?n:[],Ba(this,te)||Ba(this,lu)){var i,u;this.orders=(u=t==null||(i=t.orders)===null||i===void 0?void 0:i.map(function(r){return new Ry(r)}))!==null&&u!==void 0?u:[]}}var te=function t(e){var n=this;S(this,t),m(this,"dataCode",void 0),m(this,"valueFieldCode",void 0),m(this,"displayBoList",void 0),m(this,"svcCode",void 0),m(this,"appId",void 0),m(this,"filters",void 0),m(this,"orders",void 0),m(this,"showOrder",void 0);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var 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 ru(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:"",au.call(this,e)},Py=function t(e){S(this,t);var n;m(this,"name",void 0),m(this,"key",void 0),m(this,"value",void 0);var i;this.name=(i=e==null?void 0:e.name)!==null&&i!==void 0?i:"";var u;this.key=(u=e==null?void 0:e.key)!==null&&u!==void 0?u:"";var r;this.value=(r=e==null||(n=e.value)===null||n===void 0?void 0:n.map(function(a){return new ru(a)}))!==null&&r!==void 0?r:[]},An=function(t){ge(n,t);var e=be(n);function n(i){S(this,n);var u,r;u=e.call(this,i),m(j(u),"attributes",void 0);var a;return u.attributes=(a=i==null||(r=i.attributes)===null||r===void 0?void 0:r.map(function(l){return new Py(l)}))!==null&&a!==void 0?a:[],u}return n}(te),xy=function(t){ge(n,t);var e=be(n);function n(i){S(this,n);var u;return u=e.call(this,i),m(j(u),"rootNode",void 0),u.rootNode=new It(i==null?void 0:i.rootNode),u}return n}(An),Da=function t(e){S(this,t);var n;m(this,"dataCode",void 0),m(this,"appId",void 0),m(this,"fillList",void 0);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var r;this.fillList=(r=e==null||(n=e.fillList)===null||n===void 0?void 0:n.map(function(a){return new ae(a)}))!==null&&r!==void 0?r:[]},lu=function(t){ge(n,t);var e=be(n);function n(i){S(this,n);var u;return u=e.call(this,i),m(j(u),"filters",void 0),m(j(u),"orders",void 0),au.call(j(u),i),u}return n}(Da),Fa=function(t){ge(n,t);var e=be(n);function n(i){S(this,n);var u;u=e.call(this,i),m(j(u),"mode",void 0),m(j(u),"multiple",void 0);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}(Da),Oa=function t(e){S(this,t),m(this,"stencilName",void 0),m(this,"expression",void 0),m(this,"errMessage",void 0);var n;this.stencilName=(n=e==null?void 0:e.stencilName)!==null&&n!==void 0?n:"";var i;this.expression=(i=e==null?void 0:e.expression)!==null&&i!==void 0?i:"";var u;this.errMessage=(u=e==null?void 0:e.errMessage)!==null&&u!==void 0?u:""},Dy=function t(e){S(this,t),m(this,"id",void 0),m(this,"label",void 0),m(this,"value",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:ve(8);var i;this.label=(i=e==null?void 0:e.label)!==null&&i!==void 0?i:"";var u;this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:this.label};function Ee(t){var e;return(e=t==null?void 0:t.map(function(n){return new Dy(n)}))!==null&&e!==void 0?e:[]}var ou=function t(){S(this,t)},Fy=function(t){ge(n,t);var e=be(n);function n(i){S(this,n);var u;return u=e.call(this),m(j(u),"amount",void 0),m(j(u),"currency",void 0),u.amount=new de(i==null?void 0:i.amount),u.currency=new de(i==null?void 0:i.currency),u}return n}(ou),Oy=function t(e){S(this,t),m(this,"amount",void 0),m(this,"currency",void 0);var n;this.amount=(n=e==null?void 0:e.amount)!==null&&n!==void 0?n:"";var i;this.currency=(i=e==null?void 0:e.currency)!==null&&i!==void 0?i:Sn.CNY},ky=function(t){ge(n,t);var e=be(n);function n(i){S(this,n);var u;return u=e.call(this),m(j(u),"min",void 0),m(j(u),"max",void 0),u.min=new de(i==null?void 0:i.min),u.max=new de(i==null?void 0:i.max),u}return n}(ou),My=function t(e){S(this,t),m(this,"min",void 0),m(this,"max",void 0);var n;this.min=(n=e==null?void 0:e.min)!==null&&n!==void 0?n:"";var i;this.max=(i=e==null?void 0:e.max)!==null&&i!==void 0?i:""},Ny=function t(e){S(this,t),m(this,"city",void 0),m(this,"cityDisplay",void 0),m(this,"district",void 0),m(this,"districtDisplay",void 0),m(this,"province",void 0),m(this,"provinceDisplay",void 0);var n;this.city=(n=e==null?void 0:e.city)!==null&&n!==void 0?n:"";var i;this.cityDisplay=(i=e==null?void 0:e.cityDisplay)!==null&&i!==void 0?i:"";var u;this.district=(u=e==null?void 0:e.district)!==null&&u!==void 0?u:"";var 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:""},$y=function(t){ge(n,t);var e=be(n);function n(i){S(this,n);var u;return u=e.call(this),m(j(u),"result",void 0),m(j(u),"unit",void 0),u.result=new de(i==null?void 0:i.result),u.unit=new de(i==null?void 0:i.unit),u}return n}(ou),Ly=function t(e){S(this,t),m(this,"result",void 0),m(this,"unit",void 0);var n;this.result=(n=e==null?void 0:e.result)!==null&&n!==void 0?n:0;var i;this.unit=(i=e==null?void 0:e.unit)!==null&&i!==void 0?i:""},Sn;(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"})(Sn||(Sn={}));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 cu;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(cu||(cu={}));var Se=function t(e){S(this,t),m(this,"isShow",void 0),m(this,"priorityProcess",void 0),m(this,"formKey",void 0),m(this,"content",void 0),m(this,"openType",void 0),m(this,"type",void 0);var n;this.isShow=(n=e==null?void 0:e.isShow)!==null&&n!==void 0?n:!0;var i;this.content=(i=e==null?void 0:e.content)!==null&&i!==void 0?i:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var r;this.openType=(r=e==null?void 0:e.openType)!==null&&r!==void 0?r:"modal";var a;this.type=(a=e==null?void 0:e.type)!==null&&a!==void 0?a:"";var l;this.priorityProcess=(l=e==null?void 0:e.priorityProcess)!==null&&l!==void 0?l:!1},Vy=function t(e){S(this,t);var n;m(this,"id",void 0),m(this,"title",void 0),m(this,"filters",void 0),m(this,"headers",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:ve(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 Ra(a)}))!==null&&r!==void 0?r:[],au.call(this,e)},Hy=function t(e){S(this,t),m(this,"width",void 0),m(this,"height",void 0),m(this,"widthConfig",void 0),m(this,"heightConfig",void 0);var n;this.width=(n=e==null?void 0:e.width)!==null&&n!==void 0?n:"";var i;this.height=(i=e==null?void 0:e.height)!==null&&i!==void 0?i:"";var u;this.widthConfig=(u=e==null?void 0:e.widthConfig)!==null&&u!==void 0?u:"fill";var r;this.heightConfig=(r=e==null?void 0:e.heightConfig)!==null&&r!==void 0?r:"fill"};function qy(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function su(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function jy(){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 Tn(t,e,n){return jy()?Tn=Reflect.construct:Tn=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},Tn.apply(null,arguments)}function ke(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function At(t){return At=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},At(t)}function Uy(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 Wy(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Ky(t,e){return e&&(zy(e)==="object"||typeof e=="function")?e:qy(t)}function St(t,e){return St=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},St(t,e)}var zy=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function du(t){var e=typeof Map=="function"?new Map:void 0;return du=function(i){if(i===null||!Wy(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 Tn(i,arguments,At(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),St(u,i)},du(t)}function Gy(){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 Xy(t){var e=Gy();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 Ky(this,u)}}var U=function t(e){su(this,t),ke(this,"isHide",{type:"boolean"})},Me=function(t){Uy(n,t);var e=Xy(n);function n(i){return su(this,n),e.call(this)}return n}(du(Array)),G=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";su(this,t),ke(this,"isHide",void 0),ke(this,"className",void 0),ke(this,"style",void 0),ke(this,"caption",void 0);var i;this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new Hy(e==null?void 0:e.style);var u;this.caption=(u=e==null?void 0:e.caption)!==null&&u!==void 0?u:n};ke(G,"Rules",U),ke(G,"RuntimeRules",Me);function he(){return he=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},he.apply(this,arguments)}function Qy(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function fu(t){return fu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fu(t)}function Bn(t,e){return Bn=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Bn(t,e)}function Jy(){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 Rn(t,e,n){return Jy()?Rn=Reflect.construct:Rn=function(u,r,a){var l=[null];l.push.apply(l,r);var s=Function.bind.apply(u,l),o=new s;return a&&Bn(o,a.prototype),o},Rn.apply(null,arguments)}function Zy(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function hu(t){var e=typeof Map=="function"?new Map:void 0;return hu=function(i){if(i===null||!Zy(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 Rn(i,arguments,fu(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Bn(u,i)},hu(t)}var Yy=/%[sdj%]/g,ka=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(ka=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function yu(t){if(!t||!t.length)return null;var e={};return t.forEach(function(n){var i=n.field;e[i]=e[i]||[],e[i].push(n)}),e}function le(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=1,u=e[0],r=e.length;if(typeof u=="function")return u.apply(null,e.slice(1));if(typeof u=="string"){var a=String(u).replace(Yy,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 py(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function W(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||py(e)&&typeof t=="string"&&!t)}function em(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 Ma(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 tm(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var Na=function(t){Qy(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}(hu(Error));function nm(t,e,n,i){if(e.first){var u=new Promise(function(g,b){var C=function(A){return i(A),A.length?b(new Na(A,yu(A))):g()},I=tm(t);Ma(I,n,C)});return u.catch(function(g){return g}),u}var r=e.firstFields||[];r===!0&&(r=Object.keys(t));var a=Object.keys(t),l=a.length,s=0,o=[],f=new Promise(function(g,b){var C=function(E){if(o.push.apply(o,E),s++,s===l)return i(o),o.length?b(new Na(o,yu(o))):g()};a.length||(i(o),g()),a.forEach(function(I){var E=t[I];r.indexOf(I)!==-1?Ma(E,n,C):em(E,n,C)})});return f.catch(function(g){return g}),f}function $a(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 La(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]=he(he({},t[n]),i):t[n]=i}}return t}function Va(t,e,n,i,u,r){t.required&&(!n.hasOwnProperty(t.field)||W(e,r||t.type))&&i.push(le(u.messages.required,t.fullField))}function im(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(le(u.messages.whitespace,t.fullField))}var mu={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},Tt={integer:function(e){return Tt.number(e)&&parseInt(e,10)===e},float:function(e){return Tt.number(e)&&!Tt.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"&&!Tt.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(mu.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(mu.url)},hex:function(e){return typeof e=="string"&&!!e.match(mu.hex)}};function um(t,e,n,i,u){if(t.required&&e===void 0){Va(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?Tt[a](e)||i.push(le(u.messages.types[a],t.fullField,t.type)):a&&typeof e!==t.type&&i.push(le(u.messages.types[a],t.fullField,t.type))}function rm(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,f=null,g=typeof e=="number",b=typeof e=="string",C=Array.isArray(e);if(g?f="number":b?f="string":C&&(f="array"),!f)return!1;C&&(o=e.length),b&&(o=e.replace(s,"_").length),r?o!==t.len&&i.push(le(u.messages[f].len,t.fullField,t.len)):a&&!l&&o<t.min?i.push(le(u.messages[f].min,t.fullField,t.min)):l&&!a&&o>t.max?i.push(le(u.messages[f].max,t.fullField,t.max)):a&&l&&(o<t.min||o>t.max)&&i.push(le(u.messages[f].range,t.fullField,t.min,t.max))}var tt="enum";function am(t,e,n,i,u){t[tt]=Array.isArray(t[tt])?t[tt]:[],t[tt].indexOf(e)===-1&&i.push(le(u.messages[tt],t.fullField,t[tt].join(", ")))}function lm(t,e,n,i,u){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(le(u.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var r=new RegExp(t.pattern);r.test(e)||i.push(le(u.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var T={required:Va,whitespace:im,type:um,range:rm,enum:am,pattern:lm};function om(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(W(e,"string")&&!t.required)return n();T.required(t,e,i,r,u,"string"),W(e,"string")||(T.type(t,e,i,r,u),T.range(t,e,i,r,u),T.pattern(t,e,i,r,u),t.whitespace===!0&&T.whitespace(t,e,i,r,u))}n(r)}function cm(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(W(e)&&!t.required)return n();T.required(t,e,i,r,u),e!==void 0&&T.type(t,e,i,r,u)}n(r)}function sm(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(e===""&&(e=void 0),W(e)&&!t.required)return n();T.required(t,e,i,r,u),e!==void 0&&(T.type(t,e,i,r,u),T.range(t,e,i,r,u))}n(r)}function dm(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(W(e)&&!t.required)return n();T.required(t,e,i,r,u),e!==void 0&&T.type(t,e,i,r,u)}n(r)}function fm(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(W(e)&&!t.required)return n();T.required(t,e,i,r,u),W(e)||T.type(t,e,i,r,u)}n(r)}function hm(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(W(e)&&!t.required)return n();T.required(t,e,i,r,u),e!==void 0&&(T.type(t,e,i,r,u),T.range(t,e,i,r,u))}n(r)}function ym(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(W(e)&&!t.required)return n();T.required(t,e,i,r,u),e!==void 0&&(T.type(t,e,i,r,u),T.range(t,e,i,r,u))}n(r)}function mm(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();T.required(t,e,i,r,u,"array"),e!=null&&(T.type(t,e,i,r,u),T.range(t,e,i,r,u))}n(r)}function vm(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(W(e)&&!t.required)return n();T.required(t,e,i,r,u),e!==void 0&&T.type(t,e,i,r,u)}n(r)}var gm="enum";function bm(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(W(e)&&!t.required)return n();T.required(t,e,i,r,u),e!==void 0&&T[gm](t,e,i,r,u)}n(r)}function Em(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(W(e,"string")&&!t.required)return n();T.required(t,e,i,r,u),W(e,"string")||T.pattern(t,e,i,r,u)}n(r)}function _m(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(W(e,"date")&&!t.required)return n();if(T.required(t,e,i,r,u),!W(e,"date")){var l;e instanceof Date?l=e:l=new Date(e),T.type(t,l,i,r,u),l&&T.range(t,l.getTime(),i,r,u)}}n(r)}function Cm(t,e,n,i,u){var r=[],a=Array.isArray(e)?"array":typeof e;T.required(t,e,i,r,u,a),n(r)}function vu(t,e,n,i,u){var r=t.type,a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(W(e,r)&&!t.required)return n();T.required(t,e,i,a,u,r),W(e,r)||T.type(t,e,i,a,u)}n(a)}function wm(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(W(e)&&!t.required)return n();T.required(t,e,i,r,u)}n(r)}var Bt={string:om,method:cm,number:sm,boolean:dm,regexp:fm,integer:hm,float:ym,array:mm,object:vm,enum:bm,pattern:Em,date:_m,url:vu,hex:vu,email:vu,required:Cm,any:wm};function gu(){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 bu=gu();function Te(t){this.rules=null,this._messages=bu,this.define(t)}Te.prototype={messages:function(e){return e&&(this._messages=La(gu(),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(E){var A,y=[],w={};function x(F){if(Array.isArray(F)){var $;y=($=y).concat.apply($,F)}else y.push(F)}for(A=0;A<E.length;A++)x(E[A]);y.length?w=yu(y):(y=null,w=null),l(y,w)}if(a.messages){var o=this.messages();o===bu&&(o=gu()),La(o,a.messages),a.messages=o}else a.messages=this.messages();var f,g,b={},C=a.keys||Object.keys(this.rules);C.forEach(function(E){f=u.rules[E],g=r[E],f.forEach(function(A){var y=A;typeof y.transform=="function"&&(r===e&&(r=he({},r)),g=r[E]=y.transform(g)),typeof y=="function"?y={validator:y}:y=he({},y),y.validator=u.getValidationMethod(y),y.field=E,y.fullField=y.fullField||E,y.type=u.getType(y),y.validator&&(b[E]=b[E]||[],b[E].push({rule:y,value:g,source:r,field:E}))})});var I={};return nm(b,a,function(E,A){var y=E.rule,w=(y.type==="object"||y.type==="array")&&(typeof y.fields=="object"||typeof y.defaultField=="object");w=w&&(y.required||!y.required&&E.value),y.field=E.field;function x(ce,D){return he(he({},D),{},{fullField:y.fullField+"."+ce})}function F(ce){ce===void 0&&(ce=[]);var D=ce;if(Array.isArray(D)||(D=[D]),!a.suppressWarning&&D.length&&Te.warning("async-validator:",D),D.length&&y.message!==void 0&&(D=[].concat(y.message)),D=D.map($a(y)),a.first&&D.length)return I[y.field]=1,A(D);if(!w)A(D);else{if(y.required&&!E.value)return y.message!==void 0?D=[].concat(y.message).map($a(y)):a.error&&(D=[a.error(y,le(a.messages.required,y.field))]),A(D);var ye={};if(y.defaultField)for(var Qc in E.value)E.value.hasOwnProperty(Qc)&&(ye[Qc]=y.defaultField);ye=he(he({},ye),E.rule.fields);for(var vt in ye)if(ye.hasOwnProperty(vt)){var sE=Array.isArray(ye[vt])?ye[vt]:[ye[vt]];ye[vt]=sE.map(x.bind(null,vt))}var Jc=new Te(ye);Jc.messages(a.messages),E.rule.options&&(E.rule.options.messages=a.messages,E.rule.options.error=a.error),Jc.validate(E.value,E.rule.options||a,function(aa){var gt=[];D&&D.length&>.push.apply(gt,D),aa&&aa.length&>.push.apply(gt,aa),A(gt.length?gt:null)})}}var $;y.asyncValidator?$=y.asyncValidator(y,E.value,F,E.source,a):y.validator&&($=y.validator(y,E.value,F,E.source,a),$===!0?F():$===!1?F(y.message||y.field+" fails"):$ instanceof Array?F($):$ instanceof Error&&F($.message)),$&&$.then&&$.then(function(){return F()},function(ce){return F(ce)})},function(E){s(E)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!Bt.hasOwnProperty(e.type))throw new Error(le("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if(typeof e.validator=="function")return e.validator;var n=Object.keys(e),i=n.indexOf("message");return i!==-1&&n.splice(i,1),n.length===1&&n[0]==="required"?Bt.required:Bt[this.getType(e)]||!1}},Te.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");Bt[e]=n},Te.warning=ka,Te.messages=bu,Te.validators=Bt;var Im={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 Am(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new Te(t);return n.messages(Object.assign(Im,e)),n}var Sm=new sy;function Eu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Tm(t){if(Array.isArray(t))return t}function Bm(t){if(Array.isArray(t))return Eu(t)}function Ha(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 qa(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var r=t.apply(e,n);function a(s){Ha(r,i,u,a,l,"next",s)}function l(s){Ha(r,i,u,a,l,"throw",s)}a(void 0)})}}function Rm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ja(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 Pm(t,e,n){return e&&ja(t.prototype,e),n&&ja(t,n),t}function O(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 Wa(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function xm(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Dm(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Ka(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){O(t,u,n[u])})}return t}function Fm(t){return Tm(t)||Wa(t)||za(t)||xm()}function _u(t){return Bm(t)||Wa(t)||za(t)||Dm()}function za(t,e){if(!!t){if(typeof t=="string")return Eu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Eu(t,e)}}var Ga=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(f){return s([o,f])}}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(f){o=[6,f],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},k=function(){function e(n){var i=this;Rm(this,e),O(this,"id",void 0),O(this,"name",void 0),O(this,"icon",void 0),O(this,"type",void 0),O(this,"controlType",void 0),O(this,"props",void 0),O(this,"setting",[]),O(this,"fieldType",void 0),O(this,"eventKeys",[]),O(this,"customEvents",[]),O(this,"parent",null),O(this,"updateSetting",Qa),O(this,"removeSetting",Xa),this._callControlHooks("preInstance",n);var u=Ua(this,e)?this.constructor:void 0,r=u.controlName,a=u.controlIcon,l=u.controlType,s=u.controlFieldType,o=u.controlEventKeys,f=u.controlCustomEvents,g=u.name,b=u.setting;r&&a&&l||ga("The ".concat(g," controlName,controlIcon,controlType is not define"));var C;this.id=(C=n==null?void 0:n.id)!==null&&C!==void 0?C:ve(10),this.name=r,this.icon=a;var I;this.type=(I=n==null?void 0:n.type)!==null&&I!==void 0?I:l,this.props=new G(n==null?void 0:n.props,(Ua(this,e)?this.constructor:void 0).controlName);var E;this.controlType=(E=n==null?void 0:n.controlType)!==null&&E!==void 0?E:"base",this.setting=Ae(b);var A;this.fieldType=(A=n==null?void 0:n.fieldType)!==null&&A!==void 0?A:s,this.eventKeys=Ae(o),this.customEvents=Ae(f),Promise.resolve().then(function(){i._callControlHooks("postInstance",n)})}return Pm(e,[{key:"rules",get:function(){var i=this.props.constructor.Rules;return i?new i(this.props):{}}},{key:"_callControlHooks",value:function(){for(var i=arguments.length,u=new Array(i),r=0;r<i;r++)u[r]=arguments[r];var a,l=Fm(u),s=l[0],o=l.slice(1);return(a=Sm).emit.apply(a,[s,this].concat(_u(o)))}},{key:"preUpdate",value:function(i,u){this._callControlHooks("preUpdateProps",i,u)}},{key:"postUpdate",value:function(i,u){this._callControlHooks("postUpdateProps",i,u)}},{key:"updateProps",value:function(i,u){this.preUpdate(i,u),Jh(this.props,i,u),this.postUpdate(i,u)}},{key:"preValidate",value:function(){var i=this;return qa(function(){var u,r,a;return Ga(this,function(l){switch(l.label){case 0:return u=Ka({},i.rules),[4,i._callControlHooks("preValidate",u)];case 1:return r=l.sent(),a=r[r.length-1],[2,a===!1?void 0:a]}})})()}},{key:"validate",value:function(i,u){var r=this;return qa(function(){var a,l,s,o;return Ga(this,function(f){switch(f.label){case 0:return[4,r.preValidate()];case 1:a=f.sent(),l=a!==void 0?a:Ka({},r.rules),Array.isArray(u)&&u.forEach(function(g){l.hasOwnProperty(g)&&delete l[g]}),s=Am(l,i),f.label=2;case 2:return f.trys.push([2,4,,5]),[4,s.validate(r.props)];case 3:return f.sent(),[2,!0];case 4:throw o=f.sent(),o.control||(o.control=r),o;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=this.fieldType,r=this.id,a=this.type,l=this.props,s=l.dataBind,o=l.datasourceBind,f=l.optionConfig,g=l.caption,b=l.required,C=l.maxLength,I=l.options,E=l.encrypted,A=l.encryptedMode;if(!(!u&&!s&&!o)){var y={parentId:i,fieldType:u,controlId:r,caption:g,type:a,props:{}};switch(s&&(y.dataBind=s),f){case"datasource":case void 0:o&&(y.datasourceBind=o);break;case"custom":y.props.options=I;break}return b!==void 0&&(y.required=b),C!==void 0&&(y.maxLength=C),E!==void 0&&(y.encrypted=E),A!==void 0&&(y.encryptedMode=A),y}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:Ae(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(i,u){if(i==="setting"){if(u.add){var r;(r=this.setting).push.apply(r,_u(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),e}();O(k,"controlName","\u63A7\u4EF6"),O(k,"controlIcon","icon"),O(k,"controlType","control"),O(k,"controlFieldType",void 0),O(k,"controlEventKeys",[]),O(k,"controlCustomEvents",[]),O(k,"setting",[]),O(k,"__is_control__",!0),O(k,"removeSettingItem",Xa),O(k,"updateSettingItem",Qa);function Xa(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 Qa(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,_u(e.showItems))}}}})}function Om(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ja(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 km(t,e,n){return e&&Ja(t.prototype,e),n&&Ja(t,n),t}function se(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Mm(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var X=function(){function e(n){Om(this,e),se(this,"id",void 0),se(this,"type",void 0),se(this,"controlType",void 0),se(this,"props",void 0),se(this,"fieldType",void 0),se(this,"customEvents",[]),se(this,"pageStatus",void 0),se(this,"parent",null);var i=Mm(this,e)?this.constructor:void 0,u=i.controlType,r=i.controlFieldType,a=i.name,l=i.controlCustomEvents;u||ga("The ".concat(a," controlType is not define"));var s;this.id=(s=n==null?void 0:n.id)!==null&&s!==void 0?s:ve(10);var o;this.type=(o=n==null?void 0:n.type)!==null&&o!==void 0?o:u,this.props=new G(n==null?void 0:n.props),this.customEvents=l;var f;this.controlType=(f=n==null?void 0:n.controlType)!==null&&f!==void 0?f:"base";var g;this.fieldType=(g=n==null?void 0:n.fieldType)!==null&&g!==void 0?g:r;var b;this.pageStatus=(b=n==null?void 0:n.pageStatus)!==null&&b!==void 0?b:cu.UNKNOWN}return km(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}();se(X,"controlType","control"),se(X,"controlFieldType",void 0),se(X,"__is_control__",!0),se(X,"controlCustomEvents",[]);function Cu(t){t.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),t.hasOwnProperty("options")||(this.options={type:"any"}),t.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),t.hasOwnProperty("options")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="custom")?this.options=[{type:"array",message: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=ty(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 wu(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 M(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Pn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function N(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function xn(t){return xn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xn(t)}function Dn(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 Nm(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function $m(t,e){return e&&(Lm(e)==="object"||typeof e=="function")?e:M(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 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 Fn(t){var e=Vm();return function(){var i=xn(t),u;if(e){var r=xn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return $m(this,u)}}var ne=function(t){Dn(n,t);var e=Fn(n);function n(i){Pn(this,n);var u;u=e.call(this,i),N(M(u),"dataBind",{}),N(M(u),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),N(M(u),"isHideCaption",{type:"boolean"}),N(M(u),"labelPosition",{type:"enum",enum:["top","left"]}),N(M(u),"defaultState",{type:"enum",enum:["default","readonly"]}),N(M(u),"required",{type:"boolean"}),N(M(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(Nm(i.dataBind,de))u.dataBind={type:"object",required:!0,fields:Ae(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:Ae(r),message:d.getMessage("pleaseEnterFieldCode")}}),u.dataBind=a}return i.isShowCaptionTip&&(u.captionTip.required=!0),u}return n}(U),V=function(t){Dn(n,t);var e=Fn(n);function n(i){Pn(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}(Me),B=function(t){Dn(n,t);var e=Fn(n);function n(i){Pn(this,n);var u;u=e.call(this,i),N(M(u),"caption",void 0),N(M(u),"isHideCaption",void 0),N(M(u),"isShowCaptionTip",void 0),N(M(u),"captionTip",void 0),N(M(u),"labelPosition",void 0),N(M(u),"dataBind",void 0),N(M(u),"defaultValue",void 0),N(M(u),"placeholder",void 0),N(M(u),"defaultState",void 0),N(M(u),"required",void 0),N(M(u),"requiredMessage",void 0);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 f;u.labelPosition=(f=i==null?void 0:i.labelPosition)!==null&&f!==void 0?f:"top";var g;u.placeholder=(g=i==null?void 0:i.placeholder)!==null&&g!==void 0?g:"";var b;u.required=(b=i==null?void 0:i.required)!==null&&b!==void 0?b:!1;var C;u.requiredMessage=(C=i==null?void 0:i.requiredMessage)!==null&&C!==void 0?C:"",u.dataBind=new de(i==null?void 0:i.dataBind);var I;return u.defaultValue=(I=i==null?void 0:i.defaultValue)!==null&&I!==void 0?I:"",u}return n}(G);N(B,"Rules",ne),N(B,"RuntimeRules",V);var nt=function(t){Dn(n,t);var e=Fn(n);function n(i){Pn(this,n);var u;return u=e.call(this,i),N(M(u),"optionConfig",{type:"enum",enum:["custom","datasource"],message:d.getMessage("PleaseSelectTheCorrectOptionSettings")}),N(M(u),"options",[{type:"array",message:d.getMessage("isNotArray")}]),N(M(u),"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),Cu.call(M(u),i),u}return n}(ne);function Au(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Hm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function On(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function kn(t){return kn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kn(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&&Su(t,e)}function jm(t,e){return e&&(Um(e)==="object"||typeof e=="function")?e:Au(t)}function Su(t,e){return Su=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Su(t,e)}var Um=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Wm(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Km(t){var e=Wm();return function(){var i=kn(t),u;if(e){var r=kn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return jm(this,u)}}var R=function(t){qm(n,t);var e=Km(n);function n(i){Hm(this,n);var u;return u=e.call(this,i),On(Au(u),"controlType","form"),On(Au(u),"props",void 0),u.props=new B(i==null?void 0:i.props),u}return n}(k);On(R,"controlEventKeys",["on_change","on_focus","on_blur"]),On(R,"controlCustomAttributes",void 0);function Mn(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function zm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Tu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Nn(t){return Nn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nn(t)}function Gm(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 Xm(t,e){return e&&(Qm(e)==="object"||typeof e=="function")?e:Mn(t)}function Bu(t,e){return Bu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Bu(t,e)}var Qm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Jm(){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=Jm();return function(){var i=Nn(t),u;if(e){var r=Nn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Xm(this,u)}}var P=function(t){Gm(n,t);var e=Zm(n);function n(i){zm(this,n);var u;return u=e.call(this,i),Tu(Mn(u),"controlType","form"),Tu(Mn(u),"props",void 0),Tu(Mn(u),"value",void 0),u.props=new B(i==null?void 0:i.props),u}return n}(X);function Ym(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function pm(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 ev(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ru(t,e)}function tv(t,e){return e&&(nv(e)==="object"||typeof e=="function")?e:Ym(t)}function Ru(t,e){return Ru=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ru(t,e)}var nv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function iv(){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 uv(t){var e=iv();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 tv(this,u)}}var H=function(t){ev(n,t);var e=uv(n);function n(i){return pm(this,n),e.call(this,i)}return n}(G);function Pu(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 rv(t){if(Array.isArray(t))return Pu(t)}function av(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function lv(){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 Za(t){return rv(t)||av(t)||ov(t)||lv()}function ov(t,e){if(!!t){if(typeof t=="string")return Pu(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 Pu(t,e)}}function cv(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function Ya(t,e){t.parent=e,cv(t,"parent")}function sv(t,e){t.forEach(function(n){Ya(n,e)})}var pa=Symbol("targetKey");function el(t){var e;return(e=t[pa])!==null&&e!==void 0?e:t}function tl(t,e){return sv(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===pa?i:(s=Reflect).get.apply(s,[i,u].concat(Za(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(pi(t)&&u==="length"&&r===t.length)return!0;var f=(o=Reflect).set.apply(o,[i,u,r].concat(Za(l)));return ey(r)&&Ya(r,e),f}})}function _e(t,e,n,i){var u=i!=null?i:t,r=tl(el(n!=null?n:[]),u);Object.defineProperty(t,e,{get:function(){return r},set:function(l){r=tl(el(l),u)},enumerable:!0})}function xu(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 dv(t){if(Array.isArray(t))return xu(t)}function Ne(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function nl(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 fv(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var r=t.apply(e,n);function a(s){nl(r,i,u,a,l,"next",s)}function l(s){nl(r,i,u,a,l,"throw",s)}a(void 0)})}}function hv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function il(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function yv(t,e,n){return e&&il(t.prototype,e),n&&il(t,n),t}function Be(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function it(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?it=Reflect.get:it=function(u,r,a){var l=Iv(u,r);if(!!l){var s=Object.getOwnPropertyDescriptor(l,r);return s.get?s.get.call(a):s.value}},it(t,e,n||t)}function Re(t){return Re=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Re(t)}function mv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Du(t,e)}function vv(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function gv(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function bv(){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 Ev(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){Be(t,u,n[u])})}return t}function _v(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 Cv(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):_v(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function wv(t,e){return e&&(Av(e)==="object"||typeof e=="function")?e:Ne(t)}function Du(t,e){return Du=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Du(t,e)}function Iv(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Re(t),t!==null););return t}function ul(t){return dv(t)||gv(t)||Sv(t)||bv()}var Av=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Sv(t,e){if(!!t){if(typeof t=="string")return xu(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 xu(t,e)}}function Tv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Bv(t){var e=Tv();return function(){var i=Re(t),u;if(e){var r=Re(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return wv(this,u)}}var Rv=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(f){return s([o,f])}}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(f){o=[6,f],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},Pv=1e4,K=function(e){mv(i,e);var n=Bv(i);function i(u){hv(this,i);var r;r=n.call(this,u),Be(Ne(r),"controlType","layout"),Be(Ne(r),"children",void 0),Be(Ne(r),"excludes",void 0),Be(Ne(r),"childrenMaxLength",void 0),Be(Ne(r),"props",void 0);var a=vv(this,i)?this.constructor:void 0,l=a.excludes,s=a.childrenMaxLength;return r.props=new H(u==null?void 0:u.props),_e(Ne(r),"children",u==null?void 0:u.children),r.excludes=Ae(l),r.childrenMaxLength=s,r}return yv(i,[{key:"judgeExcludesChildren",value:function(r){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(r)}},{key:"judgeJoinChildren",value:function(r){var a=this.judgeExcludesChildren(r);return a&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(r,a){var l=this,s=this,o=function(){return it(Re(i.prototype),"validate",l)};return fv(function(){return Rv(this,function(f){switch(f.label){case 0:return[4,o().call(s,r,a)];case 1:return f.sent(),[4,Promise.all(s.children.map(function(g){return g.validate(r,a)}))];case 2:return f.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,a=it(Re(i.prototype),"toDataBindModel",this).call(this),l=a?[a]:[];return this.children.reduce(function(s,o){var f=o.toDataBindModel(r);if(Array.isArray(f)){var g=f.filter(function(b){return!!b});return ul(s).concat(ul(g))}return f&&s.push(f),s},l)}},{key:"toSchema",value:function(){var r=it(Re(i.prototype),"toSchema",this).call(this),a=this.children.map(function(l){var s=l.toSchema();return s});return Cv(Ev({},r),{children:a})}}]),i}(k);Be(K,"excludes",!1),Be(K,"childrenMaxLength",Pv);function Rt(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 Fu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ln(t){return Ln=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ln(t)}function Dv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ou(t,e)}function Fv(t,e){return e&&(Ov(e)==="object"||typeof e=="function")?e:Rt(t)}function Ou(t,e){return Ou=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ou(t,e)}var Ov=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function kv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Mv(t){var e=kv();return function(){var i=Ln(t),u;if(e){var r=Ln(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Fv(this,u)}}var Q=function(t){Dv(n,t);var e=Mv(n);function n(i){xv(this,n);var u;return u=e.call(this,i),Fu(Rt(u),"controlType","layout"),Fu(Rt(u),"children",void 0),Fu(Rt(u),"props",void 0),u.props=new H(i==null?void 0:i.props),_e(Rt(u),"children",i==null?void 0:i.children),u}return n}(X);function ku(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Nv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $v(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Vn(t){return Vn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vn(t)}function Lv(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&&Mu(t,e)}function Vv(t,e){return e&&(Hv(e)==="object"||typeof e=="function")?e:ku(t)}function Mu(t,e){return Mu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Mu(t,e)}var Hv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function qv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function jv(t){var e=qv();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 Vv(this,u)}}var Hn=function(t){Lv(n,t);var e=jv(n);function n(i,u){Nv(this,n);var r;return r=e.call(this,u),$v(ku(r),"headers",void 0),_e(ku(r),"headers",u==null?void 0:u.headers,i),r}return n}(G);function Nu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Uv(t){if(Array.isArray(t))return Nu(t)}function qn(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function rl(t,e,n,i,u,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 Wv(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var r=t.apply(e,n);function a(s){rl(r,i,u,a,l,"next",s)}function l(s){rl(r,i,u,a,l,"throw",s)}a(void 0)})}}function Kv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function al(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function zv(t,e,n){return e&&al(t.prototype,e),n&&al(t,n),t}function jn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ut(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ut=Reflect.get:ut=function(u,r,a){var l=Yv(u,r);if(!!l){var s=Object.getOwnPropertyDescriptor(l,r);return s.get?s.get.call(a):s.value}},ut(t,e,n||t)}function Pe(t){return Pe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pe(t)}function Gv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&$u(t,e)}function Xv(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Qv(){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 ll(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){jn(t,u,n[u])})}return t}function Jv(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(u){return Object.getOwnPropertyDescriptor(t,u).enumerable})),n.push.apply(n,i)}return n}function ol(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Jv(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function Zv(t,e){return e&&(pv(e)==="object"||typeof e=="function")?e:qn(t)}function $u(t,e){return $u=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},$u(t,e)}function Yv(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Pe(t),t!==null););return t}function cl(t){return Uv(t)||Xv(t)||eg(t)||Qv()}var pv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function eg(t,e){if(!!t){if(typeof t=="string")return Nu(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 Nu(t,e)}}function tg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function ng(t){var e=tg();return function(){var i=Pe(t),u;if(e){var r=Pe(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Zv(this,u)}}var ig=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(f){return s([o,f])}}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(f){o=[6,f],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},Lu=function(t){Gv(n,t);var e=ng(n);function n(i){Kv(this,n);var u;return u=e.call(this,i),jn(qn(u),"controlType","list"),jn(qn(u),"props",void 0),u.props=new Hn(qn(u),i==null?void 0:i.props),u}return zv(n,[{key:"validate",value:function(u,r){var a=this,l=this,s=function(){return ut(Pe(n.prototype),"validate",a)};return Wv(function(){return ig(this,function(o){switch(o.label){case 0:return[4,s().call(l,u)];case 1:return o.sent(),[4,Promise.all(l.props.headers.map(function(f){return f.validate(u,r)}))];case 2:return o.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var u=ut(Pe(n.prototype),"toDataBindModel",this).call(this),r=u?[u]:[],a=this.id;return this.props.headers.reduce(function(l,s){var o=s.toDataBindModel(a);if(Array.isArray(o)){var f=o.filter(function(g){return!!g});return cl(l).concat(cl(f))}return o&&l.push(o),l},r)}},{key:"toSchema",value:function(){var u=ut(Pe(n.prototype),"toSchema",this).call(this),r=this.props.headers.map(function(a){return a.toSchema()});return ol(ll({},u),{props:ol(ll({},this.props),{headers:r})})}}]),n}(k);jn(Lu,"controlFieldType",v.LIST);function rt(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ug(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function sl(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 rg(t,e,n){return e&&sl(t.prototype,e),n&&sl(t,n),t}function Vu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Un(t){return Un=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Un(t)}function ag(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Hu(t,e)}function lg(t,e){return e&&(og(e)==="object"||typeof e=="function")?e:rt(t)}function Hu(t,e){return Hu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Hu(t,e)}var og=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function cg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function sg(t){var e=cg();return function(){var i=Un(t),u;if(e){var r=Un(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return lg(this,u)}}var dl=function(t){ag(n,t);var e=sg(n);function n(i){ug(this,n);var u;return u=e.call(this,i),Vu(rt(u),"controlType","list"),Vu(rt(u),"children",void 0),Vu(rt(u),"props",void 0),u.props=new Hn(rt(u),i==null?void 0:i.props),_e(rt(u),"children",i==null?void 0:i.children),u}return rg(n,[{key:"length",get:function(){return this.children.length}}]),n}(X);function J(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function qu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Z(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Wn(t){return Wn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wn(t)}function ju(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Uu(t,e)}function dg(t,e){return e&&(fg(e)==="object"||typeof e=="function")?e:J(t)}function Uu(t,e){return Uu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Uu(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 Wu(t){var e=hg();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 dg(this,u)}}var Ku=function(t){ju(n,t);var e=Wu(n);function n(i){qu(this,n);var u;return u=e.call(this,i),Z(J(u),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),Z(J(u),"width",{type:"number",required:!1,message:d.getMessage("pleaseEnterColumnWidth")}),u.width.required=i.widthType==="px",u}return n}(U),z=function(t){ju(n,t);var e=Wu(n);function n(i){qu(this,n);var u;u=e.call(this,i),Z(J(u),"widthType",void 0),Z(J(u),"width",void 0),Z(J(u),"caption",void 0),Z(J(u),"dataBind",void 0),Z(J(u),"autoWidth",void 0),Z(J(u),"fixed",void 0),Z(J(u),"sort",void 0),Z(J(u),"align",void 0),Z(J(u),"colSpan",void 0),Z(J(u),"autoHeight",void 0);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.autoWidth=new Cy(i==null?void 0:i.autoWidth),u.dataBind=new de(i==null?void 0:i.dataBind);var s;u.sort=(s=i==null?void 0:i.sort)!==null&&s!==void 0?s:!0,u.align=i==null?void 0:i.align,u.colSpan=i==null?void 0:i.colSpan;var o;return u.autoHeight=(o=i==null?void 0:i.autoHeight)!==null&&o!==void 0?o:!1,u}return n}(G);Z(z,"Rules",Ku);var fl=function(t){ju(n,t);var e=Wu(n);function n(i){qu(this,n);var u;return u=e.call(this,i),Z(J(u),"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:d.getMessage("PleaseSelectTheCorrectOptionSettings")}),Z(J(u),"options",[{type:"array",message:d.getMessage("isNotArray")}]),Z(J(u),"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),Cu.call(J(u),i),u}return n}(Ku);function zu(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function yg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function hl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Kn(t){return Kn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Kn(t)}function mg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Gu(t,e)}function vg(t,e){return e&&(gg(e)==="object"||typeof e=="function")?e:zu(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 bg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Eg(t){var e=bg();return function(){var i=Kn(t),u;if(e){var r=Kn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return vg(this,u)}}var Y=function(t){mg(n,t);var e=Eg(n);function n(i){yg(this,n);var u;return u=e.call(this,i),hl(zu(u),"controlType","column"),hl(zu(u),"props",void 0),u.props=new z(i==null?void 0:i.props),u}return n}(k);function Xu(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _g(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function yl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function zn(t){return zn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zn(t)}function 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&&Qu(t,e)}function wg(t,e){return e&&(Ig(e)==="object"||typeof e=="function")?e:Xu(t)}function Qu(t,e){return Qu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Qu(t,e)}var Ig=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 Sg(t){var e=Ag();return function(){var i=zn(t),u;if(e){var r=zn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return wg(this,u)}}var p=function(t){Cg(n,t);var e=Sg(n);function n(i){_g(this,n);var u;return u=e.call(this,i),yl(Xu(u),"controlType","column"),yl(Xu(u),"props",void 0),u.props=new z(i==null?void 0:i.props),u}return n}(X);function ml(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Tg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Bg(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Gn(t){return Gn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gn(t)}function 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&&Ju(t,e)}function Pg(t,e){return e&&(xg(e)==="object"||typeof e=="function")?e:ml(t)}function Ju(t,e){return Ju=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ju(t,e)}var xg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Dg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Fg(t){var e=Dg();return function(){var i=Gn(t),u;if(e){var r=Gn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Pg(this,u)}}var Zu=function(t){Rg(n,t);var e=Fg(n);function n(i){Tg(this,n);var u;return u=e.call(this,i),Bg(ml(u),"dataBind",void 0),u.dataBind=new de(i==null?void 0:i.dataBind),u}return n}(H);function Yu(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 vl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Xn(t){return Xn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xn(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&&pu(t,e)}function Mg(t,e){return e&&(Ng(e)==="object"||typeof e=="function")?e:Yu(t)}function pu(t,e){return pu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},pu(t,e)}var Ng=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=Xn(t),u;if(e){var r=Xn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Mg(this,u)}}var Vg=function(t){kg(n,t);var e=Lg(n);function n(i){Og(this,n);var u;return u=e.call(this,i),vl(Yu(u),"controlType","search"),vl(Yu(u),"props",void 0),u.props=new Zu(i==null?void 0:i.props),u}return n}(K);function er(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 gl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Qn(t){return Qn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qn(t)}function 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&&tr(t,e)}function jg(t,e){return e&&(Ug(e)==="object"||typeof e=="function")?e:er(t)}function tr(t,e){return tr=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},tr(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=Qn(t),u;if(e){var r=Qn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return jg(this,u)}}var zg=function(t){qg(n,t);var e=Kg(n);function n(i){Hg(this,n);var u;return u=e.call(this,i),gl(er(u),"controlType","search"),gl(er(u),"props",void 0),u.props=new Zu(i==null?void 0:i.props),u}return n}(Q);class nr extends G{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 bl extends k{constructor(e){super(e),this.props=new nr(e==null?void 0:e.props)}static get controlName(){return"\u8BF4\u660E\u6587\u5B57"}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}bl.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 Gg extends X{constructor(e){super(e),this.props=new nr(e==null?void 0:e.props)}static get controlType(){return"text"}}var El={Designer:bl,Runtime:Gg,Property:nr};class ir extends G{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",this.url=(i=e==null?void 0:e.url)!=null?i:"",this.openMode=(u=e==null?void 0:e.openMode)!=null?u:"new"}}class ur extends k{constructor(e){super(e),this.props=new ir(e==null?void 0:e.props)}static get controlName(){return"\u94FE\u63A5"}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}ur.controlEventKeys=["on_click"],ur.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 Xg extends X{constructor(e){super(e),this.props=new ir(e==null?void 0:e.props)}static get controlType(){return"link"}}var _l={Designer:ur,Runtime:Xg,Property:ir};class ie extends G{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 ue extends k{constructor(e){super(e),this.props=new ie(e==null?void 0:e.props)}static get controlName(){return"\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}ue.controlEventKeys=["on_click"],ue.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class oe extends X{constructor(e){super(e),this.props=new ie(e==null?void 0:e.props)}static get controlType(){return"button"}}var Cl={Designer:ue,Runtime:oe,Property:ie},xe=(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))(xe||{}),wl=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(wl||{}),Il=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(Il||{});class Jn{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:ve(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var rr=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(rr||{});class Zn{constructor(e){var n,i;this.id=(n=e==null?void 0:e.id)!=null?n:ve(),this.text=(i=e==null?void 0:e.text)!=null?i:""}}var ar=(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))(ar||{});class lr{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 It((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 It((r=e==null?void 0:e.telephone)!=null?r:{type:"form"}),this.company=(s=e==null?void 0:e.company)!=null?s:new It((l=e==null?void 0:e.company)!=null?l:{type:"form"}),this.remark=(o=e==null?void 0:e.remark)!=null?o:""}}class Al{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 lr(s)))!=null?u:[new lr],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 or{constructor(e){var n,i,u,r,a,l,s;this.id=(n=e==null?void 0:e.id)!=null?n:ve(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 cr{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 Sl{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 cr(e==null?void 0:e.watermark),this.autoRename=new cr(e==null?void 0:e.autoRename)}}const Tl=480;function Pt(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class Bl{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 Rl{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 Pl=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(Pl||{}),sr=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(sr||{}),dr=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(dr||{}),at=(t=>(t.ALL="all",t.ASSIGN="assign",t))(at||{}),fr=(t=>(t.ALL="all",t.ADMIN="admin",t))(fr||{});class hr extends G{constructor(e){var n,i;super(e),this.color=(n=e==null?void 0:e.color)!=null?n:"#000",this.lineStyle=(i=e==null?void 0:e.lineStyle)!=null?i:ar.SOLID}}class xl extends k{constructor(e){super(e),this.props=new hr(e==null?void 0:e.props)}static get controlName(){return"\u5206\u5272\u7EBF"}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}xl.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]}];class Qg extends X{constructor(e){super(e),this.props=new hr(e==null?void 0:e.props)}static get controlType(){return"divider"}}var Dl={Designer:xl,Runtime:Qg,Property:hr};class Jg extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.dataBind={type:"any"},this.config={type:"array"},e.config.includes(xe.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")}),!e.isHide&&e.config.length===0&&(this.config={type:"array",min:1,required:!0,message:d.getMessage("pleaseSelectOneField")})}}class Yn extends G{constructor(e){var n,i,u,r;super(e),this.dataBind=new de(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[xe.ShowSubmitUser,xe.ShowSubmitDept,xe.ShowSubmitTime,xe.ShowCurrentApprovar,xe.ShowTitle],this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:lt==null?void 0:lt.controlName)!=null?u:"",this.position=(r=e==null?void 0:e.position)!=null?r:"top"}}Yn.Rules=Jg;class lt extends k{constructor(e){super(e),this.props=new Yn(e==null?void 0:e.props)}static get controlName(){return"\u6807\u9898\u7EC4\u4EF6"}static get controlIcon(){return"title"}static get controlType(){return"title"}}lt.controlFieldType=v.AUTO_NUMBER,lt.setting=[{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class Zg extends X{constructor(e){super(e),this.props=new Yn(e==null?void 0:e.props)}static get controlType(){return"title"}}var Fl={Designer:lt,Runtime:Zg,Property:Yn};class Yg extends U{constructor(e){super(e),this.formKey={type:"string",required:!0,message:d.getMessage("pleaseEnterForm")}}}class pn extends ie{constructor(e){var n,i,u,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:xt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:xt.controlName,this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(r=e==null?void 0:e.openType)!=null?r:"modal"}}pn.Rules=Yg;class xt extends ue{constructor(e){super(e),this.props=new pn(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"}}xt.controlEventKeys=["on_click","on_click_finish"],xt.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 pg extends oe{constructor(e){super(e),this.props=new pn(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var Ol={Designer:xt,Runtime:pg,Property:pn};class e0 extends U{constructor(e){super(e),this.processKey=[{type:"string",message:d.getMessage("isNotString")},{type:"string",required:!0,message:d.getMessage("pleaseEnterProcess")}]}}class ei extends ie{constructor(e){var n,i,u,r,a,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Dt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Dt.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:""}}ei.Rules=e0;class Dt extends ue{constructor(e){super(e),this.props=new ei(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"}}Dt.controlEventKeys=["on_click","on_click_finish"],Dt.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 t0 extends oe{constructor(e){super(e),this.props=new ei(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var kl={Designer:Dt,Runtime:t0,Property:ei};class yr extends ie{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Ft.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Ft.controlIcon}}class Ft extends ue{constructor(e){super(e),this.props=new yr(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"}}Ft.controlEventKeys=["on_click"],Ft.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class n0 extends oe{constructor(e){super(e),this.props=new yr(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var Ml={Designer:Ft,Runtime:n0,Property:yr};class mr extends ie{constructor(e){var n,i,u,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Ot.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Ot.controlName,this.templateList=(r=(u=e==null?void 0:e.templateList)==null?void 0:u.map(a=>new or(a)))!=null?r:[new or({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class Ot extends ue{constructor(e){super(e),this.props=new mr(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"}}Ot.controlEventKeys=["on_click","on_click_finish"],Ot.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 i0 extends oe{constructor(e){super(e),this.props=new mr(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var Nl={Designer:Ot,Runtime:i0,Property:mr};class vr extends ie{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:kt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:kt.controlIcon}}class kt extends ue{constructor(e){super(e),this.props=new vr(e==null?void 0:e.props)}static get controlName(){return"\u5BFC\u51FA\u8BB0\u5F55"}static get controlIcon(){return"icondaochujilu"}static get controlType(){return"list-page-btn-export-record"}}kt.controlEventKeys=["on_click"],kt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class u0 extends oe{constructor(e){super(e),this.props=new vr(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var $l={Designer:kt,Runtime:u0,Property:vr};class r0{constructor(e){this.dataCode=e.dataCode}}class gr extends ie{constructor(e){var n,i,u,r;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Mt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Mt.controlIcon,this.canImportList=(r=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(a=>new r0(a)))!=null?r:[]}}class Mt extends ue{constructor(e){super(e),this.props=new gr(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"}}Mt.controlEventKeys=["on_click","on_click_finish"],Mt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"can-import-subtable",visible:!0},{key:"super-setting",visible:!0}];class a0 extends oe{constructor(e){super(e),this.props=new gr(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var Ll={Designer:Mt,Runtime:a0,Property:gr};function ti(){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 l0 extends U{constructor(e){super(e),this.fillPayload={type:"object",fields:we({},ti())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterList")}}},this.fillBack={type:"object",fields:we({mode:{type:"string",required:!0,message:d.getMessage("pleaseSelectFillBackMode")}},ti())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:d.getMessage("pleaseSelectControl")})}}class ni extends ie{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Nt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Nt.controlIcon,this.command=(u=e==null?void 0:e.command)!=null?u:"create",this.fillPayload=new lu(e==null?void 0:e.fillPayload),this.formBind=new wy(e==null?void 0:e.formBind),this.fillBack=new Fa(e==null?void 0:e.fillBack)}}ni.Rules=l0;class Nt extends ue{constructor(e){super(e),this.props=new ni(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"}}Nt.controlEventKeys=["on_click","on_click_finish"],Nt.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 o0 extends oe{constructor(e){super(e),this.props=new ni(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var Vl={Designer:Nt,Runtime:o0,Property:ni};class c0 extends U{constructor(e){super(e),this.fillPayload={type:"object",fields:we({},ti())},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:we({mode:{type:"string",required:!0,message:d.getMessage("pleaseSelectFillBackMode")}},ti())}}}class ii extends ie{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 lu(e==null?void 0:e.fillPayload),this.listPageBind=new Pa(e==null?void 0:e.listPageBind),this.fillBack=new Fa(e==null?void 0:e.fillBack)}}ii.Rules=c0;class $t extends ue{constructor(e){super(e),this.props=new ii(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","on_modal_ok"],$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:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class s0 extends oe{constructor(e){super(e),this.props=new ii(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var Hl={Designer:$t,Runtime:s0,Property:ii};class d0 extends U{constructor(e){super(e)}}class f0 extends Me{constructor(e){super(e)}}class Lt extends G{constructor(e){super(e)}}Lt.Rules=d0,Lt.RuntimeRules=f0;class ql extends k{constructor(e){super(e),this.props=new Lt(e==null?void 0:e.props)}static get controlName(){return"\u5206\u9875"}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}ql.setting=[];class h0 extends X{constructor(e){super(e),this.props=new Lt(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var jl={Designer:ql,Runtime:h0,Property:Lt};class y0 extends U{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 ui extends G{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"}}ui.Rules=y0;class Ul extends k{constructor(e){super(e),this.props=new ui(e==null?void 0:e.props)}static get controlName(){return"\u4EEA\u8868\u76D8"}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}Ul.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 m0 extends X{constructor(e){super(e),this.props=new ui(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var Wl={Designer:Ul,Runtime:m0,Property:ui};class v0 extends U{constructor(e){super(e),this.showType={type:"enum",enum:["select","tabs"]},this.viewList={type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:d.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:d.getMessage("pleaseSelectAtLeastOneColumn")}}}}}}class ri extends G{constructor(e){var n,i,u;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"select",this.viewList=(u=(i=e==null?void 0:e.viewList)==null?void 0:i.map(r=>new Vy(r)))!=null?u:[]}}ri.Rules=v0;class Kl extends k{constructor(e){super(e),this.props=new ri(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"}}Kl.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class g0 extends X{constructor(e){super(e),this.props=new ri(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var zl={Designer:Kl,Runtime:g0,Property:ri};class b0 extends U{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 ai extends ie{constructor(e){var n,i,u,r,a,l,s,o,f,g;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ot.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:ot.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:ot.controlIcon,this.ocrType=(o=e==null?void 0:e.ocrType)!=null?o:"",this.fillList=(g=(f=e==null?void 0:e.fillList)==null?void 0:f.map(b=>new ae(b)))!=null?g:[]}}ai.Rules=b0;class ot extends ue{constructor(e){super(e),this.props=new ai(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"}}ot.controlEventKeys=["on_click","on_click_finish"],ot.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 E0 extends oe{constructor(e){super(e),this.props=new ai(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var Gl={Designer:ot,Runtime:E0,Property:ai};class _0 extends U{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 li extends ie{constructor(e){var n,i,u,r,a,l,s,o,f,g;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ct.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(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:ct.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:ct.controlIcon,this.invoiceCheck=(o=e==null?void 0:e.invoiceCheck)!=null?o:!0,this.fillList=(g=(f=e==null?void 0:e.fillList)==null?void 0:f.map(b=>new ae(b)))!=null?g:[]}}li.Rules=_0;class ct extends ue{constructor(e){super(e),this.props=new li(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"}}ct.controlEventKeys=["on_click","on_click_finish"],ct.setting=[{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class C0 extends oe{constructor(e){super(e),this.props=new li(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var Xl={Designer:ct,Runtime:C0,Property:li};class w0 extends U{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:d.getMessage("pleaseUploadAtLeastOnePrintTemplate")}}}class oi extends ie{constructor(e){var n,i,u,r,a;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.printTemplates=(r=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(l=>new Bl(l)))!=null?r:[],this.autoSelectTemplate=(a=e==null?void 0:e.autoSelectTemplate)!=null?a:!1}}oi.Rules=w0;class Vt extends ue{constructor(e){super(e),this.props=new oi(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"}}Vt.controlEventKeys=["on_click","on_click_finish"],Vt.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 I0 extends oe{constructor(e){super(e),this.props=new oi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var Ql={Designer:Vt,Runtime:I0,Property:oi};class br extends ie{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Ht.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Ht.controlIcon}}class Ht extends ue{constructor(e){super(e),this.props=new br(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"}}Ht.controlEventKeys=["on_click"],Ht.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class A0 extends oe{constructor(e){super(e),this.props=new br(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var Jl={Designer:Ht,Runtime:A0,Property:br};class S0 extends U{constructor(e){super(e),this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:d.getMessage("pleaseEnterForm")})}}class ci extends G{constructor(e){var n,i,u,r,a;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6309\u94AE",this.code=e==null?void 0:e.code,this.command=(i=e==null?void 0:e.command)!=null?i:"custom",this.color=(u=e==null?void 0:e.color)!=null?u:"primary",this.icon=e==null?void 0:e.icon,this.formKey=e==null?void 0:e.formKey,this.openType=e==null?void 0:e.openType,this.needConfirm=e==null?void 0:e.needConfirm,this.confirmMessage=e==null?void 0:e.confirmMessage,this.options=e==null?void 0:e.options,this.defaultState=(r=e==null?void 0:e.defaultState)!=null?r:"default",this.priorityProcess=e==null?void 0:e.priorityProcess,this.isLoading=(a=e==null?void 0:e.isLoading)!=null?a:!1}}ci.Rules=S0;class si extends k{constructor(e){super(e),this.props=new ci(e==null?void 0:e.props)}static get controlName(){return"\u64CD\u4F5C\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"operation-button"}}si.controlEventKeys=["on_click"],si.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 T0 extends X{constructor(e){super(e),this.props=new ci(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var Zl={Designer:si,Runtime:T0,Property:ci};class Er extends G{constructor(e){var n,i,u,r,a,l,s,o,f;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:qt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:qt.controlIcon,this.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=(f=e==null?void 0:e.isLoading)!=null?f:!1}}class qt extends k{constructor(e){super(e),this.props=new Er(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"}}qt.controlEventKeys=["on_click"],qt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class B0 extends X{constructor(e){super(e),this.props=new Er(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var Yl={Designer:qt,Runtime:B0,Property:Er},R0=Object.freeze({__proto__:null,Text:El,Link:_l,Button:Cl,Divider:Dl,Title:Fl,CreateFormListButton:Ol,BatchSubmissionListButton:kl,SubmissionRecordListButton:Ml,ExportListButton:Nl,ExportRecordListButton:$l,ImportRecordListButton:Ll,FormSelectButton:Vl,ListSelectButton:Hl,Pagination:jl,Dashboard:Wl,ListViewSelect:zl,TextOcrButton:Gl,InvoiceCheckButton:Xl,BatchPrintListButton:Ql,BatchPrintRecordListButton:Jl,OperationButton:Zl,BatchDeleteButton:Yl});class P0 extends ne{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=Pt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class x0 extends V{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:Pt(e.regularRules.expression),message:e.regularRules.errMessage})}}class st extends B{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 Oa(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:dt.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:""}}st.Rules=P0,st.RuntimeRules=x0;class dt extends R{constructor(e){super(e),this.props=new st(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"}}dt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],dt.controlFieldType=v.VARCHAR,dt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.ENCRYPTED]},{key:"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 pl extends P{constructor(e){super(e),this.props=new st(e==null?void 0:e.props)}static get controlType(){return"input"}}pl.controlFieldType=v.VARCHAR;var eo={Designer:dt,Runtime:pl,Property:st};class D0 extends nt{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 F0 extends V{constructor(e){super(e),this[0].type="array",this.push({type:"array",max:typeof e.limitMax=="number"?e.limitMax:void 0,min:typeof e.limitMin=="number"?e.limitMin:void 0})}}class jt extends B{constructor(e){var n,i,u,r,a,l,s,o,f,g,b,C,I;super(e),this.options=Ee((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.checkboxMode=(i=e==null?void 0:e.checkboxMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.optionsOrder=(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 te(e==null?void 0:e.datasourceBind),this.interreaction=(o=e==null?void 0:e.interreaction)!=null?o:[],this.caption=(f=e==null?void 0:e.caption)!=null?f:Ut.controlName,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:[],this.optionsFormat=(b=e==null?void 0:e.optionsFormat)!=null?b:"horizontal",this.defaultShowOptions=(C=e==null?void 0:e.defaultShowOptions)!=null?C:!0,this.openMultistageFilling=(I=e==null?void 0:e.openMultistageFilling)!=null?I:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(E=>{var A;(A=this.multistageFilling)==null||A.push(new ae(E))}))}}jt.Rules=D0,jt.RuntimeRules=F0;class Ut extends R{constructor(e){super(e),this.props=new jt(e==null?void 0:e.props)}static get controlName(){return"\u591A\u9009"}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}Ut.controlEventKeys=["on_change","on_click"],Ut.controlFieldType=v.ARRAY,Ut.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 to extends P{constructor(e){super(e),this.props=new jt(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}to.controlFieldType=v.ARRAY;var no={Designer:Ut,Runtime:to,Property:jt};class O0 extends nt{constructor(e){super(e)}}class di extends B{constructor(e){var n,i,u,r,a,l,s,o,f,g,b;super(e),this.options=Ee((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.radioMode=(i=e==null?void 0:e.radioMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.otherOption=(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 te(e==null?void 0:e.datasourceBind),this.interreaction=(o=e==null?void 0:e.interreaction)!=null?o:[],this.caption=(f=e==null?void 0:e.caption)!=null?f:Wt.controlName,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:"",this.openMultistageFilling=(b=e==null?void 0:e.openMultistageFilling)!=null?b:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(C=>{var I;(I=this.multistageFilling)==null||I.push(new ae(C))}))}}di.Rules=O0;class Wt extends R{constructor(e){super(e),this.props=new di(e==null?void 0:e.props)}static get controlName(){return"\u5355\u9009"}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}Wt.controlEventKeys=["on_change","on_click"],Wt.controlFieldType=v.VARCHAR,Wt.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 io extends P{constructor(e){super(e),this.props=new di(e==null?void 0:e.props)}static get controlType(){return"radio"}}io.controlFieldType=v.VARCHAR;var uo={Designer:Wt,Runtime:io,Property:di};class k0 extends ne{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=Pt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class M0 extends V{constructor(e){super(e),this[0].type="number";const n=e.rangeMax!==""?e.rangeMax:void 0,i=e.rangeMin!==""?e.rangeMin:void 0;this.push({type:"number",max:n,min:i,message:d.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:Pt(e.regularRules.expression),message:e.regularRules.errMessage})}}class Kt extends B{constructor(e){var n,i,u,r,a,l,s,o,f,g,b,C,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=(s=e==null?void 0:e.showUpperCase)!=null?s:!1,this.isShowUnit=(o=e==null?void 0:e.isShowUnit)!=null?o:!1,this.unitPosition=(f=e==null?void 0:e.unitPosition)!=null?f:"right",this.unit=(g=e==null?void 0:e.unit)!=null?g:"",this.caption=(b=e==null?void 0:e.caption)!=null?b:zt.controlName,this.placeholder=(C=e==null?void 0:e.placeholder)!=null?C:"\u8BF7\u8F93\u5165",this.defaultValue=(I=e==null?void 0:e.defaultValue)!=null?I:"",this.regularRules=new Oa(e==null?void 0:e.regularRules)}}Kt.Rules=k0,Kt.RuntimeRules=M0;class zt extends R{constructor(e){super(e),this.props=new Kt(e==null?void 0:e.props)}static get controlName(){return"\u6570\u5B57"}static get controlIcon(){return"iconnuminput_new"}static get controlType(){return"number"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}zt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],zt.controlFieldType=v.DECIMAL,zt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"number-range",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_UNIT,c.IS_SHOW_CAPTION_TIP]},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class ro extends P{constructor(e){super(e),this.props=new Kt(e==null?void 0:e.props)}static get controlType(){return"number"}}ro.controlFieldType=v.DECIMAL;var ao={Designer:zt,Runtime:ro,Property:Kt};class _r extends B{constructor(e){var n,i,u,r,a,l,s,o,f;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Ie.DATE,this.setValueType=(i=e==null?void 0:e.setValueType)!=null?i:"custom",this.caption=(u=e==null?void 0:e.caption)!=null?u:fi.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(g=>new Jn(g)))!=null?s:[],this.allowDateRange=(o=e==null?void 0:e.allowDateRange)!=null?o:["",""],this.filterWeekend=(f=e==null?void 0:e.filterWeekend)!=null?f:!1}}class fi extends R{constructor(e){super(e),this.props=new _r(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}}fi.controlFieldType=v.TIMESTAMP,fi.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 lo extends P{constructor(e){super(e),this.props=new _r(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}lo.controlFieldType=v.TIMESTAMP;var oo={Designer:fi,Runtime:lo,Property:_r};class N0 extends V{constructor(e){super(e),this[0].type="object",e.isHide||this.push({type:"object",fields:{max:{type:"string",required:e.required,message:this[0].message},min:{type:"string",required:e.required,message:this[0].message}}})}}class hi extends B{constructor(e){var n,i,u,r,a,l,s,o,f;super(e),this.dataBind=new ky(e==null?void 0:e.dataBind),this.defaultValue=new My(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Ie.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:yi.controlName,this.limitDateList=(f=(o=e==null?void 0:e.limitDateList)==null?void 0:o.map(g=>new Jn(g)))!=null?f:[]}}hi.RuntimeRules=N0;class yi extends R{constructor(e){super(e),this.props=new hi(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}}yi.controlFieldType=v.TIMESCOPE,yi.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 co extends P{constructor(e){super(e),this.props=new hi(e==null?void 0:e.props)}static get controlType(){return"date-range"}}co.controlFieldType=v.TIMESCOPE;var so={Designer:yi,Runtime:co,Property:hi};class $0 extends ne{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 L0 extends V{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 Gt 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:Xt.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}}Gt.Rules=$0,Gt.RuntimeRules=L0;class Xt extends R{constructor(e){super(e),this.props=new Gt(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"}}Xt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Xt.controlFieldType=v.TEXT,Xt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"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 fo extends P{constructor(e){super(e),this.props=new Gt(e==null?void 0:e.props)}static get controlType(){return"textarea"}}fo.controlFieldType=v.TEXT;var ho={Designer:Xt,Runtime:fo,Property:Gt};class V0 extends ne{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 H0 extends V{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 Qt 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:Jt.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u8F93\u5165"}}Qt.Rules=V0,Qt.RuntimeRules=H0;class Jt extends R{constructor(e){super(e),this.props=new Qt(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"}}Jt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Jt.controlFieldType=v.TEXT,Jt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}];class yo extends P{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}yo.controlFieldType=v.TEXT;var mo={Designer:Jt,Runtime:yo,Property:Qt};class q0 extends nt{constructor(e){super(e)}}class mi extends B{constructor(e){var n,i,u,r,a,l,s,o;super(e),this.options=Ee((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new te(e==null?void 0:e.datasourceBind),this.caption=(r=e==null?void 0:e.caption)!=null?r:vi.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.openMultistageFilling=(o=e==null?void 0:e.openMultistageFilling)!=null?o:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(f=>{var g;(g=this.multistageFilling)==null||g.push(new ae(f))}))}}mi.Rules=q0;class vi extends R{constructor(e){super(e),this.props=new mi(e==null?void 0:e.props)}static get controlName(){return"\u4E0B\u62C9\u5355\u9009"}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}vi.controlFieldType=v.VARCHAR,vi.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 vo extends P{constructor(e){super(e),this.props=new mi(e==null?void 0:e.props)}static get controlType(){return"select"}}vo.controlFieldType=v.VARCHAR;var go={Designer:vi,Runtime:vo,Property:mi};class j0 extends nt{constructor(e){super(e)}}class U0 extends V{constructor(e){super(e),this[0].type="array"}}class Zt extends B{constructor(e){var n,i,u,r,a,l,s;super(e),this.options=Ee((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new te(e==null?void 0:e.datasourceBind),this.caption=(r=e==null?void 0:e.caption)!=null?r:gi.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.openMultistageFilling=(s=e==null?void 0:e.openMultistageFilling)!=null?s:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(o=>{var f;(f=this.multistageFilling)==null||f.push(new ae(o))}))}}Zt.Rules=j0,Zt.RuntimeRules=U0;class gi extends R{constructor(e){super(e),this.props=new Zt(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"}}gi.controlFieldType=v.ARRAY,gi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"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 bo extends P{constructor(e){super(e),this.props=new Zt(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}bo.controlFieldType=v.ARRAY;var Eo={Designer:gi,Runtime:bo,Property:Zt};class W0 extends V{constructor(e){super(e),this[0].type="array"}}class bi extends B{constructor(e){var n,i,u,r,a,l,s,o,f;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(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:Ei.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.openMultistageFilling=(f=e==null?void 0:e.openMultistageFilling)!=null?f:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(g=>{var b;(b=this.multistageFilling)==null||b.push(new ae(g))}))}}bi.RuntimeRules=W0;class Ei extends R{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}Ei.controlFieldType=v.EMPLOYEES,Ei.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 _o extends P{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlType(){return"employee"}}_o.controlFieldType=v.EMPLOYEES;var Co={Designer:Ei,Runtime:_o,Property:bi};const K0=10485760,z0=104857600,G0=1048576e3;class X0 extends ne{constructor(e){super(e),this.maxSize={type:"number",min:0,max:G0,message:d.getMessage("attachmentMaxSize")}}}class Q0 extends V{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 ft extends B{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:z0,this.caption=(s=e==null?void 0:e.caption)!=null?s:ht.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u4E0A\u4F20\u9644\u4EF6"}}ft.Rules=X0,ft.RuntimeRules=Q0;class ht extends R{constructor(e){super(e),this.props=new ft(e==null?void 0:e.props)}static get controlName(){return"\u9644\u4EF6"}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}ht.controlEventKeys=["on_change"],ht.controlFieldType=v.FILE,ht.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 Cr extends P{constructor(e){super(e),this.props=new ft(e==null?void 0:e.props)}static get controlType(){return"attachment"}}Cr.controlFieldType=v.FILE;var wo={Designer:ht,Runtime:Cr,Property:ft};const Io=class extends ht{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:Io.controlName,this.props.placeholder=(u=(i=t==null?void 0:t.props)==null?void 0:i.placeholder)!=null?u:"\u4E0A\u4F20\u56FE\u7247"}};let wr=Io;wr.controlFieldType=v.IMAGE,wr.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 J0 extends Cr{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 Z0 extends ft{constructor(e){super(e)}}var Ao={Designer:wr,Runtime:J0,Property:Z0};class Y0 extends nt{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 p0 extends V{constructor(e){super(e),this[0].type="object";const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.push({type:"object",fields:{amount:[_n(we({},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 Yt extends B{constructor(e){var n,i,u,r,a,l,s,o,f,g,b;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.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 Fy(e==null?void 0:e.dataBind),this.datasourceBind=new te((l=e==null?void 0:e.datasourceBind)!=null?l:{displayBoList:[new ru({value:"name"})]}),this.defaultValue=new Oy((s=e==null?void 0:e.defaultValue)!=null?s:{amount:"",currency:Sn.CNY}),this.options=Ee(e==null?void 0:e.options),this.caption=(o=e==null?void 0:e.caption)!=null?o:pt.controlName,this.placeholder=(f=e==null?void 0:e.placeholder)!=null?f:"\u8BF7\u8F93\u5165",this.submitSelectCurrency=(g=e==null?void 0:e.submitSelectCurrency)!=null?g:!1,this.showUpperCase=(b=e==null?void 0:e.showUpperCase)!=null?b:!1}}Yt.Rules=Y0,Yt.RuntimeRules=p0;class pt extends R{constructor(e){super(e),this.props=new Yt(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}}pt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],pt.controlFieldType=v.MONEY,pt.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 So extends P{constructor(e){super(e),this.props=new Yt(e==null?void 0:e.props)}static get controlType(){return"amount"}}So.controlFieldType=v.MONEY;var To={Designer:pt,Runtime:So,Property:Yt};class eb extends ne{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 tb extends V{constructor(e){super(e),this[0].type="number";const n=e.required?1:0;this.push({type:"number",min:n,max:e.totalScore,message:d.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:n})})}}class en extends B{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:rr.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 Zn(o)))!=null?a:Array(this.totalScore).fill(void 0).map(()=>new Zn),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:0,this.caption=(s=e==null?void 0:e.caption)!=null?s:tn.controlName}}en.Rules=eb,en.RuntimeRules=tb;class tn extends R{constructor(e){super(e),this.props=new en(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 Zn);this.props.explain.push(...u)}}super.postUpdate(e,n)}}tn.controlEventKeys=["on_change","on_click"],tn.controlFieldType=v.DECIMAL,tn.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 Bo extends P{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlType(){return"score"}}Bo.controlFieldType=v.DECIMAL;var Ro={Designer:tn,Runtime:Bo,Property:en};class nb extends V{constructor(e){if(super(e),this[0].type="object",e.required&&!e.isHide){const n={type:"object",fields:{province:{type:"string",required:e.required,message: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 _i extends B{constructor(e){var n,i,u,r,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ci.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 Ny((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"}}_i.RuntimeRules=nb;class Ci extends R{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}static get controlName(){return"\u5730\u5740"}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}Ci.controlFieldType=v.ADDRESS,Ci.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 Po extends P{constructor(e){super(e),this.props=new _i(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"}}Po.controlFieldType=v.ADDRESS;var xo={Designer:Ci,Runtime:Po,Property:_i};class ib extends V{constructor(e){super(e),this[0].type="array"}}class wi extends B{constructor(e){var n,i,u,r,a,l,s,o,f,g,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=(f=e==null?void 0:e.caption)!=null?f:Ii.controlName,this.placeholder=(g=e==null?void 0:e.placeholder)!=null?g:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.openMultistageFilling=(b=e==null?void 0:e.openMultistageFilling)!=null?b:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(C=>{var I;(I=this.multistageFilling)==null||I.push(new ae(C))}))}}wi.RuntimeRules=ib;class Ii extends R{constructor(e){super(e),this.props=new wi(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}}Ii.controlFieldType=v.DEPARTMENTS,Ii.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 Do extends P{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlType(){return"department"}}Do.controlFieldType=v.DEPARTMENTS;var Fo={Designer:Ii,Runtime:Do,Property:wi};class Ir 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:nn.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7"}}class nn extends R{constructor(e){super(e),this.props=new Ir(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"}}nn.controlEventKeys=["on_change"],nn.controlFieldType=v.AUTO_NUMBER,nn.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 Oo extends P{constructor(e){super(e),this.props=new Ir(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}Oo.controlFieldType=v.AUTO_NUMBER;var ko={Designer:nn,Runtime:Oo,Property:Ir};class ub extends ne{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 rb extends V{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 un extends B{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 $y(e==null?void 0:e.dataBind),this.defaultValue=new Ly(e==null?void 0:e.defaultValue),this.caption=(r=e==null?void 0:e.caption)!=null?r:rn.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:""}}un.Rules=ub,un.RuntimeRules=rb;class rn extends R{constructor(e){super(e),this.props=new un(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}}rn.controlEventKeys=["on_change"],rn.controlFieldType=v.CALC,rn.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"calc-script-src",visible:!0},{key:"calc-script-echo",visible:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class Mo extends P{constructor(e){super(e),this.props=new un(e==null?void 0:e.props)}static get controlType(){return"calc"}}Mo.controlFieldType=v.CALC;var No={Designer:rn,Runtime:Mo,Property:un};class ab extends V{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 Ai 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:Si.controlName}}Ai.RuntimeRules=ab;class Si extends R{constructor(e){super(e),this.props=new Ai(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"}}Si.controlFieldType=v.DECIMAL_RANGE,Si.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"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 $o extends P{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}$o.controlFieldType=v.DECIMAL_RANGE;var Lo={Designer:Si,Runtime:$o,Property:Ai};class lb extends V{constructor(e){super(e),this[0].type="array",this.push({type:"array",fields:{0:{type:"string",required:e.required,message:this[0].message},1:{type:"string",required:e.required,message:this[0].message}}})}}class Ti extends B{constructor(e){var n,i,u,r,a,l,s,o,f,g;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(i=e==null?void 0:e.dateType)!=null?i:Ie.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:Bi.controlName,this.limitDateList=(g=(f=e==null?void 0:e.limitDateList)==null?void 0:f.map(b=>new Jn(b)))!=null?g:[]}}Ti.RuntimeRules=lb;class Bi extends R{constructor(e){super(e),this.props=new Ti(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"}}Bi.controlFieldType=v.ARRAY,Bi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"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 Vo extends P{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}Vo.controlFieldType=v.ARRAY;var Ho={Designer:Bi,Runtime:Vo,Property:Ti};class ob extends ne{constructor(e){super(e),this.dataBind={type:"any"}}}class cb extends V{constructor(e){super(e),this[0].type="any"}}class an extends B{constructor(e){var n,i,u,r,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ln.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}}an.Rules=ob,an.RuntimeRules=cb;class ln extends R{constructor(e){super(e),this.props=new an(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"}}ln.controlFieldType=v.ANY,ln.controlEventKeys=[],ln.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 qo extends P{constructor(e){super(e),this.props=new an(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}qo.controlFieldType=v.ANY;var jo={Designer:ln,Runtime:qo,Property:an};class sb extends nt{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 Ri extends B{constructor(e){var n,i,u,r,a,l,s;super(e),this.options=Ee((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new Pa(e==null?void 0:e.listPageBind),this.datasourceBind=new te(e==null?void 0:e.datasourceBind),this.caption=(u=e==null?void 0:e.caption)!=null?u:on.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.openMultistageFilling=(l=e==null?void 0:e.openMultistageFilling)!=null?l:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(o=>{var f;(f=this.multistageFilling)==null||f.push(new ae(o))})),this.canViewForm=(s=e==null?void 0:e.canViewForm)!=null?s:!1}}Ri.Rules=sb;class on extends R{constructor(e){super(e),this.props=new Ri(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"}}on.controlFieldType=v.VARCHAR,on.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.CAN_VIEW_FORM,c.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0},{key:"super-setting",visible:!0}],on.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class Uo extends P{constructor(e){super(e),this.props=new Ri(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}Uo.controlFieldType=v.VARCHAR;var Wo={Designer:on,Runtime:Uo,Property:Ri};class Ar extends st{constructor(e){super(e)}}class Ko extends dt{constructor(e){super(e),this.props=new Ar(e==null?void 0:e.props)}static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlType(){return"search-input"}}Ko.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 zo extends P{constructor(e){super(e),this.props=new Ar(e==null?void 0:e.props)}static get controlType(){return"search-input"}}zo.controlFieldType=v.VARCHAR;var Go={Designer:Ko,Runtime:zo,Property:Ar};class db extends ne{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],wu.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 fb extends V{constructor(e){super(e),this[0].type="array"}}class cn extends B{constructor(e){var n,i,u,r,a,l,s,o,f,g,b,C,I,E;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=(f=e==null?void 0:e.defaultCollapseLevel)!=null?f:1,this.datasourceBind=new xy((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:$e.controlCustomAttributes}),this.openMultistageFilling=(b=e==null?void 0:e.openMultistageFilling)!=null?b:!1,this.multistageFilling=(I=(C=e==null?void 0:e.multistageFilling)==null?void 0:C.map(A=>new ae(A)))!=null?I:[],this.defaultValue=(E=e==null?void 0:e.defaultValue)!=null?E:[]}}cn.Rules=db,cn.RuntimeRules=fb;class $e extends R{constructor(e){super(e),this.props=new cn(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=v.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 Xo extends P{constructor(e){super(e),this.props=new cn(e==null?void 0:e.props)}static get controlType(){return"tree"}}Xo.controlFieldType=v.ARRAY;var Qo={Designer:$e,Runtime:Xo,Property:cn};class hb extends ne{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],this.externalScope={type:"any"},wu.call(this,e,yt.controlCustomAttributes),e.externalType===at.ASSIGN&&(this.externalScope={type:"array",required:!0,message:d.getMessage("pleaseAssignExternal")})}}class yb extends V{constructor(e){super(e),this[0].type="array"}}class sn extends B{constructor(e){var n,i,u,r,a,l,s,o,f,g,b,C,I,E;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(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:yt.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 An((f=e==null?void 0:e.datasourceBind)!=null?f:{attributes:yt.controlCustomAttributes}),this.datasourceType=(g=e==null?void 0:e.datasourceType)!=null?g:sr.INTERNAL,this.insideType=(b=e==null?void 0:e.insideType)!=null?b:fr.ADMIN,this.externalType=(C=e==null?void 0:e.externalType)!=null?C:at.ALL,this.externalScope=(I=e==null?void 0:e.externalScope)!=null?I:[],this.openMultistageFilling=(E=e==null?void 0:e.openMultistageFilling)!=null?E:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(A=>{var y;(y=this.multistageFilling)==null||y.push(new ae(A))}))}}sn.Rules=hb,sn.RuntimeRules=yb;class yt extends R{constructor(e){super(e),this.props=new sn(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}]}}yt.controlFieldType=v.EMPLOYEES,yt.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 Jo extends P{constructor(e){super(e),this.props=new sn(e==null?void 0:e.props)}static get controlType(){return"employee2"}}Jo.controlFieldType=v.EMPLOYEES;var Zo={Designer:yt,Runtime:Jo,Property:sn};class mb extends ne{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"&&pi(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")&&pi(a.value)&&a.value.length===0){l("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}l()}}}},n),{})}}}}}class Pi 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:dn.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 Al(e==null?void 0:e.signatureConfig)}}Pi.Rules=mb;class dn extends R{constructor(e){super(e),this.props=new Pi(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"}}dn.controlEventKeys=["on_click","on_click_finish"],dn.controlFieldType=v.VARCHAR,dn.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 Yo extends P{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}Yo.controlFieldType=v.VARCHAR;var po={Designer:dn,Runtime:Yo,Property:Pi};class vb extends ne{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 gb extends V{constructor(e){super(e),this[0].type="array"}}class fn extends B{constructor(e){var n,i,u,r,a,l,s,o,f,g,b,C;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:hn.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=(f=e==null?void 0:e.canDelete)!=null?f:!1,this.maxSize=(g=e==null?void 0:e.maxSize)!=null?g:K0,this.defaultValue=(b=e==null?void 0:e.defaultValue)!=null?b:[],this.wpsSetting=new Sl(e==null?void 0:e.wpsSetting),this.revisionsMode=(C=e==null?void 0:e.revisionsMode)!=null?C:!1}}fn.Rules=vb,fn.RuntimeRules=gb;class hn extends R{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlName(){return"\u5728\u7EBF\u6587\u6863"}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}hn.controlEventKeys=["on_change","on_wps_open"],hn.controlFieldType=v.FILE,hn.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 ec extends P{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlType(){return"wps"}}ec.controlFieldType=v.FILE;var tc={Designer:hn,Runtime:ec,Property:fn};class bb extends ne{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],this.businessScope={type:"any"},wu.call(this,e,mt.controlCustomAttributes),e.businessType===at.ASSIGN&&(this.businessScope={type:"array",required:!0,message:d.getMessage("pleaseAssignBusiness")})}}class Eb extends V{constructor(e){super(e),this[0].type="array"}}class yn extends B{constructor(e){var n,i,u,r,a,l,s,o,f,g,b,C,I,E,A;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=(f=e==null?void 0:e.caption)!=null?f:mt.controlName,this.placeholder=(g=e==null?void 0:e.placeholder)!=null?g:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.datasourceBind=new An((b=e==null?void 0:e.datasourceBind)!=null?b:{attributes:mt.controlCustomAttributes}),this.datasourceType=(C=e==null?void 0:e.datasourceType)!=null?C:dr.INTERNAL,this.businessScope=(I=e==null?void 0:e.businessScope)!=null?I:[],this.businessType=(E=e==null?void 0:e.businessType)!=null?E:at.ALL,this.openMultistageFilling=(A=e==null?void 0:e.openMultistageFilling)!=null?A:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(y=>{var w;(w=this.multistageFilling)==null||w.push(new ae(y))}))}}yn.Rules=bb,yn.RuntimeRules=Eb;class mt 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"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}}mt.controlFieldType=v.DEPARTMENTS,mt.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 nc extends P{constructor(e){super(e),this.props=new yn(e==null?void 0:e.props)}static get controlType(){return"department2"}}nc.controlFieldType=v.DEPARTMENTS;var ic={Designer:mt,Runtime:nc,Property:yn},_b=Object.freeze({__proto__:null,Input:eo,Checkbox:no,Radio:uo,Number:ao,DatePicker:oo,DateRange:so,Textarea:ho,RichText:mo,Select:go,SelectMultiple:Eo,Employee:Co,Image:Ao,Attachment:wo,Amount:To,Score:Ro,Address:xo,Department:Fo,AutoNumber:ko,Calc:No,SearchNumberRange:Lo,SearchDateRange:Ho,VueFormItem:jo,SelectRelation:Wo,SearchInput:Go,Tree:Qo,Employee2:Zo,ElectronicSignature:po,WPS:tc,Department2:ic});class uc extends K{static get controlName(){return"\u753B\u5E03"}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}uc.excludes=[_.GRID];class Cb extends Q{static get controlType(){return"grid"}constructor(e){super(e)}}var rc={Designer:uc,Runtime:Cb,Property:H};const wb=24;class Le extends H{constructor(e){var n,i;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:wb,this.offset=(i=e==null?void 0:e.offset)!=null?i:0}}class mn extends K{constructor(e){super(e),this.props=new Le(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5217"}static get controlType(){return"col"}static get controlIcon(){return"col"}}mn.excludes=[_.COL,_.CARD_GROUP,_.SUBTABLE,_.SUBTABLE_COLUMN,_.DIVIDER],mn.childrenMaxLength=1;class Sr extends Q{constructor(e){super(e),this.props=new Le(e==null?void 0:e.props)}static get controlType(){return"col"}}var ac={Designer:mn,Runtime:Sr,Property:Le};class xi extends H{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 Di extends K{constructor(e){super(e),this.props=new xi(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5E03\u5C40"}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}Di.excludes=[_.ROW],Di.setting=[{key:"col-setting",visible:!0}];class lc extends Q{constructor(e){super(e),this.props=new xi(e==null?void 0:e.props)}static get controlType(){return"row"}}var oc={Designer:Di,Runtime:lc,Property:xi};const Ib=4;class Fi extends Di{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)}}Fi.excludes=[_.GRID_ROW],Fi.setting=[],Fi.childrenMaxLength=Ib;class Ab extends lc{static get controlType(){return"grid-row"}constructor(e){super(e)}}class Sb extends xi{constructor(e){super(e)}}var cc={Designer:Fi,Runtime:Ab,Property:Sb};class Tb extends H.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}}}class Oi extends H{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"}}Oi.Rules=Tb;class Tr extends K{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlName(){return"\u5206\u7EC4"}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}Tr.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}],Tr.excludes=[_.CARD_GROUP];class Bb extends Q{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var sc={Designer:Tr,Runtime:Bb,Property:Oi};class Rb extends U{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 ki extends H{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}}ki.Rules=Rb;class fe extends K{constructor(e){super(e),this.props=new ki(e==null?void 0:e.props)}}fe.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",fe.controlType="subtable-column",fe.controlIcon="subtable-column",fe.childrenMaxLength=1,fe.excludes=[_.SUBTABLE,_.SUBTABLE_COLUMN,_.ROW,_.COL,_.CARD_GROUP,_.DIVIDER,_.TEXT],fe.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 dc extends Q{constructor(e){super(e),this.props=new ki(e==null?void 0:e.props)}}dc.controlType="subtable-column";var fc={Designer:fe,Runtime:dc,Property:ki};class Br extends H{constructor(e){super(e)}}class Ve extends K{constructor(e){super(e),this.props=new Br(e==null?void 0:e.props)}}Ve.controlName="\u660E\u7EC6\u5B50\u8868\u884C",Ve.controlType="subtable-row",Ve.controlIcon="subtable-row",Ve.childrenMaxLength=1,Ve.excludes=[_.SUBTABLE,_.SUBTABLE_COLUMN,_.SUBTABLE_ROW,_.ROW,_.COL,_.CARD_GROUP,_.DIVIDER,_.TEXT],Ve.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0}];class Pb extends Q{constructor(e){super(e),this.props=new Br(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var hc={Designer:Ve,Runtime:Pb,Property:Br};class Rr extends H{constructor(e){var n,i,u,r,a,l,s,o,f,g;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 te(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=(f=e==null?void 0:e.timestampDateType)!=null?f:Ie.DATE,this.departmentDisplayLevel=(g=e==null?void 0:e.departmentDisplayLevel)!=null?g:1}}class He extends K{constructor(e){super(e),this.props=new Rr(e==null?void 0:e.props)}}He.controlName="\u5217\u8868\u5355\u5143\u683C",He.controlType="gridtable-column",He.controlIcon="gridtable-column",He.childrenMaxLength=1,He.excludes=[_.GRID_TABLE,_.GRID_TABLE_COLUMN,_.ROW,_.COL,_.CARD_GROUP,_.DIVIDER,_.TEXT],He.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class yc extends Q{constructor(e){super(e),this.props=new Rr(e==null?void 0:e.props)}}yc.controlType="gridtable-column";var mc={Designer:He,Runtime:yc,Property:Rr};class Pr extends H{constructor(e){super(e)}}class xb extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}}}class Mi extends H{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:gn.controlName}}Mi.Rules=xb;class vn extends K{constructor(e){super(e),this.props=new Mi(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"}}vn.excludes=[_.TAB],vn.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class Db extends Q{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var vc={Designer:vn,Runtime:Db,Property:Mi};class gn extends K{constructor(e){var n;super(e),this.props=new Pr(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new vn,new vn]}static get controlName(){return"\u6807\u7B7E\u9875"}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}gn.excludes=[_.TAB],gn.controlEventKeys=["on_change_tab"],gn.setting=[{key:"super-setting",visible:!0}];class Fb extends Q{constructor(e){super(e),this.props=new Pr(e==null?void 0:e.props)}static get controlType(){return"tab"}}var gc={Designer:gn,Runtime:Fb,Property:Pr};class bc extends H{constructor(e){super(e)}}class Ec extends K{constructor(e){super(e),this.props=new bc({}),this.children=(e==null?void 0:e.children)||[new mn({props:new Le({span:12})}),new mn({props:new Le({span:12})})]}static get controlName(){return"\u5DE5\u5177\u680F"}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}Ec.excludes=[_.GRID_ROW,_.ROW,_.GRID,_.SUBTABLE,_.TAB,_.TOOLBOX];class Ob extends Q{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new Sr({props:new Le({span:12})}),new Sr({props:new Le({span:12})})]}}var _c={Designer:Ec,Runtime:Ob,Property:bc};class kb extends Me{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Mb extends U{constructor(e){if(super(e),this.triggerFieldCode={type:"any"},this.datasourceBind={type:"any"},e.triggerType===2&&e.isShowSubList&&(this.triggerFieldCode={type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")}),Cu.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 bn extends H{constructor(e){var n,i,u,r,a,l,s,o;super(e),this.datasourceBind=new te(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 Sy(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}}bn.Rules=Mb,bn.RuntimeRules=kb;class Ni extends K{constructor(e){super(e),this.props=new bn(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"}}Ni.excludes=[_.ROW],Ni.controlEventKeys=["on_list_search","on_list_mounted","on_list_actions","on_list_render_operation","on_list_rowclick","on_list_before_rowdelete","on_list_rows_checked"],Ni.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 Nb extends Q{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var Cc={Designer:Ni,Runtime:Nb,Property:bn};class $b extends Me{constructor(e){super(e),this.push({type:"object",fields:{}})}}class $i extends H{constructor(e){var n,i,u,r,a,l;super(e),this.save=new Se((n=e==null?void 0:e.save)!=null?n:{content:"\u4FDD\u5B58",type:"save",isShow:!1}),this.cancel=new Se((i=e==null?void 0:e.cancel)!=null?i:{content:"\u53D6\u6D88",type:"cancel",isShow:!1}),this.saveAs=new Se((u=e==null?void 0:e.saveAs)!=null?u:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1}),this.print=new Se((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 Se(s)),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.datasourceBind=new te(e==null?void 0:e.datasourceBind)}}$i.RuntimeRules=$b;class wc extends K{constructor(e){super(e),this.props=new $i(e==null?void 0:e.props)}static get controlName(){return"\u6570\u636E\u5BB9\u5668"}static get controlType(){return"data-view"}}wc.excludes=[];class Lb extends Q{constructor(e){super(e),this.props=new $i(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var Ic={Designer:wc,Runtime:Lb,Property:$i};class Vb extends K{static get controlName(){return"\u81EA\u7531\u9875\u9762"}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class Hb extends Q{static get controlType(){return"page"}constructor(e){super(e)}}class qb extends H{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 Ac={Designer:Vb,Runtime:Hb,Property:qb};class jb extends K{static get controlName(){return"\u9AD8\u7EA7\u5BB9\u5668"}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class Ub extends Q{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class Wb extends H{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new Rl(e==null?void 0:e.flexConfig)}}var Sc={Designer:jb,Runtime:Ub,Property:Wb};class Kb extends K{static get controlName(){return"\u5B9A\u4F4D\u5BB9\u5668"}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class zb extends Q{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class Gb extends H{constructor(e){super(e)}}var Tc={Designer:Kb,Runtime:zb,Property:Gb};class Xb extends K{static get controlName(){return"\u5B9A\u4F4D\u5B50\u5BB9\u5668"}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class Qb extends Q{static get controlType(){return"position"}constructor(e){super(e)}}class Jb extends H{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 Bc={Designer:Xb,Runtime:Qb,Property:Jb},Zb=Object.freeze({__proto__:null,Grid:rc,Col:ac,Row:oc,GridRow:cc,CardGroup:sc,SubTableColumn:fc,SubTableRow:hc,GridTableColumn:mc,Tab:gc,TabPane:vc,Toolbox:_c,ListView:Cc,DataView:Ic,Page:Ac,AdvancedContainer:Sc,PositioningContainer:Tc,Position:Bc});class Yb extends U{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 pb extends Me{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 Hn{constructor(e,n){var i,u,r,a,l,s,o,f,g,b,C,I,E,A,y,w,x,F,$,ce,D;super(e,n),this.caption=(i=n==null?void 0:n.caption)!=null?i:Li.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=(f=n==null?void 0:n.maxHeight)!=null?f:Tl,this.printMode=(g=n==null?void 0:n.printMode)!=null?g:"row",this.limitRows=(b=n==null?void 0:n.limitRows)!=null?b:1,this.defaultRows=(C=n==null?void 0:n.defaultRows)!=null?C:1,this.datasourceBind=new te(n==null?void 0:n.datasourceBind),this.canAdd=(I=n==null?void 0:n.canAdd)!=null?I:!0,this.canDelete=(E=n==null?void 0:n.canDelete)!=null?E:!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=(w=n==null?void 0:n.canImport)!=null?w:!1,this.canExport=(x=n==null?void 0:n.canExport)!=null?x:!1,this.canClear=(F=n==null?void 0:n.canClear)!=null?F:!0,this.serverPagination=($=n==null?void 0:n.serverPagination)!=null?$:!1,this.isShowCaptionTip=(ce=n==null?void 0:n.isShowCaptionTip)!=null?ce:!1,this.captionTip=(D=n==null?void 0:n.captionTip)!=null?D:""}}En.Rules=Yb,En.RuntimeRules=pb;class Li extends Lu{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 fe,new fe,new fe])}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 fe,u=typeof e=="number"?e:n;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}Li.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_delete","on_list_before_import"],Li.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 eE extends dl{constructor(e){super(e),this.props=new En(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){wt("Method not implemented.")}getChildrenFormControl(){return[]}}var Rc={Designer:Li,Runtime:eE,Property:En};class xr extends Hn{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 tE extends Ku{constructor(e){super(e),this.caption.required=!1}}class Vi extends z{constructor(e){var n,i,u,r,a,l,s,o;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"left",this.caption=(i=e==null?void 0:e.caption)!=null?i:qe.controlName,this.width=(u=e==null?void 0:e.width)!=null?u:60,this.autoWidth.minWidth=(a=(r=e==null?void 0:e.autoWidth)==null?void 0:r.minWidth)!=null?a:60,this.autoWidth.flex=(s=(l=e==null?void 0:e.autoWidth)==null?void 0:l.flex)!=null?s:.4,this.widthType=(o=e==null?void 0:e.widthType)!=null?o:"px"}}Vi.Rules=tE;class qe extends Y{constructor(e){super(e),this.props=new Vi(e==null?void 0:e.props)}}qe.controlType="order-column",qe.controlName="\u5E8F\u53F7",qe.controlIcon="order-column",qe.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0}];class Dr extends p{constructor(e){super(e),this.props=new Vi(e==null?void 0:e.props)}}Dr.controlType="order-column",Dr.controlFieldType=v.DECIMAL;var Pc={Designer:qe,Runtime:Dr,Property:Vi};class Fr extends z{constructor(e){var n,i,u,r,a,l;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"right",this.widthType="auto",this.autoWidth.minWidth=(u=(i=e==null?void 0:e.autoWidth)==null?void 0:i.minWidth)!=null?u:84,this.caption=(r=e==null?void 0:e.caption)!=null?r:Ce.controlName,this.showType=(a=e==null?void 0:e.showType)!=null?a:"icon",this.limit=(l=e==null?void 0:e.limit)!=null?l:3}}class Ce extends Y{constructor(e){super(e),this.props=new Fr(e==null?void 0:e.props),_e(this,"children",e==null?void 0:e.children)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===si.controlType){const i=n;e.props[i.props.command]=i.props}}),e}toSchema(){const e=super.toSchema();return _n(we({},e),{children:this.children.map(n=>n.toSchema())})}validate(e,n){return oa(this,null,function*(){return yield la(Ce.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Ce.controlType="operation-column",Ce.controlName="\u64CD\u4F5C",Ce.controlIcon="operation-column",Ce.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0}];class Or extends p{constructor(e){super(e),this.props=new Fr(e==null?void 0:e.props),_e(this,"children",e==null?void 0:e.children)}}Or.controlType="operation-column",Or.controlFieldType=v.FILE;var xc={Designer:Ce,Runtime:Or,Property:Fr};class Hi extends Lu{constructor(e){super(e),this.props=new xr(this,e==null?void 0:e.props),_e(this,"children",e==null?void 0:e.children),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new qe,new Ce])}static get controlName(){return"\u8868\u683C"}static get controlIcon(){return"iconlistview"}static get controlType(){return"grid-table"}toSchema(){const e=super.toSchema(),n=this.children.map(i=>i.toSchema());return _n(we({},e),{children:n})}validate(e,n){return oa(this,null,function*(){return yield la(Hi.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Hi.setting=[{key:"list-fixed-header",visible:!0}];class nE extends dl{constructor(e){super(e),this.props=new xr(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){wt("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var Dc={Designer:Hi,Runtime:nE,Property:xr},iE=Object.freeze({__proto__:null,SubTable:Rc,GridTable:Dc});class uE extends fl{constructor(e){super(e)}}class qi extends z{constructor(e){var n,i,u,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:je.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new te(e==null?void 0:e.datasourceBind),this.options=Ee((u=e==null?void 0:e.options)!=null?u:[{}]),this.lineEllipsis=(r=e==null?void 0:e.lineEllipsis)!=null?r:1}}qi.Rules=uE;class je extends Y{constructor(e){super(e),this.props=new qi(e==null?void 0:e.props)}}je.controlType="varchar-column",je.controlName="\u77ED\u6587\u672C",je.controlIcon="varchar-column",je.controlFieldType=v.VARCHAR,je.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}];class kr extends p{constructor(e){super(e),this.props=new qi(e==null?void 0:e.props)}}kr.controlType="varchar-column",kr.controlFieldType=v.VARCHAR;var Fc={Designer:je,Runtime:kr,Property:qi};class Mr extends z{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:Ue.controlName,this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1}}class Ue extends Y{constructor(e){super(e),this.props=new Mr(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{escapeHTML:i}=this.props;n.props.escapeHTML=i}return n}}Ue.controlType="text-column",Ue.controlName="\u957F\u6587\u672C",Ue.controlIcon="text-column",Ue.controlFieldType=v.TEXT,Ue.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}];class Nr extends p{constructor(e){super(e),this.props=new Mr(e==null?void 0:e.props)}}Nr.controlType="text-column",Nr.controlFieldType=v.TEXT;var Oc={Designer:Ue,Runtime:Nr,Property:Mr};class $r extends z{constructor(e){var n,i,u,r,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:We.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 te(e==null?void 0:e.datasourceBind),this.options=Ee((l=e==null?void 0:e.options)!=null?l:[{}])}}class We extends Y{constructor(e){super(e),this.props=new $r(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}}We.controlType="decimal-column",We.controlName="\u6570\u503C",We.controlIcon="decimal-column",We.controlFieldType=v.DECIMAL,We.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"number-suite",showItems:[c.MICROMETER,c.PRECISION,c.PERCENTAGE],visible:!0},{key:"column-align",visible:!0},{key:"column-sort",visible:!0}];class Lr extends p{constructor(e){super(e),this.props=new $r(e==null?void 0:e.props)}}Lr.controlType="decimal-column",Lr.controlFieldType=v.DECIMAL;var kc={Designer:We,Runtime:Lr,Property:$r};class Vr extends z{constructor(e){var n,i;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Ie.DATE,this.caption=(i=e==null?void 0:e.caption)!=null?i:Ke.controlName}}class Ke extends Y{constructor(e){super(e),this.props=new Vr(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="timescope-column",Ke.controlName="\u65E5\u671F\u533A\u95F4",Ke.controlIcon="timescope-column",Ke.controlFieldType=v.TIMESCOPE,Ke.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class Hr extends p{constructor(e){super(e),this.props=new Vr(e==null?void 0:e.props)}}Hr.controlType="timescope-column",Hr.controlFieldType=v.TIMESCOPE;var Mc={Designer:Ke,Runtime:Hr,Property:Vr};class qr extends z{constructor(e){var n,i;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Ie.DATE,this.caption=(i=e==null?void 0:e.caption)!=null?i:ze.controlName}}class ze extends Y{constructor(e){super(e),this.props=new qr(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}}ze.controlType="timestamp-column",ze.controlName="\u65E5\u671F",ze.controlIcon="timestamp-column",ze.controlFieldType=v.TIMESTAMP,ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class jr extends p{constructor(e){super(e),this.props=new qr(e==null?void 0:e.props)}}jr.controlType="timestamp-column",jr.controlFieldType=v.TIMESTAMP;var Nc={Designer:ze,Runtime:jr,Property:qr};class rE extends fl{constructor(e){super(e)}}class ji extends z{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ge.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new te(e==null?void 0:e.datasourceBind),this.options=Ee((u=e==null?void 0:e.options)!=null?u:[{}])}}ji.Rules=rE;class Ge extends Y{constructor(e){super(e),this.props=new ji(e==null?void 0:e.props)}}Ge.controlType="array-column",Ge.controlName="\u6570\u7EC4",Ge.controlIcon="array-column",Ge.controlFieldType=v.ARRAY,Ge.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-sort",visible:!0}];class Ur extends p{constructor(e){super(e),this.props=new ji(e==null?void 0:e.props)}}Ur.controlType="array-column",Ur.controlFieldType=v.ARRAY;var $c={Designer:Ge,Runtime:Ur,Property:ji};class Wr extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Xe.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class Xe extends Y{constructor(e){super(e),this.props=new Wr(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{displayLevel:i}=this.props;n.props.displayLevel=i}return n}}Xe.controlType="department-column",Xe.controlName="\u90E8\u95E8",Xe.controlIcon="department-column",Xe.controlFieldType=v.DEPARTMENTS,Xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}];class Kr extends p{constructor(e){super(e),this.props=new Wr(e==null?void 0:e.props)}}Kr.controlType="department-column",Kr.controlFieldType=v.DEPARTMENTS;var Lc={Designer:Xe,Runtime:Kr,Property:Wr};class zr extends z{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Qe.controlName}}class Qe extends Y{constructor(e){super(e),this.props=new zr(e==null?void 0:e.props)}}Qe.controlType="auto-number-column",Qe.controlName="\u81EA\u52A8\u7F16\u53F7",Qe.controlIcon="auto-number-column",Qe.controlFieldType=v.AUTO_NUMBER,Qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Gr extends p{constructor(e){super(e),this.props=new zr(e==null?void 0:e.props)}}Gr.controlType="auto-number-column",Gr.controlFieldType=v.AUTO_NUMBER;var Vc={Designer:Qe,Runtime:Gr,Property:zr};class Xr extends z{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Je.controlName}}class Je extends Y{constructor(e){super(e),this.props=new Xr(e==null?void 0:e.props)}}Je.controlType="file-column",Je.controlName="\u9644\u4EF6",Je.controlIcon="file-column",Je.controlFieldType=v.FILE,Je.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Qr extends p{constructor(e){super(e),this.props=new Xr(e==null?void 0:e.props)}}Qr.controlType="file-column",Qr.controlFieldType=v.FILE;var Hc={Designer:Je,Runtime:Qr,Property:Xr};class Jr extends z{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ze.controlName}}class Ze extends Y{constructor(e){super(e),this.props=new Jr(e==null?void 0:e.props)}}Ze.controlType="image-column",Ze.controlName="\u56FE\u7247",Ze.controlIcon="image-column",Ze.controlFieldType=v.IMAGE,Ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Zr extends p{constructor(e){super(e),this.props=new Jr(e==null?void 0:e.props)}}Zr.controlType="image-column",Zr.controlFieldType=v.IMAGE;var qc={Designer:Ze,Runtime:Zr,Property:Jr};class Yr extends z{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ye.controlName}}class Ye extends Y{constructor(e){super(e),this.props=new Yr(e==null?void 0:e.props)}}Ye.controlType="people-column",Ye.controlName="\u4EBA\u5458",Ye.controlIcon="people-column",Ye.controlFieldType=v.EMPLOYEES,Ye.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class pr extends p{constructor(e){super(e),this.props=new Yr(e==null?void 0:e.props)}}pr.controlType="people-column",pr.controlFieldType=v.EMPLOYEES;var jc={Designer:Ye,Runtime:pr,Property:Yr};class ea extends z{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:pe.controlName}}class pe extends Y{constructor(e){super(e),this.props=new ea(e==null?void 0:e.props)}}pe.controlType="location-column",pe.controlName="\u5730\u5740",pe.controlIcon="location-column",pe.controlFieldType=v.ADDRESS,pe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class ta extends p{constructor(e){super(e),this.props=new ea(e==null?void 0:e.props)}}ta.controlType="location-column",ta.controlFieldType=v.ADDRESS;var Uc={Designer:pe,Runtime:ta,Property:ea};class na extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:De.controlName,this.fieldCodeList=(i=e==null?void 0:e.fieldCodeList)!=null?i:[]}}const aE=1;class De extends Y{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new na(e==null?void 0:e.props),_e(this,"children",e==null?void 0:e.children),this.excludes=Ae(n),this.childrenMaxLength=i}judgeJoinChildren(e){const n=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return n&&this.childrenMaxLength>this.children.length}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{fieldCodeList:i}=this.props;n.props.fieldCodeList=i}return n}toSchema(){const e=super.toSchema();return _n(we({},e),{children:this.children.map(n=>n.toSchema())})}}De.controlType="custom-column",De.controlName="\u81EA\u5B9A\u4E49",De.controlIcon="custom-column",De.excludes=[],De.childrenMaxLength=aE,De.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Wc extends p{constructor(e){super(e),this.props=new na(e==null?void 0:e.props),_e(this,"children",e==null?void 0:e.children)}}Wc.controlType="custom-column";var Kc={Designer:De,Runtime:Wc,Property:na};class ia extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Fe.controlName,this.datasourceBind=new An((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:Fe.controlCustomAttributes})}}class Fe extends Y{constructor(e){super(e),this.props=new ia(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}Fe.controlType="employee-column",Fe.controlName="\u4EBA\u5458",Fe.controlIcon="employee-column",Fe.controlFieldType=v.EMPLOYEES,Fe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class ua extends p{constructor(e){super(e),this.props=new ia(e==null?void 0:e.props)}}ua.controlType="employee-column",ua.controlFieldType=v.EMPLOYEES;var zc={Designer:Fe,Runtime:ua,Property:ia},lE=Object.freeze({__proto__:null,VarcharColumn:Fc,TextColumn:Oc,DecimalColumn:kc,TimescopeColumn:Mc,TimestampColumn:Nc,ArrayColumn:$c,DepartmentColumn:Lc,AutoNumberColumn:Vc,FileColumn:Hc,ImageColumn:qc,PeopleColumn:jc,LocationColumn:Uc,CustomColumn:Kc,OrderColumn:Pc,OperationColumn:xc,EmployeeColumn:zc});class oE extends Me{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Ui extends Zu{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 Se((u=e==null?void 0:e.search)!=null?u:{content:"\u67E5\u8BE2",isShow:!0}),this.cancel=new Se((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 Se(o)),this.queryTypeMap=(s=e==null?void 0:e.queryTypeMap)!=null?s:[]}}Ui.RuntimeRules=oE;class ra extends Vg{constructor(e){super(e),this.props=new Ui(e==null?void 0:e.props)}}ra.controlType="simple-search",ra.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 Gc extends zg{constructor(e){var n;super(e),this.props=new Ui(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}Gc.controlType="simple-search";var Xc={Designer:ra,Runtime:Gc,Property:Ui},cE=Object.freeze({__proto__:null,SimpleSearch:Xc});h.Address=xo,h.AdvancedContainer=Sc,h.Amount=To,h.ArrayColumn=$c,h.AssignType=at,h.Attachment=wo,h.AutoNumber=ko,h.AutoNumberColumn=Vc,h.BatchDeleteButton=Yl,h.BatchPrintListButton=Ql,h.BatchPrintRecordListButton=Jl,h.BatchSubmissionListButton=kl,h.Button=Cl,h.Calc=No,h.CardGroup=sc,h.Checkbox=no,h.Col=ac,h.CreateFormListButton=Ol,h.CustomColumn=Kc,h.DATE_CONFIG_TYPE=wl,h.DATE_LIMIT_TYPE=Il,h.Dashboard=Wl,h.DataView=Ic,h.DatePicker=oo,h.DateRange=so,h.DecimalColumn=kc,h.Department=Fo,h.Department2=ic,h.DepartmentColumn=Lc,h.DepartmentType=dr,h.Divider=Dl,h.ElectronicSignature=po,h.ElectronicSignatureConfig=Al,h.Employee=Co,h.Employee2=Zo,h.EmployeeColumn=zc,h.EncryptTypeEnum=Pl,h.Explain=Zn,h.ExportListButton=Nl,h.ExportRecordListButton=$l,h.ExportTemplate=or,h.FileColumn=Hc,h.FlexStyleConfig=Rl,h.FormSelectButton=Vl,h.Grid=rc,h.GridRow=cc,h.GridTable=Dc,h.GridTableColumn=mc,h.Image=Ao,h.ImageColumn=qc,h.ImportRecordListButton=Ll,h.Input=eo,h.InternalType=fr,h.InvoiceCheckButton=Xl,h.LINE_STYLE=ar,h.LimitDate=Jn,h.Link=_l,h.ListSelectButton=Hl,h.ListView=Cc,h.ListViewSelect=zl,h.LocationColumn=Uc,h.Number=ao,h.OperationButton=Zl,h.OperationColumn=xc,h.OrderColumn=Pc,h.OrganizeType=sr,h.Page=Ac,h.Pagination=jl,h.PeopleColumn=jc,h.Position=Bc,h.PositioningContainer=Tc,h.PrintTemplate=Bl,h.Radio=uo,h.RichText=mo,h.Row=oc,h.SCORE_TYPE=rr,h.SUBTABLE_DEFAULT_MAX_HEIGHT=Tl,h.Score=Ro,h.SearchDateRange=Ho,h.SearchInput=Go,h.SearchNumberRange=Lo,h.Select=go,h.SelectMultiple=Eo,h.SelectRelation=Wo,h.SimpleSearch=Xc,h.SubTable=Rc,h.SubTableColumn=fc,h.SubTableRow=hc,h.SubmissionRecordListButton=Ml,h.Tab=gc,h.TabPane=vc,h.Text=El,h.TextColumn=Oc,h.TextOcrButton=Gl,h.Textarea=ho,h.TimescopeColumn=Mc,h.TimestampColumn=Nc,h.Title=Fl,h.TitleConfigEnum=xe,h.Toolbox=_c,h.Tree=Qo,h.UndersignedPerson=lr,h.VarcharColumn=Fc,h.VueFormItem=jo,h.WPS=tc,h.WPSSetting=Sl,h.WpsOperationItem=cr,h.baseControls=R0,h.columnControls=lE,h.formControls=_b,h.initExpression=Pt,h.layoutControls=Zb,h.listControls=iE,h.searchControls=cE,Object.defineProperty(h,"__esModule",{value:!0})});
|