@byteluck-fe/model-driven-controls 6.1.0-3 → 6.1.0-3-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/api-doc-index.js +90 -0
- package/dist/esm/baseControls/BatchDeleteButton/designer.js +164 -0
- package/dist/esm/baseControls/BatchDeleteButton/index.js +11 -0
- package/dist/esm/baseControls/BatchDeleteButton/property.js +101 -0
- package/dist/esm/baseControls/BatchDeleteButton/runtime.js +112 -0
- package/dist/esm/baseControls/BatchDeleteButton/types.js +0 -0
- package/dist/esm/baseControls/BatchPrintListButton/designer.js +158 -0
- package/dist/esm/baseControls/BatchPrintListButton/index.js +11 -0
- package/dist/esm/baseControls/BatchPrintListButton/property.js +118 -0
- package/dist/esm/baseControls/BatchPrintListButton/runtime.js +112 -0
- package/dist/esm/baseControls/BatchPrintListButton/types.js +0 -0
- package/dist/esm/baseControls/BatchPrintRecordListButton/designer.js +153 -0
- package/dist/esm/baseControls/BatchPrintRecordListButton/index.js +11 -0
- package/dist/esm/baseControls/BatchPrintRecordListButton/property.js +79 -0
- package/dist/esm/baseControls/BatchPrintRecordListButton/runtime.js +112 -0
- package/dist/esm/baseControls/BatchPrintRecordListButton/types.js +0 -0
- package/dist/esm/baseControls/BatchSubmissionListButton/designer.js +162 -0
- package/dist/esm/baseControls/BatchSubmissionListButton/index.js +11 -0
- package/dist/esm/baseControls/BatchSubmissionListButton/property.js +130 -0
- package/dist/esm/baseControls/BatchSubmissionListButton/runtime.js +112 -0
- package/dist/esm/baseControls/BatchSubmissionListButton/types.js +0 -0
- package/dist/esm/baseControls/Button/designer.js +172 -0
- package/dist/esm/baseControls/Button/index.js +11 -0
- package/dist/esm/baseControls/Button/property.js +133 -0
- package/dist/esm/baseControls/Button/runtime.js +112 -0
- package/dist/esm/baseControls/Button/types.js +0 -0
- package/dist/esm/baseControls/CreateFormListButton/designer.js +162 -0
- package/dist/esm/baseControls/CreateFormListButton/index.js +11 -0
- package/dist/esm/baseControls/CreateFormListButton/property.js +114 -0
- package/dist/esm/baseControls/CreateFormListButton/runtime.js +112 -0
- package/dist/esm/baseControls/CreateFormListButton/types.js +0 -0
- package/dist/esm/baseControls/Dashboard/designer.js +156 -0
- package/dist/esm/baseControls/Dashboard/index.js +11 -0
- package/dist/esm/baseControls/Dashboard/property.js +140 -0
- package/dist/esm/baseControls/Dashboard/runtime.js +112 -0
- package/dist/esm/baseControls/Divider/designer.js +142 -0
- package/dist/esm/baseControls/Divider/index.js +11 -0
- package/dist/esm/baseControls/Divider/property.js +93 -0
- package/dist/esm/baseControls/Divider/runtime.js +112 -0
- package/dist/esm/baseControls/Divider/types.js +0 -0
- package/dist/esm/baseControls/ExportListButton/designer.js +158 -0
- package/dist/esm/baseControls/ExportListButton/index.js +11 -0
- package/dist/esm/baseControls/ExportListButton/property.js +111 -0
- package/dist/esm/baseControls/ExportListButton/runtime.js +112 -0
- package/dist/esm/baseControls/ExportListButton/types.js +0 -0
- package/dist/esm/baseControls/ExportRecordListButton/designer.js +153 -0
- package/dist/esm/baseControls/ExportRecordListButton/index.js +11 -0
- package/dist/esm/baseControls/ExportRecordListButton/property.js +79 -0
- package/dist/esm/baseControls/ExportRecordListButton/runtime.js +112 -0
- package/dist/esm/baseControls/ExportRecordListButton/types.js +0 -0
- package/dist/esm/baseControls/FormSelectButton/designer.js +163 -0
- package/dist/esm/baseControls/FormSelectButton/index.js +11 -0
- package/dist/esm/baseControls/FormSelectButton/property.js +157 -0
- package/dist/esm/baseControls/FormSelectButton/runtime.js +112 -0
- package/dist/esm/baseControls/FormSelectButton/types.js +0 -0
- package/dist/esm/baseControls/ImportRecordListButton/designer.js +159 -0
- package/dist/esm/baseControls/ImportRecordListButton/index.js +11 -0
- package/dist/esm/baseControls/ImportRecordListButton/property.js +105 -0
- package/dist/esm/baseControls/ImportRecordListButton/runtime.js +112 -0
- package/dist/esm/baseControls/ImportRecordListButton/types.js +0 -0
- package/dist/esm/baseControls/InvoiceCheckButton/designer.js +176 -0
- package/dist/esm/baseControls/InvoiceCheckButton/index.js +11 -0
- package/dist/esm/baseControls/InvoiceCheckButton/property.js +151 -0
- package/dist/esm/baseControls/InvoiceCheckButton/runtime.js +112 -0
- package/dist/esm/baseControls/InvoiceCheckButton/types.js +0 -0
- package/dist/esm/baseControls/Link/designer.js +153 -0
- package/dist/esm/baseControls/Link/index.js +11 -0
- package/dist/esm/baseControls/Link/property.js +93 -0
- package/dist/esm/baseControls/Link/runtime.js +112 -0
- package/dist/esm/baseControls/Link/types.js +0 -0
- package/dist/esm/baseControls/ListSelectButton/designer.js +164 -0
- package/dist/esm/baseControls/ListSelectButton/index.js +11 -0
- package/dist/esm/baseControls/ListSelectButton/property.js +175 -0
- package/dist/esm/baseControls/ListSelectButton/runtime.js +112 -0
- package/dist/esm/baseControls/ListSelectButton/types.js +0 -0
- package/dist/esm/baseControls/ListViewSelect/designer.js +139 -0
- package/dist/esm/baseControls/ListViewSelect/index.js +11 -0
- package/dist/esm/baseControls/ListViewSelect/property.js +133 -0
- package/dist/esm/baseControls/ListViewSelect/runtime.js +112 -0
- package/dist/esm/baseControls/OperationButton/designer.js +161 -0
- package/dist/esm/baseControls/OperationButton/index.js +11 -0
- package/dist/esm/baseControls/OperationButton/property.js +129 -0
- package/dist/esm/baseControls/OperationButton/runtime.js +112 -0
- package/dist/esm/baseControls/OperationButton/types.js +0 -0
- package/dist/esm/baseControls/Pagination/designer.js +126 -0
- package/dist/esm/baseControls/Pagination/index.js +11 -0
- package/dist/esm/baseControls/Pagination/property.js +110 -0
- package/dist/esm/baseControls/Pagination/runtime.js +112 -0
- package/dist/esm/baseControls/ReferenceList/designer.js +158 -0
- package/dist/esm/baseControls/ReferenceList/index.js +11 -0
- package/dist/esm/baseControls/ReferenceList/property.js +134 -0
- package/dist/esm/baseControls/ReferenceList/runtime.js +112 -0
- package/dist/esm/baseControls/ReferenceList/types.js +0 -0
- package/dist/esm/baseControls/SubmissionRecordListButton/designer.js +153 -0
- package/dist/esm/baseControls/SubmissionRecordListButton/index.js +11 -0
- package/dist/esm/baseControls/SubmissionRecordListButton/property.js +79 -0
- package/dist/esm/baseControls/SubmissionRecordListButton/runtime.js +112 -0
- package/dist/esm/baseControls/SubmissionRecordListButton/types.js +0 -0
- package/dist/esm/baseControls/Text/designer.js +162 -0
- package/dist/esm/baseControls/Text/index.js +11 -0
- package/dist/esm/baseControls/Text/property.js +103 -0
- package/dist/esm/baseControls/Text/runtime.js +112 -0
- package/dist/esm/baseControls/Text/types.js +0 -0
- package/dist/esm/baseControls/TextOcrButton/designer.js +176 -0
- package/dist/esm/baseControls/TextOcrButton/index.js +11 -0
- package/dist/esm/baseControls/TextOcrButton/property.js +153 -0
- package/dist/esm/baseControls/TextOcrButton/runtime.js +112 -0
- package/dist/esm/baseControls/TextOcrButton/types.js +0 -0
- package/dist/esm/baseControls/Title/designer.js +155 -0
- package/dist/esm/baseControls/Title/index.js +11 -0
- package/dist/esm/baseControls/Title/property.js +152 -0
- package/dist/esm/baseControls/Title/runtime.js +112 -0
- package/dist/esm/baseControls/Title/types.js +0 -0
- package/dist/esm/baseControls/index.js +23 -0
- package/dist/esm/baseControls/utils.js +28 -0
- package/dist/esm/columnControls/ApprovalStatusColumn/designer.js +133 -0
- package/dist/esm/columnControls/ApprovalStatusColumn/index.js +11 -0
- package/dist/esm/columnControls/ApprovalStatusColumn/property.js +105 -0
- package/dist/esm/columnControls/ApprovalStatusColumn/runtime.js +91 -0
- package/dist/esm/columnControls/ApprovalStatusColumn/types.js +0 -0
- package/dist/esm/columnControls/ArrayColumn/designer.js +137 -0
- package/dist/esm/columnControls/ArrayColumn/index.js +11 -0
- package/dist/esm/columnControls/ArrayColumn/property.js +138 -0
- package/dist/esm/columnControls/ArrayColumn/runtime.js +93 -0
- package/dist/esm/columnControls/ArrayColumn/types.js +0 -0
- package/dist/esm/columnControls/AutoNumberColumn/designer.js +133 -0
- package/dist/esm/columnControls/AutoNumberColumn/index.js +11 -0
- package/dist/esm/columnControls/AutoNumberColumn/property.js +117 -0
- package/dist/esm/columnControls/AutoNumberColumn/runtime.js +93 -0
- package/dist/esm/columnControls/AutoNumberColumn/types.js +0 -0
- package/dist/esm/columnControls/CustomColumn/designer.js +206 -0
- package/dist/esm/columnControls/CustomColumn/index.js +11 -0
- package/dist/esm/columnControls/CustomColumn/property.js +117 -0
- package/dist/esm/columnControls/CustomColumn/runtime.js +93 -0
- package/dist/esm/columnControls/CustomColumn/types.js +0 -0
- package/dist/esm/columnControls/DecimalColumn/designer.js +201 -0
- package/dist/esm/columnControls/DecimalColumn/index.js +11 -0
- package/dist/esm/columnControls/DecimalColumn/property.js +148 -0
- package/dist/esm/columnControls/DecimalColumn/runtime.js +93 -0
- package/dist/esm/columnControls/DecimalColumn/types.js +0 -0
- package/dist/esm/columnControls/DepartmentColumn/designer.js +183 -0
- package/dist/esm/columnControls/DepartmentColumn/index.js +11 -0
- package/dist/esm/columnControls/DepartmentColumn/property.js +99 -0
- package/dist/esm/columnControls/DepartmentColumn/runtime.js +93 -0
- package/dist/esm/columnControls/DepartmentColumn/types.js +0 -0
- package/dist/esm/columnControls/EmployeeColumn/designer.js +158 -0
- package/dist/esm/columnControls/EmployeeColumn/index.js +11 -0
- package/dist/esm/columnControls/EmployeeColumn/property.js +100 -0
- package/dist/esm/columnControls/EmployeeColumn/runtime.js +93 -0
- package/dist/esm/columnControls/EmployeeColumn/types.js +0 -0
- package/dist/esm/columnControls/FileColumn/designer.js +133 -0
- package/dist/esm/columnControls/FileColumn/index.js +11 -0
- package/dist/esm/columnControls/FileColumn/property.js +99 -0
- package/dist/esm/columnControls/FileColumn/runtime.js +93 -0
- package/dist/esm/columnControls/FileColumn/types.js +0 -0
- package/dist/esm/columnControls/ImageColumn/designer.js +129 -0
- package/dist/esm/columnControls/ImageColumn/index.js +11 -0
- package/dist/esm/columnControls/ImageColumn/property.js +80 -0
- package/dist/esm/columnControls/ImageColumn/runtime.js +93 -0
- package/dist/esm/columnControls/ImageColumn/types.js +0 -0
- package/dist/esm/columnControls/LocationColumn/designer.js +133 -0
- package/dist/esm/columnControls/LocationColumn/index.js +11 -0
- package/dist/esm/columnControls/LocationColumn/property.js +117 -0
- package/dist/esm/columnControls/LocationColumn/runtime.js +93 -0
- package/dist/esm/columnControls/LocationColumn/types.js +0 -0
- package/dist/esm/columnControls/OperationColumn/designer.js +360 -0
- package/dist/esm/columnControls/OperationColumn/index.js +11 -0
- package/dist/esm/columnControls/OperationColumn/property.js +164 -0
- package/dist/esm/columnControls/OperationColumn/runtime.js +93 -0
- package/dist/esm/columnControls/OperationColumn/types.js +0 -0
- package/dist/esm/columnControls/OrderColumn/designer.js +112 -0
- package/dist/esm/columnControls/OrderColumn/index.js +11 -0
- package/dist/esm/columnControls/OrderColumn/property.js +115 -0
- package/dist/esm/columnControls/OrderColumn/runtime.js +93 -0
- package/dist/esm/columnControls/OrderColumn/types.js +0 -0
- package/dist/esm/columnControls/PeopleColumn/designer.js +129 -0
- package/dist/esm/columnControls/PeopleColumn/index.js +11 -0
- package/dist/esm/columnControls/PeopleColumn/property.js +80 -0
- package/dist/esm/columnControls/PeopleColumn/runtime.js +93 -0
- package/dist/esm/columnControls/PeopleColumn/types.js +0 -0
- package/dist/esm/columnControls/TextColumn/designer.js +199 -0
- package/dist/esm/columnControls/TextColumn/index.js +11 -0
- package/dist/esm/columnControls/TextColumn/property.js +127 -0
- package/dist/esm/columnControls/TextColumn/runtime.js +93 -0
- package/dist/esm/columnControls/TextColumn/types.js +0 -0
- package/dist/esm/columnControls/TimescopeColumn/designer.js +188 -0
- package/dist/esm/columnControls/TimescopeColumn/index.js +11 -0
- package/dist/esm/columnControls/TimescopeColumn/property.js +125 -0
- package/dist/esm/columnControls/TimescopeColumn/runtime.js +93 -0
- package/dist/esm/columnControls/TimescopeColumn/types.js +0 -0
- package/dist/esm/columnControls/TimestampColumn/designer.js +188 -0
- package/dist/esm/columnControls/TimestampColumn/index.js +11 -0
- package/dist/esm/columnControls/TimestampColumn/property.js +125 -0
- package/dist/esm/columnControls/TimestampColumn/runtime.js +93 -0
- package/dist/esm/columnControls/TimestampColumn/types.js +0 -0
- package/dist/esm/columnControls/VarcharColumn/designer.js +150 -0
- package/dist/esm/columnControls/VarcharColumn/index.js +11 -0
- package/dist/esm/columnControls/VarcharColumn/property.js +141 -0
- package/dist/esm/columnControls/VarcharColumn/runtime.js +93 -0
- package/dist/esm/columnControls/VarcharColumn/types.js +0 -0
- package/dist/esm/columnControls/index.js +17 -0
- package/dist/esm/formControls/Address/designer.js +170 -0
- package/dist/esm/formControls/Address/index.js +11 -0
- package/dist/esm/formControls/Address/property.js +155 -0
- package/dist/esm/formControls/Address/runtime.js +127 -0
- package/dist/esm/formControls/Address/types.js +0 -0
- package/dist/esm/formControls/Amount/designer.js +235 -0
- package/dist/esm/formControls/Amount/index.js +11 -0
- package/dist/esm/formControls/Amount/property.js +271 -0
- package/dist/esm/formControls/Amount/runtime.js +114 -0
- package/dist/esm/formControls/Amount/types.js +0 -0
- package/dist/esm/formControls/Attachment/designer.js +204 -0
- package/dist/esm/formControls/Attachment/index.js +11 -0
- package/dist/esm/formControls/Attachment/property.js +172 -0
- package/dist/esm/formControls/Attachment/runtime.js +114 -0
- package/dist/esm/formControls/Attachment/types.js +0 -0
- package/dist/esm/formControls/AutoNumber/designer.js +165 -0
- package/dist/esm/formControls/AutoNumber/index.js +11 -0
- package/dist/esm/formControls/AutoNumber/property.js +94 -0
- package/dist/esm/formControls/AutoNumber/runtime.js +114 -0
- package/dist/esm/formControls/AutoNumber/types.js +0 -0
- package/dist/esm/formControls/Barcode/designer.js +307 -0
- package/dist/esm/formControls/Barcode/index.js +11 -0
- package/dist/esm/formControls/Barcode/property.js +217 -0
- package/dist/esm/formControls/Barcode/runtime.js +114 -0
- package/dist/esm/formControls/Calc/designer.js +235 -0
- package/dist/esm/formControls/Calc/index.js +11 -0
- package/dist/esm/formControls/Calc/property.js +180 -0
- package/dist/esm/formControls/Calc/runtime.js +114 -0
- package/dist/esm/formControls/Calc/types.js +0 -0
- package/dist/esm/formControls/Checkbox/designer.js +195 -0
- package/dist/esm/formControls/Checkbox/index.js +11 -0
- package/dist/esm/formControls/Checkbox/property.js +187 -0
- package/dist/esm/formControls/Checkbox/runtime.js +114 -0
- package/dist/esm/formControls/Checkbox/types.js +0 -0
- package/dist/esm/formControls/DatePicker/designer.js +225 -0
- package/dist/esm/formControls/DatePicker/index.js +11 -0
- package/dist/esm/formControls/DatePicker/property.js +120 -0
- package/dist/esm/formControls/DatePicker/runtime.js +114 -0
- package/dist/esm/formControls/DatePicker/types.js +0 -0
- package/dist/esm/formControls/DateRange/designer.js +224 -0
- package/dist/esm/formControls/DateRange/index.js +11 -0
- package/dist/esm/formControls/DateRange/property.js +189 -0
- package/dist/esm/formControls/DateRange/runtime.js +114 -0
- package/dist/esm/formControls/DateRange/types.js +0 -0
- package/dist/esm/formControls/Department/designer.js +221 -0
- package/dist/esm/formControls/Department/index.js +11 -0
- package/dist/esm/formControls/Department/property.js +145 -0
- package/dist/esm/formControls/Department/runtime.js +114 -0
- package/dist/esm/formControls/Department/types.js +0 -0
- package/dist/esm/formControls/Department2/designer.js +236 -0
- package/dist/esm/formControls/Department2/index.js +11 -0
- package/dist/esm/formControls/Department2/property.js +190 -0
- package/dist/esm/formControls/Department2/runtime.js +114 -0
- package/dist/esm/formControls/Department2/types.js +0 -0
- package/dist/esm/formControls/ElectronicSignature/designer.js +180 -0
- package/dist/esm/formControls/ElectronicSignature/index.js +11 -0
- package/dist/esm/formControls/ElectronicSignature/property.js +204 -0
- package/dist/esm/formControls/ElectronicSignature/runtime.js +114 -0
- package/dist/esm/formControls/ElectronicSignature/types.js +0 -0
- package/dist/esm/formControls/Employee/designer.js +183 -0
- package/dist/esm/formControls/Employee/index.js +11 -0
- package/dist/esm/formControls/Employee/property.js +131 -0
- package/dist/esm/formControls/Employee/runtime.js +114 -0
- package/dist/esm/formControls/Employee/types.js +0 -0
- package/dist/esm/formControls/Employee2/designer.js +203 -0
- package/dist/esm/formControls/Employee2/index.js +11 -0
- package/dist/esm/formControls/Employee2/property.js +176 -0
- package/dist/esm/formControls/Employee2/runtime.js +114 -0
- package/dist/esm/formControls/Employee2/types.js +0 -0
- package/dist/esm/formControls/Image/designer.js +191 -0
- package/dist/esm/formControls/Image/index.js +11 -0
- package/dist/esm/formControls/Image/property.js +105 -0
- package/dist/esm/formControls/Image/runtime.js +112 -0
- package/dist/esm/formControls/Image/types.js +0 -0
- package/dist/esm/formControls/Input/designer.js +206 -0
- package/dist/esm/formControls/Input/index.js +11 -0
- package/dist/esm/formControls/Input/property.js +214 -0
- package/dist/esm/formControls/Input/runtime.js +114 -0
- package/dist/esm/formControls/Input/types.js +0 -0
- package/dist/esm/formControls/Number/designer.js +247 -0
- package/dist/esm/formControls/Number/index.js +11 -0
- package/dist/esm/formControls/Number/property.js +234 -0
- package/dist/esm/formControls/Number/runtime.js +114 -0
- package/dist/esm/formControls/Number/types.js +0 -0
- package/dist/esm/formControls/OrganizationSelection/designer.js +236 -0
- package/dist/esm/formControls/OrganizationSelection/index.js +11 -0
- package/dist/esm/formControls/OrganizationSelection/property.js +200 -0
- package/dist/esm/formControls/OrganizationSelection/runtime.js +114 -0
- package/dist/esm/formControls/OrganizationSelection/types.js +0 -0
- package/dist/esm/formControls/Radio/designer.js +191 -0
- package/dist/esm/formControls/Radio/index.js +11 -0
- package/dist/esm/formControls/Radio/property.js +147 -0
- package/dist/esm/formControls/Radio/runtime.js +114 -0
- package/dist/esm/formControls/Radio/types.js +0 -0
- package/dist/esm/formControls/RichText/designer.js +205 -0
- package/dist/esm/formControls/RichText/index.js +11 -0
- package/dist/esm/formControls/RichText/property.js +194 -0
- package/dist/esm/formControls/RichText/runtime.js +114 -0
- package/dist/esm/formControls/RichText/types.js +0 -0
- package/dist/esm/formControls/Score/designer.js +248 -0
- package/dist/esm/formControls/Score/index.js +11 -0
- package/dist/esm/formControls/Score/property.js +166 -0
- package/dist/esm/formControls/Score/runtime.js +114 -0
- package/dist/esm/formControls/Score/types.js +0 -0
- package/dist/esm/formControls/SearchDateRange/designer.js +191 -0
- package/dist/esm/formControls/SearchDateRange/index.js +11 -0
- package/dist/esm/formControls/SearchDateRange/property.js +152 -0
- package/dist/esm/formControls/SearchDateRange/runtime.js +114 -0
- package/dist/esm/formControls/SearchDateRange/types.js +0 -0
- package/dist/esm/formControls/SearchInput/designer.js +158 -0
- package/dist/esm/formControls/SearchInput/index.js +11 -0
- package/dist/esm/formControls/SearchInput/property.js +85 -0
- package/dist/esm/formControls/SearchInput/runtime.js +114 -0
- package/dist/esm/formControls/SearchInput/types.js +0 -0
- package/dist/esm/formControls/SearchNumberRange/designer.js +175 -0
- package/dist/esm/formControls/SearchNumberRange/index.js +11 -0
- package/dist/esm/formControls/SearchNumberRange/property.js +137 -0
- package/dist/esm/formControls/SearchNumberRange/runtime.js +114 -0
- package/dist/esm/formControls/SearchNumberRange/types.js +0 -0
- package/dist/esm/formControls/Select/designer.js +189 -0
- package/dist/esm/formControls/Select/index.js +11 -0
- package/dist/esm/formControls/Select/property.js +169 -0
- package/dist/esm/formControls/Select/runtime.js +114 -0
- package/dist/esm/formControls/Select/types.js +0 -0
- package/dist/esm/formControls/SelectMultiple/designer.js +188 -0
- package/dist/esm/formControls/SelectMultiple/index.js +11 -0
- package/dist/esm/formControls/SelectMultiple/property.js +184 -0
- package/dist/esm/formControls/SelectMultiple/runtime.js +114 -0
- package/dist/esm/formControls/SelectMultiple/types.js +0 -0
- package/dist/esm/formControls/SelectRelation/designer.js +233 -0
- package/dist/esm/formControls/SelectRelation/index.js +11 -0
- package/dist/esm/formControls/SelectRelation/property.js +214 -0
- package/dist/esm/formControls/SelectRelation/runtime.js +114 -0
- package/dist/esm/formControls/SelectRelation/types.js +0 -0
- package/dist/esm/formControls/Textarea/designer.js +210 -0
- package/dist/esm/formControls/Textarea/index.js +11 -0
- package/dist/esm/formControls/Textarea/property.js +235 -0
- package/dist/esm/formControls/Textarea/runtime.js +114 -0
- package/dist/esm/formControls/Textarea/types.js +0 -0
- package/dist/esm/formControls/Tree/designer.js +208 -0
- package/dist/esm/formControls/Tree/index.js +11 -0
- package/dist/esm/formControls/Tree/property.js +189 -0
- package/dist/esm/formControls/Tree/runtime.js +114 -0
- package/dist/esm/formControls/VueFormItem/designer.js +173 -0
- package/dist/esm/formControls/VueFormItem/index.js +11 -0
- package/dist/esm/formControls/VueFormItem/property.js +129 -0
- package/dist/esm/formControls/VueFormItem/runtime.js +114 -0
- package/dist/esm/formControls/VueFormItem/types.js +0 -0
- package/dist/esm/formControls/VuePage/designer.js +129 -0
- package/dist/esm/formControls/VuePage/index.js +11 -0
- package/dist/esm/formControls/VuePage/property.js +129 -0
- package/dist/esm/formControls/VuePage/runtime.js +114 -0
- package/dist/esm/formControls/VuePage/types.js +0 -0
- package/dist/esm/formControls/WPS/designer.js +194 -0
- package/dist/esm/formControls/WPS/index.js +11 -0
- package/dist/esm/formControls/WPS/property.js +175 -0
- package/dist/esm/formControls/WPS/runtime.js +114 -0
- package/dist/esm/formControls/index.js +32 -0
- package/dist/esm/framework.js +407 -0
- package/dist/esm/index.js +23 -0
- package/dist/esm/layoutControls/ActionBar/designer.js +159 -0
- package/dist/esm/layoutControls/ActionBar/index.js +11 -0
- package/dist/esm/layoutControls/ActionBar/property.js +95 -0
- package/dist/esm/layoutControls/ActionBar/runtime.js +113 -0
- package/dist/esm/layoutControls/ActionBar/types.js +0 -0
- package/dist/esm/layoutControls/AdvancedContainer/Setting.js +61 -0
- package/dist/esm/layoutControls/AdvancedContainer/designer.js +108 -0
- package/dist/esm/layoutControls/AdvancedContainer/index.js +11 -0
- package/dist/esm/layoutControls/AdvancedContainer/property.js +90 -0
- package/dist/esm/layoutControls/AdvancedContainer/runtime.js +95 -0
- package/dist/esm/layoutControls/CardGroup/designer.js +154 -0
- package/dist/esm/layoutControls/CardGroup/index.js +11 -0
- package/dist/esm/layoutControls/CardGroup/property.js +114 -0
- package/dist/esm/layoutControls/CardGroup/runtime.js +112 -0
- package/dist/esm/layoutControls/CardGroup/types.js +0 -0
- package/dist/esm/layoutControls/Col/designer.js +135 -0
- package/dist/esm/layoutControls/Col/index.js +11 -0
- package/dist/esm/layoutControls/Col/property.js +92 -0
- package/dist/esm/layoutControls/Col/runtime.js +112 -0
- package/dist/esm/layoutControls/Col/types.js +0 -0
- package/dist/esm/layoutControls/DataView/designer.js +120 -0
- package/dist/esm/layoutControls/DataView/index.js +11 -0
- package/dist/esm/layoutControls/DataView/property.js +145 -0
- package/dist/esm/layoutControls/DataView/runtime.js +112 -0
- package/dist/esm/layoutControls/DataView/types.js +0 -0
- package/dist/esm/layoutControls/Grid/designer.js +125 -0
- package/dist/esm/layoutControls/Grid/index.js +11 -0
- package/dist/esm/layoutControls/Grid/property.js +2 -0
- package/dist/esm/layoutControls/Grid/runtime.js +95 -0
- package/dist/esm/layoutControls/Grid/types.js +0 -0
- package/dist/esm/layoutControls/GridLayoutContainer/designer.js +141 -0
- package/dist/esm/layoutControls/GridLayoutContainer/index.js +11 -0
- package/dist/esm/layoutControls/GridLayoutContainer/property.js +93 -0
- package/dist/esm/layoutControls/GridLayoutContainer/runtime.js +112 -0
- package/dist/esm/layoutControls/GridLayoutContainer/types.js +0 -0
- package/dist/esm/layoutControls/GridRow/designer.js +128 -0
- package/dist/esm/layoutControls/GridRow/index.js +11 -0
- package/dist/esm/layoutControls/GridRow/property.js +73 -0
- package/dist/esm/layoutControls/GridRow/runtime.js +95 -0
- package/dist/esm/layoutControls/GridRow/types.js +0 -0
- package/dist/esm/layoutControls/GridTableColumn/designer.js +122 -0
- package/dist/esm/layoutControls/GridTableColumn/index.js +11 -0
- package/dist/esm/layoutControls/GridTableColumn/property.js +103 -0
- package/dist/esm/layoutControls/GridTableColumn/runtime.js +91 -0
- package/dist/esm/layoutControls/GridTableColumn/types.js +0 -0
- package/dist/esm/layoutControls/ListView/designer.js +171 -0
- package/dist/esm/layoutControls/ListView/index.js +11 -0
- package/dist/esm/layoutControls/ListView/property.js +309 -0
- package/dist/esm/layoutControls/ListView/runtime.js +112 -0
- package/dist/esm/layoutControls/ListView/types.js +0 -0
- package/dist/esm/layoutControls/Page/Setting.js +81 -0
- package/dist/esm/layoutControls/Page/designer.js +108 -0
- package/dist/esm/layoutControls/Page/index.js +11 -0
- package/dist/esm/layoutControls/Page/property.js +93 -0
- package/dist/esm/layoutControls/Page/runtime.js +95 -0
- package/dist/esm/layoutControls/Position/Setting.js +5 -0
- package/dist/esm/layoutControls/Position/designer.js +108 -0
- package/dist/esm/layoutControls/Position/index.js +11 -0
- package/dist/esm/layoutControls/Position/property.js +92 -0
- package/dist/esm/layoutControls/Position/runtime.js +95 -0
- package/dist/esm/layoutControls/PositioningContainer/Setting.js +61 -0
- package/dist/esm/layoutControls/PositioningContainer/designer.js +108 -0
- package/dist/esm/layoutControls/PositioningContainer/index.js +11 -0
- package/dist/esm/layoutControls/PositioningContainer/property.js +72 -0
- package/dist/esm/layoutControls/PositioningContainer/runtime.js +95 -0
- package/dist/esm/layoutControls/Row/designer.js +135 -0
- package/dist/esm/layoutControls/Row/index.js +11 -0
- package/dist/esm/layoutControls/Row/property.js +91 -0
- package/dist/esm/layoutControls/Row/runtime.js +112 -0
- package/dist/esm/layoutControls/Row/types.js +0 -0
- package/dist/esm/layoutControls/Step/designer.js +166 -0
- package/dist/esm/layoutControls/Step/index.js +11 -0
- package/dist/esm/layoutControls/Step/property.js +99 -0
- package/dist/esm/layoutControls/Step/runtime.js +112 -0
- package/dist/esm/layoutControls/Step/types.js +0 -0
- package/dist/esm/layoutControls/StepPane/designer.js +130 -0
- package/dist/esm/layoutControls/StepPane/index.js +11 -0
- package/dist/esm/layoutControls/StepPane/property.js +116 -0
- package/dist/esm/layoutControls/StepPane/runtime.js +112 -0
- package/dist/esm/layoutControls/StepPane/types.js +0 -0
- package/dist/esm/layoutControls/SubTableColumn/designer.js +127 -0
- package/dist/esm/layoutControls/SubTableColumn/index.js +11 -0
- package/dist/esm/layoutControls/SubTableColumn/property.js +138 -0
- package/dist/esm/layoutControls/SubTableColumn/runtime.js +91 -0
- package/dist/esm/layoutControls/SubTableColumn/types.js +0 -0
- package/dist/esm/layoutControls/SubTableRow/designer.js +115 -0
- package/dist/esm/layoutControls/SubTableRow/index.js +11 -0
- package/dist/esm/layoutControls/SubTableRow/property.js +73 -0
- package/dist/esm/layoutControls/SubTableRow/runtime.js +112 -0
- package/dist/esm/layoutControls/SubTableRow/types.js +0 -0
- package/dist/esm/layoutControls/Tab/designer.js +148 -0
- package/dist/esm/layoutControls/Tab/index.js +11 -0
- package/dist/esm/layoutControls/Tab/property.js +90 -0
- package/dist/esm/layoutControls/Tab/runtime.js +112 -0
- package/dist/esm/layoutControls/Tab/types.js +0 -0
- package/dist/esm/layoutControls/TabPane/designer.js +160 -0
- package/dist/esm/layoutControls/TabPane/index.js +11 -0
- package/dist/esm/layoutControls/TabPane/property.js +110 -0
- package/dist/esm/layoutControls/TabPane/runtime.js +112 -0
- package/dist/esm/layoutControls/TabPane/types.js +0 -0
- package/dist/esm/layoutControls/Toolbox/designer.js +147 -0
- package/dist/esm/layoutControls/Toolbox/index.js +11 -0
- package/dist/esm/layoutControls/Toolbox/property.js +73 -0
- package/dist/esm/layoutControls/Toolbox/runtime.js +110 -0
- package/dist/esm/layoutControls/Toolbox/types.js +0 -0
- package/dist/esm/layoutControls/index.js +21 -0
- package/dist/esm/listControls/GridTable/designer.js +413 -0
- package/dist/esm/listControls/GridTable/index.js +11 -0
- package/dist/esm/listControls/GridTable/property.js +131 -0
- package/dist/esm/listControls/GridTable/runtime.js +133 -0
- package/dist/esm/listControls/GridTable/types.js +0 -0
- package/dist/esm/listControls/SubTable/designer.js +246 -0
- package/dist/esm/listControls/SubTable/index.js +11 -0
- package/dist/esm/listControls/SubTable/property.js +341 -0
- package/dist/esm/listControls/SubTable/runtime.js +127 -0
- package/dist/esm/listControls/SubTable/types.js +0 -0
- package/dist/esm/listControls/index.js +2 -0
- package/dist/esm/searchControls/SimpleSearch/designer.js +123 -0
- package/dist/esm/searchControls/SimpleSearch/index.js +11 -0
- package/dist/esm/searchControls/SimpleSearch/property.js +173 -0
- package/dist/esm/searchControls/SimpleSearch/runtime.js +93 -0
- package/dist/esm/searchControls/SimpleSearch/types.js +0 -0
- package/dist/esm/searchControls/index.js +1 -0
- package/dist/esm/type.js +1 -0
- package/dist/esm/wrapControls/GridLayoutWrap/Setting.js +28 -0
- package/dist/esm/wrapControls/GridLayoutWrap/designer.js +133 -0
- package/dist/esm/wrapControls/GridLayoutWrap/index.js +20 -0
- package/dist/esm/wrapControls/GridLayoutWrap/property.js +89 -0
- package/dist/esm/wrapControls/GridLayoutWrap/runtime.js +118 -0
- package/dist/esm/wrapControls/index.js +1 -0
- package/dist/index.umd.js +1 -1
- package/dist/types/api-doc-index.d.ts +90 -0
- package/dist/types/baseControls/BatchDeleteButton/designer.d.ts +14 -0
- package/dist/types/baseControls/BatchDeleteButton/index.d.ts +12 -0
- package/dist/types/baseControls/BatchDeleteButton/property.d.ts +14 -0
- package/dist/types/baseControls/BatchDeleteButton/runtime.d.ts +9 -0
- package/dist/types/baseControls/BatchDeleteButton/types.d.ts +0 -0
- package/dist/types/baseControls/BatchPrintListButton/designer.d.ts +15 -0
- package/dist/types/baseControls/BatchPrintListButton/index.d.ts +12 -0
- package/dist/types/baseControls/BatchPrintListButton/property.d.ts +15 -0
- package/dist/types/baseControls/BatchPrintListButton/runtime.d.ts +10 -0
- package/dist/types/baseControls/BatchPrintListButton/types.d.ts +0 -0
- package/dist/types/baseControls/BatchPrintRecordListButton/designer.d.ts +16 -0
- package/dist/types/baseControls/BatchPrintRecordListButton/index.d.ts +12 -0
- package/dist/types/baseControls/BatchPrintRecordListButton/property.d.ts +6 -0
- package/dist/types/baseControls/BatchPrintRecordListButton/runtime.d.ts +10 -0
- package/dist/types/baseControls/BatchPrintRecordListButton/types.d.ts +0 -0
- package/dist/types/baseControls/BatchSubmissionListButton/designer.d.ts +15 -0
- package/dist/types/baseControls/BatchSubmissionListButton/index.d.ts +12 -0
- package/dist/types/baseControls/BatchSubmissionListButton/property.d.ts +27 -0
- package/dist/types/baseControls/BatchSubmissionListButton/runtime.d.ts +10 -0
- package/dist/types/baseControls/BatchSubmissionListButton/types.d.ts +0 -0
- package/dist/types/baseControls/Button/designer.d.ts +14 -0
- package/dist/types/baseControls/Button/index.d.ts +12 -0
- package/dist/types/baseControls/Button/property.d.ts +55 -0
- package/dist/types/baseControls/Button/runtime.d.ts +9 -0
- package/dist/types/baseControls/Button/types.d.ts +0 -0
- package/dist/types/baseControls/CreateFormListButton/designer.d.ts +15 -0
- package/dist/types/baseControls/CreateFormListButton/index.d.ts +12 -0
- package/dist/types/baseControls/CreateFormListButton/property.d.ts +15 -0
- package/dist/types/baseControls/CreateFormListButton/runtime.d.ts +10 -0
- package/dist/types/baseControls/CreateFormListButton/types.d.ts +0 -0
- package/dist/types/baseControls/Dashboard/designer.d.ts +12 -0
- package/dist/types/baseControls/Dashboard/index.d.ts +12 -0
- package/dist/types/baseControls/Dashboard/property.d.ts +26 -0
- package/dist/types/baseControls/Dashboard/runtime.d.ts +10 -0
- package/dist/types/baseControls/Divider/designer.d.ts +12 -0
- package/dist/types/baseControls/Divider/index.d.ts +12 -0
- package/dist/types/baseControls/Divider/property.d.ts +9 -0
- package/dist/types/baseControls/Divider/runtime.d.ts +10 -0
- package/dist/types/baseControls/Divider/types.d.ts +0 -0
- package/dist/types/baseControls/ExportListButton/designer.d.ts +16 -0
- package/dist/types/baseControls/ExportListButton/index.d.ts +12 -0
- package/dist/types/baseControls/ExportListButton/property.d.ts +9 -0
- package/dist/types/baseControls/ExportListButton/runtime.d.ts +10 -0
- package/dist/types/baseControls/ExportListButton/types.d.ts +0 -0
- package/dist/types/baseControls/ExportRecordListButton/designer.d.ts +16 -0
- package/dist/types/baseControls/ExportRecordListButton/index.d.ts +12 -0
- package/dist/types/baseControls/ExportRecordListButton/property.d.ts +6 -0
- package/dist/types/baseControls/ExportRecordListButton/runtime.d.ts +10 -0
- package/dist/types/baseControls/ExportRecordListButton/types.d.ts +0 -0
- package/dist/types/baseControls/FormSelectButton/designer.d.ts +15 -0
- package/dist/types/baseControls/FormSelectButton/index.d.ts +12 -0
- package/dist/types/baseControls/FormSelectButton/property.d.ts +19 -0
- package/dist/types/baseControls/FormSelectButton/runtime.d.ts +10 -0
- package/dist/types/baseControls/FormSelectButton/types.d.ts +0 -0
- package/dist/types/baseControls/ImportRecordListButton/designer.d.ts +16 -0
- package/dist/types/baseControls/ImportRecordListButton/index.d.ts +12 -0
- package/dist/types/baseControls/ImportRecordListButton/property.d.ts +12 -0
- package/dist/types/baseControls/ImportRecordListButton/runtime.d.ts +10 -0
- package/dist/types/baseControls/ImportRecordListButton/types.d.ts +0 -0
- package/dist/types/baseControls/InvoiceCheckButton/designer.d.ts +15 -0
- package/dist/types/baseControls/InvoiceCheckButton/index.d.ts +12 -0
- package/dist/types/baseControls/InvoiceCheckButton/property.d.ts +25 -0
- package/dist/types/baseControls/InvoiceCheckButton/runtime.d.ts +10 -0
- package/dist/types/baseControls/InvoiceCheckButton/types.d.ts +0 -0
- package/dist/types/baseControls/Link/designer.d.ts +13 -0
- package/dist/types/baseControls/Link/index.d.ts +12 -0
- package/dist/types/baseControls/Link/property.d.ts +9 -0
- package/dist/types/baseControls/Link/runtime.d.ts +10 -0
- package/dist/types/baseControls/Link/types.d.ts +0 -0
- package/dist/types/baseControls/ListSelectButton/designer.d.ts +15 -0
- package/dist/types/baseControls/ListSelectButton/index.d.ts +12 -0
- package/dist/types/baseControls/ListSelectButton/property.d.ts +42 -0
- package/dist/types/baseControls/ListSelectButton/runtime.d.ts +10 -0
- package/dist/types/baseControls/ListSelectButton/types.d.ts +0 -0
- package/dist/types/baseControls/ListViewSelect/designer.d.ts +12 -0
- package/dist/types/baseControls/ListViewSelect/index.d.ts +12 -0
- package/dist/types/baseControls/ListViewSelect/property.d.ts +15 -0
- package/dist/types/baseControls/ListViewSelect/runtime.d.ts +9 -0
- package/dist/types/baseControls/OperationButton/designer.d.ts +13 -0
- package/dist/types/baseControls/OperationButton/index.d.ts +12 -0
- package/dist/types/baseControls/OperationButton/property.d.ts +26 -0
- package/dist/types/baseControls/OperationButton/runtime.d.ts +9 -0
- package/dist/types/baseControls/OperationButton/types.d.ts +0 -0
- package/dist/types/baseControls/Pagination/designer.d.ts +13 -0
- package/dist/types/baseControls/Pagination/index.d.ts +12 -0
- package/dist/types/baseControls/Pagination/property.d.ts +14 -0
- package/dist/types/baseControls/Pagination/runtime.d.ts +10 -0
- package/dist/types/baseControls/ReferenceList/designer.d.ts +14 -0
- package/dist/types/baseControls/ReferenceList/index.d.ts +12 -0
- package/dist/types/baseControls/ReferenceList/property.d.ts +22 -0
- package/dist/types/baseControls/ReferenceList/runtime.d.ts +9 -0
- package/dist/types/baseControls/ReferenceList/types.d.ts +0 -0
- package/dist/types/baseControls/SubmissionRecordListButton/designer.d.ts +16 -0
- package/dist/types/baseControls/SubmissionRecordListButton/index.d.ts +12 -0
- package/dist/types/baseControls/SubmissionRecordListButton/property.d.ts +6 -0
- package/dist/types/baseControls/SubmissionRecordListButton/runtime.d.ts +10 -0
- package/dist/types/baseControls/SubmissionRecordListButton/types.d.ts +0 -0
- package/dist/types/baseControls/Text/designer.d.ts +12 -0
- package/dist/types/baseControls/Text/index.d.ts +12 -0
- package/dist/types/baseControls/Text/property.d.ts +18 -0
- package/dist/types/baseControls/Text/runtime.d.ts +10 -0
- package/dist/types/baseControls/Text/types.d.ts +0 -0
- package/dist/types/baseControls/TextOcrButton/designer.d.ts +15 -0
- package/dist/types/baseControls/TextOcrButton/index.d.ts +12 -0
- package/dist/types/baseControls/TextOcrButton/property.d.ts +25 -0
- package/dist/types/baseControls/TextOcrButton/runtime.d.ts +10 -0
- package/dist/types/baseControls/TextOcrButton/types.d.ts +0 -0
- package/dist/types/baseControls/Title/designer.d.ts +14 -0
- package/dist/types/baseControls/Title/index.d.ts +12 -0
- package/dist/types/baseControls/Title/property.d.ts +19 -0
- package/dist/types/baseControls/Title/runtime.d.ts +10 -0
- package/dist/types/baseControls/Title/types.d.ts +0 -0
- package/dist/types/baseControls/index.d.ts +23 -0
- package/dist/types/baseControls/utils.d.ts +2 -0
- package/dist/types/columnControls/ApprovalStatusColumn/designer.d.ts +14 -0
- package/dist/types/columnControls/ApprovalStatusColumn/index.d.ts +12 -0
- package/dist/types/columnControls/ApprovalStatusColumn/property.d.ts +28 -0
- package/dist/types/columnControls/ApprovalStatusColumn/runtime.d.ts +12 -0
- package/dist/types/columnControls/ApprovalStatusColumn/types.d.ts +0 -0
- package/dist/types/columnControls/ArrayColumn/designer.d.ts +14 -0
- package/dist/types/columnControls/ArrayColumn/index.d.ts +12 -0
- package/dist/types/columnControls/ArrayColumn/property.d.ts +48 -0
- package/dist/types/columnControls/ArrayColumn/runtime.d.ts +12 -0
- package/dist/types/columnControls/ArrayColumn/types.d.ts +0 -0
- package/dist/types/columnControls/AutoNumberColumn/designer.d.ts +14 -0
- package/dist/types/columnControls/AutoNumberColumn/index.d.ts +12 -0
- package/dist/types/columnControls/AutoNumberColumn/property.d.ts +24 -0
- package/dist/types/columnControls/AutoNumberColumn/runtime.d.ts +12 -0
- package/dist/types/columnControls/AutoNumberColumn/types.d.ts +0 -0
- package/dist/types/columnControls/CustomColumn/designer.d.ts +20 -0
- package/dist/types/columnControls/CustomColumn/index.d.ts +12 -0
- package/dist/types/columnControls/CustomColumn/property.d.ts +18 -0
- package/dist/types/columnControls/CustomColumn/runtime.d.ts +12 -0
- package/dist/types/columnControls/CustomColumn/types.d.ts +0 -0
- package/dist/types/columnControls/DecimalColumn/designer.d.ts +15 -0
- package/dist/types/columnControls/DecimalColumn/index.d.ts +12 -0
- package/dist/types/columnControls/DecimalColumn/property.d.ts +59 -0
- package/dist/types/columnControls/DecimalColumn/runtime.d.ts +12 -0
- package/dist/types/columnControls/DecimalColumn/types.d.ts +0 -0
- package/dist/types/columnControls/DepartmentColumn/designer.d.ts +15 -0
- package/dist/types/columnControls/DepartmentColumn/index.d.ts +12 -0
- package/dist/types/columnControls/DepartmentColumn/property.d.ts +16 -0
- package/dist/types/columnControls/DepartmentColumn/runtime.d.ts +12 -0
- package/dist/types/columnControls/DepartmentColumn/types.d.ts +0 -0
- package/dist/types/columnControls/EmployeeColumn/designer.d.ts +19 -0
- package/dist/types/columnControls/EmployeeColumn/index.d.ts +12 -0
- package/dist/types/columnControls/EmployeeColumn/property.d.ts +15 -0
- package/dist/types/columnControls/EmployeeColumn/runtime.d.ts +12 -0
- package/dist/types/columnControls/EmployeeColumn/types.d.ts +0 -0
- package/dist/types/columnControls/FileColumn/designer.d.ts +14 -0
- package/dist/types/columnControls/FileColumn/index.d.ts +12 -0
- package/dist/types/columnControls/FileColumn/property.d.ts +10 -0
- package/dist/types/columnControls/FileColumn/runtime.d.ts +12 -0
- package/dist/types/columnControls/FileColumn/types.d.ts +0 -0
- package/dist/types/columnControls/ImageColumn/designer.d.ts +14 -0
- package/dist/types/columnControls/ImageColumn/index.d.ts +12 -0
- package/dist/types/columnControls/ImageColumn/property.d.ts +9 -0
- package/dist/types/columnControls/ImageColumn/runtime.d.ts +12 -0
- package/dist/types/columnControls/ImageColumn/types.d.ts +0 -0
- package/dist/types/columnControls/LocationColumn/designer.d.ts +14 -0
- package/dist/types/columnControls/LocationColumn/index.d.ts +12 -0
- package/dist/types/columnControls/LocationColumn/property.d.ts +24 -0
- package/dist/types/columnControls/LocationColumn/runtime.d.ts +12 -0
- package/dist/types/columnControls/LocationColumn/types.d.ts +0 -0
- package/dist/types/columnControls/OperationColumn/designer.d.ts +14 -0
- package/dist/types/columnControls/OperationColumn/index.d.ts +12 -0
- package/dist/types/columnControls/OperationColumn/property.d.ts +22 -0
- package/dist/types/columnControls/OperationColumn/runtime.d.ts +12 -0
- package/dist/types/columnControls/OperationColumn/types.d.ts +0 -0
- package/dist/types/columnControls/OrderColumn/designer.d.ts +12 -0
- package/dist/types/columnControls/OrderColumn/index.d.ts +12 -0
- package/dist/types/columnControls/OrderColumn/property.d.ts +14 -0
- package/dist/types/columnControls/OrderColumn/runtime.d.ts +12 -0
- package/dist/types/columnControls/OrderColumn/types.d.ts +0 -0
- package/dist/types/columnControls/PeopleColumn/designer.d.ts +14 -0
- package/dist/types/columnControls/PeopleColumn/index.d.ts +12 -0
- package/dist/types/columnControls/PeopleColumn/property.d.ts +9 -0
- package/dist/types/columnControls/PeopleColumn/runtime.d.ts +12 -0
- package/dist/types/columnControls/PeopleColumn/types.d.ts +0 -0
- package/dist/types/columnControls/TextColumn/designer.d.ts +15 -0
- package/dist/types/columnControls/TextColumn/index.d.ts +12 -0
- package/dist/types/columnControls/TextColumn/property.d.ts +36 -0
- package/dist/types/columnControls/TextColumn/runtime.d.ts +12 -0
- package/dist/types/columnControls/TextColumn/types.d.ts +0 -0
- package/dist/types/columnControls/TimescopeColumn/designer.d.ts +15 -0
- package/dist/types/columnControls/TimescopeColumn/index.d.ts +12 -0
- package/dist/types/columnControls/TimescopeColumn/property.d.ts +32 -0
- package/dist/types/columnControls/TimescopeColumn/runtime.d.ts +12 -0
- package/dist/types/columnControls/TimescopeColumn/types.d.ts +0 -0
- package/dist/types/columnControls/TimestampColumn/designer.d.ts +15 -0
- package/dist/types/columnControls/TimestampColumn/index.d.ts +12 -0
- package/dist/types/columnControls/TimestampColumn/property.d.ts +32 -0
- package/dist/types/columnControls/TimestampColumn/runtime.d.ts +12 -0
- package/dist/types/columnControls/TimestampColumn/types.d.ts +0 -0
- package/dist/types/columnControls/VarcharColumn/designer.d.ts +14 -0
- package/dist/types/columnControls/VarcharColumn/index.d.ts +12 -0
- package/dist/types/columnControls/VarcharColumn/property.d.ts +52 -0
- package/dist/types/columnControls/VarcharColumn/runtime.d.ts +12 -0
- package/dist/types/columnControls/VarcharColumn/types.d.ts +0 -0
- package/dist/types/columnControls/index.d.ts +17 -0
- package/dist/types/formControls/Address/designer.d.ts +14 -0
- package/dist/types/formControls/Address/index.d.ts +12 -0
- package/dist/types/formControls/Address/property.d.ts +28 -0
- package/dist/types/formControls/Address/runtime.d.ts +14 -0
- package/dist/types/formControls/Address/types.d.ts +0 -0
- package/dist/types/formControls/Amount/designer.d.ts +16 -0
- package/dist/types/formControls/Amount/index.d.ts +12 -0
- package/dist/types/formControls/Amount/property.d.ts +76 -0
- package/dist/types/formControls/Amount/runtime.d.ts +12 -0
- package/dist/types/formControls/Amount/types.d.ts +0 -0
- package/dist/types/formControls/Attachment/designer.d.ts +15 -0
- package/dist/types/formControls/Attachment/index.d.ts +12 -0
- package/dist/types/formControls/Attachment/property.d.ts +42 -0
- package/dist/types/formControls/Attachment/runtime.d.ts +12 -0
- package/dist/types/formControls/Attachment/types.d.ts +0 -0
- package/dist/types/formControls/AutoNumber/designer.d.ts +15 -0
- package/dist/types/formControls/AutoNumber/index.d.ts +12 -0
- package/dist/types/formControls/AutoNumber/property.d.ts +7 -0
- package/dist/types/formControls/AutoNumber/runtime.d.ts +12 -0
- package/dist/types/formControls/AutoNumber/types.d.ts +0 -0
- package/dist/types/formControls/Barcode/designer.d.ts +15 -0
- package/dist/types/formControls/Barcode/index.d.ts +12 -0
- package/dist/types/formControls/Barcode/property.d.ts +70 -0
- package/dist/types/formControls/Barcode/runtime.d.ts +12 -0
- package/dist/types/formControls/Calc/designer.d.ts +16 -0
- package/dist/types/formControls/Calc/index.d.ts +12 -0
- package/dist/types/formControls/Calc/property.d.ts +58 -0
- package/dist/types/formControls/Calc/runtime.d.ts +12 -0
- package/dist/types/formControls/Calc/types.d.ts +0 -0
- package/dist/types/formControls/Checkbox/designer.d.ts +15 -0
- package/dist/types/formControls/Checkbox/index.d.ts +12 -0
- package/dist/types/formControls/Checkbox/property.d.ts +36 -0
- package/dist/types/formControls/Checkbox/runtime.d.ts +12 -0
- package/dist/types/formControls/Checkbox/types.d.ts +0 -0
- package/dist/types/formControls/DatePicker/designer.d.ts +15 -0
- package/dist/types/formControls/DatePicker/index.d.ts +12 -0
- package/dist/types/formControls/DatePicker/property.d.ts +17 -0
- package/dist/types/formControls/DatePicker/runtime.d.ts +12 -0
- package/dist/types/formControls/DatePicker/types.d.ts +0 -0
- package/dist/types/formControls/DateRange/designer.d.ts +15 -0
- package/dist/types/formControls/DateRange/index.d.ts +12 -0
- package/dist/types/formControls/DateRange/property.d.ts +81 -0
- package/dist/types/formControls/DateRange/runtime.d.ts +12 -0
- package/dist/types/formControls/DateRange/types.d.ts +0 -0
- package/dist/types/formControls/Department/designer.d.ts +15 -0
- package/dist/types/formControls/Department/index.d.ts +12 -0
- package/dist/types/formControls/Department/property.d.ts +47 -0
- package/dist/types/formControls/Department/runtime.d.ts +12 -0
- package/dist/types/formControls/Department/types.d.ts +0 -0
- package/dist/types/formControls/Department2/designer.d.ts +20 -0
- package/dist/types/formControls/Department2/index.d.ts +12 -0
- package/dist/types/formControls/Department2/property.d.ts +65 -0
- package/dist/types/formControls/Department2/runtime.d.ts +12 -0
- package/dist/types/formControls/Department2/types.d.ts +0 -0
- package/dist/types/formControls/ElectronicSignature/designer.d.ts +15 -0
- package/dist/types/formControls/ElectronicSignature/index.d.ts +12 -0
- package/dist/types/formControls/ElectronicSignature/property.d.ts +22 -0
- package/dist/types/formControls/ElectronicSignature/runtime.d.ts +12 -0
- package/dist/types/formControls/ElectronicSignature/types.d.ts +0 -0
- package/dist/types/formControls/Employee/designer.d.ts +14 -0
- package/dist/types/formControls/Employee/index.d.ts +12 -0
- package/dist/types/formControls/Employee/property.d.ts +21 -0
- package/dist/types/formControls/Employee/runtime.d.ts +12 -0
- package/dist/types/formControls/Employee/types.d.ts +0 -0
- package/dist/types/formControls/Employee2/designer.d.ts +20 -0
- package/dist/types/formControls/Employee2/index.d.ts +12 -0
- package/dist/types/formControls/Employee2/property.d.ts +35 -0
- package/dist/types/formControls/Employee2/runtime.d.ts +12 -0
- package/dist/types/formControls/Employee2/types.d.ts +0 -0
- package/dist/types/formControls/Image/designer.d.ts +15 -0
- package/dist/types/formControls/Image/index.d.ts +12 -0
- package/dist/types/formControls/Image/property.d.ts +9 -0
- package/dist/types/formControls/Image/runtime.d.ts +10 -0
- package/dist/types/formControls/Image/types.d.ts +0 -0
- package/dist/types/formControls/Input/designer.d.ts +15 -0
- package/dist/types/formControls/Input/index.d.ts +12 -0
- package/dist/types/formControls/Input/property.d.ts +74 -0
- package/dist/types/formControls/Input/runtime.d.ts +12 -0
- package/dist/types/formControls/Input/types.d.ts +0 -0
- package/dist/types/formControls/Number/designer.d.ts +16 -0
- package/dist/types/formControls/Number/index.d.ts +12 -0
- package/dist/types/formControls/Number/property.d.ts +92 -0
- package/dist/types/formControls/Number/runtime.d.ts +12 -0
- package/dist/types/formControls/Number/types.d.ts +0 -0
- package/dist/types/formControls/OrganizationSelection/designer.d.ts +20 -0
- package/dist/types/formControls/OrganizationSelection/index.d.ts +12 -0
- package/dist/types/formControls/OrganizationSelection/property.d.ts +73 -0
- package/dist/types/formControls/OrganizationSelection/runtime.d.ts +12 -0
- package/dist/types/formControls/OrganizationSelection/types.d.ts +0 -0
- package/dist/types/formControls/Radio/designer.d.ts +15 -0
- package/dist/types/formControls/Radio/index.d.ts +12 -0
- package/dist/types/formControls/Radio/property.d.ts +28 -0
- package/dist/types/formControls/Radio/runtime.d.ts +12 -0
- package/dist/types/formControls/Radio/types.d.ts +0 -0
- package/dist/types/formControls/RichText/designer.d.ts +15 -0
- package/dist/types/formControls/RichText/index.d.ts +12 -0
- package/dist/types/formControls/RichText/property.d.ts +50 -0
- package/dist/types/formControls/RichText/runtime.d.ts +12 -0
- package/dist/types/formControls/RichText/types.d.ts +0 -0
- package/dist/types/formControls/Score/designer.d.ts +16 -0
- package/dist/types/formControls/Score/index.d.ts +12 -0
- package/dist/types/formControls/Score/property.d.ts +23 -0
- package/dist/types/formControls/Score/runtime.d.ts +12 -0
- package/dist/types/formControls/Score/types.d.ts +0 -0
- package/dist/types/formControls/SearchDateRange/designer.d.ts +14 -0
- package/dist/types/formControls/SearchDateRange/index.d.ts +12 -0
- package/dist/types/formControls/SearchDateRange/property.d.ts +23 -0
- package/dist/types/formControls/SearchDateRange/runtime.d.ts +12 -0
- package/dist/types/formControls/SearchDateRange/types.d.ts +0 -0
- package/dist/types/formControls/SearchInput/designer.d.ts +12 -0
- package/dist/types/formControls/SearchInput/index.d.ts +12 -0
- package/dist/types/formControls/SearchInput/property.d.ts +10 -0
- package/dist/types/formControls/SearchInput/runtime.d.ts +12 -0
- package/dist/types/formControls/SearchInput/types.d.ts +0 -0
- package/dist/types/formControls/SearchNumberRange/designer.d.ts +14 -0
- package/dist/types/formControls/SearchNumberRange/index.d.ts +12 -0
- package/dist/types/formControls/SearchNumberRange/property.d.ts +15 -0
- package/dist/types/formControls/SearchNumberRange/runtime.d.ts +12 -0
- package/dist/types/formControls/SearchNumberRange/types.d.ts +0 -0
- package/dist/types/formControls/Select/designer.d.ts +14 -0
- package/dist/types/formControls/Select/index.d.ts +12 -0
- package/dist/types/formControls/Select/property.d.ts +43 -0
- package/dist/types/formControls/Select/runtime.d.ts +12 -0
- package/dist/types/formControls/Select/types.d.ts +0 -0
- package/dist/types/formControls/SelectMultiple/designer.d.ts +14 -0
- package/dist/types/formControls/SelectMultiple/index.d.ts +12 -0
- package/dist/types/formControls/SelectMultiple/property.d.ts +46 -0
- package/dist/types/formControls/SelectMultiple/runtime.d.ts +12 -0
- package/dist/types/formControls/SelectMultiple/types.d.ts +0 -0
- package/dist/types/formControls/SelectRelation/designer.d.ts +16 -0
- package/dist/types/formControls/SelectRelation/index.d.ts +12 -0
- package/dist/types/formControls/SelectRelation/property.d.ts +86 -0
- package/dist/types/formControls/SelectRelation/runtime.d.ts +12 -0
- package/dist/types/formControls/SelectRelation/types.d.ts +0 -0
- package/dist/types/formControls/Textarea/designer.d.ts +15 -0
- package/dist/types/formControls/Textarea/index.d.ts +12 -0
- package/dist/types/formControls/Textarea/property.d.ts +75 -0
- package/dist/types/formControls/Textarea/runtime.d.ts +12 -0
- package/dist/types/formControls/Textarea/types.d.ts +0 -0
- package/dist/types/formControls/Tree/designer.d.ts +20 -0
- package/dist/types/formControls/Tree/index.d.ts +12 -0
- package/dist/types/formControls/Tree/property.d.ts +34 -0
- package/dist/types/formControls/Tree/runtime.d.ts +11 -0
- package/dist/types/formControls/VueFormItem/designer.d.ts +16 -0
- package/dist/types/formControls/VueFormItem/index.d.ts +12 -0
- package/dist/types/formControls/VueFormItem/property.d.ts +18 -0
- package/dist/types/formControls/VueFormItem/runtime.d.ts +12 -0
- package/dist/types/formControls/VueFormItem/types.d.ts +0 -0
- package/dist/types/formControls/VuePage/designer.d.ts +15 -0
- package/dist/types/formControls/VuePage/index.d.ts +12 -0
- package/dist/types/formControls/VuePage/property.d.ts +18 -0
- package/dist/types/formControls/VuePage/runtime.d.ts +12 -0
- package/dist/types/formControls/VuePage/types.d.ts +0 -0
- package/dist/types/formControls/WPS/designer.d.ts +15 -0
- package/dist/types/formControls/WPS/index.d.ts +12 -0
- package/dist/types/formControls/WPS/property.d.ts +32 -0
- package/dist/types/formControls/WPS/runtime.d.ts +12 -0
- package/dist/types/formControls/index.d.ts +32 -0
- package/dist/types/framework.d.ts +273 -0
- package/dist/types/index.d.ts +17 -0
- package/dist/types/layoutControls/ActionBar/designer.d.ts +16 -0
- package/dist/types/layoutControls/ActionBar/index.d.ts +12 -0
- package/dist/types/layoutControls/ActionBar/property.d.ts +9 -0
- package/dist/types/layoutControls/ActionBar/runtime.d.ts +10 -0
- package/dist/types/layoutControls/ActionBar/types.d.ts +0 -0
- package/dist/types/layoutControls/AdvancedContainer/Setting.d.ts +2 -0
- package/dist/types/layoutControls/AdvancedContainer/designer.d.ts +10 -0
- package/dist/types/layoutControls/AdvancedContainer/index.d.ts +12 -0
- package/dist/types/layoutControls/AdvancedContainer/property.d.ts +8 -0
- package/dist/types/layoutControls/AdvancedContainer/runtime.d.ts +9 -0
- package/dist/types/layoutControls/CardGroup/designer.d.ts +14 -0
- package/dist/types/layoutControls/CardGroup/index.d.ts +12 -0
- package/dist/types/layoutControls/CardGroup/property.d.ts +14 -0
- package/dist/types/layoutControls/CardGroup/runtime.d.ts +10 -0
- package/dist/types/layoutControls/CardGroup/types.d.ts +0 -0
- package/dist/types/layoutControls/Col/designer.d.ts +14 -0
- package/dist/types/layoutControls/Col/index.d.ts +12 -0
- package/dist/types/layoutControls/Col/property.d.ts +8 -0
- package/dist/types/layoutControls/Col/runtime.d.ts +10 -0
- package/dist/types/layoutControls/Col/types.d.ts +0 -0
- package/dist/types/layoutControls/DataView/designer.d.ts +11 -0
- package/dist/types/layoutControls/DataView/index.d.ts +12 -0
- package/dist/types/layoutControls/DataView/property.d.ts +33 -0
- package/dist/types/layoutControls/DataView/runtime.d.ts +10 -0
- package/dist/types/layoutControls/DataView/types.d.ts +0 -0
- package/dist/types/layoutControls/Grid/designer.d.ts +11 -0
- package/dist/types/layoutControls/Grid/index.d.ts +12 -0
- package/dist/types/layoutControls/Grid/property.d.ts +2 -0
- package/dist/types/layoutControls/Grid/runtime.d.ts +9 -0
- package/dist/types/layoutControls/Grid/types.d.ts +0 -0
- package/dist/types/layoutControls/GridLayoutContainer/designer.d.ts +14 -0
- package/dist/types/layoutControls/GridLayoutContainer/index.d.ts +12 -0
- package/dist/types/layoutControls/GridLayoutContainer/property.d.ts +8 -0
- package/dist/types/layoutControls/GridLayoutContainer/runtime.d.ts +10 -0
- package/dist/types/layoutControls/GridLayoutContainer/types.d.ts +0 -0
- package/dist/types/layoutControls/GridRow/designer.d.ts +16 -0
- package/dist/types/layoutControls/GridRow/index.d.ts +12 -0
- package/dist/types/layoutControls/GridRow/property.d.ts +6 -0
- package/dist/types/layoutControls/GridRow/runtime.d.ts +10 -0
- package/dist/types/layoutControls/GridRow/types.d.ts +0 -0
- package/dist/types/layoutControls/GridTableColumn/designer.d.ts +23 -0
- package/dist/types/layoutControls/GridTableColumn/index.d.ts +12 -0
- package/dist/types/layoutControls/GridTableColumn/property.d.ts +19 -0
- package/dist/types/layoutControls/GridTableColumn/runtime.d.ts +10 -0
- package/dist/types/layoutControls/GridTableColumn/types.d.ts +0 -0
- package/dist/types/layoutControls/ListView/designer.d.ts +20 -0
- package/dist/types/layoutControls/ListView/index.d.ts +12 -0
- package/dist/types/layoutControls/ListView/property.d.ts +128 -0
- package/dist/types/layoutControls/ListView/runtime.d.ts +12 -0
- package/dist/types/layoutControls/ListView/types.d.ts +0 -0
- package/dist/types/layoutControls/Page/Setting.d.ts +2 -0
- package/dist/types/layoutControls/Page/designer.d.ts +10 -0
- package/dist/types/layoutControls/Page/index.d.ts +12 -0
- package/dist/types/layoutControls/Page/property.d.ts +15 -0
- package/dist/types/layoutControls/Page/runtime.d.ts +9 -0
- package/dist/types/layoutControls/Position/Setting.d.ts +2 -0
- package/dist/types/layoutControls/Position/designer.d.ts +10 -0
- package/dist/types/layoutControls/Position/index.d.ts +12 -0
- package/dist/types/layoutControls/Position/property.d.ts +9 -0
- package/dist/types/layoutControls/Position/runtime.d.ts +9 -0
- package/dist/types/layoutControls/PositioningContainer/Setting.d.ts +2 -0
- package/dist/types/layoutControls/PositioningContainer/designer.d.ts +10 -0
- package/dist/types/layoutControls/PositioningContainer/index.d.ts +12 -0
- package/dist/types/layoutControls/PositioningContainer/property.d.ts +5 -0
- package/dist/types/layoutControls/PositioningContainer/runtime.d.ts +9 -0
- package/dist/types/layoutControls/Row/designer.d.ts +15 -0
- package/dist/types/layoutControls/Row/index.d.ts +12 -0
- package/dist/types/layoutControls/Row/property.d.ts +8 -0
- package/dist/types/layoutControls/Row/runtime.d.ts +11 -0
- package/dist/types/layoutControls/Row/types.d.ts +0 -0
- package/dist/types/layoutControls/Step/designer.d.ts +14 -0
- package/dist/types/layoutControls/Step/index.d.ts +12 -0
- package/dist/types/layoutControls/Step/property.d.ts +11 -0
- package/dist/types/layoutControls/Step/runtime.d.ts +9 -0
- package/dist/types/layoutControls/Step/types.d.ts +0 -0
- package/dist/types/layoutControls/StepPane/designer.d.ts +14 -0
- package/dist/types/layoutControls/StepPane/index.d.ts +12 -0
- package/dist/types/layoutControls/StepPane/property.d.ts +14 -0
- package/dist/types/layoutControls/StepPane/runtime.d.ts +9 -0
- package/dist/types/layoutControls/StepPane/types.d.ts +0 -0
- package/dist/types/layoutControls/SubTableColumn/designer.d.ts +23 -0
- package/dist/types/layoutControls/SubTableColumn/index.d.ts +12 -0
- package/dist/types/layoutControls/SubTableColumn/property.d.ts +39 -0
- package/dist/types/layoutControls/SubTableColumn/runtime.d.ts +10 -0
- package/dist/types/layoutControls/SubTableColumn/types.d.ts +0 -0
- package/dist/types/layoutControls/SubTableRow/designer.d.ts +20 -0
- package/dist/types/layoutControls/SubTableRow/index.d.ts +12 -0
- package/dist/types/layoutControls/SubTableRow/property.d.ts +6 -0
- package/dist/types/layoutControls/SubTableRow/runtime.d.ts +11 -0
- package/dist/types/layoutControls/SubTableRow/types.d.ts +0 -0
- package/dist/types/layoutControls/Tab/designer.d.ts +16 -0
- package/dist/types/layoutControls/Tab/index.d.ts +12 -0
- package/dist/types/layoutControls/Tab/property.d.ts +7 -0
- package/dist/types/layoutControls/Tab/runtime.d.ts +11 -0
- package/dist/types/layoutControls/Tab/types.d.ts +0 -0
- package/dist/types/layoutControls/TabPane/designer.d.ts +14 -0
- package/dist/types/layoutControls/TabPane/index.d.ts +12 -0
- package/dist/types/layoutControls/TabPane/property.d.ts +13 -0
- package/dist/types/layoutControls/TabPane/runtime.d.ts +10 -0
- package/dist/types/layoutControls/TabPane/types.d.ts +0 -0
- package/dist/types/layoutControls/Toolbox/designer.d.ts +14 -0
- package/dist/types/layoutControls/Toolbox/index.d.ts +12 -0
- package/dist/types/layoutControls/Toolbox/property.d.ts +6 -0
- package/dist/types/layoutControls/Toolbox/runtime.d.ts +10 -0
- package/dist/types/layoutControls/Toolbox/types.d.ts +0 -0
- package/dist/types/layoutControls/index.d.ts +21 -0
- package/dist/types/listControls/GridTable/designer.d.ts +26 -0
- package/dist/types/listControls/GridTable/index.d.ts +12 -0
- package/dist/types/listControls/GridTable/property.d.ts +45 -0
- package/dist/types/listControls/GridTable/runtime.d.ts +13 -0
- package/dist/types/listControls/GridTable/types.d.ts +0 -0
- package/dist/types/listControls/SubTable/designer.d.ts +27 -0
- package/dist/types/listControls/SubTable/index.d.ts +12 -0
- package/dist/types/listControls/SubTable/property.d.ts +212 -0
- package/dist/types/listControls/SubTable/runtime.d.ts +13 -0
- package/dist/types/listControls/SubTable/types.d.ts +0 -0
- package/dist/types/listControls/index.d.ts +2 -0
- package/dist/types/searchControls/SimpleSearch/designer.d.ts +13 -0
- package/dist/types/searchControls/SimpleSearch/index.d.ts +12 -0
- package/dist/types/searchControls/SimpleSearch/property.d.ts +84 -0
- package/dist/types/searchControls/SimpleSearch/runtime.d.ts +11 -0
- package/dist/types/searchControls/SimpleSearch/types.d.ts +0 -0
- package/dist/types/searchControls/index.d.ts +1 -0
- package/dist/types/type.d.ts +119 -0
- package/dist/types/wrapControls/GridLayoutWrap/Setting.d.ts +2 -0
- package/dist/types/wrapControls/GridLayoutWrap/designer.d.ts +11 -0
- package/dist/types/wrapControls/GridLayoutWrap/index.d.ts +14 -0
- package/dist/types/wrapControls/GridLayoutWrap/property.d.ts +6 -0
- package/dist/types/wrapControls/GridLayoutWrap/runtime.d.ts +9 -0
- package/dist/types/wrapControls/index.d.ts +1 -0
- package/package.json +35 -35
package/dist/index.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var gy=Object.defineProperty,Ey=Object.defineProperties;var dy=Object.getOwnPropertyDescriptors;var fa=Object.getOwnPropertySymbols,my=Object.getPrototypeOf,ry=Object.prototype.hasOwnProperty,by=Object.prototype.propertyIsEnumerable,Cy=Reflect.get;var ka=(o,e,y)=>e in o?gy(o,e,{enumerable:!0,configurable:!0,writable:!0,value:y}):o[e]=y,ut=(o,e)=>{for(var y in e||(e={}))ry.call(e,y)&&ka(o,y,e[y]);if(fa)for(var y of fa(e))by.call(e,y)&&ka(o,y,e[y]);return o},On=(o,e)=>Ey(o,dy(e));var _n=(o,e,y)=>Cy(my(o),y,e);var Pn=(o,e,y)=>new Promise((bi,l)=>{var Pt=f=>{try{Nt(y.next(f))}catch(L){l(L)}},ge=f=>{try{Nt(y.throw(f))}catch(L){l(L)}},Nt=f=>f.done?bi(f.value):Promise.resolve(f.value).then(Pt,ge);Nt((y=y.apply(o,e)).next())});(function(o,e){typeof exports=="object"&&typeof module!="undefined"?e(exports,require("@byteluck-fe/model-driven-core"),require("@byteluck-fe/model-driven-shared"),require("@byteluck-fe/model-driven-settings")):typeof define=="function"&&define.amd?define(["exports","@byteluck-fe/model-driven-core","@byteluck-fe/model-driven-shared","@byteluck-fe/model-driven-settings"],e):(o=typeof globalThis!="undefined"?globalThis:o||self,e(o.modelDrivenControls={},o.modelDrivenCore,o.modelDrivenShared,o.modelDrivenSettings))})(this,function(o,e,y,bi){"use strict";const l=(n,t,i)=>{if(!n)return console.error("getLocaleText\u7684key\u4E0D\u80FD\u4E3A\u7A7A"),"";const u=n.split(".");let a;const c=(window.baitedaWorkers||{}).languageMessages||{};u.forEach((h,T)=>{T===0?a=c[h]:a&&(a=a[h])});let s="";return a&&(s=a),t&&Object.keys(t).forEach(h=>{const T=t[h];s=s.replace(new RegExp(`\\{\\s*${h}\\s*\\}`,"g"),T)}),s||(i?s=i:s=n),s};class Pt extends e.Property{constructor(t){var i,u,a,c,s,h,T;super(t),this.fontSize=(i=t==null?void 0:t.fontSize)!=null?i:"14px",this.color=(u=t==null?void 0:t.color)!=null?u:"#646A73",this.icon=(a=t==null?void 0:t.icon)!=null?a:"page-hint",this.showState=(c=t==null?void 0:t.showState)!=null?c:"text",this.content=(s=t==null?void 0:t.content)!=null?s:l("CMD.text",null,"\u8BF4\u660E\u6587\u5B57"),this.align=(h=t==null?void 0:t.align)!=null?h:"",this.aiContentSearch=(T=t==null?void 0:t.aiContentSearch)!=null?T:!1}}class ge extends e.DesignerControl{constructor(t){super(t),this.props=new Pt(t==null?void 0:t.props)}static get controlName(){return l("CMD.text",null,"\u8BF4\u660E\u6587\u5B57")}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}ge.setting=[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[e.COMMON_SETTING_TYPE.IS_HIDE]},{key:"ai-content-search",visible:!0},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class Nt extends e.RuntimeControl{constructor(t){super(t),this.props=new Pt(t==null?void 0:t.props)}static get controlType(){return"text"}}var f={Designer:ge,Runtime:Nt,Property:Pt};class L extends e.Property{constructor(t){var i,u,a;super(t),this.content=(i=t==null?void 0:t.content)!=null?i:l("CMD.linkContent",null,"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5"),this.url=(u=t==null?void 0:t.url)!=null?u:"",this.openMode=(a=t==null?void 0:t.openMode)!=null?a:"new"}}class Ci extends e.DesignerControl{constructor(t){super(t),this.props=new L(t==null?void 0:t.props)}static get controlName(){return l("CMD.link",null,"\u94FE\u63A5")}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}Ci.controlEventKeys=["on_click"],Ci.setting=[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[e.COMMON_SETTING_TYPE.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];class wa extends e.RuntimeControl{constructor(t){super(t),this.props=new L(t==null?void 0:t.props)}static get controlType(){return"link"}}var Nn={Designer:Ci,Runtime:wa,Property:L};class P extends e.Property{constructor(t){var i,u,a,c,s,h,T,g,E;super(t),this.content=(i=t==null?void 0:t.content)!=null?i:l("CMD.button",null,"\u6309\u94AE"),this.buttonType=(u=t==null?void 0:t.buttonType)!=null?u:"primary",this.showType=(a=t==null?void 0:t.showType)!=null?a:"text",this.color=(c=t==null?void 0:t.color)!=null?c:"primary",this.icon=(s=t==null?void 0:t.icon)!=null?s:"iconfenlei2",this.defaultState=(h=t==null?void 0:t.defaultState)!=null?h:"default",this.command=(T=t==null?void 0:t.command)!=null?T:"custom",this.isLoading=(g=t==null?void 0:t.isLoading)!=null?g:!1,this.optObj=new e.OptObject((E=t==null?void 0:t.optObj)!=null?E:{})}}class _ extends e.DesignerControl{constructor(t){super(t),this.props=new P(t==null?void 0:t.props)}static get controlName(){return l("CMD.button",null,"\u6309\u94AE")}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}_.slots=["grid-table-toolbar-slot","action-bar-slot",y.DESIGNER_SLOT.DEFAULT],_.controlEventKeys=["on_click"],_.setting=[{key:"button-content",visible:!0},{key:"button-opt-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[e.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}];class R extends e.RuntimeControl{constructor(t){super(t),this.props=new P(t==null?void 0:t.props)}static get controlType(){return"button"}}var Rn={Designer:_,Runtime:R,Property:P},F=(n=>(n.ShowBizKey="is_show_biz_key",n.ShowSubmitUser="is_show_submit_user",n.ShowSubmitTime="is_show_submit_time",n.ShowSubmitDept="is_show_submit_dept",n.ShowCurrentApprovar="is_show_current_approvar",n.ShowTitle="is_show_title",n))(F||{}),Sn=(n=>(n.EARLY_DATE="earlyDate",n.LATE_DATE="lateDate",n.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",n))(Sn||{}),fn=(n=>(n.FILE_IN_TIME="filledInTime",n.BEFORE_TIME="beforeTime",n.AFTER_TIME="afterTime",n.TIME_SPECIFIED="timeSpecified",n))(fn||{});class Ee{constructor(t={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:y.genNonDuplicateId(8),value:["",""]}){this.id=t.id,this.dateConfigType=t.dateConfigType,this.dateLimitType=t.dateLimitType,this.value=t.value}}var Ii=(n=>(n.PRAISE="praise",n.STAR="star",n.FLOWER="flower",n.HAND="hand",n.HEART="heart",n.SMILE="smile",n))(Ii||{});class de{constructor(t){var i,u;this.id=(i=t==null?void 0:t.id)!=null?i:y.genNonDuplicateId(),this.text=(u=t==null?void 0:t.text)!=null?u:""}}var Mi=(n=>(n.SOLID="solid-line",n.DASHED="dashed-line",n.BOLD_SOLID="bold-solid-line",n.BOLD_DASHED="bold-dashed-line",n.DOUBLE_SOLID="double-solid-line",n.DOUBLE_DASHED="double-dashed-line",n))(Mi||{});class Oi{constructor(t){var i,u,a,c,s,h,T,g,E,d,m,r,b,C,I,M,N,O;this.type=(i=t==null?void 0:t.type)!=null?i:"private",this.person=new e.RightVariable((u=t==null?void 0:t.person)!=null?u:{type:"form"}),this.signatureType=(a=t==null?void 0:t.signatureType)!=null?a:[],this.telephone=(s=t==null?void 0:t.telephone)!=null?s:new e.RightVariable((c=t==null?void 0:t.telephone)!=null?c:{type:"form"}),this.company=(T=t==null?void 0:t.company)!=null?T:new e.RightVariable((h=t==null?void 0:t.company)!=null?h:{type:"form"}),this.indexSignature=(E=t==null?void 0:t.indexSignature)!=null?E:new e.RightVariable((g=t==null?void 0:t.indexSignature)!=null?g:{type:"form"}),this.signaturePosition=(d=t==null?void 0:t.signaturePosition)!=null?d:"free",this.seal=new e.RightVariable((m=t==null?void 0:t.seal)!=null?m:{type:"form"}),this.platformAutoSign=(r=t==null?void 0:t.platformAutoSign)!=null?r:!1,this.signDateBeanType=(b=t==null?void 0:t.signDateBeanType)!=null?b:0,this.signDateFontSize=(C=t==null?void 0:t.signDateFontSize)!=null?C:12,this.signOrder=(I=t==null?void 0:t.signOrder)!=null?I:1,this.forceReadTime=t==null?void 0:t.forceReadTime,this.posX=(M=t==null?void 0:t.posX)!=null?M:0,this.posY=(N=t==null?void 0:t.posY)!=null?N:0,this.remark=(O=t==null?void 0:t.remark)!=null?O:""}}class kn{constructor(t){var i,u,a,c,s,h;this.fileControl=(i=t==null?void 0:t.fileControl)!=null?i:"",this.undersignedList=(a=(u=t==null?void 0:t.undersignedList)==null?void 0:u.map(T=>new Oi(T)))!=null?a:[new Oi],this.statusControl=(c=t==null?void 0:t.statusControl)!=null?c:"",this.completeControl=(s=t==null?void 0:t.completeControl)!=null?s:"",this.completeTimeControl=(h=t==null?void 0:t.completeTimeControl)!=null?h:""}}class Rt{constructor(t){var i,u,a,c,s,h,T;this.id=(i=t==null?void 0:t.id)!=null?i:y.genNonDuplicateId(8),this.appId=(u=t==null?void 0:t.appId)!=null?u:"",this.dataCode=(a=t==null?void 0:t.dataCode)!=null?a:"",this.svcCode=(c=t==null?void 0:t.svcCode)!=null?c:"",this.name=(s=t==null?void 0:t.name)!=null?s:"",this.fieldList=(h=t==null?void 0:t.fieldList)!=null?h:[],this.active=(T=t==null?void 0:t.active)!=null?T:!1}}class _i{constructor(t){var i,u;this.active=(i=t==null?void 0:t.active)!=null?i:!1,this.text=(u=t==null?void 0:t.text)!=null?u:""}}class wn{constructor(t){var i,u,a,c;this.types=(i=t==null?void 0:t.types)!=null?i:["word","ppt","excel"],this.history=(u=t==null?void 0:t.history)!=null?u:!1,this.collaborativeRecord=(a=t==null?void 0:t.collaborativeRecord)!=null?a:!1,this.logicToDelete=(c=t==null?void 0:t.logicToDelete)!=null?c:!0,this.watermark=new _i(t==null?void 0:t.watermark),this.autoRename=new _i(t==null?void 0:t.autoRename)}}class Pi{constructor(t){var i,u,a,c,s,h,T;this.appId=(i=t==null?void 0:t.appId)!=null?i:"",this.dataCode=(u=t==null?void 0:t.dataCode)!=null?u:"",this.formKey=(a=t==null?void 0:t.formKey)!=null?a:"",this.orders=(c=t==null?void 0:t.orders)!=null?c:[],this.filters=(s=t==null?void 0:t.filters)!=null?s:[],this.isRelation=(h=t==null?void 0:t.isRelation)!=null?h:!1,this.relationBindCode=(T=t==null?void 0:t.relationBindCode)!=null?T:""}}class Ni{constructor(t){var i,u;this.type=(i=t==null?void 0:t.type)!=null?i:"auto",this.row=(u=t==null?void 0:t.row)!=null?u:20,this.height=t==null?void 0:t.height}}class Fn{constructor(t){this.dataCode=t.dataCode}}class Bn{constructor(t){var i,u,a;this.templateType=(i=t==null?void 0:t.templateType)!=null?i:"system",this.templateList=(a=(u=t==null?void 0:t.templateList)==null?void 0:u.map(c=>new Fn(c)))!=null?a:[]}}class xn{constructor(t){var i,u,a;this.templateType=(i=t==null?void 0:t.templateType)!=null?i:"system",this.templateList=(a=(u=t==null?void 0:t.templateList)==null?void 0:u.map(c=>new Rt(c)))!=null?a:[new Rt({id:"default",name:l("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u677F"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}const An=480;function St(n){return new RegExp(n.replace(/^\/|\/$/g,""))}class Ln{constructor(t){var i,u,a,c,s;this.fileId=(i=t==null?void 0:t.fileId)!=null?i:"",this.fileName=(u=t==null?void 0:t.fileName)!=null?u:"",this.ruleName=(a=t==null?void 0:t.ruleName)!=null?a:"",this.isDefault=(c=t.isDefault)!=null?c:!1,this.rules=(s=t.rules)!=null?s:[]}}class Gn{constructor(t){var i,u,a;this.direction=(i=t==null?void 0:t.direction)!=null?i:"row",this.justifyContent=(u=t==null?void 0:t.justifyContent)!=null?u:"flex-start",this.alignItems=(a=t==null?void 0:t.alignItems)!=null?a:"flex-start"}}var Yn=(n=>(n.NO_MASK="NO_MASK",n.LAST_FOUR_MASK="LAST_FOUR_MASK",n.ALL_MASK="ALL_MASK",n))(Yn||{}),Ri=(n=>(n.ALL="ALL",n.INTERNAL="INTERNAL",n.EXTERNAL="EXTERNAL",n.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",n))(Ri||{}),me=(n=>(n.INTERNAL_BUSINESS="INTERNAL_BUSINESS",n.INTERNAL="INTERNAL",n.BUSINESS="BUSINESS",n))(me||{}),B=(n=>(n.ALL="all",n.ASSIGN="assign",n))(B||{}),Si=(n=>(n.ALL="all",n.ADMIN="admin",n))(Si||{}),fi=(n=>(n.NO_COMPRESS="0",n.RATIO_COMPRESS="1",n.PIXEL_COMPRESS="2",n))(fi||{});class ki extends e.Property{constructor(t){var i,u;super(t),this.color=(i=t==null?void 0:t.color)!=null?i:"#000",this.lineStyle=(u=t==null?void 0:t.lineStyle)!=null?u:Mi.SOLID}}class vn extends e.DesignerControl{constructor(t){super(t),this.props=new ki(t==null?void 0:t.props)}static get controlName(){return l("CMD.divider",null,"\u5206\u5272\u7EBF")}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}vn.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[e.COMMON_SETTING_TYPE.IS_HIDE]}];class Fa extends e.RuntimeControl{constructor(t){super(t),this.props=new ki(t==null?void 0:t.props)}static get controlType(){return"divider"}}var Hn={Designer:vn,Runtime:Fa,Property:ki};class Ba extends e.PropertyRules{constructor(t){super(t),this.caption={type:"string",required:!0,message:l("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.dataBind={type:"any"},this.config={type:"array"},t.config.includes(F.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:l("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")},dataCode:{type:"string",required:!0,message:l("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")}},message:l("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")}),!t.isHide&&t.config.length===0&&(this.config={type:"array",min:1,required:!0,message:l("CMD.pleaseSelectOneField",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01")})}}class re extends e.Property{constructor(t){var i,u,a,c;super(t),this.dataBind=new e.DataBind(t==null?void 0:t.dataBind),this.config=(i=t==null?void 0:t.config)!=null?i:[F.ShowSubmitUser,F.ShowSubmitDept,F.ShowSubmitTime,F.ShowCurrentApprovar,F.ShowTitle],this.caption=(a=(u=t==null?void 0:t.caption)!=null?u:lt==null?void 0:lt.controlName)!=null?a:"",this.position=(c=t==null?void 0:t.position)!=null?c:"top"}}re.Rules=Ba;class lt extends e.DesignerControl{constructor(t){super(t),this.props=new re(t==null?void 0:t.props)}static get controlName(){return l("CMD.title",null,"\u6807\u9898\u7EC4\u4EF6")}static get controlIcon(){return"title"}static get controlType(){return"title"}}lt.controlFieldType=y.FieldTypes.AUTO_NUMBER,lt.setting=[{key:"common-setting",visible:!0,showItems:[e.COMMON_SETTING_TYPE.IS_HIDE]},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class xa extends e.RuntimeControl{constructor(t){super(t),this.props=new re(t==null?void 0:t.props)}static get controlType(){return"title"}}var Vn={Designer:lt,Runtime:xa,Property:re};class Aa extends e.PropertyRules{constructor(t){super(t),this.formKey={type:"string",required:!0,message:l("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}class be extends P{constructor(t){var i,u,a,c;super(t),this.icon=(i=t==null?void 0:t.icon)!=null?i:at.controlIcon,this.content=(u=t==null?void 0:t.content)!=null?u:at.controlName,this.formKey=(a=t==null?void 0:t.formKey)!=null?a:"",this.openType=(c=t==null?void 0:t.openType)!=null?c:"modal"}}be.Rules=Aa;class at extends _{constructor(t){super(t),this.props=new be(t==null?void 0:t.props)}static get controlName(){return l("CMD.createFormListButton",null,"\u521B\u5EFA\u5355\u636E")}static get controlIcon(){return"iconchuangjiandanju"}static get controlType(){return"list-page-btn-create-form"}}at.slots=["grid-table-toolbar-slot"],at.controlEventKeys=["on_click","on_click_finish"],at.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 La extends R{constructor(t){super(t),this.props=new be(t==null?void 0:t.props)}static get controlType(){return"list-page-btn-create-form"}}var $n={Designer:at,Runtime:La,Property:be};class Ga extends e.PropertyRules{constructor(t){super(t),this.processKey=[{type:"string",message:l("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{type:"string",required:!0,message:l("CMD.pleaseEnterProcess",null,"\u8BF7\u7ED1\u5B9A\u6D41\u7A0B")}]}}class Ce extends P{constructor(t){var i,u,a,c,s,h;super(t),this.icon=(i=t==null?void 0:t.icon)!=null?i:ct.controlIcon,this.content=(u=t==null?void 0:t.content)!=null?u:ct.controlName,this.initiatorMode=(a=t==null?void 0:t.initiatorMode)!=null?a:"currentInitiator",this.processKey=(c=t==null?void 0:t.processKey)!=null?c:"",this.fieldCode=(s=t==null?void 0:t.fieldCode)!=null?s:"",this.employeeId=(h=t==null?void 0:t.employeeId)!=null?h:""}}Ce.Rules=Ga;class ct extends _{constructor(t){super(t),this.props=new Ce(t==null?void 0:t.props)}static get controlName(){return l("CMD.batchSubmissionListButton",null,"\u6279\u91CF\u63D0\u4EA4")}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-submission"}}ct.slots=["grid-table-toolbar-slot"],ct.controlEventKeys=["on_click","on_click_finish"],ct.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 Ya extends R{constructor(t){super(t),this.props=new Ce(t==null?void 0:t.props)}static get controlType(){return"list-page-btn-batch-submission"}}var Dn={Designer:ct,Runtime:Ya,Property:Ce};class wi extends P{constructor(t){var i,u;super(t),this.content=(i=t==null?void 0:t.content)!=null?i:st.controlName,this.icon=(u=t==null?void 0:t.icon)!=null?u:st.controlIcon}}class st extends _{constructor(t){super(t),this.props=new wi(t==null?void 0:t.props)}static get controlName(){return l("CMD.submissionRecordListButton",null,"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55")}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-submission-record"}}st.slots=["grid-table-toolbar-slot"],st.controlEventKeys=["on_click"],st.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class va extends R{constructor(t){super(t),this.props=new wi(t==null?void 0:t.props)}static get controlType(){return"list-page-btn-submission-record"}}var qn={Designer:st,Runtime:va,Property:wi};class Fi extends P{constructor(t){var i,u,a,c,s;super(t),this.icon=(i=t==null?void 0:t.icon)!=null?i:yt.controlIcon,this.content=(u=t==null?void 0:t.content)!=null?u:yt.controlName,this.templateType=(a=t==null?void 0:t.templateType)!=null?a:"system",this.templateList=(s=(c=t==null?void 0:t.templateList)==null?void 0:c.map(h=>new Rt(h)))!=null?s:[new Rt({id:"default",name:l("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u7248"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class yt extends _{constructor(t){super(t),this.props=new Fi(t==null?void 0:t.props)}static get controlName(){return l("CMD.exportListButton",null,"\u5BFC\u51FA")}static get controlIcon(){return"iconxiazai1"}static get controlType(){return"list-page-btn-export-list"}}yt.slots=["grid-table-toolbar-slot"],yt.controlEventKeys=["on_click","on_click_finish"],yt.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 Ha extends R{constructor(t){super(t),this.props=new Fi(t==null?void 0:t.props)}static get controlType(){return"list-page-btn-export-list"}}var Wn={Designer:yt,Runtime:Ha,Property:Fi};class Bi extends P{constructor(t){var i,u;super(t),this.content=(i=t==null?void 0:t.content)!=null?i:ht.controlName,this.icon=(u=t==null?void 0:t.icon)!=null?u:ht.controlIcon}}class ht extends _{constructor(t){super(t),this.props=new Bi(t==null?void 0:t.props)}static get controlName(){return l("CMD.exportRecordListButton",null,"\u5BFC\u51FA\u8BB0\u5F55")}static get controlIcon(){return"icondaochujilu"}static get controlType(){return"list-page-btn-export-record"}}ht.slots=["grid-table-toolbar-slot"],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 Va extends R{constructor(t){super(t),this.props=new Bi(t==null?void 0:t.props)}static get controlType(){return"list-page-btn-export-record"}}var Un={Designer:ht,Runtime:Va,Property:Bi};class $a{constructor(t){this.dataCode=t.dataCode}}class xi extends P{constructor(t){var i,u,a,c,s;super(t),this.content=(i=t==null?void 0:t.content)!=null?i:ot.controlName,this.icon=(u=t==null?void 0:t.icon)!=null?u:ot.controlIcon,this.canImportList=(c=(a=t==null?void 0:t.canImportList)==null?void 0:a.map(h=>new $a(h)))!=null?c:[],this.templateType=(s=t==null?void 0:t.templateType)!=null?s:"system"}}class ot extends _{constructor(t){super(t),this.props=new xi(t==null?void 0:t.props)}static get controlName(){return l("CMD.importRecordListButton",null,"\u5BFC\u5165")}static get controlIcon(){return"iconshangchuan3"}static get controlType(){return"list-page-btn-import-record"}}ot.slots=["grid-table-toolbar-slot"],ot.controlEventKeys=["on_click","on_click_finish"],ot.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"import-list-template",visible:!0},{key:"super-setting",visible:!0}];class Da extends R{constructor(t){super(t),this.props=new xi(t==null?void 0:t.props)}static get controlType(){return"list-page-btn-import-record"}}var jn={Designer:ot,Runtime:Da,Property:xi};function Ie(){return{dataCode:{type:"string",required:!0,message:l("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:l("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},controlId:{type:"string",required:!0,message:l("CMD.pleaseSelectControl",null,"\u8BF7\u9009\u62E9\u63A7\u4EF6")}}}}}}class qa extends e.PropertyRules{constructor(t){super(t),this.fillPayload={type:"object",fields:ut({},Ie())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:l("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}}},this.fillBack={type:"object",fields:ut({mode:{type:"string",required:!0,message:l("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},Ie())},(t.command==="edit"||t.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:l("CMD.pleaseSelectControl",null,"\u8BF7\u9009\u62E9\u63A7\u4EF6")})}}class Me extends P{constructor(t){var i,u,a;super(t),this.content=(i=t==null?void 0:t.content)!=null?i:ft.controlName,this.icon=(u=t==null?void 0:t.icon)!=null?u:ft.controlIcon,this.command=(a=t==null?void 0:t.command)!=null?a:"create",this.fillPayload=new e.FillPayloadBind(t==null?void 0:t.fillPayload),this.formBind=new e.FormSelectBind(t==null?void 0:t.formBind),this.fillBack=new e.FillBackBind(t==null?void 0:t.fillBack)}}Me.Rules=qa;class ft extends _{constructor(t){super(t),this.props=new Me(t==null?void 0:t.props)}static get controlName(){return l("CMD.formSelectButton",null,"\u8868\u5355\u64CD\u4F5C")}static get controlIcon(){return"iconbiaodancaozuo"}static get controlType(){return"form-select-button"}}ft.controlEventKeys=["on_click","on_click_finish"],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:"common-setting",visible:!0,showItems:[e.COMMON_SETTING_TYPE.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class Wa extends R{constructor(t){super(t),this.props=new Me(t==null?void 0:t.props)}static get controlType(){return"form-select-button"}}var Kn={Designer:ft,Runtime:Wa,Property:Me};class Ua extends e.PropertyRules{constructor(t){super(t),this.fillPayload={type:"object",fields:ut({},Ie())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:l("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")},headers:{type:"array",required:!0,message:l("CMD.pleaseSelectAtLeastOneColumn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5")}}},this.fillBack={type:"object",fields:ut({mode:{type:"string",required:!0,message:l("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},Ie())}}}class Oe extends P{constructor(t){var i,u,a,c,s;super(t),this.content=(i=t==null?void 0:t.content)!=null?i:kt.controlName,this.icon=(u=t==null?void 0:t.icon)!=null?u:kt.controlIcon,this.fillPayload=new e.FillPayloadBind(t==null?void 0:t.fillPayload),this.listPageBind=new e.ListBind(t==null?void 0:t.listPageBind),this.fillBack=new e.FillBackBind(t==null?void 0:t.fillBack),this.showSelectedDetail=(a=t==null?void 0:t.showSelectedDetail)!=null?a:!1,this.selectedContentConfig=new e.SelectedContentConfig(t==null?void 0:t.selectedContentConfig),this.isSelectedRowFill=(c=t==null?void 0:t.isSelectedRowFill)!=null?c:!1,this.disableFilling=(s=t==null?void 0:t.disableFilling)!=null?s:!0}}Oe.Rules=Ua;class kt extends _{constructor(t){super(t),this.props=new Oe(t==null?void 0:t.props)}static get controlName(){return l("CMD.listSelectButton",null,"\u5217\u8868\u9009\u62E9")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-select-button"}}kt.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],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:"common-setting",visible:!0,showItems:[e.COMMON_SETTING_TYPE.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class ja extends R{constructor(t){super(t),this.props=new Oe(t==null?void 0:t.props)}static get controlType(){return"list-select-button"}}var zn={Designer:kt,Runtime:ja,Property:Oe};class Ka extends e.PropertyRules{constructor(t){super(t)}}class za extends e.PropertyRuntimeRules{constructor(t){super(t)}}class wt extends e.Property{constructor(t){super(t)}}wt.Rules=Ka,wt.RuntimeRules=za;class Qn extends e.DesignerControl{constructor(t){super(t),this.props=new wt(t==null?void 0:t.props)}static get controlName(){return l("CMD.pagination",null,"\u5206\u9875")}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}Qn.setting=[];class Qa extends e.RuntimeControl{constructor(t){super(t),this.props=new wt(t==null?void 0:t.props)}static get controlType(){return"pagination"}}var Xn={Designer:Qn,Runtime:Qa,Property:wt};class Xa extends e.PropertyRules{constructor(t){super(t),this.dashboardKey={type:"string",required:!0,message:l("CMD.pleaseSelectDashboard",null,"\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8")},this.caption={type:"string",required:!0,message:l("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.captionTip={type:"string",required:!1,message:l("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},this.isShowReportParams={type:"boolean"},this.reportParams={type:"array",min:0},t.isShowCaptionTip&&(this.captionTip.required=!0)}}class _e extends e.Property{constructor(t){var i,u,a,c,s,h,T,g;super(t),this.dashboardKey=(i=t==null?void 0:t.dashboardKey)!=null?i:"",this.caption=(u=t==null?void 0:t.caption)!=null?u:"",this.isHideCaption=(a=t==null?void 0:t.isHideCaption)!=null?a:!1,this.isShowCaptionTip=(c=t==null?void 0:t.isShowCaptionTip)!=null?c:!1,this.captionTip=(s=t==null?void 0:t.captionTip)!=null?s:"",this.labelPosition=(h=t==null?void 0:t.labelPosition)!=null?h:"top",this.isShowReportParams=(T=t==null?void 0:t.isShowReportParams)!=null?T:!1,this.reportParams=(g=t==null?void 0:t.reportParams)!=null?g:[]}}_e.Rules=Xa;class Jn extends e.DesignerControl{constructor(t){super(t),this.props=new _e(t==null?void 0:t.props)}static get controlName(){return l("CMD.dashboard",null,"\u4EEA\u8868\u76D8")}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}Jn.setting=[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION,e.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[e.COMMON_SETTING_TYPE.IS_HIDE,e.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"report-params-setting",visible:!0},{key:"super-setting",visible:!0}];class Ja extends e.RuntimeControl{constructor(t){super(t),this.props=new _e(t==null?void 0:t.props)}static get controlType(){return"dashboard"}}var Zn={Designer:Jn,Runtime:Ja,Property:_e};class Za extends e.PropertyRules{constructor(t){super(t),this.showType={type:"enum",enum:["select","tabs"]},this.viewList={type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:l("CMD.theViewNameCannotBeEmpty",null,"\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A")},headers:{type:"array",required:!0,min:1,message:l("CMD.pleaseSelectAtLeastOneColumn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5")}}}}}}class Pe extends e.Property{constructor(t){var i,u,a;super(t),this.showType=(i=t==null?void 0:t.showType)!=null?i:"select",this.viewList=(a=(u=t==null?void 0:t.viewList)==null?void 0:u.map(c=>new e.ViewOperationItem(c)))!=null?a:[]}}Pe.Rules=Za;class pn extends e.DesignerControl{constructor(t){super(t),this.props=new Pe(t==null?void 0:t.props)}static get controlName(){return l("CMD.listViewSelect",null,"\u5217\u8868\u89C6\u56FE")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-view-select"}}pn.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class pa extends e.RuntimeControl{constructor(t){super(t),this.props=new Pe(t==null?void 0:t.props)}static get controlType(){return"list-view-select"}}var tu={Designer:pn,Runtime:pa,Property:Pe};class tc extends e.PropertyRules{constructor(t){super(t),this.caption={type:"string",required:!0,message:l("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:l("CMD.pleaseSelectOcrType",null,"\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B")},this.fillList={type:"array",validator(i,u,a){if(u.every(s=>!s.controlId)){a(l("CMD.pleaseSelectAtLeastOneFieldToFillIn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145"));return}a()}},this.captionTip={type:"string",required:!1,message:l("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},t.isShowCaptionTip&&(this.captionTip.required=!0)}}class Ne extends P{constructor(t){var i,u,a,c,s,h,T,g,E,d;super(t),this.caption=(i=t==null?void 0:t.caption)!=null?i:Tt.controlName,this.isHideCaption=(u=t==null?void 0:t.isHideCaption)!=null?u:!1,this.isShowCaptionTip=(a=t==null?void 0:t.isShowCaptionTip)!=null?a:!1,this.captionTip=(c=t==null?void 0:t.captionTip)!=null?c:"",this.labelPosition=(s=t==null?void 0:t.labelPosition)!=null?s:"top",this.content=(h=t==null?void 0:t.content)!=null?h:Tt.controlName,this.icon=(T=t==null?void 0:t.icon)!=null?T:Tt.controlIcon,this.ocrType=(g=t==null?void 0:t.ocrType)!=null?g:"",this.fillList=(d=(E=t==null?void 0:t.fillList)==null?void 0:E.map(m=>new e.MultistageFillingItem(m)))!=null?d:[]}}Ne.Rules=tc;class Tt extends _{constructor(t){super(t),this.props=new Ne(t==null?void 0:t.props)}static get controlName(){return l("CMD.textOcrButton",null,"\u6587\u5B57\u8BC6\u522B")}static get controlIcon(){return"iconwenzishibie"}static get controlType(){return"text-ocr-button"}}Tt.controlEventKeys=["on_click","on_click_finish"],Tt.setting=[{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION,e.COMMON_SETTING_TYPE.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:[e.COMMON_SETTING_TYPE.IS_HIDE,e.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class ec extends R{constructor(t){super(t),this.props=new Ne(t==null?void 0:t.props)}static get controlType(){return"text-ocr-button"}}var eu={Designer:Tt,Runtime:ec,Property:Ne};class ic extends e.PropertyRules{constructor(t){super(t),this.caption={type:"string",required:!0,message:l("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.invoiceCheck={type:"boolean"},this.fillList={type:"array",validator(i,u,a){if(u.every(s=>!s.controlId)){a(l("CMD.pleaseSelectAtLeastOneFieldToFillIn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145"));return}a()}},this.captionTip={type:"string",required:!1,message:l("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},t.isShowCaptionTip&&(this.captionTip.required=!0)}}class Re extends P{constructor(t){var i,u,a,c,s,h,T,g,E,d;super(t),this.caption=(i=t==null?void 0:t.caption)!=null?i:gt.controlName,this.isHideCaption=(u=t==null?void 0:t.isHideCaption)!=null?u:!1,this.isShowCaptionTip=(a=t==null?void 0:t.isShowCaptionTip)!=null?a:!1,this.captionTip=(c=t==null?void 0:t.captionTip)!=null?c:"",this.labelPosition=(s=t==null?void 0:t.labelPosition)!=null?s:"top",this.content=(h=t==null?void 0:t.content)!=null?h:gt.controlName,this.icon=(T=t==null?void 0:t.icon)!=null?T:gt.controlIcon,this.invoiceCheck=(g=t==null?void 0:t.invoiceCheck)!=null?g:!0,this.fillList=(d=(E=t==null?void 0:t.fillList)==null?void 0:E.map(m=>new e.MultistageFillingItem(m)))!=null?d:[]}}Re.Rules=ic;class gt extends _{constructor(t){super(t),this.props=new Re(t==null?void 0:t.props)}static get controlName(){return l("CMD.invoiceCheckButton",null,"\u53D1\u7968\u8BC6\u522B")}static get controlIcon(){return"iconfabiaoshibie1"}static get controlType(){return"invoice-check-button"}}gt.controlEventKeys=["on_click","on_click_finish"],gt.setting=[{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION,e.COMMON_SETTING_TYPE.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:[e.COMMON_SETTING_TYPE.IS_HIDE,e.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class nc extends R{constructor(t){super(t),this.props=new Re(t==null?void 0:t.props)}static get controlType(){return"invoice-check-button"}}var iu={Designer:gt,Runtime:nc,Property:Re};class uc extends e.PropertyRules{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:l("CMD.pleaseUploadAtLeastOnePrintTemplate",null,"\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01")}}}class Se extends P{constructor(t){var i,u,a,c,s;super(t),this.icon=(i=t==null?void 0:t.icon)!=null?i:Et.controlIcon,this.content=(u=t==null?void 0:t.content)!=null?u:Et.controlName,this.printTemplates=(c=(a=t==null?void 0:t.printTemplates)==null?void 0:a.map(h=>new Ln(h)))!=null?c:[],this.autoSelectTemplate=(s=t==null?void 0:t.autoSelectTemplate)!=null?s:!1}}Se.Rules=uc;class Et extends _{constructor(t){super(t),this.props=new Se(t==null?void 0:t.props)}static get controlName(){return l("CMD.batchPrintListButton",null,"\u6279\u91CF\u6253\u5370")}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-print"}}Et.slots=["grid-table-toolbar-slot"],Et.controlEventKeys=["on_click","on_click_finish"],Et.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 lc extends R{constructor(t){super(t),this.props=new Se(t==null?void 0:t.props)}static get controlType(){return"list-page-btn-batch-print"}}var nu={Designer:Et,Runtime:lc,Property:Se};class Ai extends P{constructor(t){var i,u;super(t),this.content=(i=t==null?void 0:t.content)!=null?i:dt.controlName,this.icon=(u=t==null?void 0:t.icon)!=null?u:dt.controlIcon}}class dt extends _{constructor(t){super(t),this.props=new Ai(t==null?void 0:t.props)}static get controlName(){return l("CMD.batchPrintRecordList",null,"\u6279\u91CF\u6253\u5370\u8BB0\u5F55")}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-batch-print-record"}}dt.slots=["grid-table-toolbar-slot"],dt.controlEventKeys=["on_click"],dt.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 ac extends R{constructor(t){super(t),this.props=new Ai(t==null?void 0:t.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var uu={Designer:dt,Runtime:ac,Property:Ai};class cc extends e.PropertyRules{constructor(t){super(t),this.formKey={type:"string",required:!1},(t.command==="edit"||t.command==="view")&&(this.formKey={type:"string",required:!0,message:l("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")})}}class fe extends e.Property{constructor(t){var i,u,a,c,s,h;super(t),this.content=(i=t==null?void 0:t.content)!=null?i:l("CMD.button",null,"\u6309\u94AE"),this.code=t==null?void 0:t.code,this.command=(u=t==null?void 0:t.command)!=null?u:"custom",this.color=(a=t==null?void 0:t.color)!=null?a:"primary",this.icon=t==null?void 0:t.icon,this.formKey=t==null?void 0:t.formKey,this.openType=t==null?void 0:t.openType,this.needConfirm=t==null?void 0:t.needConfirm,this.confirmMessage=t==null?void 0:t.confirmMessage,this.options=t==null?void 0:t.options,this.defaultState=(c=t==null?void 0:t.defaultState)!=null?c:"default",this.priorityProcess=t==null?void 0:t.priorityProcess,this.isLoading=(s=t==null?void 0:t.isLoading)!=null?s:!1,this.isSyncDelete=(h=t==null?void 0:t.isSyncDelete)!=null?h:!1}}fe.Rules=cc;class ke extends e.DesignerControl{constructor(t){super(t),this.props=new fe(t==null?void 0:t.props)}static get controlName(){return l("CMD.operationButton",null,"\u64CD\u4F5C\u6309\u94AE")}static get controlIcon(){return"iconbtn"}static get controlType(){return"operation-button"}}ke.controlEventKeys=["on_click"],ke.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:[e.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}];class sc extends e.RuntimeControl{constructor(t){super(t),this.props=new fe(t==null?void 0:t.props)}static get controlType(){return"operation-button"}}var lu={Designer:ke,Runtime:sc,Property:fe};class Li extends e.Property{constructor(t){var i,u,a,c,s,h,T,g,E;super(t),this.content=(i=t==null?void 0:t.content)!=null?i:mt.controlName,this.icon=(u=t==null?void 0:t.icon)!=null?u:mt.controlIcon,this.buttonType=(a=t==null?void 0:t.buttonType)!=null?a:"primary",this.showType=(c=t==null?void 0:t.showType)!=null?c:"iconText",this.color=(s=t==null?void 0:t.color)!=null?s:"danger",this.isHide=(h=t==null?void 0:t.isHide)!=null?h:!1,this.defaultState=(T=t==null?void 0:t.defaultState)!=null?T:"default",this.command=(g=t==null?void 0:t.command)!=null?g:"custom",this.isLoading=(E=t==null?void 0:t.isLoading)!=null?E:!1}}class mt extends e.DesignerControl{constructor(t){super(t),this.props=new Li(t==null?void 0:t.props)}static get controlName(){return l("CMD.batchDeleteButton",null,"\u6279\u91CF\u5220\u9664")}static get controlIcon(){return"iconlajitong"}static get controlType(){return"list-page-btn-batch-delete"}}mt.slots=["grid-table-toolbar-slot"],mt.controlEventKeys=["on_click"],mt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[e.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}];class yc extends e.RuntimeControl{constructor(t){super(t),this.props=new Li(t==null?void 0:t.props)}static get controlType(){return"list-page-btn-batch-delete"}}var au={Designer:mt,Runtime:yc,Property:Li};class hc extends e.PropertyRules{constructor(t){super(t),this.actionSetting={type:"object",fields:{dataCode:{type:"string",required:!0,message:l("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},formKey:{type:"string",required:!0,message:l("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}}}}}class we extends e.Property{constructor(t){var i,u,a,c,s,h;super(t),this.caption=(i=t==null?void 0:t.caption)!=null?i:Fe.controlName,this.isShowSimpleSearch=(u=t==null?void 0:t.isShowSimpleSearch)!=null?u:!0,this.isShowToolbar=(a=t==null?void 0:t.isShowToolbar)!=null?a:!0,this.isHideCaption=(c=t==null?void 0:t.isHideCaption)!=null?c:!1,this.actionSetting=(s=new Pi(t==null?void 0:t.actionSetting))!=null?s:new Pi,this.listHeightSetting=(h=new Ni(t==null?void 0:t.listHeightSetting))!=null?h:new Ni}}we.Rules=hc;class Fe extends e.DesignerControl{constructor(t){super(t),this.props=new we(t==null?void 0:t.props)}static get controlName(){return l("CMD.referenceList",null,"\u5F15\u7528\u5217\u8868")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"reference-list"}}Fe.controlEventKeys=["on_list_rowclick"],Fe.setting=[{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[e.COMMON_SETTING_TYPE.IS_HIDE,e.COMMON_SETTING_TYPE.IS_SHOW_SIMPLE_SEARCH,e.COMMON_SETTING_TYPE.IS_SHOW_TOOL_BAE]},{key:"action-setting",visible:!0},{key:"line-height-setting",visible:!0},{key:"super-setting",visible:!0}];class oc extends e.RuntimeControl{constructor(t){super(t),this.props=new we(t==null?void 0:t.props)}static get controlType(){return"reference-list"}}var cu={Designer:Fe,Runtime:oc,Property:we},Tc=Object.freeze({__proto__:null,Text:f,Link:Nn,Button:Rn,Divider:Hn,Title:Vn,CreateFormListButton:$n,BatchSubmissionListButton:Dn,SubmissionRecordListButton:qn,ExportListButton:Wn,ExportRecordListButton:Un,ImportRecordListButton:jn,FormSelectButton:Kn,ListSelectButton:zn,Pagination:Xn,Dashboard:Zn,ListViewSelect:tu,TextOcrButton:eu,InvoiceCheckButton:iu,BatchPrintListButton:nu,BatchPrintRecordListButton:uu,OperationButton:lu,BatchDeleteButton:au,ReferenceList:cu});class gc extends e.BaseControlPropertyRules{constructor(t){super(t),this.maxLength={type:"number",min:0,message:l("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:200,message:l("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")},this.defaultValue=[{type:"string",max:200,min:0,message:l("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")},{pattern:"",message:""}],this.maxLength.min=t.minLength,this.minLength.max=t.maxLength,this.defaultValue[0].max=t.maxLength,this.defaultValue[0].min=t.minLength,this.defaultValue[0].message=l("CMD.stringRangeError",{max:t.maxLength,min:t.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C"),this.defaultValue[1].pattern=St(t.regularRules.expression),this.defaultValue[1].message=t.regularRules.errMessage}}class Ec extends e.BaseControlPropertyRuntimeRules{constructor(t){super(t),this.push({type:"string",message:l("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{max:t.maxLength,min:t.minLength,message:l("CMD.stringRangeError",{max:t.maxLength,min:t.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}),t.regularRules.expression&&t.regularRules.errMessage&&this.push({pattern:St(t.regularRules.expression),message:t.regularRules.errMessage})}}class rt extends e.BaseControlProperty{constructor(t){var i,u,a,c,s,h,T,g,E,d;super(t),this.maxLength=(i=t==null?void 0:t.maxLength)!=null?i:200,this.minLength=(u=t==null?void 0:t.minLength)!=null?u:0,this.regularRules=new e.RegularRules(t==null?void 0:t.regularRules),this.defaultValue=(a=t==null?void 0:t.defaultValue)!=null?a:"",this.caption=(c=t==null?void 0:t.caption)!=null?c:bt.controlName,this.placeholder=(s=t==null?void 0:t.placeholder)!=null?s:l("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.encrypted=(h=t==null?void 0:t.encrypted)!=null?h:!1,this.encryptedMode=(T=t==null?void 0:t.encryptedMode)!=null?T:"",this.aiContentSearch=(g=t==null?void 0:t.aiContentSearch)!=null?g:!1,this.autoHeight=(E=t==null?void 0:t.autoHeight)!=null?E:!1,this.lineEllipsis=(d=t==null?void 0:t.lineEllipsis)!=null?d:1}}rt.Rules=gc,rt.RuntimeRules=Ec;class bt extends e.DesignerFormControl{constructor(t){super(t),this.props=new rt(t==null?void 0:t.props)}static get controlName(){return l("CMD.input",null,"\u5355\u884C\u6587\u672C")}static get controlIcon(){return"iconSingleline_new1"}static get controlType(){return"input"}}bt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],bt.controlFieldType=y.FieldTypes.VARCHAR,bt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION,e.COMMON_SETTING_TYPE.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:[e.COMMON_SETTING_TYPE.REQUIRED,e.COMMON_SETTING_TYPE.IS_HIDE,e.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,e.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,e.COMMON_SETTING_TYPE.ENCRYPTED]},{key:"ai-content-search",visible:!0},{key:"column-autoHeight",visible:!1},{key:"column-line-ellipsis",visible:!1},{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 su extends e.RuntimeFormControl{constructor(t){super(t),this.props=new rt(t==null?void 0:t.props)}static get controlType(){return"input"}}su.controlFieldType=y.FieldTypes.VARCHAR;var yu={Designer:bt,Runtime:su,Property:rt};class dc extends e.OptionAndDataSourcePropertyRules{constructor(t){super(t),this.limitMax={type:"number",min:void 0,message:l("CMD.PleaseReselectTheOptionalQuantity",null,"\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF")},t.limitMax==="unlimited"&&(this.limitMax.type="string");const u=a=>a==="unlimited"?void 0:a;this.limitMax.min=u(t.limitMin)}}class mc extends e.BaseControlPropertyRuntimeRules{constructor(t){super(t),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:typeof t.limitMax=="number"?t.limitMax:void 0,min:typeof t.limitMin=="number"?t.limitMin:void 0})}}class Ft extends e.BaseControlProperty{constructor(t){var i,u,a,c,s,h,T,g,E,d,m,r,b,C;super(t),this.options=e.initOptions((i=t==null?void 0:t.options)!=null?i:[{label:l("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:l("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:l("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:l("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:l("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:l("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.checkboxMode=(u=t==null?void 0:t.checkboxMode)!=null?u:"horizontal",this.optionConfig=(a=t==null?void 0:t.optionConfig)!=null?a:"custom",this.optionsOrder=(c=t==null?void 0:t.optionsOrder)!=null?c:!1,this.otherOption=(s=t==null?void 0:t.otherOption)!=null?s:!1,this.limitMin=(h=t==null?void 0:t.limitMin)!=null?h:"unlimited",this.limitMax=(T=t==null?void 0:t.limitMax)!=null?T:"unlimited",this.datasourceBind=new e.DataSourceBind(t==null?void 0:t.datasourceBind),this.interreaction=(g=t==null?void 0:t.interreaction)!=null?g:[],this.caption=(E=t==null?void 0:t.caption)!=null?E:Bt.controlName,this.defaultValue=(d=t==null?void 0:t.defaultValue)!=null?d:[],this.optionsFormat=(m=t==null?void 0:t.optionsFormat)!=null?m:"horizontal",this.defaultShowOptions=(r=t==null?void 0:t.defaultShowOptions)!=null?r:!0,this.openMultistageFilling=(b=t==null?void 0:t.openMultistageFilling)!=null?b:!1,this.multistageFilling=[],Array.isArray(t==null?void 0:t.multistageFilling)&&(t==null||t.multistageFilling.map(I=>{var M;(M=this.multistageFilling)==null||M.push(new e.MultistageFillingItem(I))})),this.aiContentSearch=(C=t==null?void 0:t.aiContentSearch)!=null?C:!1}}Ft.Rules=dc,Ft.RuntimeRules=mc;class Bt extends e.DesignerFormControl{constructor(t){super(t),this.props=new Ft(t==null?void 0:t.props)}static get controlName(){return l("CMD.checkBox",null,"\u591A\u9009")}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}Bt.controlEventKeys=["on_change","on_click"],Bt.controlFieldType=y.FieldTypes.ARRAY,Bt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION,e.COMMON_SETTING_TYPE.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:[e.COMMON_SETTING_TYPE.REQUIRED,e.COMMON_SETTING_TYPE.IS_HIDE,e.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,e.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!0},{key:"options-setting",visible:!0},{key:"limit-select",visible:!0},{key:"options-order",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class hu extends e.RuntimeFormControl{constructor(t){super(t),this.props=new Ft(t==null?void 0:t.props)}static get controlType(){return"checkbox"}}hu.controlFieldType=y.FieldTypes.ARRAY;var ou={Designer:Bt,Runtime:hu,Property:Ft};class rc extends e.OptionAndDataSourcePropertyRules{constructor(t){super(t)}}class Be extends e.BaseControlProperty{constructor(t){var i,u,a,c,s,h,T,g,E,d,m,r;super(t),this.options=e.initOptions((i=t==null?void 0:t.options)!=null?i:[{label:l("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:l("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:l("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:l("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:l("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:l("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.radioMode=(u=t==null?void 0:t.radioMode)!=null?u:"horizontal",this.optionConfig=(a=t==null?void 0:t.optionConfig)!=null?a:"custom",this.otherOption=(c=t==null?void 0:t.otherOption)!=null?c:!1,this.optionsOrder=(s=t==null?void 0:t.optionsOrder)!=null?s:!1,this.defaultShowOptions=(h=t==null?void 0:t.defaultShowOptions)!=null?h:!0,this.optionsFormat=(T=t==null?void 0:t.optionsFormat)!=null?T:"horizontal",this.datasourceBind=new e.DataSourceBind(t==null?void 0:t.datasourceBind),this.interreaction=(g=t==null?void 0:t.interreaction)!=null?g:[],this.caption=(E=t==null?void 0:t.caption)!=null?E:xt.controlName,this.defaultValue=(d=t==null?void 0:t.defaultValue)!=null?d:"",this.openMultistageFilling=(m=t==null?void 0:t.openMultistageFilling)!=null?m:!1,this.multistageFilling=[],Array.isArray(t==null?void 0:t.multistageFilling)&&(t==null||t.multistageFilling.map(b=>{var C;(C=this.multistageFilling)==null||C.push(new e.MultistageFillingItem(b))})),this.aiContentSearch=(r=t==null?void 0:t.aiContentSearch)!=null?r:!1}}Be.Rules=rc;class xt extends e.DesignerFormControl{constructor(t){super(t),this.props=new Be(t==null?void 0:t.props)}static get controlName(){return l("CMD.radio",null,"\u5355\u9009")}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}xt.controlEventKeys=["on_change","on_click"],xt.controlFieldType=y.FieldTypes.VARCHAR,xt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION,e.COMMON_SETTING_TYPE.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:[e.COMMON_SETTING_TYPE.REQUIRED,e.COMMON_SETTING_TYPE.IS_HIDE,e.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,e.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!0},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Tu extends e.RuntimeFormControl{constructor(t){super(t),this.props=new Be(t==null?void 0:t.props)}static get controlType(){return"radio"}}Tu.controlFieldType=y.FieldTypes.VARCHAR;var gu={Designer:xt,Runtime:Tu,Property:Be};class bc extends e.BaseControlPropertyRules{constructor(t){super(t),this.defaultValue=[{type:"number",min:0,max:200,message:l("CMD.pleaseEnterNumberRange",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")},{pattern:"",message:""}],this.rangeMax={type:"any"};const i=t.rangeMax===""?void 0:t.rangeMax,u=t.rangeMin===""?void 0:t.rangeMin;this.defaultValue[0].max=i,this.defaultValue[0].min=u,this.defaultValue[0].message=l("CMD.pleaseEnterNumberRange",{max:i,min:u},"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"),u&&i!==void 0&&(this.rangeMax={type:"number",min:u,message:l("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")}),this.defaultValue[1].pattern=St(t.regularRules.expression),this.defaultValue[1].message=t.regularRules.errMessage}}class Cc extends e.BaseControlPropertyRuntimeRules{constructor(t){super(t),this[0]!==void 0&&(this[0].type="number");const i=t.rangeMax!==""?t.rangeMax:void 0,u=t.rangeMin!==""?t.rangeMin:void 0;this.push({type:"number",max:i,min:u,message:l(i===void 0?"CMD.pleaseEnterAValueGreaterThanMin":u===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:i,min:u},l(i===void 0?"CMD.16921751712133509":u===void 0?"CMD.f0231751712135569":"CMD.78ab1751712129046"))}),t.regularRules.expression&&t.regularRules.errMessage&&this.push({pattern:St(t.regularRules.expression),message:t.regularRules.errMessage})}}class At extends e.BaseControlProperty{constructor(t){var i,u,a,c,s,h,T,g,E,d,m,r,b;super(t),this.rangeMin=(i=t==null?void 0:t.rangeMin)!=null?i:"",this.rangeMax=(u=t==null?void 0:t.rangeMax)!=null?u:"",this.numberType=(a=t==null?void 0:t.numberType)!=null?a:"number",this.percentageFormat=(c=t==null?void 0:t.percentageFormat)!=null?c:!1,this.micrometer=(s=t==null?void 0:t.micrometer)!=null?s:!1,this.precision=(h=t==null?void 0:t.precision)!=null?h:0,this.showUpperCase=(T=t==null?void 0:t.showUpperCase)!=null?T:!1,this.isShowUnit=(g=t==null?void 0:t.isShowUnit)!=null?g:!1,this.unitPosition=(E=t==null?void 0:t.unitPosition)!=null?E:"right",this.unit=(d=t==null?void 0:t.unit)!=null?d:"",this.caption=(m=t==null?void 0:t.caption)!=null?m:Lt.controlName,this.placeholder=(r=t==null?void 0:t.placeholder)!=null?r:l("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.defaultValue=(b=t==null?void 0:t.defaultValue)!=null?b:"",this.regularRules=new e.RegularRules(t==null?void 0:t.regularRules)}}At.Rules=bc,At.RuntimeRules=Cc;class Lt extends e.DesignerFormControl{constructor(t){super(t),this.props=new At(t==null?void 0:t.props)}static get controlName(){return l("CMD.number",null,"\u6570\u5B57")}static get controlIcon(){return"iconnuminput_new"}static get controlType(){return"number"}toDataBindModel(t){const i=super.toDataBindModel(t);if(i&&!Array.isArray(i)){const{precision:u,micrometer:a}=this.props;u!==""&&(i.props.precision=u),i.props.micrometer=a}return i}}Lt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Lt.controlFieldType=y.FieldTypes.DECIMAL,Lt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION,e.COMMON_SETTING_TYPE.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:[e.COMMON_SETTING_TYPE.REQUIRED,e.COMMON_SETTING_TYPE.IS_HIDE,e.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,e.COMMON_SETTING_TYPE.IS_SHOW_UNIT,e.COMMON_SETTING_TYPE.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:[e.COMMON_SETTING_TYPE.SHOW_UPPER_CASE,e.COMMON_SETTING_TYPE.MICROMETER,e.COMMON_SETTING_TYPE.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class Eu extends e.RuntimeFormControl{constructor(t){super(t),this.props=new At(t==null?void 0:t.props)}static get controlType(){return"number"}}Eu.controlFieldType=y.FieldTypes.DECIMAL;var du={Designer:Lt,Runtime:Eu,Property:At};class Gi extends e.BaseControlProperty{constructor(t){var i,u,a,c,s,h,T,g,E,d,m,r;super(t),this.dateType=(i=t==null?void 0:t.dateType)!=null?i:y.DateType.DATE,this.dateFormat=(u=t==null?void 0:t.dateFormat)!=null?u:"",this.commonTimeSetting=(a=t==null?void 0:t.commonTimeSetting)!=null?a:[],this.setValueType=(c=t==null?void 0:t.setValueType)!=null?c:"custom",this.caption=(s=t==null?void 0:t.caption)!=null?s:xe.controlName,this.placeholder=(h=t==null?void 0:t.placeholder)!=null?h:l("CMD.pleaseEnterDate",null,"\u8BF7\u8F93\u5165\u65E5\u671F"),this.defaultValue=(T=t==null?void 0:t.defaultValue)!=null?T:"",this.limitDateList=(E=(g=t==null?void 0:t.limitDateList)==null?void 0:g.map(b=>new Ee(b)))!=null?E:[],this.allowDateRange=(d=t==null?void 0:t.allowDateRange)!=null?d:["",""],this.filterWeekend=(m=t==null?void 0:t.filterWeekend)!=null?m:!1,this.isInternational=(r=t==null?void 0:t.isInternational)!=null?r:!1}}class xe extends e.DesignerFormControl{constructor(t){super(t),this.props=new Gi(t==null?void 0:t.props)}static get controlName(){return l("CMD.timestamp",null,"\u65E5\u671F")}static get controlIcon(){return"iconriqi1"}static get controlType(){return"date-picker"}toDataBindModel(t){const i=super.toDataBindModel(t);if(i&&!Array.isArray(i)){const{dateType:u,isInternational:a}=this.props;i.props.dateType=u,i.props.isInternational=a}return i}}xe.controlFieldType=y.FieldTypes.TIMESTAMP,xe.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION,e.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[e.COMMON_SETTING_TYPE.REQUIRED,e.COMMON_SETTING_TYPE.IS_HIDE,e.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,e.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,e.COMMON_SETTING_TYPE.IS_INTERNATIONAL]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class mu extends e.RuntimeFormControl{constructor(t){super(t),this.props=new Gi(t==null?void 0:t.props)}static get controlType(){return"date-picker"}}mu.controlFieldType=y.FieldTypes.TIMESTAMP;var ru={Designer:xe,Runtime:mu,Property:Gi};class Ic extends e.BaseControlPropertyRuntimeRules{constructor(t){super(t),this[0]!==void 0&&(this[0].type="object"),t.required&&!t.isHide&&this.push({type:"object",fields:{max:{type:"string",required:t.required,message:this[0].message},min:{type:"string",required:t.required,message:this[0].message}}})}}class Ae extends e.BaseControlProperty{constructor(t){var i,u,a,c,s,h,T,g,E,d,m,r;super(t),this.dataBind=new e.RangeDataBind(t==null?void 0:t.dataBind),this.defaultValue=new e.RangeDateValue(t==null?void 0:t.defaultValue),this.dateType=(i=t==null?void 0:t.dateType)!=null?i:y.DateType.DATE,this.dateFormat=(u=t==null?void 0:t.dateFormat)!=null?u:"",this.commonTimeSetting=(a=t==null?void 0:t.commonTimeSetting)!=null?a:[],this.setValueType=(c=t==null?void 0:t.setValueType)!=null?c:"custom",this.rangeMin=(s=t==null?void 0:t.rangeMin)!=null?s:"",this.rangeMax=(h=t==null?void 0:t.rangeMax)!=null?h:"",this.placeholderStart=(T=t==null?void 0:t.placeholderStart)!=null?T:l("CMD.pleaseSelectStartDate",null,"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F"),this.placeholderEnd=(g=t==null?void 0:t.placeholderEnd)!=null?g:l("CMD.pleaseSelectEndDate",null,"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F"),this.caption=(E=t==null?void 0:t.caption)!=null?E:Le.controlName,this.limitDateList=(m=(d=t==null?void 0:t.limitDateList)==null?void 0:d.map(b=>new Ee(b)))!=null?m:[],this.isInternational=(r=t==null?void 0:t.isInternational)!=null?r:!1}}Ae.RuntimeRules=Ic;class Le extends e.DesignerFormControl{constructor(t){super(t),this.props=new Ae(t==null?void 0:t.props)}static get controlName(){return l("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"date-range"}toDataBindModel(t){const i=super.toDataBindModel(t);if(i&&!Array.isArray(i)){const{dateType:u,isInternational:a}=this.props;i.props.dateType=u,i.props.isInternational=a}return i}}Le.controlFieldType=y.FieldTypes.TIMESCOPE,Le.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION,e.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[e.COMMON_SETTING_TYPE.REQUIRED,e.COMMON_SETTING_TYPE.IS_HIDE,e.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,e.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,e.COMMON_SETTING_TYPE.IS_INTERNATIONAL]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class bu extends e.RuntimeFormControl{constructor(t){super(t),this.props=new Ae(t==null?void 0:t.props)}static get controlType(){return"date-range"}}bu.controlFieldType=y.FieldTypes.TIMESCOPE;var Cu={Designer:Le,Runtime:bu,Property:Ae};class Mc extends e.BaseControlPropertyRules{constructor(t){super(t),this.maxLength={type:"number",min:0,message:l("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:1e6,message:l("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")},this.defaultValue={type:"string",max:200,min:0,message:l("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")},this.maxLength.min=t.minLength,this.minLength.max=t.maxLength,this.defaultValue.max=t.maxLength,this.defaultValue.min=t.minLength,this.defaultValue.message=l("CMD.stringRangeError",{max:t.maxLength,min:t.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}}class Oc extends e.BaseControlPropertyRuntimeRules{constructor(t){super(t),this.push({type:"string",max:t.maxLength,min:t.minLength,message:l("CMD.stringRangeError",{max:t.maxLength,min:t.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")})}}class Gt extends e.BaseControlProperty{constructor(t){var i,u,a,c,s,h,T,g,E,d;super(t),this.maxLength=(i=t==null?void 0:t.maxLength)!=null?i:5e4,this.minLength=(u=t==null?void 0:t.minLength)!=null?u:0,this.defaultValue=(a=t==null?void 0:t.defaultValue)!=null?a:"",this.caption=(c=t==null?void 0:t.caption)!=null?c:Yt.controlName,this.placeholder=(s=t==null?void 0:t.placeholder)!=null?s:l("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.rowHeightSetting=new e.MetaRowHeight(t==null?void 0:t.rowHeightSetting),this.aiContentSearch=(h=t==null?void 0:t.aiContentSearch)!=null?h:!1,this.aiGeneration=(T=t==null?void 0:t.aiGeneration)!=null?T:!1,this.aiOptions=e.initAiOptions((g=t==null?void 0:t.aiOptions)!=null?g:[{label:l("CMD.aiOptionOneLabel",null,"\u603B\u7ED3"),cueWord:l("CMD.aiOptionOneCurword",null,"SUMM"),checked:!0},{label:l("CMD.aiOptionTwoLabel",null,"\u4E30\u5BCC"),cueWord:l("CMD.aiOptionTwoCurword",null,"RICH"),checked:!1},{label:l("CMD.aiOptionThreeLabel",null,"\u7FFB\u8BD1"),cueWord:l("CMD.aiOptionThreeCurword",null,"TRANS"),checked:!1}]),this.autoHeight=(E=t==null?void 0:t.autoHeight)!=null?E:!1,this.lineEllipsis=(d=t==null?void 0:t.lineEllipsis)!=null?d:1}}Gt.Rules=Mc,Gt.RuntimeRules=Oc;class Yt extends e.DesignerFormControl{constructor(t){super(t),this.props=new Gt(t==null?void 0:t.props)}static get controlName(){return l("CMD.textarea",null,"\u591A\u884C\u6587\u672C")}static get controlIcon(){return"iconMultilineline_new1"}static get controlType(){return"textarea"}}Yt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Yt.controlFieldType=y.FieldTypes.TEXT,Yt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION,e.COMMON_SETTING_TYPE.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:[e.COMMON_SETTING_TYPE.REQUIRED,e.COMMON_SETTING_TYPE.IS_HIDE,e.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,e.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!1},{key:"ai-generation",visible:!0},{key:"column-autoHeight",visible:!1},{key:"column-line-ellipsis",visible:!1},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"row-height-setting",visible:!0},{key:"super-setting",visible:!0}];class Iu extends e.RuntimeFormControl{constructor(t){super(t),this.props=new Gt(t==null?void 0:t.props)}static get controlType(){return"textarea"}}Iu.controlFieldType=y.FieldTypes.TEXT;var Mu={Designer:Yt,Runtime:Iu,Property:Gt};class _c extends e.BaseControlPropertyRules{constructor(t){super(t),this.maxLength={type:"number",min:0,message:l("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:1e6,message:l("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")},this.defaultValue={type:"string",max:200,min:0,message:l("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")},this.maxLength.min=t.minLength,this.minLength.max=t.maxLength,this.defaultValue.max=t.maxLength,this.defaultValue.min=t.minLength,this.defaultValue.message=l("CMD.stringRangeError",{max:t.maxLength,min:t.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}}class Pc extends e.BaseControlPropertyRuntimeRules{constructor(t){super(t),this.push({type:"string",max:t.maxLength,min:t.minLength,message:l("CMD.stringRangeError",{max:t.maxLength,min:t.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")})}}class vt extends e.BaseControlProperty{constructor(t){var i,u,a,c,s,h,T,g,E,d;super(t),this.maxLength=(i=t==null?void 0:t.maxLength)!=null?i:5e4,this.minLength=(u=t==null?void 0:t.minLength)!=null?u:0,this.defaultValue=(a=t==null?void 0:t.defaultValue)!=null?a:"",this.caption=(c=t==null?void 0:t.caption)!=null?c:Ht.controlName,this.placeholder=(s=t==null?void 0:t.placeholder)!=null?s:l("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.aiContentSearch=(h=t==null?void 0:t.aiContentSearch)!=null?h:!1,this.aiGeneration=(T=t==null?void 0:t.aiGeneration)!=null?T:!1,this.aiOptions=e.initAiOptions((g=t==null?void 0:t.aiOptions)!=null?g:[{label:l("CMD.aiOptionOneLabel",null,"\u603B\u7ED3"),cueWord:l("CMD.aiOptionOneCurword",null,"SUMM"),checked:!0},{label:l("CMD.aiOptionTwoLabel",null,"\u4E30\u5BCC"),cueWord:l("CMD.aiOptionTwoCurword",null,"RICH"),checked:!1},{label:l("CMD.aiOptionThreeLabel",null,"\u7FFB\u8BD1"),cueWord:l("CMD.aiOptionThreeCurword",null,"TRANS"),checked:!1}]),this.autoHeight=(E=t==null?void 0:t.autoHeight)!=null?E:!1,this.lineEllipsis=(d=t==null?void 0:t.lineEllipsis)!=null?d:1}}vt.Rules=_c,vt.RuntimeRules=Pc;class Ht extends e.DesignerFormControl{constructor(t){super(t),this.props=new vt(t==null?void 0:t.props)}static get controlName(){return l("CMD.richText",null,"\u5BCC\u6587\u672C")}static get controlIcon(){return"iconRichtextbox_new"}static get controlType(){return"rich-text"}}Ht.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Ht.controlFieldType=y.FieldTypes.TEXT,Ht.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION,e.COMMON_SETTING_TYPE.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:[e.COMMON_SETTING_TYPE.REQUIRED,e.COMMON_SETTING_TYPE.IS_HIDE,e.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,e.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!1},{key:"ai-generation",visible:!0},{key:"column-autoHeight",visible:!1},{key:"column-line-ellipsis",visible:!1},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}];class Ou extends e.RuntimeFormControl{constructor(t){super(t),this.props=new vt(t==null?void 0:t.props)}static get controlType(){return"rich-text"}}Ou.controlFieldType=y.FieldTypes.TEXT;var _u={Designer:Ht,Runtime:Ou,Property:vt};class Nc extends e.OptionAndDataSourcePropertyRules{constructor(t){super(t),this.formBind={type:"object",fields:{formKey:{type:"string",message:l("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},t.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class Ge extends e.BaseControlProperty{constructor(t){var i,u,a,c,s,h,T,g,E,d,m;super(t),this.options=e.initOptions((i=t==null?void 0:t.options)!=null?i:[{label:l("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:l("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:l("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:l("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:l("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:l("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.defaultShowOptions=(u=t==null?void 0:t.defaultShowOptions)!=null?u:!0,this.optionConfig=(a=t==null?void 0:t.optionConfig)!=null?a:"custom",this.datasourceBind=new e.DataSourceBind(t==null?void 0:t.datasourceBind),this.caption=(c=t==null?void 0:t.caption)!=null?c:Ye.controlName,this.placeholder=(s=t==null?void 0:t.placeholder)!=null?s:l("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(h=t==null?void 0:t.defaultValue)!=null?h:"",this.allowCopyOptions=(T=t==null?void 0:t.allowCopyOptions)!=null?T:!1,this.openMultistageFilling=(g=t==null?void 0:t.openMultistageFilling)!=null?g:!1,this.multistageFilling=[],Array.isArray(t==null?void 0:t.multistageFilling)&&(t==null||t.multistageFilling.map(r=>{var b;(b=this.multistageFilling)==null||b.push(new e.MultistageFillingItem(r))})),this.canViewForm=(E=t==null?void 0:t.canViewForm)!=null?E:!1,this.viewFormModelType=(d=t==null?void 0:t.viewFormModelType)!=null?d:"window",this.formBind=new e.FormBind(t==null?void 0:t.formBind),this.aiContentSearch=(m=t==null?void 0:t.aiContentSearch)!=null?m:!1}}Ge.Rules=Nc;class Ye extends e.DesignerFormControl{constructor(t){super(t),this.props=new Ge(t==null?void 0:t.props)}static get controlName(){return l("CMD.select",null,"\u4E0B\u62C9\u5355\u9009")}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}Ye.controlFieldType=y.FieldTypes.VARCHAR,Ye.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION,e.COMMON_SETTING_TYPE.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:[e.COMMON_SETTING_TYPE.REQUIRED,e.COMMON_SETTING_TYPE.IS_HIDE,e.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,e.COMMON_SETTING_TYPE.DEFAULT_SHOW_OPTIONS,e.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,e.COMMON_SETTING_TYPE.ALLOW_COPY_OPTIONS]},{key:"ai-content-search",visible:!0},{key:"options-setting",visible:!0,showItems:[e.COMMON_SETTING_TYPE.CAN_VIEW_FORM,e.COMMON_SETTING_TYPE.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Pu extends e.RuntimeFormControl{constructor(t){super(t),this.props=new Ge(t==null?void 0:t.props)}static get controlType(){return"select"}}Pu.controlFieldType=y.FieldTypes.VARCHAR;var Nu={Designer:Ye,Runtime:Pu,Property:Ge};class Rc extends e.OptionAndDataSourcePropertyRules{constructor(t){super(t),this.formBind={type:"object",fields:{formKey:{type:"string",message:l("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},t.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class Sc extends e.BaseControlPropertyRuntimeRules{constructor(t){super(t),this[0]!==void 0&&(this[0].type="array")}}class Vt extends e.BaseControlProperty{constructor(t){var i,u,a,c,s,h,T,g,E,d;super(t),this.options=e.initOptions((i=t==null?void 0:t.options)!=null?i:[{label:l("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:l("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:l("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:l("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:l("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:l("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.defaultShowOptions=(u=t==null?void 0:t.defaultShowOptions)!=null?u:!0,this.optionConfig=(a=t==null?void 0:t.optionConfig)!=null?a:"custom",this.datasourceBind=new e.DataSourceBind(t==null?void 0:t.datasourceBind),this.caption=(c=t==null?void 0:t.caption)!=null?c:ve.controlName,this.placeholder=(s=t==null?void 0:t.placeholder)!=null?s:l("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(h=t==null?void 0:t.defaultValue)!=null?h:[],this.openMultistageFilling=(T=t==null?void 0:t.openMultistageFilling)!=null?T:!1,this.multistageFilling=[],Array.isArray(t==null?void 0:t.multistageFilling)&&(t==null||t.multistageFilling.map(m=>{var r;(r=this.multistageFilling)==null||r.push(new e.MultistageFillingItem(m))})),this.canViewForm=(g=t==null?void 0:t.canViewForm)!=null?g:!1,this.viewFormModelType=(E=t==null?void 0:t.viewFormModelType)!=null?E:"window",this.formBind=new e.FormBind(t==null?void 0:t.formBind),this.aiContentSearch=(d=t==null?void 0:t.aiContentSearch)!=null?d:!1}}Vt.Rules=Rc,Vt.RuntimeRules=Sc;class ve extends e.DesignerFormControl{constructor(t){super(t),this.props=new Vt(t==null?void 0:t.props)}static get controlName(){return l("CMD.selectMultiple",null,"\u4E0B\u62C9\u591A\u9009")}static get controlIcon(){return"iconxialaduoxuan"}static get controlType(){return"select-multiple"}}ve.controlFieldType=y.FieldTypes.ARRAY,ve.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION,e.COMMON_SETTING_TYPE.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:[e.COMMON_SETTING_TYPE.REQUIRED,e.COMMON_SETTING_TYPE.IS_HIDE,e.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,e.COMMON_SETTING_TYPE.DEFAULT_SHOW_OPTIONS,e.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!0},{key:"options-setting",visible:!0,showItems:[e.COMMON_SETTING_TYPE.CAN_VIEW_FORM,e.COMMON_SETTING_TYPE.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Ru extends e.RuntimeFormControl{constructor(t){super(t),this.props=new Vt(t==null?void 0:t.props)}static get controlType(){return"select-multiple"}}Ru.controlFieldType=y.FieldTypes.ARRAY;var Su={Designer:ve,Runtime:Ru,Property:Vt};class fc extends e.BaseControlPropertyRuntimeRules{constructor(t){super(t),this[0]!==void 0&&(this[0].type="array")}}class He extends e.BaseControlProperty{constructor(t){var i,u,a,c,s,h,T,g,E;super(t),this.showType=(i=t==null?void 0:t.showType)!=null?i:"default",this.range=(u=t==null?void 0:t.range)!=null?u:"all",this.rangeOptions=(a=t==null?void 0:t.rangeOptions)!=null?a:[],this.multiple=(c=t==null?void 0:t.multiple)!=null?c:!1,this.defaultValueType=(s=t==null?void 0:t.defaultValueType)!=null?s:"none",this.defaultValue=(h=t==null?void 0:t.defaultValue)!=null?h:[],this.caption=(T=t==null?void 0:t.caption)!=null?T:Ve.controlName,this.placeholder=(g=t==null?void 0:t.placeholder)!=null?g:l("CMD.pleaseEnterNameorEmail",null,"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1"),this.openMultistageFilling=(E=t==null?void 0:t.openMultistageFilling)!=null?E:!1,this.multistageFilling=[],Array.isArray(t==null?void 0:t.multistageFilling)&&(t==null||t.multistageFilling.map(d=>{var m;(m=this.multistageFilling)==null||m.push(new e.MultistageFillingItem(d))}))}}He.RuntimeRules=fc;class Ve extends e.DesignerFormControl{constructor(t){super(t),this.props=new He(t==null?void 0:t.props)}static get controlName(){return l("CMD.people",null,"\u4EBA\u5458")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}Ve.controlFieldType=y.FieldTypes.EMPLOYEES,Ve.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION,e.COMMON_SETTING_TYPE.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:[e.COMMON_SETTING_TYPE.REQUIRED,e.COMMON_SETTING_TYPE.IS_HIDE,e.COMMON_SETTING_TYPE.MULTIPLE,e.COMMON_SETTING_TYPE.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 fu extends e.RuntimeFormControl{constructor(t){super(t),this.props=new He(t==null?void 0:t.props)}static get controlType(){return"employee"}}fu.controlFieldType=y.FieldTypes.EMPLOYEES;var ku={Designer:Ve,Runtime:fu,Property:He};const kc=10485760,wc=104857600,Fc=1048576e3;class Bc extends e.BaseControlPropertyRules{constructor(t){super(t),this.maxSize={type:"number",min:0,max:Fc,message:l("CMD.attachmentMaxSize",null,"\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4")}}}class xc extends e.BaseControlPropertyRuntimeRules{constructor(t){super(t),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:t.maxLimit,min:t.minLimit,message:l("CMD.attachmentLimitError",{max:t.maxLimit,min:t.minLimit},"\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236")})}}class Ct extends e.BaseControlProperty{constructor(t){var i,u,a,c,s,h,T,g,E,d,m,r,b,C,I,M;super(t),this.defaultValue=(i=t==null?void 0:t.defaultValue)!=null?i:[],this.showType=(u=t==null?void 0:t.showType)!=null?u:"default",this.resultShowType=(a=t==null?void 0:t.resultShowType)!=null?a:"simple",this.attachmentAccept=(c=t==null?void 0:t.attachmentAccept)!=null?c:[],this.maxLimit=(s=t==null?void 0:t.maxLimit)!=null?s:10,this.minLimit=(h=t==null?void 0:t.minLimit)!=null?h:0,this.maxSize=(T=t==null?void 0:t.maxSize)!=null?T:wc,this.caption=(g=t==null?void 0:t.caption)!=null?g:It.controlName,this.placeholder=(E=t==null?void 0:t.placeholder)!=null?E:l("CMD.uploadFile",null,"\u4E0A\u4F20\u9644\u4EF6"),this.isShowWatermark=(d=t==null?void 0:t.isShowWatermark)!=null?d:!1,this.watermarkFx=(m=t==null?void 0:t.watermarkFx)!=null?m:{},this.operation=(r=t==null?void 0:t.operation)!=null?r:["info","preview","download"],this.aiExplanation=(b=t==null?void 0:t.aiExplanation)!=null?b:!1,this.aiExplanationLength=(C=t==null?void 0:t.aiExplanationLength)!=null?C:500,this.storageType=(I=t==null?void 0:t.storageType)!=null?I:"local",this.customOperation=(M=t==null?void 0:t.customOperation)!=null?M:[]}}Ct.Rules=Bc,Ct.RuntimeRules=xc;class It extends e.DesignerFormControl{constructor(t){super(t),this.props=new Ct(t==null?void 0:t.props)}static get controlName(){return l("CMD.file",null,"\u9644\u4EF6")}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}It.controlEventKeys=["on_change","on_file_actions"],It.controlFieldType=y.FieldTypes.FILE,It.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION,e.COMMON_SETTING_TYPE.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:[e.COMMON_SETTING_TYPE.REQUIRED,e.COMMON_SETTING_TYPE.IS_HIDE,e.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,e.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"ai-explanation",visible:!0},{key:"attachment-storage",visible:!0},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-custom-operation",visible:!0},{key:"attachment-operation",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Yi extends e.RuntimeFormControl{constructor(t){super(t),this.props=new Ct(t==null?void 0:t.props)}static get controlType(){return"attachment"}}Yi.controlFieldType=y.FieldTypes.FILE;var wu={Designer:It,Runtime:Yi,Property:Ct};class vi extends Ct{constructor(t){var i,u,a,c,s,h,T;super(t),this.showType="image",this.maxLimit=(i=t==null?void 0:t.maxLimit)!=null?i:10,this.caption=(a=(u=t==null?void 0:t.caption)!=null?u:$e.controlName)!=null?a:l("CMD.image",null,"\u56FE\u7247"),this.placeholder=(c=t==null?void 0:t.placeholder)!=null?c:l("CMD.uploadImg",null,"\u4E0A\u4F20\u56FE\u7247"),this.compressTypeCode=(s=t==null?void 0:t.compressTypeCode)!=null?s:fi.NO_COMPRESS,this.compressRatio=(h=t==null?void 0:t.compressRatio)!=null?h:1,this.maxPixel=(T=t==null?void 0:t.maxPixel)!=null?T:1080}}class $e extends It{constructor(t){super(t),this.props=new vi(t==null?void 0:t.props)}static get controlName(){return l("CMD.image",null,"\u56FE\u7247")}static get controlIcon(){return"iconpic_new"}static get controlType(){return"image"}}$e.controlFieldType=y.FieldTypes.IMAGE,$e.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION,e.COMMON_SETTING_TYPE.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:[e.COMMON_SETTING_TYPE.REQUIRED,e.COMMON_SETTING_TYPE.IS_HIDE,e.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,e.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,e.COMMON_SETTING_TYPE.IS_SHOW_WATERMARK]},{key:"compression-setting",visible:!0},{key:"ai-explanation",visible:!0},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Ac extends Yi{constructor(t){super(t),this.props=new vi(t==null?void 0:t.props)}static get controlType(){return"image"}}var Fu={Designer:$e,Runtime:Ac,Property:vi};class Lc extends e.OptionAndDataSourcePropertyRules{constructor(t){super(t),this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:l("CMD.pleaseEnterNumberRange",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")}]}},this.rangeMax={type:"any"};const i=t.rangeMax===""?void 0:t.rangeMax,u=t.rangeMin===""?void 0:t.rangeMin;this.defaultValue.fields.amount[0].max=i,this.defaultValue.fields.amount[0].min=u,this.defaultValue.fields.amount[0].message=l("CMD.pleaseEnterNumberRange",{max:i,min:u},"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"),u&&i!==void 0&&(this.rangeMax={type:"number",min:u,message:l("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")})}}class Gc extends e.BaseControlPropertyRuntimeRules{constructor(t){super(t),this[0]!==void 0&&(this[0].type="object");const i=t.rangeMax===""?void 0:t.rangeMax,u=t.rangeMin===""?void 0:t.rangeMin;this.push({type:"object",fields:{amount:[On(ut({},this[0]),{type:"number"}),{type:"number",min:u,max:i,message:l(i===void 0?"CMD.pleaseEnterAValueGreaterThanMin":u===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:i,min:u},l(i===void 0?"CMD.51051751712133507":u===void 0?"CMD.41d01751712135567":"CMD.affe1751712129045"))}],currency:{type:"string"}}})}}class $t extends e.BaseControlProperty{constructor(t){var i,u,a,c,s,h,T,g,E,d,m,r;super(t),this.rangeMin=(i=t==null?void 0:t.rangeMin)!=null?i:"",this.rangeMax=(u=t==null?void 0:t.rangeMax)!=null?u:"",this.optionConfig=(a=t==null?void 0:t.optionConfig)!=null?a:"datasource",this.micrometer=(c=t==null?void 0:t.micrometer)!=null?c:!1,this.precision=(s=t==null?void 0:t.precision)!=null?s:2,this.dataBind=new e.AmountDataBind(t==null?void 0:t.dataBind),this.datasourceBind=new e.DataSourceBind((h=t==null?void 0:t.datasourceBind)!=null?h:{displayBoList:[new e.DisplayBoListItem({value:"name"})]}),this.defaultValue=new e.AmountValue((T=t==null?void 0:t.defaultValue)!=null?T:{amount:"",currency:e.AMOUNT_TYPE.CNY}),this.unitPosition=(g=t==null?void 0:t.unitPosition)!=null?g:"right",this.options=e.initOptions(t==null?void 0:t.options),this.caption=(E=t==null?void 0:t.caption)!=null?E:Dt.controlName,this.placeholder=(d=t==null?void 0:t.placeholder)!=null?d:l("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.submitSelectCurrency=(m=t==null?void 0:t.submitSelectCurrency)!=null?m:!1,this.showUpperCase=(r=t==null?void 0:t.showUpperCase)!=null?r:!1}}$t.Rules=Lc,$t.RuntimeRules=Gc;class Dt extends e.DesignerFormControl{constructor(t){super(t),this.props=new $t(t==null?void 0:t.props)}static get controlName(){return l("CMD.amount",null,"\u91D1\u989D")}static get controlType(){return"amount"}static get controlIcon(){return"iconjine"}toDataBindModel(t){const i=super.toDataBindModel(t);if(i&&!Array.isArray(i)){const{precision:u,micrometer:a}=this.props;u!==""&&(i.props.precision=u),i.props.micrometer=a}return i}}Dt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Dt.controlFieldType=y.FieldTypes.MONEY,Dt.setting=[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION,e.COMMON_SETTING_TYPE.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:[e.COMMON_SETTING_TYPE.REQUIRED,e.COMMON_SETTING_TYPE.IS_HIDE,e.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,e.COMMON_SETTING_TYPE.SUBMIT_SELECT_CURRENCY,e.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"unit-position",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[e.COMMON_SETTING_TYPE.SHOW_UPPER_CASE,e.COMMON_SETTING_TYPE.MICROMETER,e.COMMON_SETTING_TYPE.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class Bu extends e.RuntimeFormControl{constructor(t){super(t),this.props=new $t(t==null?void 0:t.props)}static get controlType(){return"amount"}}Bu.controlFieldType=y.FieldTypes.MONEY;var xu={Designer:Dt,Runtime:Bu,Property:$t};class Yc extends e.BaseControlPropertyRules{constructor(t){super(t),this.totalScore=[{type:"number",required:!0,message:l("CMD.pleaseEnterTotalScoreSetting",null,"\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E")},{type:"number",min:1,message:l("CMD.theTotalScoreMustNotBeLessThan1",null,"\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1")}],this.defaultValue={type:"number",min:0,max:5,message:l("CMD.scoreDefaultValueRange",null,"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")},this.defaultValue.max=t.totalScore,this.defaultValue.message=l("CMD.scoreDefaultValueRange",{max:t.totalScore,min:0},"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")}}class vc extends e.BaseControlPropertyRuntimeRules{constructor(t){super(t),this[0]!==void 0&&(this[0].type="number");const i=t.required?1:0;this.push({type:"number",min:i,max:t.totalScore,message:l("CMD.scoreDefaultValueRange",{max:t.totalScore,min:i},"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")})}}class qt extends e.BaseControlProperty{constructor(t){var i,u,a,c,s,h,T;super(t),this.totalScore=(i=t==null?void 0:t.totalScore)!=null?i:5,this.scoreType=(u=t==null?void 0:t.scoreType)!=null?u:Ii.STAR,this.isShowExplain=(a=t==null?void 0:t.isShowExplain)!=null?a:!0,this.explain=(s=(c=t==null?void 0:t.explain)==null?void 0:c.map(g=>new de(g)))!=null?s:Array(this.totalScore).fill(void 0).map(()=>new de),this.defaultValue=(h=t==null?void 0:t.defaultValue)!=null?h:0,this.caption=(T=t==null?void 0:t.caption)!=null?T:Wt.controlName}}qt.Rules=Yc,qt.RuntimeRules=vc;class Wt extends e.DesignerFormControl{constructor(t){super(t),this.props=new qt(t==null?void 0:t.props)}static get controlName(){return l("CMD.score",null,"\u8BC4\u5206")}static get controlIcon(){return"iconpingfen"}static get controlType(){return"score"}postUpdate(t,i){if(t==="totalScore"){if(i===this.props.explain.length)return;if(this.props.explain.length>i)this.props.explain=this.props.explain.slice(0,i);else{const u=i-this.props.explain.length,a=Array(u).fill(void 0).map(()=>new de);this.props.explain.push(...a)}}super.postUpdate(t,i)}}Wt.controlEventKeys=["on_change","on_click"],Wt.controlFieldType=y.FieldTypes.DECIMAL,Wt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION,e.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[e.COMMON_SETTING_TYPE.REQUIRED,e.COMMON_SETTING_TYPE.IS_HIDE,e.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,e.COMMON_SETTING_TYPE.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 Au extends e.RuntimeFormControl{constructor(t){super(t),this.props=new qt(t==null?void 0:t.props)}static get controlType(){return"score"}}Au.controlFieldType=y.FieldTypes.DECIMAL;var Lu={Designer:Wt,Runtime:Au,Property:qt};class Hc extends e.BaseControlPropertyRuntimeRules{constructor(t){if(super(t),this[0]!==void 0&&(this[0].type="object"),t.required&&!t.isHide){const i={type:"object",fields:{province:{type:"string",required:t.required,message:l("CMD.pleaseSelectProvince",null,"\u8BF7\u9009\u62E9\u7701")}}};t.addressType.includes("city")&&(i.fields.city={type:"string",required:t.required,message:l("CMD.pleaseSelectCity",null,"\u8BF7\u9009\u62E9\u5E02")}),t.addressType.includes("district")&&(i.fields.district={type:"string",required:t.required,message:l("CMD.pleaseSelectDistrict",null,"\u8BF7\u9009\u62E9\u533A")}),this.push(i)}}}class De extends e.BaseControlProperty{constructor(t){var i,u,a,c,s;super(t),this.caption=(i=t==null?void 0:t.caption)!=null?i:qe.controlName,this.defaultValueType=(u=t==null?void 0:t.defaultValueType)!=null?u:"default",this.addressType=(a=t==null?void 0:t.addressType)!=null?a:["province","city","district"],this.defaultValue=new e.AddressValue((c=t==null?void 0:t.defaultValue)!=null?c:{}),this.placeholder=(s=t==null?void 0:t.placeholder)!=null?s:l("CMD.pleaseChooseAddress",null,"\u8BF7\u9009\u62E9\u5730\u5740")}}De.RuntimeRules=Hc;class qe extends e.DesignerFormControl{constructor(t){super(t),this.props=new De(t==null?void 0:t.props)}static get controlName(){return l("CMD.address",null,"\u5730\u5740")}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}qe.controlFieldType=y.FieldTypes.ADDRESS,qe.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION,e.COMMON_SETTING_TYPE.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:[e.COMMON_SETTING_TYPE.REQUIRED,e.COMMON_SETTING_TYPE.IS_HIDE,e.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Gu extends e.RuntimeFormControl{constructor(t){super(t),this.props=new De(t==null?void 0:t.props)}static get controlName(){return l("CMD.e7c91751712163978")}static get controlIcon(){return"iconicon_site_management11"}static get controlType(){return"address"}}Gu.controlFieldType=y.FieldTypes.ADDRESS;var Yu={Designer:qe,Runtime:Gu,Property:De};class Vc extends e.BaseControlPropertyRuntimeRules{constructor(t){super(t),this[0]!==void 0&&(this[0].type="array")}}class We extends e.BaseControlProperty{constructor(t){var i,u,a,c,s,h,T,g,E,d,m;super(t),this.showType=(i=t==null?void 0:t.showType)!=null?i:"default",this.multiple=(u=t==null?void 0:t.multiple)!=null?u:!1,this.range=(a=t==null?void 0:t.range)!=null?a:"all",this.defaultValueType=(c=t==null?void 0:t.defaultValueType)!=null?c:"none",this.rangeOptions=(s=t==null?void 0:t.rangeOptions)!=null?s:[],this.defaultValue=(h=t==null?void 0:t.defaultValue)!=null?h:[],this.displayLevel=(T=t==null?void 0:t.displayLevel)!=null?T:1,this.showSubDept=(g=t==null?void 0:t.showSubDept)!=null?g:!0,this.caption=(E=t==null?void 0:t.caption)!=null?E:Ut.controlName,this.placeholder=(d=t==null?void 0:t.placeholder)!=null?d:l("CMD.pleaseSelectDept",null,"\u8BF7\u9009\u62E9\u90E8\u95E8"),this.openMultistageFilling=(m=t==null?void 0:t.openMultistageFilling)!=null?m:!1,this.multistageFilling=[],Array.isArray(t==null?void 0:t.multistageFilling)&&(t==null||t.multistageFilling.map(r=>{var b;(b=this.multistageFilling)==null||b.push(new e.MultistageFillingItem(r))}))}}We.RuntimeRules=Vc;class Ut extends e.DesignerFormControl{constructor(t){super(t),this.props=new We(t==null?void 0:t.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department"}toDataBindModel(t){const i=super.toDataBindModel(t);if(i&&!Array.isArray(i)){const{displayLevel:u,showSubDept:a}=this.props;i.props.displayLevel=u,i.props.showSubDept=a}return i}}Ut.controlName=l("CMD.department",null,"\u90E8\u95E8"),Ut.controlFieldType=y.FieldTypes.DEPARTMENTS,Ut.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION,e.COMMON_SETTING_TYPE.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:[e.COMMON_SETTING_TYPE.REQUIRED,e.COMMON_SETTING_TYPE.IS_HIDE,e.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,e.COMMON_SETTING_TYPE.MULTIPLE,e.COMMON_SETTING_TYPE.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 vu extends e.RuntimeFormControl{constructor(t){super(t),this.props=new We(t==null?void 0:t.props)}static get controlType(){return"department"}}vu.controlFieldType=y.FieldTypes.DEPARTMENTS;var Hu={Designer:Ut,Runtime:vu,Property:We};class Hi extends e.BaseControlProperty{constructor(t){var i,u,a;super(t),this.defaultValue=(i=t==null?void 0:t.defaultValue)!=null?i:"",this.caption=(u=t==null?void 0:t.caption)!=null?u:jt.controlName,this.placeholder=(a=t==null?void 0:t.placeholder)!=null?a:l("CMD.pleaseEnterAutonumber",null,"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7")}}class jt extends e.DesignerFormControl{constructor(t){super(t),this.props=new Hi(t==null?void 0:t.props)}static get controlName(){return l("CMD.autoNumber",null,"\u81EA\u52A8\u7F16\u53F7")}static get controlIcon(){return"iconnumber_new"}static get controlType(){return"auto-number"}}jt.controlEventKeys=["on_change"],jt.controlFieldType=y.FieldTypes.AUTO_NUMBER,jt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION,e.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[e.COMMON_SETTING_TYPE.IS_HIDE,e.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,e.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Vu extends e.RuntimeFormControl{constructor(t){super(t),this.props=new Hi(t==null?void 0:t.props)}static get controlType(){return"auto-number"}}Vu.controlFieldType=y.FieldTypes.AUTO_NUMBER;var $u={Designer:jt,Runtime:Vu,Property:Hi};class $c extends e.BaseControlPropertyRules{constructor(t){super(t),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 Dc extends e.BaseControlPropertyRuntimeRules{constructor(t){super(t),this[0]!==void 0&&(this[0].type="object"),this.push({type:"object",message:l("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61"),fields:{result:[{type:"number",message:l("CMD.isNotNumber",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57")}],unit:{type:"string",message:l("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")}}})}}class Kt extends e.BaseControlProperty{constructor(t){var i,u,a,c,s,h,T,g,E;super(t),this.precision=(i=t==null?void 0:t.precision)!=null?i:0,this.micrometer=(u=t==null?void 0:t.micrometer)!=null?u:!1,this.showUpperCase=(a=t==null?void 0:t.showUpperCase)!=null?a:!1,this.dataBind=new e.CalcDataBind(t==null?void 0:t.dataBind),this.defaultValue=new e.CalcValue(t==null?void 0:t.defaultValue),this.caption=(c=t==null?void 0:t.caption)!=null?c:zt.controlName,this.unitPosition=(s=t==null?void 0:t.unitPosition)!=null?s:"right",this.placeholder=(h=t==null?void 0:t.placeholder)!=null?h:l("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.scriptEcho=(T=t==null?void 0:t.scriptEcho)!=null?T:[],this.scriptSrc=(g=t==null?void 0:t.scriptSrc)!=null?g:"",this.calcOnMounted=(E=t==null?void 0:t.calcOnMounted)!=null?E:!1}}Kt.Rules=$c,Kt.RuntimeRules=Dc;class zt extends e.DesignerFormControl{constructor(t){super(t),this.props=new Kt(t==null?void 0:t.props)}static get controlName(){return l("CMD.calc",null,"\u8BA1\u7B97\u516C\u5F0F")}static get controlType(){return"calc"}static get controlIcon(){return"iconcalculation_new"}toDataBindModel(t){const i=super.toDataBindModel(t);if(i&&!Array.isArray(i)){const{precision:u,micrometer:a}=this.props;u!==""&&(i.props.precision=u),i.props.micrometer=a}return i}}zt.controlEventKeys=["on_change"],zt.controlFieldType=y.FieldTypes.CALC,zt.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION,e.COMMON_SETTING_TYPE.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:"calc-on-mounted",visible:!0},{key:"common-setting",visible:!0,showItems:[e.COMMON_SETTING_TYPE.REQUIRED,e.COMMON_SETTING_TYPE.IS_HIDE,e.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,e.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"unit-position",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[e.COMMON_SETTING_TYPE.SHOW_UPPER_CASE,e.COMMON_SETTING_TYPE.MICROMETER,e.COMMON_SETTING_TYPE.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class Du extends e.RuntimeFormControl{constructor(t){super(t),this.props=new Kt(t==null?void 0:t.props)}static get controlType(){return"calc"}}Du.controlFieldType=y.FieldTypes.CALC;var qu={Designer:zt,Runtime:Du,Property:Kt};class qc extends e.BaseControlPropertyRuntimeRules{constructor(t){super(t),this[0]!==void 0&&(this[0].type="array"),this.push({validator(i,u){return t.required&&u.every(c=>!c)?Promise.reject(l("CMD.runtimeRequired",{caption:t.caption},"{caption}\u5FC5\u586B")):Promise.resolve()}})}}class Ue extends e.BaseControlProperty{constructor(t){var i,u,a,c,s,h;super(t),this.defaultValue=(i=t==null?void 0:t.defaultValue)!=null?i:["",""],this.rangeMin=(u=t==null?void 0:t.rangeMin)!=null?u:"",this.rangeMax=(a=t==null?void 0:t.rangeMax)!=null?a:"",this.placeholderStart=(c=t==null?void 0:t.placeholderStart)!=null?c:l("CMD.min",null,"\u6700\u5C0F\u503C"),this.placeholderEnd=(s=t==null?void 0:t.placeholderEnd)!=null?s:l("CMD.max",null,"\u6700\u5927\u503C"),this.caption=(h=t==null?void 0:t.caption)!=null?h:je.controlName}}Ue.RuntimeRules=qc;class je extends e.DesignerFormControl{constructor(t){super(t),this.props=new Ue(t==null?void 0:t.props)}static get controlName(){return l("CMD.searchNumberRange",null,"\u6570\u5B57\u533A\u95F4")}static get controlIcon(){return"iconshuziqujian"}static get controlType(){return"search-number-range"}}je.controlFieldType=y.FieldTypes.DECIMAL_RANGE,je.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION,e.COMMON_SETTING_TYPE.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:[e.COMMON_SETTING_TYPE.REQUIRED,e.COMMON_SETTING_TYPE.IS_HIDE,e.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,e.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Wu extends e.RuntimeFormControl{constructor(t){super(t),this.props=new Ue(t==null?void 0:t.props)}static get controlType(){return"search-number-range"}}Wu.controlFieldType=y.FieldTypes.DECIMAL_RANGE;var Uu={Designer:je,Runtime:Wu,Property:Ue};class Wc extends e.BaseControlPropertyRuntimeRules{constructor(t){super(t),this[0]!==void 0&&(this[0].type="array"),t.required&&!t.isHide&&this.push({type:"array",fields:{0:{type:"string",required:t.required,message:this[0].message},1:{type:"string",required:t.required,message:this[0].message}}})}}class Ke extends e.BaseControlProperty{constructor(t){var i,u,a,c,s,h,T,g,E,d,m,r,b;super(t),this.defaultValue=(i=t==null?void 0:t.defaultValue)!=null?i:["",""],this.dateType=(u=t==null?void 0:t.dateType)!=null?u:y.DateType.DATE,this.dateFormat=(a=t==null?void 0:t.dateFormat)!=null?a:"",this.commonTimeSetting=(c=t==null?void 0:t.commonTimeSetting)!=null?c:[],this.setValueType=(s=t==null?void 0:t.setValueType)!=null?s:"custom",this.rangeMin=(h=t==null?void 0:t.rangeMin)!=null?h:"",this.rangeMax=(T=t==null?void 0:t.rangeMax)!=null?T:"",this.placeholderStart=(g=t==null?void 0:t.placeholderStart)!=null?g:l("CMD.startDate",null,"\u5F00\u59CB\u65E5\u671F"),this.placeholderEnd=(E=t==null?void 0:t.placeholderEnd)!=null?E:l("CMD.endDate",null,"\u7ED3\u675F\u65E5\u671F"),this.caption=(d=t==null?void 0:t.caption)!=null?d:ze.controlName,this.limitDateList=(r=(m=t==null?void 0:t.limitDateList)==null?void 0:m.map(C=>new Ee(C)))!=null?r:[],this.isInternational=(b=t==null?void 0:t.isInternational)!=null?b:!1}}Ke.RuntimeRules=Wc;class ze extends e.DesignerFormControl{constructor(t){super(t),this.props=new Ke(t==null?void 0:t.props)}static get controlName(){return l("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"search-date-range"}}ze.controlFieldType=y.FieldTypes.ARRAY,ze.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION,e.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[e.COMMON_SETTING_TYPE.REQUIRED,e.COMMON_SETTING_TYPE.IS_HIDE,e.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,e.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class ju extends e.RuntimeFormControl{constructor(t){super(t),this.props=new Ke(t==null?void 0:t.props)}static get controlType(){return"search-date-range"}}ju.controlFieldType=y.FieldTypes.ARRAY;var Ku={Designer:ze,Runtime:ju,Property:Ke};class Uc extends e.BaseControlPropertyRules{constructor(t){super(t),this.dataBind={type:"any"}}}class jc extends e.BaseControlPropertyRuntimeRules{constructor(t){super(t),this[0]!==void 0&&(this[0].type="any")}}class Qt extends e.BaseControlProperty{constructor(t){var i,u,a,c,s;super(t),this.caption=(i=t==null?void 0:t.caption)!=null?i:Mt.controlName,this.defaultValue=(u=t==null?void 0:t.defaultValue)!=null?u:void 0,this.controlExportName=(a=t==null?void 0:t.controlExportName)!=null?a:"",this.permissions=(c=t==null?void 0:t.permissions)!=null?c:[],this.isInlineEdit=(s=t==null?void 0:t.isInlineEdit)!=null?s:!1}}Qt.Rules=Uc,Qt.RuntimeRules=jc;class Mt extends e.DesignerFormControl{constructor(t){super(t),this.props=new Qt(t==null?void 0:t.props)}static get controlName(){return l("CMD.vueFormItem",null,"Vue\u5BB9\u5668")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return"vue-form-item"}}Mt.controlFieldType=y.FieldTypes.ANY,Mt.controlEventKeys=[],Mt.slots=["grid-table-toolbar-slot",y.DESIGNER_SLOT.DEFAULT],Mt.setting=[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION,e.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[e.COMMON_SETTING_TYPE.IS_HIDE,e.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,e.COMMON_SETTING_TYPE.REQUIRED,e.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,e.COMMON_SETTING_TYPE.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}];class zu extends e.RuntimeFormControl{constructor(t){super(t),this.props=new Qt(t==null?void 0:t.props)}static get controlType(){return"vue-form-item"}}zu.controlFieldType=y.FieldTypes.ANY;var Qu={Designer:Mt,Runtime:zu,Property:Qt};class Kc extends e.OptionAndDataSourcePropertyRules{constructor(t){super(t),this.listPageBind=[{type:"object",message:l("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:l("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{type:"string",required:!0,message:l("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}]}}],this.formBind={type:"object",fields:{formKey:{type:"string",message:l("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},t.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class Qe extends e.BaseControlProperty{constructor(t){var i,u,a,c,s,h,T,g,E,d,m,r,b;super(t),this.options=e.initOptions((i=t==null?void 0:t.options)!=null?i:[]),this.optionConfig=(u=t==null?void 0:t.optionConfig)!=null?u:"datasource",this.listPageBind=new e.ListBind(t==null?void 0:t.listPageBind),this.datasourceBind=new e.DataSourceBind(t==null?void 0:t.datasourceBind),this.caption=(a=t==null?void 0:t.caption)!=null?a:Xt.controlName,this.placeholder=(c=t==null?void 0:t.placeholder)!=null?c:l("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(s=t==null?void 0:t.defaultValue)!=null?s:"",this.openMultistageFilling=(h=t==null?void 0:t.openMultistageFilling)!=null?h:!1,this.showSelectedDetail=(T=t==null?void 0:t.showSelectedDetail)!=null?T:!1,this.selectedContentConfig=new e.SelectedContentConfig(t==null?void 0:t.selectedContentConfig),this.multistageFilling=[],Array.isArray(t==null?void 0:t.multistageFilling)&&(t==null||t.multistageFilling.map(C=>{var I;(I=this.multistageFilling)==null||I.push(new e.MultistageFillingItem(C))})),this.canViewForm=(g=t==null?void 0:t.canViewForm)!=null?g:!1,this.viewFormModelType=(E=t==null?void 0:t.viewFormModelType)!=null?E:"window",this.formBind=new e.FormBind(t==null?void 0:t.formBind),this.optionDisplayConfig=(d=t==null?void 0:t.optionDisplayConfig)!=null?d:[],this.canSearch=(m=t==null?void 0:t.canSearch)!=null?m:!1,this.aiContentSearch=(r=t==null?void 0:t.aiContentSearch)!=null?r:!1,this.defaultShowOptions=(b=t==null?void 0:t.defaultShowOptions)!=null?b:!1}}Qe.Rules=Kc;class Xt extends e.DesignerFormControl{constructor(t){super(t),this.props=new Qe(t==null?void 0:t.props)}static get controlName(){return l("CMD.selectRelation",null,"\u5173\u8054\u5355\u9009")}static get controlIcon(){return"iconguanliandanxuan"}static get controlType(){return"select-relation"}toDataBindModel(t){const i=super.toDataBindModel(t);if(i&&!Array.isArray(i)){const{optionDisplayConfig:u}=this.props;i.props.optionDisplayConfig=u}return i}}Xt.controlFieldType=y.FieldTypes.VARCHAR,Xt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION,e.COMMON_SETTING_TYPE.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:[e.COMMON_SETTING_TYPE.REQUIRED,e.COMMON_SETTING_TYPE.IS_HIDE,e.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,e.COMMON_SETTING_TYPE.CAN_SEARCH,e.COMMON_SETTING_TYPE.DEFAULT_SHOW_OPTIONS]},{key:"ai-content-search",visible:!0},{key:"relation-setting",visible:!0,showItems:[e.COMMON_SETTING_TYPE.CAN_VIEW_FORM,e.COMMON_SETTING_TYPE.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"option-config-setting",visible:!0},{key:"super-setting",visible:!0}],Xt.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class Xu extends e.RuntimeFormControl{constructor(t){super(t),this.props=new Qe(t==null?void 0:t.props)}static get controlType(){return"select-relation"}}Xu.controlFieldType=y.FieldTypes.VARCHAR;var Ju={Designer:Xt,Runtime:Xu,Property:Qe};class Vi extends rt{constructor(t){super(t)}}class Zu extends bt{constructor(t){super(t),this.props=new Vi(t==null?void 0:t.props)}static get controlName(){return l("CMD.input",null,"\u5355\u884C\u6587\u672C")}static get controlType(){return"search-input"}}Zu.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION,e.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[e.COMMON_SETTING_TYPE.REQUIRED]},{key:"super-setting",visible:!0}];class pu extends e.RuntimeFormControl{constructor(t){super(t),this.props=new Vi(t==null?void 0:t.props)}static get controlType(){return"search-input"}}pu.controlFieldType=y.FieldTypes.VARCHAR;var tl={Designer:Zu,Runtime:pu,Property:Vi};class zc extends e.BaseControlPropertyRules{constructor(t){super(t),this.datasourceBind=[{type:"object",message:l("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],e.initSuperDataSourceRules.call(this,t,x.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:l("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:l("CMD.rootNodeIsRequired",null,"\u8BF7\u9009\u62E9\u6839\u8282\u70B9")}}}])}}class Qc extends e.BaseControlPropertyRuntimeRules{constructor(t){super(t),this[0]!==void 0&&(this[0].type="array")}}class Jt extends e.BaseControlProperty{constructor(t){var i,u,a,c,s,h,T,g,E,d,m,r,b,C,I,M,N,O,it;super(t),this.optionConfig="datasource",this.caption=(i=t==null?void 0:t.caption)!=null?i:x.controlName,this.placeholder=(u=t==null?void 0:t.placeholder)!=null?u:l("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.multiple=(a=t==null?void 0:t.multiple)!=null?a:!1,this.canSearch=(c=t==null?void 0:t.canSearch)!=null?c:!0,this.levelType=(s=t==null?void 0:t.levelType)!=null?s:"all",this.optionalLevel=(h=t==null?void 0:t.optionalLevel)!=null?h:1,this.containsSubNode=(T=t==null?void 0:t.containsSubNode)!=null?T:!1,this.isShowFilterItem=(g=t==null?void 0:t.isShowFilterItem)!=null?g:!1,this.isShowIncludeSub=(E=t==null?void 0:t.isShowIncludeSub)!=null?E:!1,this.isDefaultCheckSub=(d=t==null?void 0:t.isDefaultCheckSub)!=null?d:!1,this.defaultCollapse=(m=t==null?void 0:t.defaultCollapse)!=null?m:"all",this.defaultCollapseLevel=(r=t==null?void 0:t.defaultCollapseLevel)!=null?r:1,this.datasourceBind=new e.TreeDataSourceBind((b=t==null?void 0:t.datasourceBind)!=null?b:{attributes:x.controlCustomAttributes}),this.filterItemDatasourceBind=new e.TreeDataSourceBind((C=t==null?void 0:t.filterItemDatasourceBind)!=null?C:{attributes:x.controlCustomAttributes}),this.openMultistageFilling=(I=t==null?void 0:t.openMultistageFilling)!=null?I:!1,this.defaultDisplay=(M=t==null?void 0:t.defaultDisplay)!=null?M:!1,this.multistageFilling=(O=(N=t==null?void 0:t.multistageFilling)==null?void 0:N.map(nt=>new e.MultistageFillingItem(nt)))!=null?O:[],this.defaultValue=(it=t==null?void 0:t.defaultValue)!=null?it:[]}}Jt.Rules=zc,Jt.RuntimeRules=Qc;class x extends e.DesignerFormControl{constructor(t){super(t),this.props=new Jt(t==null?void 0:t.props)}static get controlName(){return l("CMD.tree",null,"\u6811")}static get controlIcon(){return"icontree"}static get controlType(){return"tree"}static get controlCustomAttributes(){return[{key:"displayBoList",name:l("CMD.6cb51751712162323"),required:!0},{key:"parentField",name:l("CMD.33ee1751712159752"),required:!0}]}}x.controlEventKeys=["on_change","on_click"],x.controlFieldType=y.FieldTypes.ARRAY,x.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION,e.COMMON_SETTING_TYPE.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:[e.COMMON_SETTING_TYPE.REQUIRED,e.COMMON_SETTING_TYPE.IS_HIDE,e.COMMON_SETTING_TYPE.MULTIPLE,e.COMMON_SETTING_TYPE.CAN_SEARCH,e.COMMON_SETTING_TYPE.DEFAULT_DISPLAY,e.COMMON_SETTING_TYPE.CONTAINS_SUB_NODE,e.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class el extends e.RuntimeFormControl{constructor(t){super(t),this.props=new Jt(t==null?void 0:t.props)}static get controlType(){return"tree"}}el.controlFieldType=y.FieldTypes.ARRAY;var il={Designer:x,Runtime:el,Property:Jt};class Xc extends e.BaseControlPropertyRules{constructor(t){super(t),this.datasourceBind=[{type:"object",message:l("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.externalScope={type:"any"},e.initSuperDataSourceRules.call(this,t,G.controlCustomAttributes),t.externalType===B.ASSIGN&&(this.externalScope={type:"array",required:!0,message:l("CMD.pleaseAssignExternal",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7")})}}class Jc extends e.BaseControlPropertyRuntimeRules{constructor(t){super(t),this[0]!==void 0&&(this[0].type="array")}}class Zt extends e.BaseControlProperty{constructor(t){var i,u,a,c,s,h,T,g,E,d,m,r,b,C,I,M;super(t),this.showType=(i=t==null?void 0:t.showType)!=null?i:"default",this.range=(u=t==null?void 0:t.range)!=null?u:"all",this.rangeOptions=(a=t==null?void 0:t.rangeOptions)!=null?a:[],this.multiple=(c=t==null?void 0:t.multiple)!=null?c:!1,this.defaultValueType=(s=t==null?void 0:t.defaultValueType)!=null?s:"none",this.defaultValue=(h=t==null?void 0:t.defaultValue)!=null?h:[],this.caption=(T=t==null?void 0:t.caption)!=null?T:G.controlName,this.placeholder=(g=t==null?void 0:t.placeholder)!=null?g:l("CMD.pleaseEnterNameorEmail",null,"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1"),this.datasourceBind=new e.SuperDataSourceBind((E=t==null?void 0:t.datasourceBind)!=null?E:{attributes:G.controlCustomAttributes}),this.datasourceType=(d=t==null?void 0:t.datasourceType)!=null?d:Ri.INTERNAL,this.insideType=(m=t==null?void 0:t.insideType)!=null?m:Si.ADMIN,this.externalType=(r=t==null?void 0:t.externalType)!=null?r:B.ALL,this.externalScope=(b=t==null?void 0:t.externalScope)!=null?b:[],this.openMultistageFilling=(C=t==null?void 0:t.openMultistageFilling)!=null?C:!1,this.mainDeptFlag=(I=t==null?void 0:t.mainDeptFlag)!=null?I:!1,this.multistageFilling=[],Array.isArray(t==null?void 0:t.multistageFilling)&&(t==null||t.multistageFilling.map(N=>{var O;(O=this.multistageFilling)==null||O.push(new e.MultistageFillingItem(N))})),this.defaultShowOptions=(M=t==null?void 0:t.defaultShowOptions)!=null?M:!1}}Zt.Rules=Xc,Zt.RuntimeRules=Jc;class G extends e.DesignerFormControl{constructor(t){super(t),this.props=new Zt(t==null?void 0:t.props)}static get controlName(){return l("CMD.people",null,"\u4EBA\u5458")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:l("CMD.ffd71751712162321"),required:!0}]}}G.controlFieldType=y.FieldTypes.EMPLOYEES,G.controlEventKeys=["on_change","on_focus","on_blur","on_option_selected"],G.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION,e.COMMON_SETTING_TYPE.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:[e.COMMON_SETTING_TYPE.REQUIRED,e.COMMON_SETTING_TYPE.IS_HIDE,e.COMMON_SETTING_TYPE.MULTIPLE,e.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,e.COMMON_SETTING_TYPE.MAIN_DEPT_FLAG,e.COMMON_SETTING_TYPE.DEFAULT_SHOW_OPTIONS]},{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 nl extends e.RuntimeFormControl{constructor(t){super(t),this.props=new Zt(t==null?void 0:t.props)}static get controlType(){return"employee2"}}nl.controlFieldType=y.FieldTypes.EMPLOYEES;var ul={Designer:G,Runtime:nl,Property:Zt};class Zc extends e.BaseControlPropertyRules{constructor(t){super(t),this.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:l("CMD.pleaseSelectSignFile",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6")},undersignedList:{type:"array",required:!0,min:1,message:l("CMD.pleaseSelectOnlyOne",null,"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA"),fields:t.signatureConfig.undersignedList.reduce((i,u,a)=>(i[a]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:l("CMD.pleaseSelectSigner",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA")}}},signatureType:{type:"array",required:!0,min:1,message:l("CMD.pleaseSelectSignType",null,"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B")},telephone:{type:"object",required:!0,validator(c,s,h){if(u.type==="public"&&y.isArray(s.value)&&s.value.length===0){h(l("CMD.pleaseSelectPhoneOrEmail",null,"\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1"));return}h()}},indexSignature:{type:"object",required:!0,validator(c,s,h){if((u==null?void 0:u.signaturePosition)==="index"&&y.isArray(s.value)&&s.value.length===0){h(l("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"));return}h()}},company:{type:"object",required:!0,validator(c,s,h){if(u.type==="public"&&u.signatureType.includes("company")&&y.isArray(s.value)&&s.value.length===0){h(l("CMD.pleaseSelectCompanyName",null,"\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0"));return}h()}}}},i),{})}}}}}class Xe extends e.BaseControlProperty{constructor(t){var i,u,a,c,s,h;super(t),this.command="",this.isLoading=!1,this.caption=(i=t==null?void 0:t.caption)!=null?i:pt.controlName,this.content=(u=t==null?void 0:t.content)!=null?u:l("CMD.signature",null,"\u53D1\u8D77\u7B7E\u7F72"),this.buttonType=(a=t==null?void 0:t.buttonType)!=null?a:"primary",this.showType=(c=t==null?void 0:t.showType)!=null?c:"text",this.color=(s=t==null?void 0:t.color)!=null?s:"primary",this.icon=(h=t==null?void 0:t.icon)!=null?h:"iconfenlei2",this.signatureConfig=new kn(t==null?void 0:t.signatureConfig)}}Xe.Rules=Zc;class pt extends e.DesignerFormControl{constructor(t){super(t),this.props=new Xe(t==null?void 0:t.props)}static get controlName(){return l("CMD.electronicSignature",null,"\u7535\u5B50\u7B7E\u7AE0")}static get controlIcon(){return"icondianziqianzhang"}static get controlType(){return"electronic-signature"}}pt.controlEventKeys=["on_click","on_click_finish"],pt.controlFieldType=y.FieldTypes.VARCHAR,pt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION,e.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[e.COMMON_SETTING_TYPE.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 ll extends e.RuntimeFormControl{constructor(t){super(t),this.props=new Xe(t==null?void 0:t.props)}static get controlType(){return"electronic-signature"}}ll.controlFieldType=y.FieldTypes.VARCHAR;var al={Designer:pt,Runtime:ll,Property:Xe};class pc extends e.BaseControlPropertyRules{constructor(t){super(t),this.content={type:"string",required:!0,message:l("CMD.pleaseEnterButtonContent",null,"\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(i,u,a){if(u.active&&!u.text){a(l("CMD.pleaseEnterWatermark",null,"\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A"));return}a()}},autoRename:{type:"object",validator(i,u,a){if(u.active&&!u.text){a(l("CMD.pleaseEnterFileName",null,"\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A"));return}a()}}}},this.canAdd={type:"boolean",validator(i,u,a){if(t.canAdd&&!t.addLocal&&!t.addOnline){a(l("CMD.pleaseChooseAtLeastOne",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A"));return}a()}}}}class ts extends e.BaseControlPropertyRuntimeRules{constructor(t){super(t),this[0]!==void 0&&(this[0].type="array")}}class te extends e.BaseControlProperty{constructor(t){var i,u,a,c,s,h,T,g,E,d,m,r;super(t),this.caption=(i=t==null?void 0:t.caption)!=null?i:ee.controlName,this.content=(u=t==null?void 0:t.content)!=null?u:l("CMD.createWPS",null,"\u65B0\u5EFA\u6587\u6863"),this.canAdd=(a=t==null?void 0:t.canAdd)!=null?a:!0,this.addLocal=(c=t==null?void 0:t.addLocal)!=null?c:!0,this.addOnline=(s=t==null?void 0:t.addOnline)!=null?s:!0,this.canEdit=(h=t==null?void 0:t.canEdit)!=null?h:!0,this.canDownload=(T=t==null?void 0:t.canDownload)!=null?T:!0,this.canExport=(g=t==null?void 0:t.canExport)!=null?g:!0,this.canDelete=(E=t==null?void 0:t.canDelete)!=null?E:!1,this.maxSize=(d=t==null?void 0:t.maxSize)!=null?d:kc,this.defaultValue=(m=t==null?void 0:t.defaultValue)!=null?m:[],this.wpsSetting=new wn(t==null?void 0:t.wpsSetting),this.revisionsMode=(r=t==null?void 0:t.revisionsMode)!=null?r:!1}}te.Rules=pc,te.RuntimeRules=ts;class ee extends e.DesignerFormControl{constructor(t){super(t),this.props=new te(t==null?void 0:t.props)}static get controlName(){return l("CMD.WPS",null,"\u5728\u7EBF\u6587\u6863")}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}ee.controlEventKeys=["on_change","on_wps_open"],ee.controlFieldType=y.FieldTypes.FILE,ee.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION,e.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[e.COMMON_SETTING_TYPE.REQUIRED,e.COMMON_SETTING_TYPE.IS_HIDE,e.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,e.COMMON_SETTING_TYPE.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 cl extends e.RuntimeFormControl{constructor(t){super(t),this.props=new te(t==null?void 0:t.props)}static get controlType(){return"wps"}}cl.controlFieldType=y.FieldTypes.FILE;var sl={Designer:ee,Runtime:cl,Property:te};class es extends e.BaseControlPropertyRules{constructor(t){super(t),this.datasourceBind=[{type:"object",message:l("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.businessScope={type:"any"},e.initSuperDataSourceRules.call(this,t,Y.controlCustomAttributes),t.businessType===B.ASSIGN&&(this.businessScope={type:"array",required:!0,message:l("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")})}}class is extends e.BaseControlPropertyRuntimeRules{constructor(t){super(t),this[0]!==void 0&&(this[0].type="array")}}class ie extends e.BaseControlProperty{constructor(t){var i,u,a,c,s,h,T,g,E,d,m,r,b,C,I,M;super(t),this.showType=(i=t==null?void 0:t.showType)!=null?i:"default",this.multiple=(u=t==null?void 0:t.multiple)!=null?u:!1,this.range=(a=t==null?void 0:t.range)!=null?a:"all",this.defaultValueType=(c=t==null?void 0:t.defaultValueType)!=null?c:"none",this.rangeOptions=(s=t==null?void 0:t.rangeOptions)!=null?s:[],this.defaultValue=(h=t==null?void 0:t.defaultValue)!=null?h:[],this.displayLevel=(T=t==null?void 0:t.displayLevel)!=null?T:1,this.showSubDept=(g=t==null?void 0:t.showSubDept)!=null?g:!0,this.caption=(E=t==null?void 0:t.caption)!=null?E:Y.controlName,this.placeholder=(d=t==null?void 0:t.placeholder)!=null?d:l("CMD.pleaseSelectDept",null,"\u8BF7\u9009\u62E9\u90E8\u95E8"),this.datasourceBind=new e.SuperDataSourceBind((m=t==null?void 0:t.datasourceBind)!=null?m:{attributes:Y.controlCustomAttributes}),this.datasourceType=(r=t==null?void 0:t.datasourceType)!=null?r:me.INTERNAL,this.businessScope=(b=t==null?void 0:t.businessScope)!=null?b:[],this.businessType=(C=t==null?void 0:t.businessType)!=null?C:B.ALL,this.openMultistageFilling=(I=t==null?void 0:t.openMultistageFilling)!=null?I:!1,this.multistageFilling=[],Array.isArray(t==null?void 0:t.multistageFilling)&&(t==null||t.multistageFilling.map(N=>{var O;(O=this.multistageFilling)==null||O.push(new e.MultistageFillingItem(N))})),this.defaultShowOptions=(M=t==null?void 0:t.defaultShowOptions)!=null?M:!1}}ie.Rules=es,ie.RuntimeRules=is;class Y extends e.DesignerFormControl{constructor(t){super(t),this.props=new ie(t==null?void 0:t.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:l("CMD.72d21751712162321"),required:!0}]}toDataBindModel(t){const i=super.toDataBindModel(t);if(i&&!Array.isArray(i)){const{displayLevel:u,showSubDept:a}=this.props;i.props.displayLevel=u,i.props.showSubDept=a}return i}}Y.controlName=l("CMD.department",null,"\u90E8\u95E8"),Y.controlFieldType=y.FieldTypes.DEPARTMENTS,Y.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION,e.COMMON_SETTING_TYPE.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:[e.COMMON_SETTING_TYPE.REQUIRED,e.COMMON_SETTING_TYPE.IS_HIDE,e.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,e.COMMON_SETTING_TYPE.MULTIPLE,e.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,e.COMMON_SETTING_TYPE.DEFAULT_SHOW_OPTIONS]},{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 yl extends e.RuntimeFormControl{constructor(t){super(t),this.props=new ie(t==null?void 0:t.props)}static get controlType(){return"department2"}}yl.controlFieldType=y.FieldTypes.DEPARTMENTS;var hl={Designer:Y,Runtime:yl,Property:ie};class ns extends e.BaseControlPropertyRules{constructor(t){super(t),this.datasourceBind=[{type:"object",message:l("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.businessScope={type:"any"},e.initSuperDataSourceRules.call(this,t,Ot.controlCustomAttributes),t.businessType===B.ASSIGN&&(this.businessScope={type:"array",required:!0,message:l("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")})}}class us extends e.BaseControlPropertyRuntimeRules{constructor(t){super(t),this[0]!==void 0&&(this[0].type="array")}}class ne extends e.BaseControlProperty{constructor(t){var i,u,a,c,s,h,T,g,E,d,m,r,b,C,I,M,N,O;super(t),this.showType=(i=t==null?void 0:t.showType)!=null?i:"default",this.multiple=(u=t==null?void 0:t.multiple)!=null?u:!1,this.range=(a=t==null?void 0:t.range)!=null?a:"all",this.listPageBind=new e.ListBind(t==null?void 0:t.listPageBind),this.defaultValueType=(c=t==null?void 0:t.defaultValueType)!=null?c:"none",this.rangeOptions=(s=t==null?void 0:t.rangeOptions)!=null?s:[],this.defaultValue=(h=t==null?void 0:t.defaultValue)!=null?h:[],this.displayLevel=(T=t==null?void 0:t.displayLevel)!=null?T:1,this.showSubDept=(g=t==null?void 0:t.showSubDept)!=null?g:!0,this.caption=(E=t==null?void 0:t.caption)!=null?E:Ot.controlName,this.placeholder=(d=t==null?void 0:t.placeholder)!=null?d:l("CMD.pleaseSelectOrg",null,"\u8BF7\u9009\u62E9\u7EC4\u7EC7"),this.datasourceBind=new e.OrganizationDataSourceBind((m=t==null?void 0:t.datasourceBind)!=null?m:{attributes:Ot.controlCustomAttributes}),this.datasourceType=(r=t==null?void 0:t.datasourceType)!=null?r:me.INTERNAL,this.businessScope=(b=t==null?void 0:t.businessScope)!=null?b:[],this.businessType=(C=t==null?void 0:t.businessType)!=null?C:B.ALL,this.organizingFunction=(I=t==null?void 0:t.organizingFunction)!=null?I:void 0,this.organizationView=(M=t==null?void 0:t.organizationView)!=null?M:void 0,this.showSelectedDetail=(N=t==null?void 0:t.showSelectedDetail)!=null?N:!1,this.selectedContentConfig=new e.SelectedContentConfig(t==null?void 0:t.selectedContentConfig),this.openMultistageFilling=(O=t==null?void 0:t.openMultistageFilling)!=null?O:!1,this.multistageFilling=[],Array.isArray(t==null?void 0:t.multistageFilling)&&(t==null||t.multistageFilling.map(it=>{var nt;(nt=this.multistageFilling)==null||nt.push(new e.MultistageFillingItem(it))}))}}ne.Rules=ns,ne.RuntimeRules=us;class Ot extends e.DesignerFormControl{constructor(t){super(t),this.props=new ne(t==null?void 0:t.props)}static get controlName(){return l("CMD.organizationSelection",null,"\u4E1A\u52A1\u7EC4\u7EC7")}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"organization-selection"}static get controlCustomAttributes(){return[{key:"displayBoList",name:l("CMD.895a1751712162322"),required:!0}]}toDataBindModel(t){const i=super.toDataBindModel(t);if(i&&!Array.isArray(i)){const{displayLevel:u,showSubDept:a}=this.props;i.props.displayLevel=u,i.props.showSubDept=a}return i}}Ot.controlFieldType=y.FieldTypes.DEPARTMENTS,Ot.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION,e.COMMON_SETTING_TYPE.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:[e.COMMON_SETTING_TYPE.REQUIRED,e.COMMON_SETTING_TYPE.IS_HIDE,e.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,e.COMMON_SETTING_TYPE.MULTIPLE,e.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"organization-selection-setting",visible:!0},{key:"org-selection-defaultval",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class ol extends e.RuntimeFormControl{constructor(t){super(t),this.props=new ne(t==null?void 0:t.props)}static get controlType(){return"organization-selection"}}ol.controlFieldType=y.FieldTypes.DEPARTMENTS;var Tl={Designer:Ot,Runtime:ol,Property:ne};class ls extends e.BaseControlPropertyRules{constructor(t){super(t),this.dataBind={type:"any"}}}class as extends e.BaseControlPropertyRuntimeRules{constructor(t){super(t),this[0]!==void 0&&(this[0].type="any")}}class ue extends e.BaseControlProperty{constructor(t){var i,u,a,c,s;super(t),this.caption=(i=t==null?void 0:t.caption)!=null?i:le.controlName,this.defaultValue=(u=t==null?void 0:t.defaultValue)!=null?u:void 0,this.controlExportName=(a=t==null?void 0:t.controlExportName)!=null?a:"",this.permissions=(c=t==null?void 0:t.permissions)!=null?c:[],this.isInlineEdit=(s=t==null?void 0:t.isInlineEdit)!=null?s:!1}}ue.Rules=ls,ue.RuntimeRules=as;class le extends e.DesignerFormControl{constructor(t){super(t),this.props=new ue(t==null?void 0:t.props)}static get controlName(){return l("CMD.vuePage",null,"Vue\u9875\u9762")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return y.CONTROL_TYPE.VUE_PAGE}}le.controlFieldType=y.FieldTypes.ANY,le.controlEventKeys=[],le.setting=[];class gl extends e.RuntimeFormControl{constructor(t){super(t),this.props=new ue(t==null?void 0:t.props)}static get controlType(){return y.CONTROL_TYPE.VUE_PAGE}}gl.controlFieldType=y.FieldTypes.ANY;var El={Designer:le,Runtime:gl,Property:ue},cs=Object.freeze({__proto__:null,Input:yu,Checkbox:ou,Radio:gu,Number:du,DatePicker:ru,DateRange:Cu,Textarea:Mu,RichText:_u,Select:Nu,SelectMultiple:Su,Employee:ku,Image:Fu,Attachment:wu,Amount:xu,Score:Lu,Address:Yu,Department:Hu,AutoNumber:$u,Calc:qu,SearchNumberRange:Uu,SearchDateRange:Ku,VueFormItem:Qu,SelectRelation:Ju,SearchInput:tl,Tree:il,Employee2:ul,ElectronicSignature:al,WPS:sl,Department2:hl,OrganizationSelection:Tl,VuePage:El});class dl extends e.DesignerLayoutControl{static get controlName(){return l("CMD.grid",null,"\u753B\u5E03")}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(t){super(t)}}dl.excludes=[y.CONTROL_TYPE.GRID];class ss extends e.RuntimeLayoutControl{static get controlType(){return"grid"}constructor(t){super(t)}}var ml={Designer:dl,Runtime:ss,Property:e.LayoutControlProperty};const ys=24;class v extends e.LayoutControlProperty{constructor(t){var i,u;super(t),this.span=(i=t==null?void 0:t.span)!=null?i:ys,this.offset=(u=t==null?void 0:t.offset)!=null?u:0}}class ae extends e.DesignerLayoutControl{constructor(t){super(t),this.props=new v(t==null?void 0:t.props)}static get controlName(){return l("CMD.col",null,"\u6805\u683C\u5217")}static get controlType(){return"col"}static get controlIcon(){return"col"}}ae.excludes=[y.CONTROL_TYPE.COL,y.CONTROL_TYPE.SUBTABLE,y.CONTROL_TYPE.SUBTABLE_COLUMN,y.CONTROL_TYPE.GRID_LAYOUT_CONTAINER,y.CONTROL_TYPE.DIVIDER],ae.childrenMaxLength=1;class $i extends e.RuntimeLayoutControl{constructor(t){super(t),this.props=new v(t==null?void 0:t.props)}static get controlType(){return"col"}}var rl={Designer:ae,Runtime:$i,Property:v};class Je extends e.LayoutControlProperty{constructor(t){var i,u;super(t),this.layoutMode=(i=t==null?void 0:t.layoutMode)!=null?i:"select",this.gutter=(u=t==null?void 0:t.gutter)!=null?u:0}}class Ze extends e.DesignerLayoutControl{constructor(t){super(t),this.props=new Je(t==null?void 0:t.props)}static get controlName(){return l("CMD.row",null,"\u6805\u683C\u5E03\u5C40")}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}Ze.excludes=[y.CONTROL_TYPE.ROW],Ze.setting=[{key:"col-setting",visible:!0}];class bl extends e.RuntimeLayoutControl{constructor(t){super(t),this.props=new Je(t==null?void 0:t.props)}static get controlType(){return"row"}}var Cl={Designer:Ze,Runtime:bl,Property:Je};const hs=4;class pe extends Ze{static get controlName(){return l("CMD.gridRow",null,"\u6805\u683C\u7B49\u5206\u884C")}static get controlType(){return"grid-row"}static get controlIcon(){return"grid-row"}constructor(t){super(t)}}pe.excludes=[y.CONTROL_TYPE.GRID_ROW],pe.setting=[],pe.childrenMaxLength=hs;class os extends bl{static get controlType(){return"grid-row"}constructor(t){super(t)}}class Ts extends Je{constructor(t){super(t)}}var Il={Designer:pe,Runtime:os,Property:Ts};class gs extends e.LayoutControlProperty.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:l("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class ti extends e.LayoutControlProperty{constructor(t){var i,u,a;super(t),this.caption=(i=t==null?void 0:t.caption)!=null?i:l("CMD.cardGroup",null,"\u5206\u7EC4"),this.isHideCaption=(u=t==null?void 0:t.isHideCaption)!=null?u:!1,this.collapse=(a=t==null?void 0:t.collapse)!=null?a:"none"}}ti.Rules=gs;class Di extends e.DesignerLayoutControl{constructor(t){super(t),this.props=new ti(t==null?void 0:t.props)}static get controlName(){return l("CMD.cardGroup",null,"\u5206\u7EC4")}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}Di.setting=[{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION,e.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[e.COMMON_SETTING_TYPE.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}],Di.excludes=[y.CONTROL_TYPE.CARD_GROUP];class Es extends e.RuntimeLayoutControl{constructor(t){super(t),this.props=new ti(t==null?void 0:t.props)}static get controlType(){return"card-group"}}var Ml={Designer:Di,Runtime:Es,Property:ti};class ds extends e.PropertyRules{constructor(t){super(t),this.caption={type:"string",required:!0,message:l("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.width={type:"number",required:!1,message:l("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")},this.captionTip={type:"string",required:!1,message:l("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},t.isShowCaptionTip&&(this.captionTip.required=!0)}}class ei extends e.LayoutControlProperty{constructor(t){var i,u,a,c,s;super(t),this.caption=(i=t==null?void 0:t.caption)!=null?i:"",this.fixed=(u=t==null?void 0:t.fixed)!=null?u:!1,this.isShowCaptionTip=(a=t==null?void 0:t.isShowCaptionTip)!=null?a:!1,this.captionTip=(c=t==null?void 0:t.captionTip)!=null?c:"",this.isHideCaption=(s=t==null?void 0:t.isHideCaption)!=null?s:!1,this.metaAutoWidth=new e.MetaAutoWidth(t==null?void 0:t.metaAutoWidth)}}ei.Rules=ds;class S extends e.DesignerLayoutControl{constructor(t){super(t),this.props=new ei(t==null?void 0:t.props)}}S.controlName=l("CMD.subtableColumn",null,"\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C"),S.controlType="subtable-column",S.controlIcon="subtable-column",S.childrenMaxLength=1,S.excludes=[y.CONTROL_TYPE.SUBTABLE,y.CONTROL_TYPE.SUBTABLE_COLUMN,y.CONTROL_TYPE.ROW,y.CONTROL_TYPE.COL,y.CONTROL_TYPE.CARD_GROUP,y.CONTROL_TYPE.DIVIDER,y.CONTROL_TYPE.TEXT,y.CONTROL_TYPE.GRID_LAYOUT_CONTAINER],S.setting=[{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"common-setting",showItems:[e.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class Ol extends e.RuntimeLayoutControl{constructor(t){super(t),this.props=new ei(t==null?void 0:t.props)}}Ol.controlType="subtable-column";var _l={Designer:S,Runtime:Ol,Property:ei};class qi extends e.LayoutControlProperty{constructor(t){super(t)}}class H extends e.DesignerLayoutControl{constructor(t){super(t),this.props=new qi(t==null?void 0:t.props)}}H.controlName=l("CMD.subtableRow",null,"\u660E\u7EC6\u5B50\u8868\u884C"),H.controlType="subtable-row",H.controlIcon="subtable-row",H.childrenMaxLength=1,H.excludes=[y.CONTROL_TYPE.SUBTABLE,y.CONTROL_TYPE.SUBTABLE_COLUMN,y.CONTROL_TYPE.SUBTABLE_ROW,y.CONTROL_TYPE.ROW,y.CONTROL_TYPE.COL,y.CONTROL_TYPE.CARD_GROUP,y.CONTROL_TYPE.DIVIDER,y.CONTROL_TYPE.TEXT],H.setting=[{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION],visible:!0}];class ms extends e.RuntimeLayoutControl{constructor(t){super(t),this.props=new qi(t==null?void 0:t.props)}static get controlType(){return"subtable-row"}}var Pl={Designer:H,Runtime:ms,Property:qi};class Wi extends e.LayoutControlProperty{constructor(t){var i,u,a,c,s,h,T,g,E,d;super(t),this.width=(i=t==null?void 0:t.width)!=null?i:200,this.widthType=(t==null?void 0:t.widthType)||"auto",this.caption=(u=t==null?void 0:t.caption)!=null?u:"",this.fixed=(a=t==null?void 0:t.fixed)!=null?a:!1,this.fieldCode=(c=t==null?void 0:t.fieldCode)!=null?c:"",this.fieldType=(s=t==null?void 0:t.fieldType)!=null?s:y.FieldTypes.VARCHAR,this.fieldName=(h=t==null?void 0:t.fieldName)!=null?h:"",this.datasourceBind=new e.DataSourceBind(t==null?void 0:t.datasourceBind),this.textCleanFormart=(T=t==null?void 0:t.textCleanFormart)!=null?T:!1,this.decimalKeepPrecision=(g=t==null?void 0:t.decimalKeepPrecision)!=null?g:0,this.timestampDateType=(E=t==null?void 0:t.timestampDateType)!=null?E:y.DateType.DATE,this.departmentDisplayLevel=(d=t==null?void 0:t.departmentDisplayLevel)!=null?d:1}}class V extends e.DesignerLayoutControl{constructor(t){super(t),this.props=new Wi(t==null?void 0:t.props)}}V.controlName=l("CMD.8ba01751712155518"),V.controlType="gridtable-column",V.controlIcon="gridtable-column",V.childrenMaxLength=1,V.excludes=[y.CONTROL_TYPE.GRID_TABLE,y.CONTROL_TYPE.GRID_TABLE_COLUMN,y.CONTROL_TYPE.ROW,y.CONTROL_TYPE.COL,y.CONTROL_TYPE.CARD_GROUP,y.CONTROL_TYPE.DIVIDER,y.CONTROL_TYPE.TEXT],V.setting=[{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class Nl extends e.RuntimeLayoutControl{constructor(t){super(t),this.props=new Wi(t==null?void 0:t.props)}}Nl.controlType="gridtable-column";var Rl={Designer:V,Runtime:Nl,Property:Wi};class Ui extends e.LayoutControlProperty{constructor(t){var i,u;super(t),this.childMinWidth=(i=t==null?void 0:t.childMinWidth)!=null?i:230,this.colGap=(u=t==null?void 0:t.colGap)!=null?u:24}}class ji extends e.DesignerLayoutControl{constructor(t){super(t),this.props=new Ui(t==null?void 0:t.props)}static get controlName(){return l("CMD.gridLayoutContainer",null,"\u6362\u884C\u5BB9\u5668")}static get controlType(){return"grid-layout-container"}static get controlIcon(){return"icona-huanhangrongqi1"}}ji.excludes=[y.CONTROL_TYPE.GRID_LAYOUT_CONTAINER,y.CONTROL_TYPE.CARD_GROUP,y.CONTROL_TYPE.TAB],ji.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}];class rs extends e.RuntimeLayoutControl{constructor(t){super(t),this.props=new Ui(t==null?void 0:t.props)}static get controlType(){return"grid-layout-container"}}var Sl={Designer:ji,Runtime:rs,Property:Ui};class Ki extends e.LayoutControlProperty{constructor(t){var i;super(t),this.mobileShowType=(i=t==null?void 0:t.mobileShowType)!=null?i:"vertical"}}class bs extends e.PropertyRules{constructor(t){super(t),this.caption={type:"string",required:!0,message:l("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class ii extends e.LayoutControlProperty{constructor(t){var i;super(t),this.caption=(i=t==null?void 0:t.caption)!=null?i:se.controlName}}ii.Rules=bs;class ce extends e.DesignerLayoutControl{constructor(t){super(t),this.props=new ii(t==null?void 0:t.props)}static get controlName(){return l("CMD.tabPane",null,"\u6807\u7B7E\u5355\u5143")}static get controlType(){return"tab-pane"}static get controlIcon(){return"tab-pane"}}ce.excludes=[y.CONTROL_TYPE.TAB],ce.setting=[{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[e.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}];class Cs extends e.RuntimeLayoutControl{constructor(t){super(t),this.props=new ii(t==null?void 0:t.props)}static get controlType(){return"tab-pane"}}var fl={Designer:ce,Runtime:Cs,Property:ii};class se extends e.DesignerLayoutControl{constructor(t){var i;super(t),this.props=new Ki(t==null?void 0:t.props),this.children=(i=t==null?void 0:t.children)!=null?i:[new ce,new ce]}static get controlName(){return l("CMD.tab",null,"\u6807\u7B7E\u9875")}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}se.excludes=[y.CONTROL_TYPE.TAB],se.controlEventKeys=["on_change_tab"],se.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}];class Is extends e.RuntimeLayoutControl{constructor(t){super(t),this.props=new Ki(t==null?void 0:t.props)}static get controlType(){return"tab"}}var kl={Designer:se,Runtime:Is,Property:Ki};class wl extends e.LayoutControlProperty{constructor(t){super(t)}}class Fl extends e.DesignerLayoutControl{constructor(t){super(t),this.props=new wl({}),this.children=(t==null?void 0:t.children)||[new ae({props:new v({span:12})}),new ae({props:new v({span:12})})]}static get controlName(){return l("CMD.toolbox",null,"\u5DE5\u5177\u680F")}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}Fl.excludes=[y.CONTROL_TYPE.GRID_ROW,y.CONTROL_TYPE.ROW,y.CONTROL_TYPE.GRID,y.CONTROL_TYPE.SUBTABLE,y.CONTROL_TYPE.TAB,y.CONTROL_TYPE.TOOLBOX];class Ms extends e.RuntimeLayoutControl{static get controlType(){return"toolbox"}constructor(t){super(t),this.children=(t==null?void 0:t.children)||[new $i({props:new v({span:12})}),new $i({props:new v({span:12})})]}}var Bl={Designer:Fl,Runtime:Ms,Property:wl};class Os extends e.PropertyRuntimeRules{constructor(t){super(t),this.push({type:"object",fields:{}})}}class _s extends e.PropertyRules{constructor(t){if(super(t),this.triggerFieldCode={type:"any"},this.datasourceBind={type:"any"},this.joinRelation=[{type:"any"}],console.log("--ListViewControlPropertyRules--"),t.triggerType===2&&t.isShowSubList&&(this.triggerFieldCode={type:"string",required:!0,message:l("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}),t.isShowJoinRelation&&(this.joinRelation=[{type:"object",message:l("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:l("CMD.pleaseEnterAliasCode",null,"\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D")},datasourceBind:[{type:"object",message:l("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:l("CMD.pleaseSelectDataCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B")},svcCode:{type:"string",required:!0,message:l("CMD.pleaseSelectSvcCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1")}}}],relationFields:[{type:"array",message:l("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:l("CMD.pleaseSelectJoinFieldCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5")},mainFieldCode:{type:"string",required:!0,message:l("CMD.pleaseSelectMainFieldCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5")}}}}]}}]),e.initOptionAndDataSourceRules.call(this,{optionConfig:"datasource",datasourceBind:t.datasourceBind,options:[]}),Array.isArray(this.datasourceBind)&&this.datasourceBind.length>1){const i=this.datasourceBind.find(u=>u.type==="object"&&u.fields);i&&(delete i.fields.valueFieldCode,delete i.fields.displayBoList)}}}class ye extends e.LayoutControlProperty{constructor(t){var i,u,a,c,s,h,T,g,E,d,m,r;super(t),this.datasourceBind=new e.DataSourceBind(t==null?void 0:t.datasourceBind),this.isLoading=(i=t==null?void 0:t.isLoading)!=null?i:!1,this.isShowSubList=(u=t==null?void 0:t.isShowSubList)!=null?u:!1,this.triggerType=(a=t==null?void 0:t.triggerType)!=null?a:1,this.triggerFieldCode=(c=t==null?void 0:t.triggerFieldCode)!=null?c:"",this.sublistPage=new e.SubListPageConfig(t==null?void 0:t.sublistPage),this.isShowJoinRelation=(s=t==null?void 0:t.isShowJoinRelation)!=null?s:!1,this.joinRelation=new e.JoinRelation(t==null?void 0:t.joinRelation),this.showType=(h=t==null?void 0:t.showType)!=null?h:"stretch",this.showFullScreen=(T=t==null?void 0:t.showFullScreen)!=null?T:!1,this.selectionType=(g=t==null?void 0:t.selectionType)!=null?g:"multiple",this.isFixedHeader=(E=t==null?void 0:t.isFixedHeader)!=null?E:!1,this.isShowSelection=(d=t==null?void 0:t.isShowSelection)!=null?d:!1,this.isAllLoaded=(m=t==null?void 0:t.isAllLoaded)!=null?m:!0,this.countType=t==null?void 0:t.countType,this.countLimit=(r=t==null?void 0:t.countLimit)!=null?r:1e5,this.rowStyle=new e.RowStyle(t==null?void 0:t.rowStyle)}}ye.Rules=_s,ye.RuntimeRules=Os;class he extends e.DesignerLayoutControl{constructor(t){super(t),this.props=new ye(t==null?void 0:t.props)}static get controlName(){return l("CMD.listView",null,"\u5217\u8868\u5BB9\u5668")}static get controlType(){return"list-view"}static get controlIcon(){return"iconyihangduolie"}}he.slotPosition={left:"list-view-left-slot"},he.excludes=[y.CONTROL_TYPE.ROW],he.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"],he.setting=[{key:"list-datasource-bind",visible:!0},{key:"list-join-relation",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"list-selection-state",visible:!0},{key:"list-row-style",visible:!0},{key:"super-setting",visible:!0}];class Ps extends e.RuntimeLayoutControl{constructor(t){super(t),this.props=new ye(t==null?void 0:t.props)}static get controlType(){return"list-view"}}var xl={Designer:he,Runtime:Ps,Property:ye};class Ns extends e.PropertyRuntimeRules{constructor(t){super(t),this.push({type:"object",fields:{}})}}class ni extends e.LayoutControlProperty{constructor(t){var i,u,a,c,s,h;super(t),this.save=new e.OperationItem((i=t==null?void 0:t.save)!=null?i:{content:l("CMD.save",null,"\u4FDD\u5B58"),type:"save",isShow:!1}),this.cancel=new e.OperationItem((u=t==null?void 0:t.cancel)!=null?u:{content:l("CMD.cancel",null,"\u53D6\u6D88"),type:"cancel",isShow:!1}),this.saveAs=new e.OperationItem((a=t==null?void 0:t.saveAs)!=null?a:{content:l("CMD.draft",null,"\u4FDD\u5B58\u8349\u7A3F"),type:"saveAs",isShow:!1}),this.print=new e.OperationItem((c=t==null?void 0:t.print)!=null?c:{content:l("CMD.print",null,"\u6253\u5370"),type:"print",isShow:!1}),this.custom=((s=t==null?void 0:t.custom)!=null?s:[]).map(T=>new e.OperationItem(T)),this.isLoading=(h=t==null?void 0:t.isLoading)!=null?h:!1,this.datasourceBind=new e.DataSourceBind(t==null?void 0:t.datasourceBind)}}ni.RuntimeRules=Ns;class Al extends e.DesignerLayoutControl{constructor(t){super(t),this.props=new ni(t==null?void 0:t.props)}static get controlName(){return l("CMD.dataView",null,"\u6570\u636E\u5BB9\u5668")}static get controlType(){return"data-view"}}Al.excludes=[];class Rs extends e.RuntimeLayoutControl{constructor(t){super(t),this.props=new ni(t==null?void 0:t.props)}static get controlType(){return"data-view"}}var Ll={Designer:Al,Runtime:Rs,Property:ni};class Ss extends e.DesignerLayoutControl{static get controlName(){return l("CMD.page",null,"\u81EA\u7531\u9875\u9762")}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(t){super(t)}}class fs extends e.RuntimeLayoutControl{static get controlType(){return"page"}constructor(t){super(t)}}class ks extends e.LayoutControlProperty{constructor(t){var i;super(t),this.background="#fff",this.minWidth="",this.maxWidth="",this.heightConfig="auto",this.hideHeader=(i=t==null?void 0:t.hideHeader)!=null?i:!1}}var Gl={Designer:Ss,Runtime:fs,Property:ks};class ws extends e.DesignerLayoutControl{static get controlName(){return l("CMD.advancedContainer",null,"\u9AD8\u7EA7\u5BB9\u5668")}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(t){super(t)}}class Fs extends e.RuntimeLayoutControl{static get controlType(){return"AdvancedContainer"}constructor(t){super(t)}}class Bs extends e.LayoutControlProperty{constructor(t){super(t),this.display=(t==null?void 0:t.display)||"flex",this.flexConfig=new Gn(t==null?void 0:t.flexConfig)}}var Yl={Designer:ws,Runtime:Fs,Property:Bs};class xs extends e.DesignerLayoutControl{static get controlName(){return l("CMD.positioningContainer",null,"\u5B9A\u4F4D\u5BB9\u5668")}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(t){super(t)}}class As extends e.RuntimeLayoutControl{static get controlType(){return"PositioningContainer"}constructor(t){super(t)}}class Ls extends e.LayoutControlProperty{constructor(t){super(t)}}var vl={Designer:xs,Runtime:As,Property:Ls};class Gs extends e.DesignerLayoutControl{static get controlName(){return l("CMD.position",null,"\u5B9A\u4F4D\u5B50\u5BB9\u5668")}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(t){super(t)}}class Ys extends e.RuntimeLayoutControl{static get controlType(){return"position"}constructor(t){super(t)}}class vs extends e.LayoutControlProperty{constructor(t){var i,u,a,c;super(t),this.widthSpan=(i=t==null?void 0:t.widthSpan)!=null?i:12,this.heightSpan=(u=t==null?void 0:t.heightSpan)!=null?u:12,this.left=(a=t==null?void 0:t.left)!=null?a:0,this.top=(c=t==null?void 0:t.top)!=null?c:0}}var Hl={Designer:Gs,Runtime:Ys,Property:vs};class zi extends e.LayoutControlProperty{constructor(t){var i,u,a;super(t),this.position=(i=t==null?void 0:t.position)!=null?i:"bottom",this.opacity=(u=t==null?void 0:t.opacity)!=null?u:!0,this.align=(a=t==null?void 0:t.align)!=null?a:"right"}}class ui extends e.DesignerLayoutControl{constructor(t){var i;super(t),this.props=new zi((i=t==null?void 0:t.props)!=null?i:{})}static get controlName(){return l("CMD.actionBar",null,"\u6309\u94AE\u64CD\u4F5C\u680F")}static get controlType(){return"action-bar"}static get controlIcon(){return"action-bar"}}ui.slotPosition={default:"action-bar-slot"},ui.excludes=[],ui.setting=[{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0},{key:"common-setting",visible:!0,showItems:[e.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}];class Hs extends e.RuntimeLayoutControl{constructor(t){var i;super(t),this.props=new zi((i=t==null?void 0:t.props)!=null?i:{})}static get controlType(){return"action-bar"}}var Vl={Designer:ui,Runtime:Hs,Property:zi};class Qi extends e.LayoutControlProperty{constructor(t){var i,u,a,c,s;super(t),this.direction=(i=t==null?void 0:t.direction)!=null?i:"horizontal",this.labelPlacement=(u=t==null?void 0:t.labelPlacement)!=null?u:"horizontal",this.size=(a=t==null?void 0:t.size)!=null?a:"default",this.type=(c=t==null?void 0:t.type)!=null?c:"default",this.isSticky=(s=t==null?void 0:t.isSticky)!=null?s:!1}}class Xi extends e.LayoutControlProperty{constructor(t){var i,u,a,c,s,h,T,g;super(t),this.title=(i=t==null?void 0:t.title)!=null?i:"",this.subTitle=(u=t==null?void 0:t.subTitle)!=null?u:"",this.disabled=(a=t==null?void 0:t.disabled)!=null?a:!1,this.icon=(c=t==null?void 0:t.icon)!=null?c:"",this.color=(s=t==null?void 0:t.color)!=null?s:"",this.status=(h=t==null?void 0:t.status)!=null?h:"wait",this.description=(T=t==null?void 0:t.description)!=null?T:"",this.isDefault=(g=t==null?void 0:t.isDefault)!=null?g:!1}}class _t extends e.DesignerLayoutControl{constructor(t){super(t),this.props=new Xi(t==null?void 0:t.props)}static get controlName(){return l("CMD.stepPane",null,"\u6B65\u9AA4\u5355\u5143")}static get controlType(){return"step-pane"}static get controlIcon(){return"step-pane"}}_t.excludes=[y.CONTROL_TYPE.TAB],_t.setting=[];class Vs extends e.RuntimeLayoutControl{constructor(t){super(t),this.props=new Xi(t==null?void 0:t.props)}static get controlType(){return"step-pane"}}var $l={Designer:_t,Runtime:Vs,Property:Xi};class li extends e.DesignerLayoutControl{constructor(t){var i;super(t),this.props=new Qi(t==null?void 0:t.props),this.children=(i=t==null?void 0:t.children)!=null?i:[new _t,new _t,new _t]}static get controlName(){return l("CMD.step",null,"\u6B65\u9AA4\u6761")}static get controlType(){return"step"}static get controlIcon(){return"icondaiban1"}}li.excludes=[],li.controlEventKeys=["on_change_steps"],li.setting=[{key:"step-direction",visible:!0},{key:"step-label-placement",visible:!0},{key:"step-size",visible:!0},{key:"step-type",visible:!0},{key:"is-sticky",visible:!0},{key:"step-pane",visible:!0},{key:"super-setting",visible:!0}];class $s extends e.RuntimeLayoutControl{constructor(t){super(t),this.props=new Qi(t==null?void 0:t.props)}static get controlType(){return"step"}}var Dl={Designer:li,Runtime:$s,Property:Qi},Ds=Object.freeze({__proto__:null,Grid:ml,Col:rl,Row:Cl,GridRow:Il,CardGroup:Ml,SubTableColumn:_l,SubTableRow:Pl,GridTableColumn:Rl,GridLayoutContainer:Sl,Tab:kl,TabPane:fl,Toolbox:Bl,ListView:xl,DataView:Ll,Page:Gl,AdvancedContainer:Yl,PositioningContainer:vl,Position:Hl,ActionBar:Vl,Step:Dl,StepPane:$l});class qs extends e.PropertyRules{constructor(t){super(t),this.caption={type:"string",required:!0,message:l("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.limitRows=[{type:"number",required:!0,message:l("CMD.isNotNumber",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57")},{type:"number",min:0,message:l("CMD.limitRowsCannotBeLessThan0",null,"\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0")}],this.formKey={type:"string",required:!1,message:l("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")},this.maxHeight={type:"number",required:!0,message:l("CMD.pleaseEnterMaxHeight",null,"\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6")},this.captionTip={type:"string",required:!1,message:l("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},this.mobileRowCaption={type:"string",required:!1,message:l("CMD.pleaseEnterRowCaption",null,"\u8BF7\u8F93\u5165\u884C\u6807\u9898")},t.openType==="modal"&&(this.formKey.required=!0),t.isShowCaptionTip&&(this.captionTip.required=!0),t.mobileShowType==="tile"&&(this.mobileRowCaption.required=!0)}}class Ws extends e.PropertyRuntimeRules{constructor(t){super(t),t.isHide||this.push({type:"array",required:t.limitRows>0,message:l("CMD.runtimeRequired",{caption:t.caption},"{caption}\u5FC5\u586B")},{type:"array",validator(i,u,a){u.length<t.limitRows&&a(l("CMD.TheNumberOfRowsCannotBeLessThanMinRows",{min:t.limitRows},"\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C")),a()},message:l("CMD.TheNumberOfRowsCannotBeLessThanMinRows",{min:t.limitRows},"\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C")})}}const ql=class extends e.ListControlProperty{constructor(n,t){var i,u,a,c,s,h,T,g,E,d,m,r,b,C,I,M,N,O,it,nt,Ea,da,ma,ra,ba,Ca,Ia,Ma,Oa,_a,Pa,Na,Ra,Sa;super(n,t,ql.mode),this.caption=(i=t==null?void 0:t.caption)!=null?i:Te.controlName,this.isHideCaption=(u=t==null?void 0:t.isHideCaption)!=null?u:!1,this.defaultState=(a=t==null?void 0:t.defaultState)!=null?a:"default",this.labelPosition=(c=t==null?void 0:t.labelPosition)!=null?c:"top",this.openType=(s=t==null?void 0:t.openType)!=null?s:"default",this.formKey=(h=t==null?void 0:t.formKey)!=null?h:"",this.useCustomHeight=(T=t==null?void 0:t.useCustomHeight)!=null?T:!1,this.maxHeight=(g=t==null?void 0:t.maxHeight)!=null?g:An,this.printMode=(E=t==null?void 0:t.printMode)!=null?E:"row",this.limitRows=(d=t==null?void 0:t.limitRows)!=null?d:1,this.maxRows=(m=t==null?void 0:t.maxRows)!=null?m:null,this.defaultRows=(r=t==null?void 0:t.defaultRows)!=null?r:1,this.datasourceBind=new e.DataSourceBind(t==null?void 0:t.datasourceBind),this.canAdd=(b=t==null?void 0:t.canAdd)!=null?b:!0,this.canDelete=(C=t==null?void 0:t.canDelete)!=null?C:!0,this.canCheck=(I=t==null?void 0:t.canCheck)!=null?I:!1,this.canEdit=(M=t==null?void 0:t.canEdit)!=null?M:!1,this.canImport=(N=t==null?void 0:t.canImport)!=null?N:!1,this.canExport=(O=t==null?void 0:t.canExport)!=null?O:!1,this.canClear=(it=t==null?void 0:t.canClear)!=null?it:!0,this.serverPagination=(nt=t==null?void 0:t.serverPagination)!=null?nt:!1,this.isShowCaptionTip=(Ea=t==null?void 0:t.isShowCaptionTip)!=null?Ea:!1,this.captionTip=(da=t==null?void 0:t.captionTip)!=null?da:"",this.mobileShowType=(ma=t==null?void 0:t.mobileShowType)!=null?ma:"list",this.mobileDefaultNum=(ra=t==null?void 0:t.mobileDefaultNum)!=null?ra:10,this.dataStorageDoc=(ba=t==null?void 0:t.dataStorageDoc)!=null?ba:new e.DataStorageDoc,this.fixedColumn=(Ca=t==null?void 0:t.fixedColumn)!=null?Ca:[],this.mobileRowCaption=(Ia=t==null?void 0:t.mobileRowCaption)!=null?Ia:l("CMD.detailed",null,"\u660E\u7EC6"),this.mobileIsTile=(Ma=t==null?void 0:t.mobileIsTile)!=null?Ma:!1,this.isPaste=(Oa=t==null?void 0:t.isPaste)!=null?Oa:!1,this.pageSize=(_a=t==null?void 0:t.pageSize)!=null?_a:10,this.pageSizeOptions=(Pa=t==null?void 0:t.pageSizeOptions)!=null?Pa:[10,20,50,100],this.importConfig=new Bn(t==null?void 0:t.importConfig),this.exportConfig=new xn(t==null?void 0:t.exportConfig),this.sortable=(Na=t==null?void 0:t.sortable)!=null?Na:!1,this.sortKey=(Ra=t==null?void 0:t.sortKey)!=null?Ra:{},this.showTableIndex=(Sa=t==null?void 0:t.showTableIndex)!=null?Sa:!0}};let oe=ql;oe.Rules=qs,oe.RuntimeRules=Ws;class Te extends e.DesignerListControl{constructor(t){var i;super(t),this.props=new oe(this,t==null?void 0:t.props),((i=t==null?void 0:t.props)==null?void 0:i.headers)===void 0&&(this.props.headers=[new S,new S,new S])}static get controlName(){return l("CMD.subTable",null,"\u660E\u7EC6\u5B50\u8868")}static get controlIcon(){return"iconGroup11"}static get controlType(){return"subtable"}addColumn(t,i){const u=t!==void 0&&typeof t!="number"?t:new S,a=typeof t=="number"?t:i;return a===void 0?this.props.headers.push(u):this.props.headers.splice(a,0,u),u}}Te.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],Te.slotPosition={toolbar:"subtable-toolbar-slot"},Te.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION,e.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[e.COMMON_SETTING_TYPE.IS_HIDE,e.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,e.COMMON_SETTING_TYPE.IS_PASTE,e.COMMON_SETTING_TYPE.SERVER_PAGINATION,e.COMMON_SETTING_TYPE.SORTABLE,e.COMMON_SETTING_TYPE.SHOW_TABLE_INDEX]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"subtable-opened-mode",visible:!0},{key:"orders-setting",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"max-rows",visible:!0},{key:"list-pager",visible:!0},{key:"subtable-max-height",visible:!0},{key:"fixed-column",visible:!0},{key:"mobile-show-type",visible:!0},{key:"data-storage-description",visible:!0},{key:"super-setting",visible:!0}];class Us extends e.RuntimeListControl{constructor(t){super(t),this.props=new oe(this,t==null?void 0:t.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){y.error("Method not implemented.")}getChildrenFormControl(){return[]}}var Wl={Designer:Te,Runtime:Us,Property:oe};class Ji extends e.ListControlProperty{constructor(t,i){var u,a,c,s,h;super(t,i),this.isFixedHeader=(u=i==null?void 0:i.isFixedHeader)!=null?u:!1,this.selectionType=i==null?void 0:i.selectionType,this.isShowToolbar=(a=i==null?void 0:i.isShowToolbar)!=null?a:!0,this.isShowSelection=(c=i==null?void 0:i.isShowSelection)!=null?c:!1,this.isShowCustomColumns=(s=i==null?void 0:i.isShowCustomColumns)!=null?s:!0,this.pageSizeOptions=(h=i==null?void 0:i.pageSizeOptions)!=null?h:[10,20,50,100,500]}}class js extends e.ColumnControlPropertyRules{constructor(t){super(t),this.caption.required=!1}}class ai extends e.ColumnControlProperty{constructor(t){var i,u,a,c,s,h,T,g;super(t),this.fixed=(i=t==null?void 0:t.fixed)!=null?i:"left",this.caption=(u=t==null?void 0:t.caption)!=null?u:$.controlName,this.width=(a=t==null?void 0:t.width)!=null?a:60,this.autoWidth.minWidth=(s=(c=t==null?void 0:t.autoWidth)==null?void 0:c.minWidth)!=null?s:60,this.autoWidth.flex=(T=(h=t==null?void 0:t.autoWidth)==null?void 0:h.flex)!=null?T:.4,this.widthType=(g=t==null?void 0:t.widthType)!=null?g:"px"}}ai.Rules=js;class $ extends e.DesignerColumnControl{constructor(t){super(t),this.props=new ai(t==null?void 0:t.props)}}$.controlType="order-column",$.controlName=l("CMD.order",null,"\u5E8F\u53F7"),$.controlIcon="order-column",$.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"super-setting",visible:!0}];class Zi extends e.RuntimeColumnControl{constructor(t){super(t),this.props=new ai(t==null?void 0:t.props)}}Zi.controlType="order-column",Zi.controlFieldType=y.FieldTypes.DECIMAL;var Ul={Designer:$,Runtime:Zi,Property:ai};class pi extends e.ColumnControlProperty{constructor(t){var i,u,a,c,s,h;super(t),this.fixed=(i=t==null?void 0:t.fixed)!=null?i:"right",this.widthType="auto",this.autoWidth.minWidth=(a=(u=t==null?void 0:t.autoWidth)==null?void 0:u.minWidth)!=null?a:84,this.caption=(c=t==null?void 0:t.caption)!=null?c:k.controlName,this.showType=(s=t==null?void 0:t.showType)!=null?s:"icon",this.limit=(h=t==null?void 0:t.limit)!=null?h:3}}class k extends e.DesignerColumnControl{constructor(t){super(t),this.props=new pi(t==null?void 0:t.props)}toDataBindModel(){const t=super.toDataBindModel();return this.children.map(i=>{if(i.type===ke.controlType){const u=i;t.props[u.props.command]=u.props}}),t}validate(t,i){return Pn(this,null,function*(){return yield _n(k.prototype,this,"validate").call(this,t,i),yield Promise.all(this.children.map(u=>u.validate(t,i))),!0})}}k.controlType="operation-column",k.controlName=l("CMD.operation",null,"\u64CD\u4F5C"),k.controlIcon="operation-column",k.setting=[{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class tn extends e.RuntimeColumnControl{constructor(t){super(t),this.props=new pi(t==null?void 0:t.props)}}tn.controlType="operation-column",tn.controlFieldType=y.FieldTypes.FILE;var jl={Designer:k,Runtime:tn,Property:pi};const Ks=1e4;class D extends e.DesignerListControl{constructor(t){super(t);const{excludes:i,childrenMaxLength:u}=new.target;this.props=new Ji(this,t==null?void 0:t.props),e.defineControlArrayToProperty(this,"children",t==null?void 0:t.children,void 0,"Designer"),(t==null?void 0:t.props.headers)===void 0&&(this.props.headers=[new $,new k]),this.excludes=y.JSONCopy(i),this.childrenMaxLength=u}static get controlName(){return l("CMD.gridTable",null,"\u8868\u683C")}static get controlIcon(){return"iconlistview"}static get controlType(){return"grid-table"}judgeJoinChildren(t){const i=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(t);return i&&this.childrenMaxLength>this.children.length}toSchema(){const t=super.toSchema(),i=this.children.map(u=>u.toSchema());return On(ut({},t),{children:i})}validate(t,i){return Pn(this,null,function*(){return yield _n(D.prototype,this,"validate").call(this,t,i),yield Promise.all(this.children.map(u=>u.validate(t,i))),!0})}}D.slotPosition={toolbar:"grid-table-toolbar-slot"},D.setting=[{key:"list-fixed-header",visible:!0}],D.excludes=[],D.childrenMaxLength=Ks;class zs extends e.RuntimeListControl{constructor(t){super(t),this.props=new Ji(this,t==null?void 0:t.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){y.error("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(t){return{}}}var Kl={Designer:D,Runtime:zs,Property:Ji},Qs=Object.freeze({__proto__:null,SubTable:Wl,GridTable:Kl});class Xs extends e.ColumnOptionAndDataSourcePropertyRules{constructor(t){super(t),e.initLinkOperationRules.call(this,t)}}class ci extends e.ColumnControlProperty{constructor(t){var i,u,a,c,s,h;super(t),this.caption=(i=t==null?void 0:t.caption)!=null?i:q.controlName,this.optionConfig=(u=t==null?void 0:t.optionConfig)!=null?u:"none",this.datasourceBind=new e.DataSourceBind(t==null?void 0:t.datasourceBind),this.options=e.initOptions((a=t==null?void 0:t.options)!=null?a:[{}]),this.showLinkOperation=(c=t==null?void 0:t.showLinkOperation)!=null?c:!1,this.linkOperationOption=new e.LinkOperationOption(t==null?void 0:t.linkOperationOption),this.lineEllipsis=(s=t==null?void 0:t.lineEllipsis)!=null?s:1,this.dictionaryTagConfig=(h=t==null?void 0:t.dictionaryTagConfig)!=null?h:{isTag:!1}}}ci.Rules=Xs;class q extends e.DesignerColumnControl{constructor(t){super(t),this.props=new ci(t==null?void 0:t.props)}}q.controlType="varchar-column",q.controlName=l("CMD.varchar",null,"\u77ED\u6587\u672C"),q.controlIcon="varchar-column",q.controlFieldType=y.FieldTypes.VARCHAR,q.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0},{key:"super-setting",visible:!0}];class en extends e.RuntimeColumnControl{constructor(t){super(t),this.props=new ci(t==null?void 0:t.props)}}en.controlType="varchar-column",en.controlFieldType=y.FieldTypes.VARCHAR;var zl={Designer:q,Runtime:en,Property:ci};class Js extends e.ColumnControlPropertyRules{constructor(t){super(t),e.initLinkOperationRules.call(this,t)}}class si extends e.ColumnControlProperty{constructor(t){var i,u,a,c;super(t),this.escapeHTML=(i=t==null?void 0:t.escapeHTML)!=null?i:!1,this.caption=(u=t==null?void 0:t.caption)!=null?u:W.controlName,this.lineEllipsis=(a=t==null?void 0:t.lineEllipsis)!=null?a:1,this.showLinkOperation=(c=t==null?void 0:t.showLinkOperation)!=null?c:!1,this.linkOperationOption=new e.LinkOperationOption(t==null?void 0:t.linkOperationOption)}}si.Rules=Js;class W extends e.DesignerColumnControl{constructor(t){super(t),this.props=new si(t==null?void 0:t.props)}toDataBindModel(t){const i=super.toDataBindModel(t);if(i){const{escapeHTML:u}=this.props;i.props.escapeHTML=u}return i}}W.controlType="text-column",W.controlName=l("CMD.long",null,"\u957F\u6587\u672C"),W.controlIcon="text-column",W.controlFieldType=y.FieldTypes.TEXT,W.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0},{key:"super-setting",visible:!0}];class nn extends e.RuntimeColumnControl{constructor(t){super(t),this.props=new si(t==null?void 0:t.props)}}nn.controlType="text-column",nn.controlFieldType=y.FieldTypes.TEXT;var Ql={Designer:W,Runtime:nn,Property:si};class Zs extends e.ColumnOptionAndDataSourcePropertyRules{constructor(t){super(t),e.initLinkOperationRules.call(this,t)}}class yi extends e.ColumnControlProperty{constructor(t){var i,u,a,c,s,h,T;super(t),this.caption=(i=t==null?void 0:t.caption)!=null?i:U.controlName,this.precision=(u=t==null?void 0:t.precision)!=null?u:0,this.micrometer=(a=t==null?void 0:t.micrometer)!=null?a:!1,this.percentageFormat=(c=t==null?void 0:t.percentageFormat)!=null?c:!1,this.optionConfig=(s=t==null?void 0:t.optionConfig)!=null?s:"none",this.datasourceBind=new e.DataSourceBind(t==null?void 0:t.datasourceBind),this.options=e.initOptions((h=t==null?void 0:t.options)!=null?h:[{}]),this.showLinkOperation=(T=t==null?void 0:t.showLinkOperation)!=null?T:!1,this.linkOperationOption=new e.LinkOperationOption(t==null?void 0:t.linkOperationOption)}}yi.Rules=Zs;class U extends e.DesignerColumnControl{constructor(t){super(t),this.props=new yi(t==null?void 0:t.props)}toDataBindModel(t){const i=super.toDataBindModel(t);if(i){const{precision:u,micrometer:a}=this.props;u!==""&&(i.props.precision=u),i.props.micrometer=a}return i}}U.controlType="decimal-column",U.controlName=l("CMD.decimal",null,"\u6570\u503C"),U.controlIcon="decimal-column",U.controlFieldType=y.FieldTypes.DECIMAL,U.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"number-suite",showItems:[e.COMMON_SETTING_TYPE.MICROMETER,e.COMMON_SETTING_TYPE.PRECISION,e.COMMON_SETTING_TYPE.PERCENTAGE],visible:!0},{key:"column-align-content",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0},{key:"super-setting",visible:!0}];class un extends e.RuntimeColumnControl{constructor(t){super(t),this.props=new yi(t==null?void 0:t.props)}}un.controlType="decimal-column",un.controlFieldType=y.FieldTypes.DECIMAL;var Xl={Designer:U,Runtime:un,Property:yi};class ps extends e.ColumnControlPropertyRules{constructor(t){super(t),e.initLinkOperationRules.call(this,t)}}class hi extends e.ColumnControlProperty{constructor(t){var i,u,a,c;super(t),this.dateType=(i=t==null?void 0:t.dateType)!=null?i:y.DateType.DATE,this.showLinkOperation=(u=t==null?void 0:t.showLinkOperation)!=null?u:!1,this.linkOperationOption=new e.LinkOperationOption(t==null?void 0:t.linkOperationOption),this.caption=(a=t==null?void 0:t.caption)!=null?a:j.controlName,this.isInternational=(c=t==null?void 0:t.isInternational)!=null?c:!1}}hi.Rules=ps;class j extends e.DesignerColumnControl{constructor(t){super(t),this.props=new hi(t==null?void 0:t.props)}toDataBindModel(t){const i=super.toDataBindModel(t);if(i){const{dateType:u,isInternational:a}=this.props;i.props.dateType=u,i.props.isInternational=a}return i}}j.controlType="timescope-column",j.controlName=l("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4"),j.controlIcon="timescope-column",j.controlFieldType=y.FieldTypes.TIMESCOPE,j.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class ln extends e.RuntimeColumnControl{constructor(t){super(t),this.props=new hi(t==null?void 0:t.props)}}ln.controlType="timescope-column",ln.controlFieldType=y.FieldTypes.TIMESCOPE;var Jl={Designer:j,Runtime:ln,Property:hi};class ty extends e.ColumnControlPropertyRules{constructor(t){super(t),e.initLinkOperationRules.call(this,t)}}class oi extends e.ColumnControlProperty{constructor(t){var i,u,a,c;super(t),this.dateType=(i=t==null?void 0:t.dateType)!=null?i:y.DateType.DATE,this.showLinkOperation=(u=t==null?void 0:t.showLinkOperation)!=null?u:!1,this.linkOperationOption=new e.LinkOperationOption(t==null?void 0:t.linkOperationOption),this.caption=(a=t==null?void 0:t.caption)!=null?a:K.controlName,this.isInternational=(c=t==null?void 0:t.isInternational)!=null?c:!1}}oi.Rules=ty;class K extends e.DesignerColumnControl{constructor(t){super(t),this.props=new oi(t==null?void 0:t.props)}toDataBindModel(t){const i=super.toDataBindModel(t);if(i){const{dateType:u,isInternational:a}=this.props;i.props.dateType=u,i.props.isInternational=a}return i}}K.controlType="timestamp-column",K.controlName=l("CMD.timestamp",null,"\u65E5\u671F"),K.controlIcon="timestamp-column",K.controlFieldType=y.FieldTypes.TIMESTAMP,K.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class an extends e.RuntimeColumnControl{constructor(t){super(t),this.props=new oi(t==null?void 0:t.props)}}an.controlType="timestamp-column",an.controlFieldType=y.FieldTypes.TIMESTAMP;var Zl={Designer:K,Runtime:an,Property:oi};class ey extends e.ColumnOptionAndDataSourcePropertyRules{constructor(t){super(t),e.initLinkOperationRules.call(this,t)}}class Ti extends e.ColumnControlProperty{constructor(t){var i,u,a,c;super(t),this.caption=(i=t==null?void 0:t.caption)!=null?i:z.controlName,this.optionConfig=(u=t==null?void 0:t.optionConfig)!=null?u:"none",this.datasourceBind=new e.DataSourceBind(t==null?void 0:t.datasourceBind),this.showLinkOperation=(a=t==null?void 0:t.showLinkOperation)!=null?a:!1,this.linkOperationOption=new e.LinkOperationOption(t==null?void 0:t.linkOperationOption),this.options=e.initOptions((c=t==null?void 0:t.options)!=null?c:[{}])}}Ti.Rules=ey;class z extends e.DesignerColumnControl{constructor(t){super(t),this.props=new Ti(t==null?void 0:t.props)}}z.controlType="array-column",z.controlName=l("CMD.array",null,"\u6570\u7EC4"),z.controlIcon="array-column",z.controlFieldType=y.FieldTypes.ARRAY,z.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class cn extends e.RuntimeColumnControl{constructor(t){super(t),this.props=new Ti(t==null?void 0:t.props)}}cn.controlType="array-column",cn.controlFieldType=y.FieldTypes.ARRAY;var pl={Designer:z,Runtime:cn,Property:Ti};class sn extends e.ColumnControlProperty{constructor(t){var i,u;super(t),this.caption=(i=t==null?void 0:t.caption)!=null?i:Q.controlName,this.displayLevel=(u=t==null?void 0:t.displayLevel)!=null?u:1}}class Q extends e.DesignerColumnControl{constructor(t){super(t),this.props=new sn(t==null?void 0:t.props)}toDataBindModel(t){const i=super.toDataBindModel(t);if(i){const{displayLevel:u}=this.props;i.props.displayLevel=u}return i}}Q.controlType="department-column",Q.controlName=l("CMD.department",null,"\u90E8\u95E8"),Q.controlIcon="department-column",Q.controlFieldType=y.FieldTypes.DEPARTMENTS,Q.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class yn extends e.RuntimeColumnControl{constructor(t){super(t),this.props=new sn(t==null?void 0:t.props)}}yn.controlType="department-column",yn.controlFieldType=y.FieldTypes.DEPARTMENTS;var ta={Designer:Q,Runtime:yn,Property:sn};class iy extends e.ColumnControlPropertyRules{constructor(t){super(t),e.initLinkOperationRules.call(this,t)}}class gi extends e.ColumnControlProperty{constructor(t){var i,u;super(t),this.caption=(i=t==null?void 0:t.caption)!=null?i:X.controlName,this.showLinkOperation=(u=t==null?void 0:t.showLinkOperation)!=null?u:!1,this.linkOperationOption=new e.LinkOperationOption(t==null?void 0:t.linkOperationOption)}}gi.Rules=iy;class X extends e.DesignerColumnControl{constructor(t){super(t),this.props=new gi(t==null?void 0:t.props)}}X.controlType="auto-number-column",X.controlName=l("CMD.autoNumber",null,"\u81EA\u52A8\u7F16\u53F7"),X.controlIcon="auto-number-column",X.controlFieldType=y.FieldTypes.AUTO_NUMBER,X.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class hn extends e.RuntimeColumnControl{constructor(t){super(t),this.props=new gi(t==null?void 0:t.props)}}hn.controlType="auto-number-column",hn.controlFieldType=y.FieldTypes.AUTO_NUMBER;var ea={Designer:X,Runtime:hn,Property:gi};class on extends e.ColumnControlProperty{constructor(t){var i,u;super(t),this.caption=(i=t==null?void 0:t.caption)!=null?i:J.controlName,this.operation=(u=t==null?void 0:t.operation)!=null?u:["info","preview","download"]}}class J extends e.DesignerColumnControl{constructor(t){super(t),this.props=new on(t==null?void 0:t.props)}}J.controlType="file-column",J.controlName=l("CMD.file",null,"\u9644\u4EF6"),J.controlIcon="file-column",J.controlFieldType=y.FieldTypes.FILE,J.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"attachment-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Tn extends e.RuntimeColumnControl{constructor(t){super(t),this.props=new on(t==null?void 0:t.props)}}Tn.controlType="file-column",Tn.controlFieldType=y.FieldTypes.FILE;var ia={Designer:J,Runtime:Tn,Property:on};class gn extends e.ColumnControlProperty{constructor(t){var i;super(t),this.caption=(i=t==null?void 0:t.caption)!=null?i:Z.controlName}}class Z extends e.DesignerColumnControl{constructor(t){super(t),this.props=new gn(t==null?void 0:t.props)}}Z.controlType="image-column",Z.controlName=l("CMD.image",null,"\u56FE\u7247"),Z.controlIcon="image-column",Z.controlFieldType=y.FieldTypes.IMAGE,Z.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class En extends e.RuntimeColumnControl{constructor(t){super(t),this.props=new gn(t==null?void 0:t.props)}}En.controlType="image-column",En.controlFieldType=y.FieldTypes.IMAGE;var na={Designer:Z,Runtime:En,Property:gn};class dn extends e.ColumnControlProperty{constructor(t){var i;super(t),this.caption=(i=t==null?void 0:t.caption)!=null?i:p.controlName}}class p extends e.DesignerColumnControl{constructor(t){super(t),this.props=new dn(t==null?void 0:t.props)}}p.controlType="people-column",p.controlName=l("CMD.people",null,"\u4EBA\u5458"),p.controlIcon="people-column",p.controlFieldType=y.FieldTypes.EMPLOYEES,p.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class mn extends e.RuntimeColumnControl{constructor(t){super(t),this.props=new dn(t==null?void 0:t.props)}}mn.controlType="people-column",mn.controlFieldType=y.FieldTypes.EMPLOYEES;var ua={Designer:p,Runtime:mn,Property:dn};class ny extends e.ColumnControlPropertyRules{constructor(t){super(t),e.initLinkOperationRules.call(this,t)}}class Ei extends e.ColumnControlProperty{constructor(t){var i,u;super(t),this.caption=(i=t==null?void 0:t.caption)!=null?i:tt.controlName,this.showLinkOperation=(u=t==null?void 0:t.showLinkOperation)!=null?u:!1,this.linkOperationOption=new e.LinkOperationOption(t==null?void 0:t.linkOperationOption)}}Ei.Rules=ny;class tt extends e.DesignerColumnControl{constructor(t){super(t),this.props=new Ei(t==null?void 0:t.props)}}tt.controlType="location-column",tt.controlName=l("CMD.location",null,"\u5730\u5740"),tt.controlIcon="location-column",tt.controlFieldType=y.FieldTypes.ADDRESS,tt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class rn extends e.RuntimeColumnControl{constructor(t){super(t),this.props=new Ei(t==null?void 0:t.props)}}rn.controlType="location-column",rn.controlFieldType=y.FieldTypes.ADDRESS;var la={Designer:tt,Runtime:rn,Property:Ei};class uy extends e.ColumnControlPropertyRules{constructor(t){super(t),this.sortFieldCode={type:"string",message:l("CMD.pleaseSelectSortFieldCode",null,"\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5")},t.sort===!0&&(this.sortFieldCode.required=!0)}}class di extends e.ColumnControlProperty{constructor(t){var i,u,a;super(t),this.caption=(i=t==null?void 0:t.caption)!=null?i:w.controlName,this.fieldCodeList=(u=t==null?void 0:t.fieldCodeList)!=null?u:[],this.sortFieldCode=(a=t==null?void 0:t.sortFieldCode)!=null?a:""}}di.Rules=uy;const ly=1;class w extends e.DesignerColumnControl{constructor(t){super(t);const{excludes:i,childrenMaxLength:u}=new.target;this.props=new di(t==null?void 0:t.props),e.defineControlArrayToProperty(this,"children",t==null?void 0:t.children,void 0,"Designer"),this.excludes=y.JSONCopy(i),this.childrenMaxLength=u}judgeJoinChildren(t){const i=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(t);return i&&this.childrenMaxLength>this.children.length}toDataBindModel(t){const i=super.toDataBindModel(t);if(i){const{fieldCodeList:u}=this.props;i.props.fieldCodeList=u}return i}}w.controlType="custom-column",w.controlName=l("CMD.custom",null,"\u81EA\u5B9A\u4E49"),w.controlIcon="custom-column",w.slots=["column-column-slot"],w.excludes=[],w.childrenMaxLength=ly,w.setting=[{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"column-sort-field",visible:!0},{key:"super-setting",visible:!0}];class aa extends e.RuntimeColumnControl{constructor(t){super(t),this.props=new di(t==null?void 0:t.props),e.defineControlArrayToProperty(this,"children",t==null?void 0:t.children,void 0,"Runtime")}}aa.controlType="custom-column";var ca={Designer:w,Runtime:aa,Property:di};class bn extends e.ColumnControlProperty{constructor(t){var i,u;super(t),this.caption=(i=t==null?void 0:t.caption)!=null?i:A.controlName,this.datasourceBind=new e.SuperDataSourceBind((u=t==null?void 0:t.datasourceBind)!=null?u:{attributes:A.controlCustomAttributes})}}class A extends e.DesignerColumnControl{constructor(t){super(t),this.props=new bn(t==null?void 0:t.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:l("CMD.81231751712162319"),required:!0}]}}A.controlType="employee-column",A.controlName=l("CMD.employee",null,"\u4EBA\u5458"),A.controlIcon="employee-column",A.controlFieldType=y.FieldTypes.EMPLOYEES,A.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Cn extends e.RuntimeColumnControl{constructor(t){super(t),this.props=new bn(t==null?void 0:t.props)}}Cn.controlType="employee-column",Cn.controlFieldType=y.FieldTypes.EMPLOYEES;var sa={Designer:A,Runtime:Cn,Property:bn};class In extends e.ColumnControlProperty{constructor(t){var i,u,a;super(t),this.caption=(i=t==null?void 0:t.caption)!=null?i:et.controlName,this.showLinkOperation=(u=t==null?void 0:t.showLinkOperation)!=null?u:!1,this.linkOperationOption=new e.LinkOperationOption(t==null?void 0:t.linkOperationOption),this.lineEllipsis=(a=t==null?void 0:t.lineEllipsis)!=null?a:1}}class et extends e.DesignerColumnControl{constructor(t){super(t),this.props=new In(t==null?void 0:t.props)}}et.controlType="approval-status-column",et.controlName=l("CMD.approvalStatusColumn",null,"\u5F53\u524D\u5BA1\u6279\u72B6\u6001"),et.controlIcon="approval-status-column",et.excludes=[],et.setting=[{key:"caption",showItems:[e.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"super-setting",visible:!0}];class ya extends e.RuntimeColumnControl{constructor(t){super(t),this.props=new In(t==null?void 0:t.props)}}ya.controlType="approval-status-column";var ha={Designer:et,Runtime:ya,Property:In},ay=Object.freeze({__proto__:null,VarcharColumn:zl,TextColumn:Ql,DecimalColumn:Xl,TimescopeColumn:Jl,TimestampColumn:Zl,ArrayColumn:pl,DepartmentColumn:ta,AutoNumberColumn:ea,FileColumn:ia,ImageColumn:na,PeopleColumn:ua,LocationColumn:la,CustomColumn:ca,OrderColumn:Ul,OperationColumn:jl,EmployeeColumn:sa,ApprovalStatusColumn:ha});class cy extends e.PropertyRuntimeRules{constructor(t){super(t),this.push({type:"object",fields:{}})}}class mi extends e.SearchControlProperty{constructor(t){var i,u,a,c,s,h,T,g,E,d,m,r;super(t),this.searchType=(i=t==null?void 0:t.searchType)!=null?i:"model",this.labelPosition=(u=t==null?void 0:t.labelPosition)!=null?u:"top",this.viewType=(a=t==null?void 0:t.viewType)!=null?a:"mini",this.search=new e.OperationItem((c=t==null?void 0:t.search)!=null?c:{content:l("CMD.query",null,"\u67E5\u8BE2"),isShow:!0}),this.cancel=new e.OperationItem((s=t==null?void 0:t.cancel)!=null?s:{content:l("CMD.reset",null,"\u91CD\u7F6E"),isShow:!0}),this.isLoading=(h=t==null?void 0:t.isLoading)!=null?h:!1,this.custom=((T=t==null?void 0:t.custom)!=null?T:[]).map(b=>new e.OperationItem(b)),this.queryTypeMap=(g=t==null?void 0:t.queryTypeMap)!=null?g:[],this.childMinWidth=(E=t==null?void 0:t.childMinWidth)!=null?E:230,this.colGap=(d=t==null?void 0:t.colGap)!=null?d:24,this.viewConfig=(m=t==null?void 0:t.viewConfig)!=null?m:[],this.simpleConfig=(r=t==null?void 0:t.simpleConfig)!=null?r:[]}}mi.RuntimeRules=cy;class ri extends e.DesignerSearchControl{constructor(t){super(t),this.props=new mi(t==null?void 0:t.props)}}ri.controlType="simple-search",ri.slotPosition={default:"search"},ri.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0},{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[e.COMMON_SETTING_TYPE.IS_HIDE]},{key:"search-view-type",visible:!0}];class oa extends e.RuntimeSearchControl{constructor(t){var i;super(t),this.props=new mi(t==null?void 0:t.props),this.children=(i=t==null?void 0:t.children)!=null?i:[]}}oa.controlType="simple-search";var Ta={Designer:ri,Runtime:oa,Property:mi},sy=Object.freeze({__proto__:null,SimpleSearch:Ta});class Mn extends e.WrapControlProperty{constructor(t){var i;super(t),this.wholeRow=(i=t==null?void 0:t.wholeRow)!=null?i:!1}}class yy extends e.DesignerWrapControl{constructor(t){super(t),this.props=new Mn(t==null?void 0:t.props)}static get controlName(){return l("CMD.gridLayoutWrap",null,"\u6362\u884C\u5BB9\u5668Wrap")}static get controlIcon(){return"page"}static get controlType(){return"grid-layout-wrap"}}class hy extends e.RuntimeWrapControl{constructor(t){super(t),this.props=new Mn(t==null?void 0:t.props)}static get controlType(){return"grid-layout-wrap"}}var oy=bi.defineInstance({fields:[{key:"wholeRow",type:"boolean",component:"switch",label:l("CMD.fullLine",null,"\u5145\u6EE1\u6574\u884C"),props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]}),ga={Designer:yy,Runtime:hy,Property:Mn,Setting:oy},Ty=Object.freeze({__proto__:null,GridLayoutWrap:ga});o.ActionBar=Vl,o.ActionSetting=Pi,o.Address=Yu,o.AdvancedContainer=Yl,o.Amount=xu,o.ApprovalStatusColumn=ha,o.ArrayColumn=pl,o.AssignType=B,o.Attachment=wu,o.AutoNumber=$u,o.AutoNumberColumn=ea,o.BatchDeleteButton=au,o.BatchPrintListButton=nu,o.BatchPrintRecordListButton=uu,o.BatchSubmissionListButton=Dn,o.Button=Rn,o.Calc=qu,o.CardGroup=Ml,o.Checkbox=ou,o.Col=rl,o.CreateFormListButton=$n,o.CustomColumn=ca,o.DATE_CONFIG_TYPE=Sn,o.DATE_LIMIT_TYPE=fn,o.Dashboard=Zn,o.DataView=Ll,o.DatePicker=ru,o.DateRange=Cu,o.DecimalColumn=Xl,o.Department=Hu,o.Department2=hl,o.DepartmentColumn=ta,o.DepartmentType=me,o.Divider=Hn,o.ElectronicSignature=al,o.ElectronicSignatureConfig=kn,o.Employee=ku,o.Employee2=ul,o.EmployeeColumn=sa,o.EncryptTypeEnum=Yn,o.Explain=de,o.ExportConfig=xn,o.ExportListButton=Wn,o.ExportRecordListButton=Un,o.ExportTemplate=Rt,o.FileColumn=ia,o.FlexStyleConfig=Gn,o.FormSelectButton=Kn,o.Grid=ml,o.GridLayoutContainer=Sl,o.GridLayoutWrap=ga,o.GridRow=Il,o.GridTable=Kl,o.GridTableColumn=Rl,o.Image=Fu,o.ImageColumn=na,o.ImageCompressType=fi,o.ImportConfig=Bn,o.ImportListBind=Fn,o.ImportRecordListButton=jn,o.Input=yu,o.InternalType=Si,o.InvoiceCheckButton=iu,o.LINE_STYLE=Mi,o.LimitDate=Ee,o.Link=Nn,o.ListHeightSetting=Ni,o.ListSelectButton=zn,o.ListView=xl,o.ListViewSelect=tu,o.LocationColumn=la,o.Number=du,o.OperationButton=lu,o.OperationColumn=jl,o.OrderColumn=Ul,o.OrganizationSelection=Tl,o.OrganizeType=Ri,o.Page=Gl,o.Pagination=Xn,o.PeopleColumn=ua,o.Position=Hl,o.PositioningContainer=vl,o.PrintTemplate=Ln,o.Radio=gu,o.ReferenceList=cu,o.RichText=_u,o.Row=Cl,o.SCORE_TYPE=Ii,o.SUBTABLE_DEFAULT_MAX_HEIGHT=An,o.Score=Lu,o.SearchDateRange=Ku,o.SearchInput=tl,o.SearchNumberRange=Uu,o.Select=Nu,o.SelectMultiple=Su,o.SelectRelation=Ju,o.SimpleSearch=Ta,o.Step=Dl,o.StepPane=$l,o.SubTable=Wl,o.SubTableColumn=_l,o.SubTableRow=Pl,o.SubmissionRecordListButton=qn,o.Tab=kl,o.TabPane=fl,o.Text=f,o.TextColumn=Ql,o.TextOcrButton=eu,o.Textarea=Mu,o.TimescopeColumn=Jl,o.TimestampColumn=Zl,o.Title=Vn,o.TitleConfigEnum=F,o.Toolbox=Bl,o.Tree=il,o.UndersignedPerson=Oi,o.VarcharColumn=zl,o.VueFormItem=Qu,o.VuePage=El,o.WPS=sl,o.WPSSetting=wn,o.WpsOperationItem=_i,o.baseControls=Tc,o.columnControls=ay,o.formControls=cs,o.initExpression=St,o.layoutControls=Ds,o.listControls=Qs,o.searchControls=sy,o.wrapControls=Ty,Object.defineProperty(o,"__esModule",{value:!0})});
|
|
1
|
+
var Jw=Object.defineProperty,Zw=Object.defineProperties;var Yw=Object.getOwnPropertyDescriptors;var yd=Object.getOwnPropertySymbols,pw=Object.getPrototypeOf,e8=Object.prototype.hasOwnProperty,t8=Object.prototype.propertyIsEnumerable,n8=Reflect.get;var vd=(y,r,z)=>r in y?Jw(y,r,{enumerable:!0,configurable:!0,writable:!0,value:z}):y[r]=z,nt=(y,r)=>{for(var z in r||(r={}))e8.call(r,z)&&vd(y,z,r[z]);if(yd)for(var z of yd(r))t8.call(r,z)&&vd(y,z,r[z]);return y},$a=(y,r)=>Zw(y,Yw(r));var La=(y,r,z)=>n8(pw(y),z,r);var Na=(y,r,z)=>new Promise((bu,xn)=>{var Cu=ye=>{try{Pt(z.next(ye))}catch(xt){xn(xt)}},Eu=ye=>{try{Pt(z.throw(ye))}catch(xt){xn(xt)}},Pt=ye=>ye.done?bu(ye.value):Promise.resolve(ye.value).then(Cu,Eu);Pt((z=z.apply(y,r)).next())});(function(y,r){typeof exports=="object"&&typeof module!="undefined"?r(exports):typeof define=="function"&&define.amd?define(["exports"],r):(y=typeof globalThis!="undefined"?globalThis:y||self,r(y.modelDrivenControls={}))})(this,function(y){"use strict";const r=(t,e,n)=>{if(!t)return console.error("getLocaleText\u7684key\u4E0D\u80FD\u4E3A\u7A7A"),"";const i=t.split(".");let u;const l=(window.baitedaWorkers||{}).languageMessages||{};i.forEach((o,c)=>{c===0?u=l[o]:u&&(u=u[o])});let a="";return u&&(a=u),e&&Object.keys(e).forEach(o=>{const c=e[o];a=a.replace(new RegExp(`\\{\\s*${o}\\s*\\}`,"g"),c)}),a||(n?a=n:a=t),a};var z="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",bu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",xn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",Cu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Eu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Pt="{caption}\u5FC5\u586B",ye="\u8BF7\u8F93\u5165\u6807\u9898",xt="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",md="\u8BF7\u8F93\u5165\u884C\u6807\u9898",gd="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",bd="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",Cd="\u8BF7\u7ED1\u5B9A\u8868\u5355",Ed="\u8BF7\u7ED1\u5B9A\u5217\u8868",_d="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",Bd="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Dd="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",wd="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Fd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Ad="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Sd="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",Id="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Td="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",Rd="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Pd="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",xd="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",kd="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Od="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Md="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236",$d="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Ld="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Nd="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Vd="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Hd="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",jd="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",qd="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Wd="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Ud="\u8BF7\u7ED1\u5B9A\u670D\u52A1",zd="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Kd="\u8BF7\u9009\u62E9\u7701",Gd="\u8BF7\u9009\u62E9\u5E02",Xd="\u8BF7\u9009\u62E9\u533A",Qd="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Jd="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Zd="\u8BF7\u8F93\u5165\u5217\u5BBD",Yd="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",pd="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",eh="\u8BF7\u9009\u62E9\u63A7\u4EF6",th="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",nh="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",ih="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",uh="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",lh="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ah="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",rh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",oh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",ch="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",sh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",dh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",hh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",fh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",yh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",vh="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",mh="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",gh="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",bh="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Ch="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Eh="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",_h="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",Bh="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",Dh="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",wh="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",Fh="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",Ah="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",Sh="\u6279\u91CF\u5220\u9664",Ih="\u6279\u91CF\u6253\u5370",Th="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",Rh="\u6309\u94AE",Ph="\u521B\u5EFA\u5355\u636E",xh="\u4EEA\u8868\u76D8",kh="\u5206\u5272\u7EBF",Oh="\u5BFC\u51FA",Mh="\u8868\u5355\u64CD\u4F5C",$h="\u5BFC\u5165",Lh="\u53D1\u7968\u8BC6\u522B",Nh="\u94FE\u63A5",Vh="\u5217\u8868\u9009\u62E9",Hh="\u5217\u8868\u89C6\u56FE",jh="\u64CD\u4F5C\u6309\u94AE",qh="\u5206\u9875",Wh="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",Uh="\u8BF4\u660E\u6587\u5B57",zh="\u6587\u5B57\u8BC6\u522B",Kh="\u6807\u9898\u7EC4\u4EF6",Gh="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",Xh="\u6570\u7EC4",Qh="\u81EA\u52A8\u7F16\u53F7",Jh="\u81EA\u5B9A\u4E49",Zh="\u6570\u503C",Yh="\u90E8\u95E8",ph="\u4EBA\u5458",ef="\u9644\u4EF6",tf="\u56FE\u7247",nf="\u5730\u5740",uf="\u64CD\u4F5C",lf="\u5E8F\u53F7",af="\u4EBA\u5458",rf="\u957F\u6587\u672C",of="\u65E5\u671F\u533A\u95F4",cf="\u65E5\u671F",sf="\u77ED\u6587\u672C",df="\u6362\u884C\u5BB9\u5668Wrap",hf="\u8868\u683C",ff="\u660E\u7EC6\u5B50\u8868",yf="\u5730\u5740",vf="\u91D1\u989D",mf="\u8BA1\u7B97\u516C\u5F0F",gf="\u591A\u9009",bf="\u7535\u5B50\u7B7E\u7AE0",Cf="\u5355\u884C\u6587\u672C",Ef="\u6570\u5B57",_f="\u4E1A\u52A1\u7EC4\u7EC7",Bf="\u5355\u9009",Df="\u5BCC\u6587\u672C",wf="\u8BC4\u5206",Ff="\u6570\u5B57\u533A\u95F4",Af="\u4E0B\u62C9\u5355\u9009",Sf="\u4E0B\u62C9\u591A\u9009",If="\u5173\u8054\u5355\u9009",Tf="\u591A\u884C\u6587\u672C",Rf="\u6811",Pf="Vue\u5BB9\u5668",xf="Vue\u9875\u9762",kf="\u5728\u7EBF\u6587\u6863",Of="\u6309\u94AE\u64CD\u4F5C\u680F",Mf="\u9AD8\u7EA7\u5BB9\u5668",$f="\u5206\u7EC4",Lf="\u6805\u683C\u5217",Nf="\u6570\u636E\u5BB9\u5668",Vf="\u753B\u5E03",Hf="\u6362\u884C\u5BB9\u5668",jf="\u6805\u683C\u7B49\u5206\u884C",qf="\u5217\u8868\u5BB9\u5668",Wf="\u81EA\u7531\u9875\u9762",Uf="\u5B9A\u4F4D\u5B50\u5BB9\u5668",zf="\u5B9A\u4F4D\u5BB9\u5668",Kf="\u6805\u683C\u5E03\u5C40",Gf="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",Xf="\u660E\u7EC6\u5B50\u8868\u884C",Qf="\u6807\u7B7E\u9875",Jf="\u6807\u7B7E\u5355\u5143",Zf="\u5DE5\u5177\u680F",Yf="\u6279\u91CF\u63D0\u4EA4",pf="\u5BFC\u51FA\u8BB0\u5F55",ey="\u5217\u8868\u89C6\u56FE",ty="\u7ED3\u675F\u65F6\u95F4",ny="\u5F00\u59CB\u65F6\u95F4",iy="\u5355\u4F4D",uy="\u7ED3\u679C",ly="\u5E01\u79CD",ay="\u7ED3\u675F\u65E5\u671F",ry="\u5F00\u59CB\u65E5\u671F",oy="\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0",cy="\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1",sy="\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B",dy="\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA",hy="\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",fy="\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6",yy="\u8BF7\u9009\u62E9",vy="\u8BF7\u9009\u62E9\u7EC4\u7EC7",my="\u8BF7\u9009\u62E9\u90E8\u95E8",gy="\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",by="\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",Cy="\u8BF7\u9009\u62E9\u5730\u5740",Ey="\u5F39\u7A97\u786E\u8BA4\u65F6",_y="\u6807\u7B7E\u9875\u5207\u6362\u65F6",By="\u884C\u9009\u4E2D\u65F6",Dy="\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",wy="\u884C\u5220\u9664\u524D",Fy="\u884C\u70B9\u51FB\u65F6",Ay="\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",Sy="\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",Iy="\u91CD\u547D\u540D\u65F6",Ty="\u4FDD\u5B58\u6587\u4EF6\u65F6",Ry="\u6253\u5F00\u6587\u4EF6\u65F6",Py="\u83B7\u53D6\u7126\u70B9\u65F6",xy="\u5931\u53BB\u7126\u70B9\u65F6",ky="\u7528\u6237\u8F93\u5165\u65F6",Oy="\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",My="\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",$y="\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",Ly="\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",Ny="\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",Vy="\u641C\u7D22\u65F6",Hy="\u503C\u53D1\u751F\u53D8\u5316\u65F6",jy="\u6267\u884C\u5B8C\u6210\u65F6",qy="\u70B9\u51FB\u65F6",Wy="\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",Uy="\u8BF7\u8F93\u5165\u65E5\u671F",zy="\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",Ky="\u8BF7\u8F93\u5165",Gy="\u9ED8\u8BA4\u6A21\u7248",Xy="\u5DE6\u53F3\u5E03\u5C40",Qy="\u4E0A\u4E0B\u5E03\u5C40",Jy="\u53EA\u8BFB",Zy="\u5FC5\u586B",Yy="\u63D0\u793A\u6587\u5B57",py="\u9690\u85CF\u6807\u9898",ev="\u6807\u9898\u5FC5\u586B",tv="\u7EC4\u7EC7\u5F62\u6001",nv="\u4E1A\u52A1\u7C7B\u578B",iv="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",uv="\u9690\u85CF",lv="\u6D41\u7A0B\u72B6\u6001",av="\u5BA1\u6279\u901A\u8FC7\u5355\u636E",rv="\u5220\u9664",ov="\u7F16\u8F91",cv="\u67E5\u770B",sv="\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A{id}",dv="\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF",hv="\u5145\u6EE1\u6574\u884C",fv="\u6700\u5C0F\u503C",yv="\u6700\u5927\u503C",vv="\u65B0\u5EFA\u6587\u6863",mv="\u91CD\u7F6E",gv="\u67E5\u8BE2",bv="\u660E\u7EC6",Cv="\u6253\u5370",Ev="\u4FDD\u5B58\u8349\u7A3F",_v="\u4FDD\u5B58",Bv="\u53D6\u6D88",Dv="\u4E0A\u4F20\u56FE\u7247",wv="\u53D1\u8D77\u7B7E\u7F72",Fv="\u4E0A\u4F20\u9644\u4EF6",Av="\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",Sv="\u5F15\u7528\u5217\u8868",Iv="\u9009\u9879\u4E00",Tv="\u9009\u9879\u4E8C",Rv="\u9009\u9879\u4E09",Pv={isNotNumber:z,isNotString:bu,isNotObject:xn,isNotArray:Cu,isNotBoolean:Eu,runtimeRequired:Pt,pleaseEnterCaption:ye,pleaseEnterCaptionTip:xt,pleaseEnterRowCaption:md,pleaseEnterPlaceholder:gd,pleaseEnterFieldCode:bd,pleaseEnterForm:Cd,pleaseEnterList:Ed,pleaseEnterProcess:_d,pleaseEnterLabel:Bd,pleaseEnterValue:Dd,bizKeyNotBindFiled:wd,pleaseSelectOneField:Fd,pleaseEnterNumberRange:Ad,pleaseEnterAValueGreaterThanMin:Sd,pleaseEnterAValueLessThanMax:Id,numberRangeSetError:Td,stringRangeError:Rd,attachmentMaxSize:Pd,pleaseEnterTotalScoreSetting:xd,theTotalScoreMustNotBeLessThan1:kd,scoreDefaultValueRange:Od,attachmentLimitError:Md,PleaseReselectTheOptionalQuantity:$d,TheMaximumLengthIsGreaterThanTheMinimumLength:Ld,TheMinimumLengthIsGreaterThanTheMaximumLength:Nd,PleaseSelectTheCorrectOptionSettings:Vd,optionIdIsRepeat:Hd,optionIsRequired:jd,pleaseEnterDataCode:qd,pleaseEnterValueFieldCode:Wd,pleaseEnterSvcCode:Ud,pleaseBindAtLeastOneDisplayValue:zd,pleaseSelectProvince:Kd,pleaseSelectCity:Gd,pleaseSelectDistrict:Xd,limitRowsCannotBeLessThan0:Qd,TheNumberOfRowsCannotBeLessThanMinRows:Jd,pleaseEnterColumnWidth:Zd,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Yd,pleaseCompleteAllRulesAndConditions:pd,pleaseSelectControl:eh,pleaseSelectAtLeastOneColumn:th,pleaseSelectFillBackMode:nh,pleaseSelectDashboard:ih,rootNodeIsRequired:uh,theViewNameCannotBeEmpty:lh,pleaseSelectOcrType:ah,pleaseSelectAtLeastOneFieldToFillIn:rh,pleaseChooseAtLeastOne:oh,pleaseEnterButtonContent:ch,pleaseEnterDataCodeInDataSetting:sh,pleaseEnterValueFieldCodeInDataSetting:dh,pleaseEnterSvcCodeInDataSetting:hh,pleaseBindAtLeastOneDisplayValueInDataSetting:fh,rootNodeIsRequiredInDataSetting:yh,pleaseEnterMaxHeight:vh,pleaseEnterWatermark:mh,pleaseEnterFileName:gh,pleaseUploadAtLeastOnePrintTemplate:bh,pleaseAssignBusiness:Ch,pleaseAssignExternal:Eh,pleaseEnterAliasCode:_h,pleaseSelectDataCode:Bh,pleaseSelectSvcCode:Dh,pleaseSelectJoinFieldCode:wh,pleaseSelectMainFieldCode:Fh,pleaseSelectSortFieldCode:Ah,batchDeleteButton:Sh,batchPrintListButton:Ih,batchPrintRecordList:Th,button:Rh,createFormListButton:Ph,dashboard:xh,divider:kh,exportListButton:Oh,formSelectButton:Mh,importRecordListButton:$h,invoiceCheckButton:Lh,link:Nh,listSelectButton:Vh,ListViewSelect:Hh,operationButton:jh,pagination:qh,submissionRecordListButton:Wh,text:Uh,textOcrButton:zh,title:Kh,approvalStatusColumn:Gh,array:Xh,autoNumber:Qh,custom:Jh,decimal:Zh,department:Yh,employee:ph,file:ef,image:tf,location:nf,operation:uf,order:lf,people:af,long:rf,timescope:of,timestamp:cf,varchar:sf,gridLayoutWrap:df,gridTable:hf,subTable:ff,address:yf,amount:vf,calc:mf,checkBox:gf,electronicSignature:bf,input:Cf,number:Ef,organizationSelection:_f,radio:Bf,richText:Df,score:wf,searchNumberRange:Ff,select:Af,selectMultiple:Sf,selectRelation:If,textarea:Tf,tree:Rf,vueFormItem:Pf,vuePage:xf,WPS:kf,actionBar:Of,advancedContainer:Mf,cardGroup:$f,col:Lf,dataView:Nf,grid:Vf,gridLayoutContainer:Hf,gridRow:jf,listView:qf,page:Wf,position:Uf,positioningContainer:zf,row:Kf,subtableColumn:Gf,subtableRow:Xf,tab:Qf,tabPane:Jf,toolbox:Zf,batchSubmissionListButton:Yf,exportRecordListButton:pf,listViewSelect:ey,endTime:ty,startTime:ny,unit:iy,result:uy,currency:ly,endDate:ay,startDate:ry,pleaseSelectCompanyName:oy,pleaseSelectPhoneOrEmail:cy,pleaseSelectSignType:sy,pleaseSelectSigner:dy,pleaseSelectOnlyOne:hy,pleaseSelectSignFile:fy,pleaseSelect:yy,pleaseSelectOrg:vy,pleaseSelectDept:my,pleaseSelectEndDate:gy,pleaseSelectStartDate:by,pleaseChooseAddress:Cy,modalConfirm:Ey,tabChange:_y,rowSelected:By,listDataImport:Dy,rowDelete:wy,rowClick:Fy,cellRender:Ay,onClickBtn:Sy,rename:Iy,onSaveFile:Ty,onOpenFile:Ry,onFocus:Py,onBlur:xy,onInput:ky,listDataAdd:Oy,listDataDelete:My,listDataBack:$y,listDataCreate:Ly,listDataChange:Ny,search:Vy,valueChange:Hy,finished:jy,click:qy,pleaseEnterNameorEmail:Wy,pleaseEnterDate:Uy,pleaseEnterAutonumber:zy,pleaseEnter:Ky,defaultTemplate:Gy,left:Xy,top:Qy,default:"\u666E\u901A",readonly:Jy,required:Zy,textTip:Yy,hideCaption:py,titleRequired:ev,organizationalForm:tv,businessType:nv,deleteConfirm:iv,hide:uv,processStatus:lv,approvedDocuments:av,delete:rv,edit:ov,view:cv,loadCtrlErrorTip:sv,loadCtrlError:dv,fullLine:hv,min:fv,max:yv,createWPS:vv,reset:mv,query:gv,detailed:bv,print:Cv,draft:Ev,save:_v,cancel:Bv,uploadImg:Dv,signature:wv,uploadFile:Fv,linkContent:Av,referenceList:Sv,optionOne:Iv,optionTwo:Tv,optionThird:Rv},xv="Please enter a number",kv="Please enter a string",Ov="Please enter an object",Mv="Please enter an array",$v="Please enter a boolean",Lv="{caption} Required",Nv="Please enter the title",Vv="Please enter the bubble prompt",Hv="Please enter the row title",jv="Please enter the prompt text",qv="Please bind data items",Wv="Please bind the form",Uv="Please bind the list",zv="Please bind the process",Kv="Please enter the displayed value",Gv="Please enter the stored value",Xv="The document number is not bound to the data item",Qv="Please select at least one display field",Jv="Please enter a value greater than or equal to {min} and less than or equal to {max}",Zv="Please enter a value greater than or equal to {min}",Yv="Please enter a value less than or equal to {max}",pv="The value range is set incorrectly",e0="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",t0="The attachment size must be between 0MB and 1000MB",n0="Please fill in the total score setting",i0="The total score cannot be less than 1",u0="The default value must be between {min} and {max}",l0="The number of attachment uploads exceeds the limit",a0="Please re-select the optional quantity",r0="The maximum length of the control must be greater than the minimum length",o0="The minimum length of the control must be less than the maximum length",c0="Please select the correct option setting",s0="Option ID cannot be repeated",d0="Please enter at least one option",h0="Please bind the data source",f0="Please bind the stored value",y0="Please bind the service",v0="At least one display value must be bound",m0="Please select a province",g0="Please select a city",b0="Please select a district",C0="The minimum number of lines to fill in cannot be less than 0",E0="The number of rows cannot be less than {min} rows",_0="Please enter the column width",B0="Please set the logical relationship of all rule conditions",D0="Please complete all rules and conditions",w0="please select control",F0="Please select the dashboard",A0="View name cannot be empty",S0="Please select recognition type",I0="Please select at least one field to fill in",T0="Please select at least one",R0="Please enter the button title",P0="Please bind the business model in the data settings",x0="Please bind storage values in data settings",k0="Please bind the service in the data settings",O0="Please bind at least one display value in the data settings",M0="Please select the root node in the data settings",$0="Please enter the maximum height",L0="The input content cannot be empty",N0="Watermark cannot be empty",V0="File name cannot be empty",H0="Please upload at least one printing template!\uFF01",j0="Please select a specific business department",q0="Please select a specified external organization",W0="Please enter a sub table alias",U0="Please select the associated table to set the business model",z0="Please select the association table to set the binding service",K0="Select associated sub table fields",G0="Please select the associated main table field",X0="Please select the sort field",Q0="\u6279\u91CF\u5220\u9664",J0="\u6279\u91CF\u6253\u5370",Z0="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",Y0="\u6309\u94AE",p0="\u521B\u5EFA\u5355\u636E",em="\u4EEA\u8868\u76D8",tm="\u5206\u5272\u7EBF",nm="\u5BFC\u51FA",im="\u8868\u5355\u64CD\u4F5C",um="\u5BFC\u5165",lm="\u53D1\u7968\u8BC6\u522B",am="\u94FE\u63A5",rm="\u5217\u8868\u9009\u62E9",om="\u5217\u8868\u89C6\u56FE",cm="\u64CD\u4F5C\u6309\u94AE",sm="\u5206\u9875",dm="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",hm="\u8BF4\u660E\u6587\u5B57",fm="\u6587\u5B57\u8BC6\u522B",ym="\u6807\u9898\u7EC4\u4EF6",vm="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",mm="\u6570\u7EC4",gm="\u81EA\u52A8\u7F16\u53F7",bm="\u81EA\u5B9A\u4E49",Cm="\u6570\u503C",Em="\u90E8\u95E8",_m="\u4EBA\u5458",Bm="\u9644\u4EF6",Dm="\u56FE\u7247",wm="\u5730\u5740",Fm="\u64CD\u4F5C",Am="\u5E8F\u53F7",Sm="\u4EBA\u5458",Im="\u957F\u6587\u672C",Tm="\u65E5\u671F\u533A\u95F4",Rm="\u65E5\u671F",Pm="\u77ED\u6587\u672C",xm="\u6362\u884C\u5BB9\u5668Wrap",km="\u8868\u683C",Om="\u660E\u7EC6\u5B50\u8868",Mm="\u5730\u5740",$m="\u91D1\u989D",Lm="\u8BA1\u7B97\u516C\u5F0F",Nm="\u591A\u9009",Vm="\u7535\u5B50\u7B7E\u7AE0",Hm="\u5355\u884C\u6587\u672C",jm="\u6570\u5B57",qm="\u4E1A\u52A1\u7EC4\u7EC7",Wm="\u5355\u9009",Um="\u5BCC\u6587\u672C",zm="\u8BC4\u5206",Km="\u6570\u5B57\u533A\u95F4",Gm="\u4E0B\u62C9\u5355\u9009",Xm="\u4E0B\u62C9\u591A\u9009",Qm="\u5173\u8054\u5355\u9009",Jm="\u591A\u884C\u6587\u672C",Zm="\u6811",Ym="Vue\u5BB9\u5668",pm="Vue\u9875\u9762",eg="\u5728\u7EBF\u6587\u6863",tg="\u6309\u94AE\u64CD\u4F5C\u680F",ng="\u9AD8\u7EA7\u5BB9\u5668",ig="\u5206\u7EC4",ug="\u6805\u683C\u5217",lg="\u6570\u636E\u5BB9\u5668",ag="\u753B\u5E03",rg="\u6362\u884C\u5BB9\u5668",og="\u6805\u683C\u7B49\u5206\u884C",cg="\u5217\u8868\u5BB9\u5668",sg="\u81EA\u7531\u9875\u9762",dg="\u5B9A\u4F4D\u5B50\u5BB9\u5668",hg="\u5B9A\u4F4D\u5BB9\u5668",fg="\u6805\u683C\u5E03\u5C40",yg="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",vg="\u660E\u7EC6\u5B50\u8868\u884C",mg="\u6807\u7B7E\u9875",gg="\u6807\u7B7E\u5355\u5143",bg="\u5DE5\u5177\u680F",Cg="\u6279\u91CF\u63D0\u4EA4",Eg="\u5BFC\u51FA\u8BB0\u5F55",_g="\u5217\u8868\u89C6\u56FE",Bg="\u5F15\u7528\u5217\u8868",Dg="\u9009\u9879\u4E00",wg="\u9009\u9879\u4E8C",Fg="\u9009\u9879\u4E09",Ag={isNotNumber:xv,isNotString:kv,isNotObject:Ov,isNotArray:Mv,isNotBoolean:$v,runtimeRequired:Lv,pleaseEnterCaption:Nv,pleaseEnterCaptionTip:Vv,pleaseEnterRowCaption:Hv,pleaseEnterPlaceholder:jv,pleaseEnterFieldCode:qv,pleaseEnterForm:Wv,pleaseEnterList:Uv,pleaseEnterProcess:zv,pleaseEnterLabel:Kv,pleaseEnterValue:Gv,bizKeyNotBindFiled:Xv,pleaseSelectOneField:Qv,pleaseEnterNumberRange:Jv,pleaseEnterAValueGreaterThanMin:Zv,pleaseEnterAValueLessThanMax:Yv,numberRangeSetError:pv,stringRangeError:e0,attachmentMaxSize:t0,pleaseEnterTotalScoreSetting:n0,theTotalScoreMustNotBeLessThan1:i0,scoreDefaultValueRange:u0,attachmentLimitError:l0,PleaseReselectTheOptionalQuantity:a0,TheMaximumLengthIsGreaterThanTheMinimumLength:r0,TheMinimumLengthIsGreaterThanTheMaximumLength:o0,PleaseSelectTheCorrectOptionSettings:c0,optionIdIsRepeat:s0,optionIsRequired:d0,pleaseEnterDataCode:h0,pleaseEnterValueFieldCode:f0,pleaseEnterSvcCode:y0,pleaseBindAtLeastOneDisplayValue:v0,pleaseSelectProvince:m0,pleaseSelectCity:g0,pleaseSelectDistrict:b0,limitRowsCannotBeLessThan0:C0,TheNumberOfRowsCannotBeLessThanMinRows:E0,pleaseEnterColumnWidth:_0,pleaseSetTheLogicalRelationshipOfAllRuleConditions:B0,pleaseCompleteAllRulesAndConditions:D0,pleaseSelectControl:w0,pleaseSelectDashboard:F0,theViewNameCannotBeEmpty:A0,pleaseSelectOcrType:S0,pleaseSelectAtLeastOneFieldToFillIn:I0,pleaseChooseAtLeastOne:T0,pleaseEnterButtonContent:R0,pleaseEnterDataCodeInDataSetting:P0,pleaseEnterValueFieldCodeInDataSetting:x0,pleaseEnterSvcCodeInDataSetting:k0,pleaseBindAtLeastOneDisplayValueInDataSetting:O0,rootNodeIsRequiredInDataSetting:M0,pleaseEnterMaxHeight:$0,pleaseEnter:L0,pleaseEnterWatermark:N0,pleaseEnterFileName:V0,pleaseUploadAtLeastOnePrintTemplate:H0,pleaseAssignBusiness:j0,pleaseAssignExternal:q0,pleaseEnterAliasCode:W0,pleaseSelectDataCode:U0,pleaseSelectSvcCode:z0,pleaseSelectJoinFieldCode:K0,pleaseSelectMainFieldCode:G0,pleaseSelectSortFieldCode:X0,batchDeleteButton:Q0,batchPrintListButton:J0,batchPrintRecordList:Z0,button:Y0,createFormListButton:p0,dashboard:em,divider:tm,exportListButton:nm,formSelectButton:im,importRecordListButton:um,invoiceCheckButton:lm,link:am,listSelectButton:rm,ListViewSelect:om,operationButton:cm,pagination:sm,submissionRecordListButton:dm,text:hm,textOcrButton:fm,title:ym,approvalStatusColumn:vm,array:mm,autoNumber:gm,custom:bm,decimal:Cm,department:Em,employee:_m,file:Bm,image:Dm,location:wm,operation:Fm,order:Am,people:Sm,long:Im,timescope:Tm,timestamp:Rm,varchar:Pm,gridLayoutWrap:xm,gridTable:km,subTable:Om,address:Mm,amount:$m,calc:Lm,checkBox:Nm,electronicSignature:Vm,input:Hm,number:jm,organizationSelection:qm,radio:Wm,richText:Um,score:zm,searchNumberRange:Km,select:Gm,selectMultiple:Xm,selectRelation:Qm,textarea:Jm,tree:Zm,vueFormItem:Ym,vuePage:pm,WPS:eg,actionBar:tg,advancedContainer:ng,cardGroup:ig,col:ug,dataView:lg,grid:ag,gridLayoutContainer:rg,gridRow:og,listView:cg,page:sg,position:dg,positioningContainer:hg,row:fg,subtableColumn:yg,subtableRow:vg,tab:mg,tabPane:gg,toolbox:bg,batchSubmissionListButton:Cg,exportRecordListButton:Eg,listViewSelect:_g,referenceList:Bg,optionOne:Dg,optionTwo:wg,optionThird:Fg},Sg="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ig="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Tg="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Rg="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Pg="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",xg="{caption}\u5FC5\u9808",kg="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Og="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Mg="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",$g="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Lg="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ng="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Vg="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Hg="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",jg="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",qg="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Wg="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",Ug="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",zg="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Kg="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Gg="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Xg="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",Qg="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Jg="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Zg="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Yg="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",pg="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",eb="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306E\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u6570\u304C\u5236\u9650\u3092\u8D85\u3048\u3066\u3044\u307E\u3059",tb="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",nb="\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",ib="\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",ub="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",lb="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",ab="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",rb="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ob="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",cb="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",sb="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",db="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",hb="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",fb="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",yb="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",vb="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",mb="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",gb="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",bb="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",Cb="please select control",Eb="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",_b="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Bb="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Db="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",wb="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Fb="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ab="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Sb="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Ib="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Tb="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Rb="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Pb="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",xb="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",kb="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Ob="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Mb="\u5370\u5237\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u3092\u5C11\u306A\u304F\u3068\u30821\u3064\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\uFF01\uFF01",$b="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Lb="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Nb="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Vb="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",Hb="\u95A2\u9023\u30C6\u30FC\u30D6\u30EB\u8A2D\u5B9A\u30D0\u30A4\u30F3\u30C9\u30B5\u30FC\u30D3\u30B9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",jb="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",qb="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Wb="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ub="\u6279\u91CF\u5220\u9664",zb="\u6279\u91CF\u6253\u5370",Kb="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",Gb="\u6309\u94AE",Xb="\u521B\u5EFA\u5355\u636E",Qb="\u4EEA\u8868\u76D8",Jb="\u5206\u5272\u7EBF",Zb="\u5BFC\u51FA",Yb="\u8868\u5355\u64CD\u4F5C",pb="\u5BFC\u5165",e5="\u53D1\u7968\u8BC6\u522B",t5="\u94FE\u63A5",n5="\u5217\u8868\u9009\u62E9",i5="\u5217\u8868\u89C6\u56FE",u5="\u64CD\u4F5C\u6309\u94AE",l5="\u5206\u9875",a5="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",r5="\u8BF4\u660E\u6587\u5B57",o5="\u6587\u5B57\u8BC6\u522B",c5="\u6807\u9898\u7EC4\u4EF6",s5="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",d5="\u6570\u7EC4",h5="\u81EA\u52A8\u7F16\u53F7",f5="\u81EA\u5B9A\u4E49",y5="\u6570\u503C",v5="\u90E8\u95E8",m5="\u4EBA\u5458",g5="\u9644\u4EF6",b5="\u56FE\u7247",C5="\u5730\u5740",E5="\u64CD\u4F5C",_5="\u5E8F\u53F7",B5="\u4EBA\u5458",D5="\u957F\u6587\u672C",w5="\u65E5\u671F\u533A\u95F4",F5="\u65E5\u671F",A5="\u77ED\u6587\u672C",S5="\u6362\u884C\u5BB9\u5668Wrap",I5="\u8868\u683C",T5="\u660E\u7EC6\u5B50\u8868",R5="\u5730\u5740",P5="\u91D1\u989D",x5="\u8BA1\u7B97\u516C\u5F0F",k5="\u591A\u9009",O5="\u7535\u5B50\u7B7E\u7AE0",M5="\u5355\u884C\u6587\u672C",$5="\u6570\u5B57",L5="\u4E1A\u52A1\u7EC4\u7EC7",N5="\u5355\u9009",V5="\u5BCC\u6587\u672C",H5="\u8BC4\u5206",j5="\u6570\u5B57\u533A\u95F4",q5="\u4E0B\u62C9\u5355\u9009",W5="\u4E0B\u62C9\u591A\u9009",U5="\u5173\u8054\u5355\u9009",z5="\u591A\u884C\u6587\u672C",K5="\u6811",G5="Vue\u5BB9\u5668",X5="Vue\u9875\u9762",Q5="\u5728\u7EBF\u6587\u6863",J5="\u6309\u94AE\u64CD\u4F5C\u680F",Z5="\u9AD8\u7EA7\u5BB9\u5668",Y5="\u5206\u7EC4",p5="\u6805\u683C\u5217",eC="\u6570\u636E\u5BB9\u5668",tC="\u753B\u5E03",nC="\u6362\u884C\u5BB9\u5668",iC="\u6805\u683C\u7B49\u5206\u884C",uC="\u5217\u8868\u5BB9\u5668",lC="\u81EA\u7531\u9875\u9762",aC="\u5B9A\u4F4D\u5B50\u5BB9\u5668",rC="\u5B9A\u4F4D\u5BB9\u5668",oC="\u6805\u683C\u5E03\u5C40",cC="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",sC="\u660E\u7EC6\u5B50\u8868\u884C",dC="\u6807\u7B7E\u9875",hC="\u6807\u7B7E\u5355\u5143",fC="\u5DE5\u5177\u680F",yC="\u6279\u91CF\u63D0\u4EA4",vC="\u5BFC\u51FA\u8BB0\u5F55",mC="\u5217\u8868\u89C6\u56FE",gC="\u5F15\u7528\u5217\u8868",bC="\u9009\u9879\u4E00",CC="\u9009\u9879\u4E8C",EC="\u9009\u9879\u4E09",_C={isNotNumber:Sg,isNotString:Ig,isNotObject:Tg,isNotArray:Rg,isNotBoolean:Pg,runtimeRequired:xg,pleaseEnterCaption:kg,pleaseEnterCaptionTip:Og,pleaseEnterRowCaption:Mg,pleaseEnterPlaceholder:$g,pleaseEnterFieldCode:Lg,pleaseEnterForm:Ng,pleaseEnterList:Vg,pleaseEnterProcess:Hg,pleaseEnterLabel:jg,pleaseEnterValue:qg,bizKeyNotBindFiled:Wg,pleaseSelectOneField:Ug,pleaseEnterNumberRange:zg,pleaseEnterAValueGreaterThanMin:Kg,pleaseEnterAValueLessThanMax:Gg,numberRangeSetError:Xg,stringRangeError:Qg,attachmentMaxSize:Jg,pleaseEnterTotalScoreSetting:Zg,theTotalScoreMustNotBeLessThan1:Yg,scoreDefaultValueRange:pg,attachmentLimitError:eb,PleaseReselectTheOptionalQuantity:tb,TheMaximumLengthIsGreaterThanTheMinimumLength:nb,TheMinimumLengthIsGreaterThanTheMaximumLength:ib,PleaseSelectTheCorrectOptionSettings:ub,optionIdIsRepeat:lb,optionIsRequired:ab,pleaseEnterDataCode:rb,pleaseEnterValueFieldCode:ob,pleaseEnterSvcCode:cb,pleaseBindAtLeastOneDisplayValue:sb,pleaseSelectProvince:db,pleaseSelectCity:hb,pleaseSelectDistrict:fb,limitRowsCannotBeLessThan0:yb,TheNumberOfRowsCannotBeLessThanMinRows:vb,pleaseEnterColumnWidth:mb,pleaseSetTheLogicalRelationshipOfAllRuleConditions:gb,pleaseCompleteAllRulesAndConditions:bb,pleaseSelectControl:Cb,pleaseSelectDashboard:Eb,theViewNameCannotBeEmpty:_b,pleaseSelectOcrType:Bb,pleaseSelectAtLeastOneFieldToFillIn:Db,pleaseChooseAtLeastOne:wb,pleaseEnterButtonContent:Fb,pleaseEnterDataCodeInDataSetting:Ab,pleaseEnterValueFieldCodeInDataSetting:Sb,pleaseEnterSvcCodeInDataSetting:Ib,pleaseBindAtLeastOneDisplayValueInDataSetting:Tb,rootNodeIsRequiredInDataSetting:Rb,pleaseEnterMaxHeight:Pb,pleaseEnter:xb,pleaseEnterWatermark:kb,pleaseEnterFileName:Ob,pleaseUploadAtLeastOnePrintTemplate:Mb,pleaseAssignBusiness:$b,pleaseAssignExternal:Lb,pleaseEnterAliasCode:Nb,pleaseSelectDataCode:Vb,pleaseSelectSvcCode:Hb,pleaseSelectJoinFieldCode:jb,pleaseSelectMainFieldCode:qb,pleaseSelectSortFieldCode:Wb,batchDeleteButton:Ub,batchPrintListButton:zb,batchPrintRecordList:Kb,button:Gb,createFormListButton:Xb,dashboard:Qb,divider:Jb,exportListButton:Zb,formSelectButton:Yb,importRecordListButton:pb,invoiceCheckButton:e5,link:t5,listSelectButton:n5,ListViewSelect:i5,operationButton:u5,pagination:l5,submissionRecordListButton:a5,text:r5,textOcrButton:o5,title:c5,approvalStatusColumn:s5,array:d5,autoNumber:h5,custom:f5,decimal:y5,department:v5,employee:m5,file:g5,image:b5,location:C5,operation:E5,order:_5,people:B5,long:D5,timescope:w5,timestamp:F5,varchar:A5,gridLayoutWrap:S5,gridTable:I5,subTable:T5,address:R5,amount:P5,calc:x5,checkBox:k5,electronicSignature:O5,input:M5,number:$5,organizationSelection:L5,radio:N5,richText:V5,score:H5,searchNumberRange:j5,select:q5,selectMultiple:W5,selectRelation:U5,textarea:z5,tree:K5,vueFormItem:G5,vuePage:X5,WPS:Q5,actionBar:J5,advancedContainer:Z5,cardGroup:Y5,col:p5,dataView:eC,grid:tC,gridLayoutContainer:nC,gridRow:iC,listView:uC,page:lC,position:aC,positioningContainer:rC,row:oC,subtableColumn:cC,subtableRow:sC,tab:dC,tabPane:hC,toolbox:fC,batchSubmissionListButton:yC,exportRecordListButton:vC,listViewSelect:mC,referenceList:gC,optionOne:bC,optionTwo:CC,optionThird:EC},_u={zhCN:Pv,enUS:Ag,jaJP:_C},Bu,BC=(Bu=window.localStorage.getItem("locale"))!==null&&Bu!==void 0?Bu:"zh-CN",kn=function(t){return t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search",t}({}),F=function(t){return t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.BATCH_DELETE_LIST_BUTTON="list-page-btn-batch-delete",t.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",t.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",t.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",t.EXPORT_LIST_BUTTON="list-page-btn-export-list",t.LIST_SELECT_BUTTON="list-select-button",t.ORGANIZATION_SELECTION="organization-selection",t.FORM_SELECT_BUTTON="form-select-button",t.LIST_VIEW_SELECT="list-view-select",t.TEXT_OCR_BUTTON="text-ocr-button",t.INVOICE_CHECK_BUTTON="invoice-check-button",t.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",t.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",t.VARCHAR_COLUMN="varchar-column",t.TEXT_COLUMN="text-column",t.DECIMAL_COLUMN="decimal-column",t.TIMESCOPE_COLUMN="timescope-column",t.TIMESTAMP_COLUMN="timestamp-column",t.ARRAY_COLUMN="array-column",t.DEPARTMENT_COLUMN="department-column",t.AUTO_NUMBER_COLUMN="auto-number-column",t.FILE_COLUMN="file-column",t.IMAGE_COLUMN="image-column",t.PEOPLE_COLUMN="people-column",t.LOCATION_COLUMN="location-column",t.CUSTOM_COLUMN="custom-column",t.ORDER_COLUMN="order-column",t.OPERATION_COLUMN="operation-column",t.OPERATION_BUTTON="operation-button",t.EMPLOYEE_COLUMN="employee-column",t.Approval_Status_Column="approval-status-column",t.ADDRESS="address",t.AMOUNT="amount",t.ATTACHMENT="attachment",t.AUTO_NUMBER="auto-number",t.CALC="calc",t.CHECKBOX="checkbox",t.DATE_PICKER="date-picker",t.DATE_RANGE="date-range",t.DEPARTMENT="department",t.EMPLOYEE="employee",t.IMAGE="image",t.INPUT="input",t.NUMBER="number",t.RADIO="radio",t.RICH_TEXT="rich-text",t.SCORE="score",t.SEARCH_DATE_RANGE="search-date-range",t.SEARCH_NUMBER_RANGE="search-number-range",t.SEARCH_INPUT="search-input",t.SELECT="select",t.SELECT_MULTIPLE="select-multiple",t.SELECT_RELATION="select-relation",t.VUE_FORM_ITEM="vue-form-item",t.TEXTAREA="textarea",t.EMAIL="email",t.FOOTER="footer",t.HEADER="header",t.ID_CARD="id-card",t.MOBILE="mobile",t.PHONE="phone",t.RADIO_IMAGE="radio-image",t.ELECTRONIC_SIGNATURE="electronic-signature",t.WPS="wps",t.CARD_GROUP="card-group",t.COL="col",t.GRID="grid",t.GRID_ROW="grid-row",t.GRID_TABLE_COLUMN="grid-table-column",t.GRID_LAYOUT_CONTAINER="grid-layout-container",t.ROW="row",t.TWO_COLUMNS="two-columns",t.SUBTABLE_COLUMN="subtable-column",t.SUBTABLE_ROW="subtable-row",t.TAB="tab",t.TAB_PANE="tab-pane",t.TOOLBOX="toolbox",t.DATA_VIEW="data-view",t.LIST_VIEW="list-view",t.ACTION_BAR="action-bar",t.SUBTABLE="subtable",t.GRID_TABLE="grid-table",t.SIMPLE_SEARCH="simple-search",t.PAGINATION="pagination",t.CHECKBOX_IMAGE="checkbox-image",t.DASHBOARD="dashboard",t.TREE="tree",t.EMPLOYEE2="employee2",t.DEPARTMENT2="department2",t.GRID_LAYOUT_WRAP="grid-layout-wrap",t.VUE_PAGE="vue-page",t.REFERENCE_LIST="reference-list",t.STEP="step",t.STEP_PANE="step-pane",t.BARCODE="barcode",t}({}),b=function(t){return t.VARCHAR="varchar",t.TEXT="text",t.ARRAY="array",t.ADDRESS="location",t.DECIMAL="decimal",t.DECIMAL_RANGE="decimal_range",t.TIMESTAMP="timestamp",t.EMPLOYEES="people",t.DEPARTMENTS="department",t.MONEY="money",t.TIMESCOPE="timescope",t.FILE="file",t.IMAGE="image",t.AUTO_NUMBER="auto_number",t.CALC="calc",t.LIST="list",t.JSON="json",t.ANY="ANY",t}({}),it=function(t){return t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime",t}({}),Va={DEFAULT:"default"},Ha="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",DC=Ha+"0123456789";function se(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?Ha:DC,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function Du(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 wC(t){if(Array.isArray(t))return Du(t)}function FC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ja(t,e,n){return e=kt(e),TC(t,Fu()?Reflect.construct(e,n||[],kt(t).constructor):e.apply(t,n))}function qa(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function On(t,e,n){return Fu()?On=Reflect.construct:On=function(u,l,a){var o=[null];o.push.apply(o,l);var c=Function.bind.apply(u,o),h=new c;return a&&Ot(h,a.prototype),h},On.apply(null,arguments)}function kt(t){return kt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kt(t)}function Wa(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&&Ot(t,e)}function AC(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function SC(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function IC(){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 TC(t,e){return e&&(RC(e)==="object"||typeof e=="function")?e:FC(t)}function Ot(t,e){return Ot=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ot(t,e)}function Ua(t){return wC(t)||SC(t)||PC(t)||IC()}function RC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function PC(t,e){if(!!t){if(typeof t=="string")return Du(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Du(t,e)}}function wu(t){var e=typeof Map=="function"?new Map:void 0;return wu=function(i){if(i===null||!AC(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return On(i,arguments,kt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Ot(u,i)},wu(t)}function Fu(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Fu=function(){return!!t})()}var Au=console;function Su(){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=Au).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(Ua(u)))}function za(){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=Au).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(Ua(u)))}function xC(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Iu=function(t){Wa(e,t);function e(n){qa(this,e);var i;return i=ja(this,e,[n]),i.name="\u{1F4A5} Driven Error",i.message=n?xC(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",i}return e}(wu(Error)),kC=function(t){Wa(e,t);function e(n){qa(this,e);var i;return i=ja(this,e,[n]),i.name="\u{1F6A8} Driven Reference Error",i}return e}(Iu);function Mt(t){throw new Iu(t)}function Ka(t){throw new kC(t)}function OC(t){Au.error(new Iu(t))}function MC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ga(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 $C(t,e,n){return e&&Ga(t.prototype,e),n&&Ga(t,n),t}function LC(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Xa=function(){function t(){MC(this,t)}return $C(t,null,[{key:"getMessage",value:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u;return r("CMD."+n,i,_u==null||(u=_u[BC.split("-").join("")])===null||u===void 0?void 0:u[n])}},{key:"resetI18n",value:function(){}},{key:"setLocale",value:function(n,i){}}]),t}();LC(Xa,"$i18n",Xa.resetI18n());function NC(t,e,n){var i=e.replace(/\[(\d)]/g,function(l,a){return"."+a}).split("."),u=!1;return i.reduce(function(l,a,o,c){var h=l;if(!!l){if(!Object.prototype.hasOwnProperty.call(l,a)){Su("Can not set ".concat(e,"'s ").concat(a," property in current %o, Because there is no ").concat(a," property on the %o"),l,l);return}return o===c.length-1&&!Object.is(h[a],n)&&(h[a]=n,u=!0),h[a]}},t),u}var VC=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},HC={exports:{}};(function(t){(function(e){var n=function(m,_,I){if(!h(_)||v(_)||g(_)||C(_)||c(_))return _;var P,O=0,ue=0;if(s(_))for(P=[],ue=_.length;O<ue;O++)P.push(n(m,_[O],I));else{P={};for(var M in _)Object.prototype.hasOwnProperty.call(_,M)&&(P[m(M,I)]=n(m,_[M],I))}return P},i=function(m,_){_=_||{};var I=_.separator||"_",P=_.split||/(?=[A-Z])/;return m.split(P).join(I)},u=function(m){return B(m)?m:(m=m.replace(/[\-_\s]+(.)?/g,function(_,I){return I?I.toUpperCase():""}),m.substr(0,1).toLowerCase()+m.substr(1))},l=function(m){var _=u(m);return _.substr(0,1).toUpperCase()+_.substr(1)},a=function(m,_){return i(m,_).toLowerCase()},o=Object.prototype.toString,c=function(m){return typeof m=="function"},h=function(m){return m===Object(m)},s=function(m){return o.call(m)=="[object Array]"},v=function(m){return o.call(m)=="[object Date]"},g=function(m){return o.call(m)=="[object RegExp]"},C=function(m){return o.call(m)=="[object Boolean]"},B=function(m){return m=m-0,m===m},E=function(m,_){var I=_&&"process"in _?_.process:_;return typeof I!="function"?m:function(P,O){return I(P,m,O)}},D={camelize:u,decamelize:a,pascalize:l,depascalize:a,camelizeKeys:function(m,_){return n(E(u,_),m)},decamelizeKeys:function(m,_){return n(E(a,_),m,_)},pascalizeKeys:function(m,_){return n(E(l,_),m)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=D:e.humps=D})(VC)})(HC);var Qa={};Object.defineProperty(Qa,"__esModule",{value:!0});function Tu(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:Tu(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:Tu(i)}return e}}var jC=Qa.default=Tu;function qC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function oe(t){if(t!==void 0)return(typeof t=="undefined"?"undefined":qC(t))==="object"?jC(t):t}function WC(t){return Object.prototype.toString.call(t)==="[object Object]"}function Mn(t){return Array.isArray(t)}function UC(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}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 zC(t){if(Array.isArray(t))return Ru(t)}function Ja(t,e,n,i,u,l,a){try{var o=t[l](a),c=o.value}catch(h){n(h);return}o.done?e(c):Promise.resolve(c).then(i,u)}function KC(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var l=t.apply(e,n);function a(c){Ja(l,i,u,a,o,"next",c)}function o(c){Ja(l,i,u,a,o,"throw",c)}a(void 0)})}}function GC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Za(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 XC(t,e,n){return e&&Za(t.prototype,e),n&&Za(t,n),t}function Ya(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function QC(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function JC(){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 Pu(t){return zC(t)||QC(t)||ZC(t)||JC()}function ZC(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 YC(t,e){var n,i,u,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},a=Object.create((typeof Iterator=="function"?Iterator:Object).prototype),o=Object.defineProperty;return o(a,"next",{value:c(0)}),o(a,"throw",{value:c(1)}),o(a,"return",{value:c(2)}),typeof Symbol=="function"&&o(a,Symbol.iterator,{value:function(){return this}}),a;function c(s){return function(v){return h([s,v])}}function h(s){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(l=0)),l;)try{if(n=1,i&&(u=s[0]&2?i.return:s[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,s[1])).done)return u;switch(i=0,u&&(s=[s[0]&2,u.value]),s[0]){case 0:case 1:u=s;break;case 4:return l.label++,{value:s[1],done:!1};case 5:l.label++,i=s[1],s=[0];continue;case 7:s=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(s[0]===6||s[0]===2)){l=0;continue}if(s[0]===3&&(!u||s[1]>u[0]&&s[1]<u[3])){l.label=s[1];break}if(s[0]===6&&l.label<u[1]){l.label=u[1],u=s;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(s);break}u[2]&&l.ops.pop(),l.trys.pop();continue}s=e.call(t,l)}catch(v){s=[6,v],i=0}finally{n=u=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}var pC=function(){function t(){GC(this,t),Ya(this,"_events",new Map),Ya(this,"debug",!1)}return XC(t,[{key:"emit",value:function(n){for(var i=arguments.length,u=new Array(i>1?i-1:0),l=1;l<i;l++)u[l-1]=arguments[l];return KC(function(){var a,o,c,h,s,v,g,C,B,E,D,m;return YC(this,function(_){switch(_.label){case 0:if(a=this._events.get(n),o=[],!a)return[3,10];c=a.slice(),h=!0,s=!1,v=void 0,_.label=1;case 1:_.trys.push([1,8,9,10]),g=c[Symbol.iterator](),_.label=2;case 2:if(h=(C=g.next()).done)return[3,7];if(B=C.value,!a.includes(B))return[3,6];_.label=3;case 3:return _.trys.push([3,5,,6]),this.debug&&za.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(B.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+B.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"\u3002")].concat(Pu(u))),[4,B.apply(null,Pu(u))];case 4:return E=_.sent(),this.debug&&za.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(B.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+B.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(Pu(u),[E])),o.push(E),E===!1?[3,7]:[3,6];case 5:return D=_.sent(),OC(String(D)+":"+String(D.stack)),[3,6];case 6:return h=!0,[3,2];case 7:return[3,10];case 8:return m=_.sent(),s=!0,v=m,[3,10];case 9:try{!h&&g.return!=null&&g.return()}finally{if(s)throw v}return[7];case 10:return[2,o]}})}).call(this)}},{key:"on",value:function(n,i){if(this._events.has(n)){var u;(u=this._events.get(n))===null||u===void 0||u.push(i)}else this._events.set(n,[i])}},{key:"off",value:function(n,i){if(this._events.has(n)){var u=this._events.get(n),l=u==null?void 0:u.indexOf(i);u==null||u.splice(l,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),t}();function eE(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function pa(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 tE(t,e,n){return e&&pa(t.prototype,e),n&&pa(t,n),t}function nE(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var iE=[{key:"on_click",name:r("CMD.click",null,"\u70B9\u51FB\u65F6"),code:"click"},{key:"on_click_finish",name:r("CMD.finished",null,"\u6267\u884C\u5B8C\u6210\u65F6"),code:"click-finish"},{key:"on_change",name:r("CMD.valueChange",null,"\u503C\u53D1\u751F\u53D8\u5316\u65F6"),code:"change"},{key:"on_search",name:r("CMD.search",null,"\u641C\u7D22\u65F6"),code:"search"},{key:"on_file_actions",name:r("CMD.onClickFileBtn",null,"\u70B9\u51FB\u6587\u4EF6\u6309\u94AE\u65F6"),code:"file-actions"},{key:"on_list_change",name:r("CMD.listDataChange",null,"\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6"),code:"list-change"},{key:"on_list_search",name:r("CMD.listDataCreate",null,"\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6"),code:"list-search"},{key:"on_list_mounted",name:r("CMD.listDataBack",null,"\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6"),code:"list-mounted"},{key:"on_list_delete",name:r("CMD.listDataDelete",null,"\u5217\u8868\u6570\u636E\u5220\u9664\u65F6"),code:"list-delete"},{key:"on_list_before_insert",name:r("CMD.listDataAdd",null,"\u5217\u8868\u6570\u636E\u63D2\u5165\u524D"),code:"list-before-insert"},{key:"on_input",name:r("CMD.onInput",null,"\u7528\u6237\u8F93\u5165\u65F6"),code:"input"},{key:"on_blur",name:r("CMD.onBlur",null,"\u5931\u53BB\u7126\u70B9\u65F6"),code:"blur"},{key:"on_focus",name:r("CMD.onFocus",null,"\u83B7\u53D6\u7126\u70B9\u65F6"),code:"focus"},{key:"on_wps_open",name:r("CMD.onOpenFile",null,"\u6253\u5F00\u6587\u4EF6\u65F6"),code:"wps-open"},{key:"on_wps_save",name:r("CMD.onSaveFile",null,"\u4FDD\u5B58\u6587\u4EF6\u65F6"),code:"wps-save"},{key:"on_wps_rename",name:r("CMD.rename",null,"\u91CD\u547D\u540D\u65F6"),code:"wps-rename"},{key:"on_list_actions",name:r("CMD.onClickBtn",null,"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6"),code:"list-actions"},{key:"on_list_render_operation",name:r("CMD.cellRender",null,"\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6"),code:"list-render-operation"},{key:"on_list_rowclick",name:r("CMD.rowClick",null,"\u884C\u70B9\u51FB\u65F6"),code:"list-rowclick"},{key:"on_list_before_rowdelete",name:r("CMD.rowDelete",null,"\u884C\u5220\u9664\u524D"),code:"list-before-rowdelete"},{key:"on_list_before_import",name:r("CMD.listDataImport",null,"\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D"),code:"list-before-import"},{key:"on_list_rows_checked",name:r("CMD.rowSelected",null,"\u884C\u9009\u4E2D\u65F6"),code:"list-rows-checked"},{key:"on_change_tab",name:r("CMD.tabChange",null,"\u6807\u7B7E\u9875\u5207\u6362\u65F6"),code:"change-tab"},{key:"on_modal_ok",name:r("CMD.modalConfirm",null,"\u5F39\u7A97\u786E\u8BA4\u65F6"),code:"modal-ok"},{key:"on_change_steps",name:r("CMD.stepsChange",null,"\u6B65\u9AA4\u5207\u6362\u65F6"),code:"change-steps"},{key:"on_option_selected",name:r("CMD.optionSelected",null,"DOM\u70B9\u51FBoption\u4E8B\u4EF6"),code:"option_selected"}],uE=function(){function t(){eE(this,t)}return tE(t,null,[{key:"getEventsFromKeys",value:function(n){var i=typeof n=="string"?[n]:n;return t.events.filter(function(u){return i.includes(u.key)})}},{key:"getEventsFromControl",value:function(n){var i=[],u=n.eventKeys;i=i.concat(t.events.filter(function(a){return u.includes(a.key)}));var l=n.customEvents.map(function(a){var o=a.key;return a.namespace!==void 0&&a.namespace!==null&&a.namespace!==""&&(o=a.namespace+":"+a.key),{key:o,code:a.key,name:a.name}});return i=i.concat(l),i}}]),t}();nE(uE,"events",iE);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 lE(t){if(Array.isArray(t))return xu(t)}function aE(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function rE(){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 lE(t)||aE(t)||oE(t)||rE()}function oE(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 ku(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function tr(t,e,n){n!=="Runtime"&&(t.parent=e,ku(t,"parent"))}function cE(t,e,n){t.forEach(function(i){tr(i,e,n)})}var nr=Symbol("targetKey");function ir(t){var e;return(e=t[nr])!==null&&e!==void 0?e:t}function ur(t,e,n){return cE(t,e,n),new Proxy(t,{get:function(u,l){for(var a=arguments.length,o=new Array(a>2?a-2:0),c=2;c<a;c++)o[c-2]=arguments[c];var h;return l===nr?u:(h=Reflect).get.apply(h,[u,l].concat(er(o)))},set:function(u,l,a){for(var o=arguments.length,c=new Array(o>3?o-3:0),h=3;h<o;h++)c[h-3]=arguments[h];var s;if(Mn(t)&&l==="length"&&a===t.length)return!0;var v=(s=Reflect).set.apply(s,[u,l,a].concat(er(c)));return WC(a)&&tr(a,e,n),v}})}function de(t,e,n,i,u){var l=i!=null?i:t,a=ur(ir(n!=null?n:[]),l,u);Object.defineProperty(t,e,{get:function(){return a},set:function(c){a=ur(ir(c),l,u)},enumerable:!0})}function sE(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function lr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function dE(t,e,n){return e&&lr(t.prototype,e),n&&lr(t,n),t}function De(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var ar=[],$n=function(){function t(e){sE(this,t),De(this,"registeredControlTypes",new Set),De(this,"controlConfigMap",new Map),De(this,"_controls",[]),De(this,"_type",void 0),this._type=e,this._initControls(e)}return dE(t,[{key:"registerControlConfig",value:function(n,i){return this.controlConfigMap.set(n,i),this}},{key:"getControlConfig",value:function(n){return this.controlConfigMap.get(n)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(n){n.__is_control__||Mt("".concat(n.name," is not a Control"));var i=this._controls.findIndex(function(u){return u.controlType===n.controlType});return i>-1&&(Su("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===kn.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===kn.FORM}},{key:"isListControl",value:function(n){return n.controlType===kn.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===kn.COLUMN}},{key:"createControl",value:function(n,i){var u=this;if(Array.isArray(n))return n.map(function(s){return u.createControl(s,i)});if(n.children&&(n.children=n.children.map(function(s){return u.createControl(s,i)})),this.isListControl(n)){var l=n.props;l.headers&&(l.headers=l.headers.map(function(s){return u.createControl(s,i)}))}var a=this.getControlFormType(n.type);if(a){var o=n;if(typeof i=="function"){var c=i(o);c&&(o=c)}var h;return a.mode==="Runtime"?(h=o,h.fieldType=a.controlFieldType,this._setParentPrototypeToSchema(h,this)):h=new a(o),h}else Mt("The constructor of ".concat(n.type," could not be found, please confirm that the constructor has been registered"))}},{key:"resetInstanceParent",value:function(n,i){delete n.parent,Object.defineProperty(n,"parent",{configurable:!0,get:function(){return i}}),ku(n,"parent")}},{key:"_setParentPrototypeToSchema",value:function(n,i){i._type==="Runtime"&&(Object.defineProperty(n,"parent",{configurable:!0,get:function(){var l=n.id,a=i._controlParentIdMap,o=i.instanceMap;if(!(!a||!o)){var c=a[l],h=o[l];if(!(!c&&!h)){var s=h.findIndex(function(C){return C==n}),v=o[c]||[],g;return v.length!==h.length?g=v[0]:g=v[s],g}}}}),ku(n,"parent"))}},{key:"createControlInstance",value:function(n,i){var u=this.getControlFormType(n);if(u)return new u(i)}},{key:"getControlFormType",value:function(n){return this._controls.find(function(i){return i.controlType===n})}},{key:"_initControls",value:function(n){var i=this;this.constructor.staticControls.forEach(function(u){i.register(u[n]),t.staticControlsRuntimeRules.set(u.Runtime.controlType,u.Property.RuntimeRules),u.Property.mode=n})}}],[{key:"staticGetRules",value:function(n,i){var u=t.staticControlsRuntimeRules.get(n),l=[];if(u){var a=new u(i);l=Array.from(a)}return l}},{key:"register",value:function(n,i){var u=n.Designer,l=n.Runtime,a=n.Property;(!u||!l||!u.__is_control__||!l.__is_control__)&&Mt("".concat(n," is can't register as a Control"));var o=this.staticControls.findIndex(function(c){return c.Designer.controlType===u.controlType});return o>-1&&(Su("The ".concat(u.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(o,1)),this.staticRegisteredTypes.add(u.controlType),this.staticControls.push(n),a.mode=i,this}}]),t}();De($n,"staticControlsRuntimeRules",new Map),De($n,"staticControls",ar),De($n,"staticRegisteredTypes",new Set(ar.map(function(t){return t.Designer.controlType}))),De($n,"staticRegisteredConfigs",new Map);function hE(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ae(t,e,n){return e=Ln(e),fE(t,rr()?Reflect.construct(e,n||[],Ln(t).constructor):e.apply(t,n))}function w(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(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 re(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ou(t,e)}function fE(t,e){return e&&(yE(e)==="object"||typeof e=="function")?e:hE(t)}function Ou(t,e){return Ou=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ou(t,e)}function yE(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function rr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(rr=function(){return!!t})()}var he=function t(e){w(this,t);var n,i,u;f(this,"dataCode",void 0),f(this,"fieldCode",void 0),f(this,"fieldType",void 0),f(this,"aliasCode",void 0),this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"",this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"",this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"",this.aliasCode=e==null?void 0:e.aliasCode},or=function t(e){w(this,t);var n,i;f(this,"minWidth",void 0),f(this,"maxWidth",void 0),f(this,"flex",void 0),this.minWidth=(n=e==null?void 0:e.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=e==null?void 0:e.maxWidth,this.flex=(i=e==null?void 0:e.flex)!==null&&i!==void 0?i:1},cr=function t(e){w(this,t);var n,i,u,l;f(this,"rowHeightType",void 0),f(this,"minRows",void 0),f(this,"maxRows",void 0),f(this,"fiexdRow",void 0),this.rowHeightType=(n=e==null?void 0:e.rowHeightType)!==null&&n!==void 0?n:"fixed",this.minRows=(i=e==null?void 0:e.minRows)!==null&&i!==void 0?i:4,this.maxRows=(u=e==null?void 0:e.maxRows)!==null&&u!==void 0?u:20,this.fiexdRow=(l=e==null?void 0:e.fiexdRow)!==null&&l!==void 0?l:4},vE=function t(e){w(this,t),f(this,"pc",void 0),f(this,"mobile",void 0),this.pc=new cr(e==null?void 0:e.pc),this.mobile=new cr(e==null?void 0:e.mobile)},Mu=function(t){re(e,t);function e(n){w(this,e);var i,u,l;return i=ae(this,e,[n]),f(i,"width",void 0),f(i,"widthType",void 0),i.width=(u=n==null?void 0:n.width)!==null&&u!==void 0?u:240,i.widthType=(l=n==null?void 0:n.widthType)!==null&&l!==void 0?l:"auto",i}return e}(or),mE=function t(e){w(this,t),f(this,"pc",void 0),f(this,"mobile",void 0),this.pc=new Mu(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new Mu(e==null?void 0:e.mobile):new Mu({width:130,minWidth:180})},gE=function t(e){w(this,t);var n,i;f(this,"type",void 0),f(this,"customOptions",void 0),this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"firstThree",this.customOptions=(i=e==null?void 0:e.customOptions)!==null&&i!==void 0?i:[]},ut=function t(e){w(this,t);var n,i,u;f(this,"dataCode",void 0),f(this,"formKey",void 0),f(this,"appId",void 0),this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"",this.formKey=(i=e==null?void 0:e.formKey)!==null&&i!==void 0?i:"",this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:""},bE=function(t){re(e,t);function e(n){w(this,e);var i,u;return i=ae(this,e,[n]),f(i,"primaryControlId",void 0),i.primaryControlId=(u=n==null?void 0:n.primaryControlId)!==null&&u!==void 0?u:"",i}return e}(ut),sr=function t(e){w(this,t);var n,i;f(this,"fieldCode",void 0),f(this,"dataCode",void 0),this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:"",this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:""},$u=function t(e){w(this,t);var n,i,u,l;f(this,"appId",void 0),f(this,"formKey",void 0),f(this,"headers",void 0),this.appId=(n=e==null?void 0:e.appId)!==null&&n!==void 0?n:"",this.formKey=(i=e==null?void 0:e.formKey)!==null&&i!==void 0?i:"",this.headers=(u=e==null||(l=e.headers)===null||l===void 0?void 0:l.map(function(a){return new sr(a)}))!==null&&u!==void 0?u:[]},CE=function t(e){w(this,t);var n,i,u;f(this,"fieldName",void 0),f(this,"fieldCode",void 0),f(this,"fieldType",void 0),this.fieldName=(n=e==null?void 0:e.fieldName)!==null&&n!==void 0?n:"",this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"",this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:b.VARCHAR},EE=function(t){re(e,t);function e(n){w(this,e);var i,u,l,a,o;return i=ae(this,e,[n]),f(i,"title",void 0),f(i,"svcCode",void 0),f(i,"isOpenFilter",void 0),f(i,"filters",void 0),i.title=(u=n==null?void 0:n.title)!==null&&u!==void 0?u:"",i.svcCode=(l=n==null?void 0:n.svcCode)!==null&&l!==void 0?l:"",i.isOpenFilter=(a=n==null?void 0:n.isOpenFilter)!==null&&a!==void 0?a:!1,i.filters=(o=n==null?void 0:n.filters)!==null&&o!==void 0?o:[],i}return e}(ut),_E=function t(e){w(this,t);var n,i,u,l;f(this,"type","sublist-page"),f(this,"formBind",void 0),f(this,"displayFields",void 0),f(this,"sublists",void 0),this.formBind=new ut(e==null?void 0:e.formBind),this.displayFields=(n=e==null||(u=e.displayFields)===null||u===void 0?void 0:u.map(function(a){return new CE(a)}))!==null&&n!==void 0?n:[],this.sublists=(i=e==null||(l=e.sublists)===null||l===void 0?void 0:l.map(function(a){return new EE(a)}))!==null&&i!==void 0?i:[]},BE=function t(e){w(this,t),f(this,"type",void 0),f(this,"value",void 0),f(this,"dataCode",void 0),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value,this.dataCode=e==null?void 0:e.dataCode},we=function t(e){w(this,t);var n,i,u;f(this,"type",void 0),f(this,"value",void 0),f(this,"displayBos",void 0),this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"custom",this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:[],this.displayBos=(u=e==null?void 0:e.displayBos)!==null&&u!==void 0?u:[]},Lu=function t(e){var n=this;w(this,t);var i,u,l,a;f(this,"id",void 0),f(this,"ruleId",void 0),f(this,"type","conditions"),f(this,"level",void 0),f(this,"value",void 0),f(this,"children",void 0),this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:se(),this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf(),this.level=(l=e==null?void 0:e.level)!==null&&l!==void 0?l:0,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(o){if(o.children!==void 0){var c,h=new t(o);(c=n.children)===null||c===void 0||c.push(h)}else{var s,v=new Nn(o);(s=n.children)===null||s===void 0||s.push(v)}}))},Nn=function t(e){w(this,t);var n,i,u,l,a;f(this,"id",void 0),f(this,"ruleId",void 0),f(this,"type","condition"),f(this,"symbol",void 0),f(this,"checked",void 0),f(this,"describe",void 0),f(this,"leftVariableBo",void 0),f(this,"rightVariableBo",void 0),this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:se(),this.ruleId=(i=e==null?void 0:e.ruleId)!==null&&i!==void 0?i:new Date().valueOf(),this.symbol=(u=e==null?void 0:e.symbol)!==null&&u!==void 0?u:"",this.checked=(l=e==null?void 0:e.checked)!==null&&l!==void 0?l:!1,this.describe=(a=e==null?void 0:e.describe)!==null&&a!==void 0?a:"",this.leftVariableBo=new BE(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new we(e==null?void 0:e.rightVariableBo)},DE=function t(e){w(this,t);var n,i;f(this,"aliasCode",void 0),f(this,"datasourceBind",void 0),f(this,"relationFields",void 0),this.aliasCode=(n=e==null?void 0:e.aliasCode)!==null&&n!==void 0?n:"",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.relationFields=(i=e==null?void 0:e.relationFields)!==null&&i!==void 0?i:[]},ee=function t(e){w(this,t);var n,i,u,l;f(this,"controlId",void 0),f(this,"fieldCode",void 0),f(this,"fieldType",void 0),f(this,"propName",void 0),this.controlId=(n=e==null?void 0:e.controlId)!==null&&n!==void 0?n:"",this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"",this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"",this.propName=(l=e==null?void 0:e.propName)!==null&&l!==void 0?l:""},Nu=function t(e){w(this,t);var n,i;f(this,"type",void 0),f(this,"value",void 0),f(this,"fieldType",void 0),this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"FIELD",this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:"",this.fieldType=e==null?void 0:e.fieldType},wE=function t(e){w(this,t);var n,i;f(this,"columnName",void 0),f(this,"desc",void 0),this.columnName=(n=e.columnName)!==null&&n!==void 0?n:"",this.desc=(i=e.desc)!==null&&i!==void 0?i:!1};function Vu(t){var e,n,i,u,l,a;this.filters=(e=t==null||(u=t.filters)===null||u===void 0?void 0:u.map(function(o){return o.children!==void 0?new Lu(o):new Nn(o)}))!==null&&e!==void 0?e:[],this.viewFilters=(n=t==null||(l=t.viewFilters)===null||l===void 0?void 0:l.map(function(o){return o.children!==void 0?new Lu(o):new Nn(o)}))!==null&&n!==void 0?n:[],this.orders=(i=t==null||(a=t.orders)===null||a===void 0?void 0:a.map(function(o){return new wE(o)}))!==null&&i!==void 0?i:[]}var Z=function t(e){var n=this;w(this,t);var i,u,l,a,o,c,h,s;f(this,"dataCode",void 0),f(this,"valueFieldCode",void 0),f(this,"displayBoList",void 0),f(this,"keywordMapping",void 0),f(this,"svcCode",void 0),f(this,"appId",void 0),f(this,"filters",void 0),f(this,"viewFilters",void 0),f(this,"isOpenViewFilters",void 0),f(this,"orders",void 0),f(this,"showOrder",void 0),f(this,"assignDepartment",void 0),f(this,"openAssignDepartment",void 0),this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"",this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"",this.valueFieldCode=(l=e==null?void 0:e.valueFieldCode)!==null&&l!==void 0?l:"",this.displayBoList=[],this.isOpenViewFilters=(a=e==null?void 0:e.isOpenViewFilters)!==null&&a!==void 0?a:0,Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(function(v){var g;(g=n.displayBoList)===null||g===void 0||g.push(new Nu(v))})),this.keywordMapping=(o=e==null?void 0:e.keywordMapping)!==null&&o!==void 0?o:"",this.showOrder=(c=e==null?void 0:e.showOrder)!==null&&c!==void 0?c:!0,this.svcCode=(h=e==null?void 0:e.svcCode)!==null&&h!==void 0?h:"",this.assignDepartment=new we(e==null?void 0:e.assignDepartment),this.openAssignDepartment=(s=e==null?void 0:e.openAssignDepartment)!==null&&s!==void 0?s:!1,Vu.call(this,e)},Hu=function t(e){w(this,t);var n,i;f(this,"dataCode",void 0),f(this,"displayBoList",void 0),this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"",this.displayBoList=(i=e==null?void 0:e.displayBoList)!==null&&i!==void 0?i:[]},ve=function t(e){w(this,t);var n,i,u,l,a,o,c,h,s,v;f(this,"code",void 0),f(this,"color",void 0),f(this,"command",void 0),f(this,"confirmMessage",void 0),f(this,"defaultState",void 0),f(this,"formKey",void 0),f(this,"formType",void 0),f(this,"icon",void 0),f(this,"needConfirm",void 0),f(this,"openType",void 0),f(this,"priorityProcess",void 0),this.code=(n=e==null?void 0:e.code)!==null&&n!==void 0?n:"view",this.color=(i=e==null?void 0:e.color)!==null&&i!==void 0?i:"primary",this.command=(u=e==null?void 0:e.command)!==null&&u!==void 0?u:"view",this.confirmMessage=(l=e==null?void 0:e.confirmMessage)!==null&&l!==void 0?l:void 0,this.defaultState=(a=e==null?void 0:e.defaultState)!==null&&a!==void 0?a:"default",this.formKey=(o=e==null?void 0:e.formKey)!==null&&o!==void 0?o:void 0,this.formType=e==null?void 0:e.formType,this.icon=(c=e==null?void 0:e.icon)!==null&&c!==void 0?c:"iconliulan1",this.needConfirm=(h=e==null?void 0:e.needConfirm)!==null&&h!==void 0?h:!1,this.openType=(s=e==null?void 0:e.openType)!==null&&s!==void 0?s:"modal",this.priorityProcess=(v=e==null?void 0:e.priorityProcess)!==null&&v!==void 0?v:!0},dr=function t(e){w(this,t);var n,i,u,l;f(this,"name",void 0),f(this,"key",void 0),f(this,"value",void 0),this.name=(n=e==null?void 0:e.name)!==null&&n!==void 0?n:"",this.key=(i=e==null?void 0:e.key)!==null&&i!==void 0?i:"",this.value=(u=e==null||(l=e.value)===null||l===void 0?void 0:l.map(function(a){return new Nu(a)}))!==null&&u!==void 0?u:[]},Vn=function(t){re(e,t);function e(n){w(this,e);var i,u,l;return i=ae(this,e,[n]),f(i,"attributes",void 0),i.attributes=(u=n==null||(l=n.attributes)===null||l===void 0?void 0:l.map(function(a){return new dr(a)}))!==null&&u!==void 0?u:[],i}return e}(Z),FE=function(t){re(e,t);function e(n){w(this,e);var i,u,l,a;return i=ae(this,e,[n]),f(i,"attributes",void 0),f(i,"formCode",void 0),i.attributes=(u=n==null||(a=n.attributes)===null||a===void 0?void 0:a.map(function(o){return new dr(o)}))!==null&&u!==void 0?u:[],i.formCode=(l=n==null?void 0:n.formCode)!==null&&l!==void 0?l:"",i}return e}(Z),hr=function(t){re(e,t);function e(n){w(this,e);var i,u;return i=ae(this,e,[n]),f(i,"rootNode",void 0),f(i,"filterCode",void 0),i.rootNode=new we(n==null?void 0:n.rootNode),i.filterCode=(u=n==null?void 0:n.filterCode)!==null&&u!==void 0?u:"",i}return e}(Vn),fr=function t(e){w(this,t);var n,i,u,l;f(this,"dataCode",void 0),f(this,"appId",void 0),f(this,"fillList",void 0),this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"",this.appId=(i=e==null?void 0:e.appId)!==null&&i!==void 0?i:"",this.fillList=(u=e==null||(l=e.fillList)===null||l===void 0?void 0:l.map(function(a){return new ee(a)}))!==null&&u!==void 0?u:[]},yr=function(t){re(e,t);function e(n){w(this,e);var i;return i=ae(this,e,[n]),f(i,"filters",void 0),f(i,"viewFilters",void 0),f(i,"orders",void 0),Vu.call(i,n),i}return e}(fr),vr=function(t){re(e,t);function e(n){w(this,e);var i,u,l;return i=ae(this,e,[n]),f(i,"mode",void 0),f(i,"multiple",void 0),i.mode=(u=n==null?void 0:n.mode)!==null&&u!==void 0?u:"current",i.multiple=(l=n==null?void 0:n.multiple)!==null&&l!==void 0?l:!1,i}return e}(fr),mr=function t(e){w(this,t);var n,i,u;f(this,"stencilName",void 0),f(this,"expression",void 0),f(this,"errMessage",void 0),this.stencilName=(n=e==null?void 0:e.stencilName)!==null&&n!==void 0?n:"",this.expression=(i=e==null?void 0:e.expression)!==null&&i!==void 0?i:"",this.errMessage=(u=e==null?void 0:e.errMessage)!==null&&u!==void 0?u:""},gr=function t(e){w(this,t);var n,i,u;f(this,"id",void 0),f(this,"label",void 0),f(this,"value",void 0),this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:se(8),this.label=(i=e==null?void 0:e.label)!==null&&i!==void 0?i:"",this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:this.label},AE=function(t){re(e,t);function e(n){w(this,e);var i,u,l;return i=ae(this,e,[n]),f(i,"cueWord",void 0),f(i,"checked",void 0),i.cueWord=(u=n==null?void 0:n.cueWord)!==null&&u!==void 0?u:"",i.checked=(l=n==null?void 0:n.checked)!==null&&l!==void 0?l:!1,i}return e}(gr);function me(t){var e;return(e=t==null?void 0:t.map(function(n){return new gr(n)}))!==null&&e!==void 0?e:[]}function br(t){var e;return(e=t==null?void 0:t.map(function(n){return new AE(n)}))!==null&&e!==void 0?e:[]}var ju=function t(){w(this,t)},SE=function(t){re(e,t);function e(n){w(this,e);var i;return i=ae(this,e),f(i,"amount",void 0),f(i,"currency",void 0),i.amount=new he(n==null?void 0:n.amount),i.currency=new he(n==null?void 0:n.currency),i}return e}(ju),IE=function t(e){w(this,t);var n,i;f(this,"amount",void 0),f(this,"currency",void 0),this.amount=(n=e==null?void 0:e.amount)!==null&&n!==void 0?n:"",this.currency=(i=e==null?void 0:e.currency)!==null&&i!==void 0?i:"CNY"},TE=function(t){re(e,t);function e(n){w(this,e);var i;return i=ae(this,e),f(i,"min",void 0),f(i,"max",void 0),i.min=new he(n==null?void 0:n.min),i.max=new he(n==null?void 0:n.max),i}return e}(ju),RE=function t(e){w(this,t);var n,i;f(this,"min",void 0),f(this,"max",void 0),this.min=(n=e==null?void 0:e.min)!==null&&n!==void 0?n:"",this.max=(i=e==null?void 0:e.max)!==null&&i!==void 0?i:""},PE=function t(e){w(this,t);var n,i,u,l,a,o;f(this,"city",void 0),f(this,"cityDisplay",void 0),f(this,"district",void 0),f(this,"districtDisplay",void 0),f(this,"province",void 0),f(this,"provinceDisplay",void 0),this.city=(n=e==null?void 0:e.city)!==null&&n!==void 0?n:"",this.cityDisplay=(i=e==null?void 0:e.cityDisplay)!==null&&i!==void 0?i:"",this.district=(u=e==null?void 0:e.district)!==null&&u!==void 0?u:"",this.districtDisplay=(l=e==null?void 0:e.districtDisplay)!==null&&l!==void 0?l:"",this.province=(a=e==null?void 0:e.province)!==null&&a!==void 0?a:"",this.provinceDisplay=(o=e==null?void 0:e.provinceDisplay)!==null&&o!==void 0?o:""},xE=function(t){re(e,t);function e(n){w(this,e);var i;return i=ae(this,e),f(i,"result",void 0),f(i,"unit",void 0),i.result=new he(n==null?void 0:n.result),i.unit=new he(n==null?void 0:n.unit),i}return e}(ju),kE=function t(e){w(this,t);var n,i;f(this,"result",void 0),f(this,"unit",void 0),this.result=(n=e==null?void 0:e.result)!==null&&n!==void 0?n:0,this.unit=(i=e==null?void 0:e.unit)!==null&&i!==void 0?i:""},OE=function(t){return t.CNY="CNY",t.USD="USD",t.JPY="JPY",t.EUR="EUR",t.INR="INR",t.IDR="IDR",t.BRL="BRL",t.AED="AED",t.AUD="AUD",t.CAD="CAD",t.EGP="EGP",t.GBP="GBP",t.ZAR="ZAR",t.KRW="KRW",t.MAD="MAD",t.MXN="MXN",t.MYR="MYR",t.PHP="PHP",t.PLN="PLN",t.RUB="RUB",t.SGD="SGD",t.THB="THB",t.TRY="TRY",t.TWD="TWD",t.VND="VND",t.HKD="HKD",t.IEP="IEP",t}({}),d=function(t){return t.DEFAULT_DISPLAY="defaultDisplay",t.REQUIRED="required",t.IS_HIDE="isHide",t.IS_SHOW_UNIT="isShowUnit",t.IMD_SEARCH="immediatelySearch",t.MULTIPLE="multiple",t.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",t.CAPTION="caption",t.IS_HIDE_CAPTION="isHideCaption",t.DEFAULT_SHOW_OPTIONS="defaultShowOptions",t.CAN_SEARCH="canSearch",t.CAN_CHECK="canCheck",t.CAN_EDIT="canEdit",t.CAN_DELETE="canDelete",t.SHOW_UPPER_CASE="showUpperCase",t.MICROMETER="micrometer",t.PRECISION="precision",t.PERCENTAGE="percentage",t.OPTIONAL_LEVEL="optionalLevel",t.CONTAINS_SUB_NODE="containsSubNode",t.DEFAULT_COLLAPSE="defaultCollapse",t.CAN_VIEW_FORM="canViewForm",t.VIEW_FORM_MODEL_TYPE="viewFormModelType",t.SERVER_PAGINATION="serverPagination",t.IS_SHOW_CAPTION_TIP="isShowCaptionTip",t.IS_SHOW_WATERMARK="isShowWatermark",t.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions",t.IS_PASTE="isPaste",t.SORTABLE="sortable",t.IS_SHOW_SIMPLE_SEARCH="isShowSimpleSearch",t.IS_SHOW_TOOL_BAE="isShowToolbar",t.MAIN_DEPT_FLAG="mainDeptFlag",t.IS_INTERNATIONAL="isInternational",t.SHOW_TABLE_INDEX="showTableIndex",t.CAPTION_SIZE="captionSize",t.CAPTION_COLOR="captionColor",t.IS_CAPTION_ITALIC="isCaptionItalic",t.CAPTION_FONT_WEIGHT="captionFontWeight",t}({}),ME=function(t){return t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT",t}({}),Fe=function t(e){w(this,t);var n,i,u,l,a,o;f(this,"isShow",void 0),f(this,"priorityProcess",void 0),f(this,"formKey",void 0),f(this,"content",void 0),f(this,"openType",void 0),f(this,"type",void 0),this.isShow=(n=e==null?void 0:e.isShow)!==null&&n!==void 0?n:!0,this.content=(i=e==null?void 0:e.content)!==null&&i!==void 0?i:"",this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"",this.openType=(l=e==null?void 0:e.openType)!==null&&l!==void 0?l:"modal",this.type=(a=e==null?void 0:e.type)!==null&&a!==void 0?a:"",this.priorityProcess=(o=e==null?void 0:e.priorityProcess)!==null&&o!==void 0?o:!1},$E=function t(e){w(this,t);var n,i,u,l;f(this,"id",void 0),f(this,"title",void 0),f(this,"filters",void 0),f(this,"viewFilters",void 0),f(this,"headers",void 0),this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:se(8),this.title=(i=e==null?void 0:e.title)!==null&&i!==void 0?i:"",this.headers=(u=e==null||(l=e.headers)===null||l===void 0?void 0:l.map(function(a){return new sr(a)}))!==null&&u!==void 0?u:[],Vu.call(this,e)},LE=function t(e){w(this,t);var n,i,u,l;f(this,"width",void 0),f(this,"height",void 0),f(this,"widthConfig",void 0),f(this,"heightConfig",void 0),this.width=(n=e==null?void 0:e.width)!==null&&n!==void 0?n:"",this.height=(i=e==null?void 0:e.height)!==null&&i!==void 0?i:"",this.widthConfig=(u=e==null?void 0:e.widthConfig)!==null&&u!==void 0?u:"fill",this.heightConfig=(l=e==null?void 0:e.heightConfig)!==null&&l!==void 0?l:"fill"},NE=function t(e){w(this,t);var n,i;f(this,"optCode",void 0),f(this,"optType",void 0),this.optCode=(n=e==null?void 0:e.optCode)!==null&&n!==void 0?n:"",this.optType=(i=e==null?void 0:e.optType)!==null&&i!==void 0?i:""},VE=function t(e){w(this,t);var n,i,u,l,a,o;f(this,"id",void 0),f(this,"name",void 0),f(this,"settings",void 0),f(this,"filters",void 0),f(this,"script",void 0),this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:se(),this.name=(i=e==null?void 0:e.name)!==null&&i!==void 0?i:"",this.filters=(u=e==null||(a=e.filters)===null||a===void 0?void 0:a.map(function(c){return c.children!==void 0?new Lu(c):new Nn(c)}))!==null&&u!==void 0?u:[],this.settings=(e==null?void 0:e.settings)&&Array.isArray(e==null?void 0:e.settings)?(l=e==null||(o=e.settings)===null||o===void 0?void 0:o.map(function(c){return new HE(c)}))!==null&&l!==void 0?l:[]:[],this.script=e==null?void 0:e.script},HE=function t(e){w(this,t);var n,i,u,l;f(this,"color",void 0),f(this,"fieldCodes",void 0),f(this,"type",void 0),f(this,"scope",void 0),this.type=(n=e.type)!==null&&n!==void 0?n:"background",this.fieldCodes=(i=e.fieldCodes)!==null&&i!==void 0?i:[],this.color=(u=e.color)!==null&&u!==void 0?u:"theme",this.scope=(l=e.scope)!==null&&l!==void 0?l:"row"},jE=function t(e){w(this,t);var n,i,u,l;f(this,"type",void 0),f(this,"interval",void 0),f(this,"rules",void 0),this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"none",this.interval=(i=e==null?void 0:e.interval)!==null&&i!==void 0?i:{color:""},this.rules=(e==null?void 0:e.rules)&&Array.isArray(e==null?void 0:e.rules)?(u=e==null||(l=e.rules)===null||l===void 0?void 0:l.map(function(a){return new VE(a)}))!==null&&u!==void 0?u:[]:[]};function qE(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function WE(t,e,n){return e=$t(e),KE(t,Uu()?Reflect.construct(e,n||[],$t(t).constructor):e.apply(t,n))}function qu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Hn(t,e,n){return Uu()?Hn=Reflect.construct:Hn=function(u,l,a){var o=[null];o.push.apply(o,l);var c=Function.bind.apply(u,o),h=new c;return a&&Lt(h,a.prototype),h},Hn.apply(null,arguments)}function ge(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function $t(t){return $t=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$t(t)}function UE(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Lt(t,e)}function zE(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function KE(t,e){return e&&(GE(e)==="object"||typeof e=="function")?e:qE(t)}function Lt(t,e){return Lt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Lt(t,e)}function GE(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Wu(t){var e=typeof Map=="function"?new Map:void 0;return Wu=function(i){if(i===null||!zE(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return Hn(i,arguments,$t(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Lt(u,i)},Wu(t)}function Uu(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Uu=function(){return!!t})()}var j=function t(e){qu(this,t),ge(this,"isHide",{type:"boolean"})},Me=function(t){UE(e,t);function e(n){return qu(this,e),WE(this,e)}return e}(Wu(Array)),q=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";qu(this,t);var i,u;ge(this,"isHide",void 0),ge(this,"className",void 0),ge(this,"style",void 0),ge(this,"caption",void 0),ge(this,"defaultState",void 0),this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new LE(e==null?void 0:e.style),this.caption=(u=e==null?void 0:e.caption)!==null&&u!==void 0?u:n};ge(q,"mode",void 0),ge(q,"Rules",j),ge(q,"RuntimeRules",Me);function fe(){return fe=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},fe.apply(this,arguments)}function XE(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function zu(t){return zu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zu(t)}function jn(t,e){return jn=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},jn(t,e)}function QE(){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 qn(t,e,n){return QE()?qn=Reflect.construct:qn=function(u,l,a){var o=[null];o.push.apply(o,l);var c=Function.bind.apply(u,o),h=new c;return a&&jn(h,a.prototype),h},qn.apply(null,arguments)}function JE(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Ku(t){var e=typeof Map=="function"?new Map:void 0;return Ku=function(i){if(i===null||!JE(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 qn(i,arguments,zu(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),jn(u,i)},Ku(t)}var ZE=/%[sdj%]/g,Cr=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Cr=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function Gu(t){if(!t||!t.length)return null;var e={};return t.forEach(function(n){var i=n.field;e[i]=e[i]||[],e[i].push(n)}),e}function te(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=1,u=e[0],l=e.length;if(typeof u=="function")return u.apply(null,e.slice(1));if(typeof u=="string"){var a=String(u).replace(ZE,function(o){if(o==="%%")return"%";if(i>=l)return o;switch(o){case"%s":return String(e[i++]);case"%d":return Number(e[i++]);case"%j":try{return JSON.stringify(e[i++])}catch(c){return"[Circular]"}break;default:return o}});return a}return u}function YE(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function K(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||YE(e)&&typeof t=="string"&&!t)}function pE(t,e,n){var i=[],u=0,l=t.length;function a(o){i.push.apply(i,o),u++,u===l&&n(i)}t.forEach(function(o){e(o,a)})}function Er(t,e,n){var i=0,u=t.length;function l(a){if(a&&a.length){n(a);return}var o=i;i=i+1,o<u?e(t[o],l):n([])}l([])}function e_(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var _r=function(t){XE(e,t);function e(n,i){var u;return u=t.call(this,"Async Validation Error")||this,u.errors=n,u.fields=i,u}return e}(Ku(Error));function t_(t,e,n,i){if(e.first){var u=new Promise(function(v,g){var C=function(D){return i(D),D.length?g(new _r(D,Gu(D))):v()},B=e_(t);Er(B,n,C)});return u.catch(function(v){return v}),u}var l=e.firstFields||[];l===!0&&(l=Object.keys(t));var a=Object.keys(t),o=a.length,c=0,h=[],s=new Promise(function(v,g){var C=function(E){if(h.push.apply(h,E),c++,c===o)return i(h),h.length?g(new _r(h,Gu(h))):v()};a.length||(i(h),v()),a.forEach(function(B){var E=t[B];l.indexOf(B)!==-1?Er(E,n,C):pE(E,n,C)})});return s.catch(function(v){return v}),s}function Br(t){return function(e){return e&&e.message?(e.field=e.field||t.fullField,e):{message:typeof e=="function"?e():e,field:e.field||t.fullField}}}function Dr(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]=fe(fe({},t[n]),i):t[n]=i}}return t}function wr(t,e,n,i,u,l){t.required&&(!n.hasOwnProperty(t.field)||K(e,l||t.type))&&i.push(te(u.messages.required,t.fullField))}function n_(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(te(u.messages.whitespace,t.fullField))}var Xu={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},Nt={integer:function(e){return Nt.number(e)&&parseInt(e,10)===e},float:function(e){return Nt.number(e)&&!Nt.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(n){return!1}},date:function(e){return typeof e.getTime=="function"&&typeof e.getMonth=="function"&&typeof e.getYear=="function"&&!isNaN(e.getTime())},number:function(e){return isNaN(e)?!1:typeof e=="number"},object:function(e){return typeof e=="object"&&!Nt.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(Xu.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(Xu.url)},hex:function(e){return typeof e=="string"&&!!e.match(Xu.hex)}};function i_(t,e,n,i,u){if(t.required&&e===void 0){wr(t,e,n,i,u);return}var l=["integer","float","array","regexp","object","method","email","number","date","url","hex"],a=t.type;l.indexOf(a)>-1?Nt[a](e)||i.push(te(u.messages.types[a],t.fullField,t.type)):a&&typeof e!==t.type&&i.push(te(u.messages.types[a],t.fullField,t.type))}function u_(t,e,n,i,u){var l=typeof t.len=="number",a=typeof t.min=="number",o=typeof t.max=="number",c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,h=e,s=null,v=typeof e=="number",g=typeof e=="string",C=Array.isArray(e);if(v?s="number":g?s="string":C&&(s="array"),!s)return!1;C&&(h=e.length),g&&(h=e.replace(c,"_").length),l?h!==t.len&&i.push(te(u.messages[s].len,t.fullField,t.len)):a&&!o&&h<t.min?i.push(te(u.messages[s].min,t.fullField,t.min)):o&&!a&&h>t.max?i.push(te(u.messages[s].max,t.fullField,t.max)):a&&o&&(h<t.min||h>t.max)&&i.push(te(u.messages[s].range,t.fullField,t.min,t.max))}var lt="enum";function l_(t,e,n,i,u){t[lt]=Array.isArray(t[lt])?t[lt]:[],t[lt].indexOf(e)===-1&&i.push(te(u.messages[lt],t.fullField,t[lt].join(", ")))}function a_(t,e,n,i,u){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(te(u.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var l=new RegExp(t.pattern);l.test(e)||i.push(te(u.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var A={required:wr,whitespace:n_,type:i_,range:u_,enum:l_,pattern:a_};function r_(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(K(e,"string")&&!t.required)return n();A.required(t,e,i,l,u,"string"),K(e,"string")||(A.type(t,e,i,l,u),A.range(t,e,i,l,u),A.pattern(t,e,i,l,u),t.whitespace===!0&&A.whitespace(t,e,i,l,u))}n(l)}function o_(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(K(e)&&!t.required)return n();A.required(t,e,i,l,u),e!==void 0&&A.type(t,e,i,l,u)}n(l)}function c_(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(e===""&&(e=void 0),K(e)&&!t.required)return n();A.required(t,e,i,l,u),e!==void 0&&(A.type(t,e,i,l,u),A.range(t,e,i,l,u))}n(l)}function s_(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(K(e)&&!t.required)return n();A.required(t,e,i,l,u),e!==void 0&&A.type(t,e,i,l,u)}n(l)}function d_(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(K(e)&&!t.required)return n();A.required(t,e,i,l,u),K(e)||A.type(t,e,i,l,u)}n(l)}function h_(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(K(e)&&!t.required)return n();A.required(t,e,i,l,u),e!==void 0&&(A.type(t,e,i,l,u),A.range(t,e,i,l,u))}n(l)}function f_(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(K(e)&&!t.required)return n();A.required(t,e,i,l,u),e!==void 0&&(A.type(t,e,i,l,u),A.range(t,e,i,l,u))}n(l)}function y_(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(e==null&&!t.required)return n();A.required(t,e,i,l,u,"array"),e!=null&&(A.type(t,e,i,l,u),A.range(t,e,i,l,u))}n(l)}function v_(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(K(e)&&!t.required)return n();A.required(t,e,i,l,u),e!==void 0&&A.type(t,e,i,l,u)}n(l)}var m_="enum";function g_(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(K(e)&&!t.required)return n();A.required(t,e,i,l,u),e!==void 0&&A[m_](t,e,i,l,u)}n(l)}function b_(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(K(e,"string")&&!t.required)return n();A.required(t,e,i,l,u),K(e,"string")||A.pattern(t,e,i,l,u)}n(l)}function C_(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(K(e,"date")&&!t.required)return n();if(A.required(t,e,i,l,u),!K(e,"date")){var o;e instanceof Date?o=e:o=new Date(e),A.type(t,o,i,l,u),o&&A.range(t,o.getTime(),i,l,u)}}n(l)}function E_(t,e,n,i,u){var l=[],a=Array.isArray(e)?"array":typeof e;A.required(t,e,i,l,u,a),n(l)}function Qu(t,e,n,i,u){var l=t.type,a=[],o=t.required||!t.required&&i.hasOwnProperty(t.field);if(o){if(K(e,l)&&!t.required)return n();A.required(t,e,i,a,u,l),K(e,l)||A.type(t,e,i,a,u)}n(a)}function __(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(K(e)&&!t.required)return n();A.required(t,e,i,l,u)}n(l)}var Vt={string:r_,method:o_,number:c_,boolean:s_,regexp:d_,integer:h_,float:f_,array:y_,object:v_,enum:g_,pattern:b_,date:C_,url:Qu,hex:Qu,email:Qu,required:E_,any:__};function Ju(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var Zu=Ju();function Ae(t){this.rules=null,this._messages=Zu,this.define(t)}Ae.prototype={messages:function(e){return e&&(this._messages=Dr(Ju(),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 l=e,a=n,o=i;if(typeof a=="function"&&(o=a,a={}),!this.rules||Object.keys(this.rules).length===0)return o&&o(),Promise.resolve();function c(E){var D,m=[],_={};function I(P){if(Array.isArray(P)){var O;m=(O=m).concat.apply(O,P)}else m.push(P)}for(D=0;D<E.length;D++)I(E[D]);m.length?_=Gu(m):(m=null,_=null),o(m,_)}if(a.messages){var h=this.messages();h===Zu&&(h=Ju()),Dr(h,a.messages),a.messages=h}else a.messages=this.messages();var s,v,g={},C=a.keys||Object.keys(this.rules);C.forEach(function(E){s=u.rules[E],v=l[E],s.forEach(function(D){var m=D;typeof m.transform=="function"&&(l===e&&(l=fe({},l)),v=l[E]=m.transform(v)),typeof m=="function"?m={validator:m}:m=fe({},m),m.validator=u.getValidationMethod(m),m.field=E,m.fullField=m.fullField||E,m.type=u.getType(m),m.validator&&(g[E]=g[E]||[],g[E].push({rule:m,value:v,source:l,field:E}))})});var B={};return t_(g,a,function(E,D){var m=E.rule,_=(m.type==="object"||m.type==="array")&&(typeof m.fields=="object"||typeof m.defaultField=="object");_=_&&(m.required||!m.required&&E.value),m.field=E.field;function I(ue,M){return fe(fe({},M),{},{fullField:m.fullField+"."+ue})}function P(ue){ue===void 0&&(ue=[]);var M=ue;if(Array.isArray(M)||(M=[M]),!a.suppressWarning&&M.length&&Ae.warning("async-validator:",M),M.length&&m.message!==void 0&&(M=[].concat(m.message)),M=M.map(Br(m)),a.first&&M.length)return B[m.field]=1,D(M);if(!_)D(M);else{if(m.required&&!E.value)return m.message!==void 0?M=[].concat(m.message).map(Br(m)):a.error&&(M=[a.error(m,te(a.messages.required,m.field))]),D(M);var le={};if(m.defaultField)for(var Rn in E.value)E.value.hasOwnProperty(Rn)&&(le[Rn]=m.defaultField);le=fe(fe({},le),E.rule.fields);for(var _e in le)if(le.hasOwnProperty(_e)){var gu=Array.isArray(le[_e])?le[_e]:[le[_e]];le[_e]=gu.map(I.bind(null,_e))}var Pn=new Ae(le);Pn.messages(a.messages),E.rule.options&&(E.rule.options.messages=a.messages,E.rule.options.error=a.error),Pn.validate(E.value,E.rule.options||a,function(Rt){var Be=[];M&&M.length&&Be.push.apply(Be,M),Rt&&Rt.length&&Be.push.apply(Be,Rt),D(Be.length?Be:null)})}}var O;m.asyncValidator?O=m.asyncValidator(m,E.value,P,E.source,a):m.validator&&(O=m.validator(m,E.value,P,E.source,a),O===!0?P():O===!1?P(m.message||m.field+" fails"):O instanceof Array?P(O):O instanceof Error&&P(O.message)),O&&O.then&&O.then(function(){return P()},function(ue){return P(ue)})},function(E){c(E)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!Vt.hasOwnProperty(e.type))throw new Error(te("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if(typeof e.validator=="function")return e.validator;var n=Object.keys(e),i=n.indexOf("message");return i!==-1&&n.splice(i,1),n.length===1&&n[0]==="required"?Vt.required:Vt[this.getType(e)]||!1}},Ae.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");Vt[e]=n},Ae.warning=Cr,Ae.messages=Zu,Ae.validators=Vt;var B_={required:r("CMD.aad41751712156995"),maxLength:r("CMD.890d1751712141808"),minLength:r("CMD.bb9b1751712143625"),string:{range:r("CMD.f7131751712147855")}};function D_(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new Ae(t);return n.messages(Object.assign(B_,e)),n}var w_=new pC;function Yu(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 F_(t){if(Array.isArray(t))return t}function A_(t){if(Array.isArray(t))return Yu(t)}function Fr(t,e,n,i,u,l,a){try{var o=t[l](a),c=o.value}catch(h){n(h);return}o.done?e(c):Promise.resolve(c).then(i,u)}function Ar(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var l=t.apply(e,n);function a(c){Fr(l,i,u,a,o,"next",c)}function o(c){Fr(l,i,u,a,o,"throw",c)}a(void 0)})}}function S_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Sr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function I_(t,e,n){return e&&Sr(t.prototype,e),n&&Sr(t,n),t}function x(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ir(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Tr(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function T_(){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 R_(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Rr(t){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){x(t,u,n[u])})}return t}function P_(t){return F_(t)||Tr(t)||Pr(t)||T_()}function pu(t){return A_(t)||Tr(t)||Pr(t)||R_()}function x_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Pr(t,e){if(!!t){if(typeof t=="string")return Yu(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 Yu(t,e)}}function xr(t,e){var n,i,u,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},a=Object.create((typeof Iterator=="function"?Iterator:Object).prototype),o=Object.defineProperty;return o(a,"next",{value:c(0)}),o(a,"throw",{value:c(1)}),o(a,"return",{value:c(2)}),typeof Symbol=="function"&&o(a,Symbol.iterator,{value:function(){return this}}),a;function c(s){return function(v){return h([s,v])}}function h(s){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(l=0)),l;)try{if(n=1,i&&(u=s[0]&2?i.return:s[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,s[1])).done)return u;switch(i=0,u&&(s=[s[0]&2,u.value]),s[0]){case 0:case 1:u=s;break;case 4:return l.label++,{value:s[1],done:!1};case 5:l.label++,i=s[1],s=[0];continue;case 7:s=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(s[0]===6||s[0]===2)){l=0;continue}if(s[0]===3&&(!u||s[1]>u[0]&&s[1]<u[3])){l.label=s[1];break}if(s[0]===6&&l.label<u[1]){l.label=u[1],u=s;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(s);break}u[2]&&l.ops.pop(),l.trys.pop();continue}s=e.call(t,l)}catch(v){s=[6,v],i=0}finally{n=u=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}var k=function(){function e(n){var i=this;S_(this,e);var u,l,a,o;x(this,"id",void 0),x(this,"name",void 0),x(this,"icon",void 0),x(this,"type",void 0),x(this,"controlType",void 0),x(this,"props",void 0),x(this,"setting",[]),x(this,"fieldType",void 0),x(this,"eventKeys",[]),x(this,"customEvents",[]),x(this,"parent",null),x(this,"slots",void 0),x(this,"slotPosition",void 0),x(this,"updateSetting",Or),x(this,"removeSetting",kr),this._callControlHooks("preInstance",n);var c=Ir(this,e)?this.constructor:void 0,h=c.controlName,s=c.controlIcon,v=c.controlType,g=c.controlFieldType,C=c.controlEventKeys,B=c.controlCustomEvents,E=c.name,D=c.setting,m=c.slots,_=c.slotPosition;h&&s&&v||Ka("The ".concat(E," controlName,controlIcon,controlType is not define")),this.id=(u=n==null?void 0:n.id)!==null&&u!==void 0?u:se(10),this.name=h,this.icon=s,this.type=(l=n==null?void 0:n.type)!==null&&l!==void 0?l:v,this.props=new q(n==null?void 0:n.props,(Ir(this,e)?this.constructor:void 0).controlName),this.controlType=(a=n==null?void 0:n.controlType)!==null&&a!==void 0?a:"base",this.setting=oe(D),this.fieldType=(o=n==null?void 0:n.fieldType)!==null&&o!==void 0?o:g,this.eventKeys=oe(C),this.customEvents=oe(B),this.slots=oe(m),this.slotPosition=oe(_),Promise.resolve().then(function(){i._callControlHooks("postInstance",n)})}return I_(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),l=0;l<i;l++)u[l]=arguments[l];var a,o=P_(u),c=o[0],h=o.slice(1);return(a=w_).emit.apply(a,[c,this].concat(pu(h)))}},{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),NC(this.props,i,u),this.postUpdate(i,u)}},{key:"preValidate",value:function(){return Ar(function(){var i,u,l;return xr(this,function(a){switch(a.label){case 0:return i=Rr({},this.rules),[4,this._callControlHooks("preValidate",i)];case 1:return u=a.sent(),l=u[u.length-1],[2,l===!1?void 0:l]}})}).call(this)}},{key:"validate",value:function(i,u){return Ar(function(){var l,a,o,c;return xr(this,function(h){switch(h.label){case 0:return[4,this.preValidate()];case 1:l=h.sent(),a=l!==void 0?l:Rr({},this.rules),Array.isArray(u)&&u.forEach(function(s){a.hasOwnProperty(s)&&delete a[s]}),o=D_(a,i),h.label=2;case 2:return h.trys.push([2,4,,5]),[4,o.validate(this.props)];case 3:return h.sent(),[2,!0];case 4:throw c=h.sent(),c.control||(c.control=this),c;case 5:return[2]}})}).call(this)}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=this.fieldType,l=this.id,a=this.type,o=this.props,c=o.dataBind,h=o.datasourceBind,s=o.optionConfig,v=o.caption,g=o.required,C=o.maxLength,B=o.options,E=o.encrypted,D=o.encryptedMode;if(!(!u&&!c&&!h)){var m={parentId:i,fieldType:u,controlId:l,caption:v,type:a,props:{}};switch(c&&(m.dataBind=c),s){case"datasource":case void 0:h&&(m.datasourceBind=h);break;case"custom":m.props.options=B;break}return g!==void 0&&(m.required=g),C!==void 0&&(m.maxLength=C),E!==void 0&&(m.encrypted=E),D!==void 0&&(m.encryptedMode=D),m}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:oe(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(i,u){if(i==="setting"){if(u.add){var l;(l=this.setting).push.apply(l,pu(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),e}();x(k,"mode","Designer"),x(k,"slots",void 0),x(k,"slotPosition",void 0),x(k,"controlName",r("CMD.7baf1751712168384")),x(k,"controlIcon","icon"),x(k,"controlType","control"),x(k,"controlFieldType",void 0),x(k,"controlEventKeys",[]),x(k,"controlCustomEvents",[]),x(k,"setting",[]),x(k,"__is_control__",!0),x(k,"removeSettingItem",kr),x(k,"updateSettingItem",Or);function kr(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(i){var u,l=typeof i!="string",a=(u=e.setting)===null||u===void 0?void 0:u.findIndex(function(h){return h.key===(l?i.key:i)});if(a!==-1){var o,c;l?e.setting[a].showItems=(o=e.setting[a].showItems)===null||o===void 0?void 0:o.filter(function(h){return!i.hideItems.includes(h)}):e.setting.splice(a,1),l&&!(!((c=e.setting[a].showItems)===null||c===void 0)&&c.length)&&e.setting.splice(a,1)}})}function Or(t,e){var n=this,i=typeof t=="string"?[t]:t;i.forEach(function(u){var l=n.setting.find(function(h){return h.key===u});if(l){if(typeof e=="boolean")l.visible=e;else if((typeof e=="undefined"?"undefined":x_(e))==="object"){var a,o=(a=e.type)!==null&&a!==void 0?a:"replace";if(o==="replace")l.showItems=e.showItems;else{var c;(c=l.showItems).push.apply(c,pu(e.showItems))}}}})}function k_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Mr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function O_(t,e,n){return e&&Mr(t.prototype,e),n&&Mr(t,n),t}function ne(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function M_(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var W=function(){function e(n){k_(this,e);var i,u,l,a,o;ne(this,"id",void 0),ne(this,"type",void 0),ne(this,"controlType",void 0),ne(this,"props",void 0),ne(this,"fieldType",void 0),ne(this,"customEvents",[]),ne(this,"pageStatus",void 0),ne(this,"parent",null);var c=M_(this,e)?this.constructor:void 0,h=c.controlType,s=c.controlFieldType,v=c.name,g=c.controlCustomEvents;h||Ka("The ".concat(v," controlType is not define")),this.id=(i=n==null?void 0:n.id)!==null&&i!==void 0?i:se(10),this.type=(u=n==null?void 0:n.type)!==null&&u!==void 0?u:h,this.props=new q(n==null?void 0:n.props),this.customEvents=g,this.controlType=(l=n==null?void 0:n.controlType)!==null&&l!==void 0?l:"base",this.fieldType=(a=n==null?void 0:n.fieldType)!==null&&a!==void 0?a:s,this.pageStatus=(o=n==null?void 0:n.pageStatus)!==null&&o!==void 0?o:ME.UNKNOWN}return O_(e,[{key:"rules",get:function(){var i=this.props.constructor.RuntimeRules;if(i){var u=new i(this.props);return Array.from(u)}return[]}}]),e}();ne(W,"mode","Runtime"),ne(W,"controlType","control"),ne(W,"controlFieldType",void 0),ne(W,"__is_control__",!0),ne(W,"controlCustomEvents",[]);function el(t){t.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),t.hasOwnProperty("options")||(this.options={type:"any"}),t.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),t.hasOwnProperty("options")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="custom")?this.options=[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:r("CMD.pleaseEnterLabel",null,"\u8BF7\u8F93\u5165\u663E\u793A\u503C")},value:{type:"string",required:!0,message:r("CMD.pleaseEnterValue",null,"\u8BF7\u8F93\u5165\u5B58\u50A8\u503C")}}}},{type:"array",validator:function(n,i,u){i.length===0&&u(r("CMD.optionIsRequired",null,"\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879")),u()}},{type:"array",validator:function(n,i,u){var l=i.map(function(o){return o.value}),a=UC(l);l.length!==a.length?u(r("CMD.optionIdIsRepeat",null,"\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D")):u()},message:r("CMD.optionIdIsRepeat",null,"\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:r("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},valueFieldCode:{type:"string",required:!0,message:r("CMD.pleaseEnterValueFieldCode",null,"\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C")},svcCode:{type:"string",required:!0,message:r("CMD.pleaseEnterSvcCode",null,"\u8BF7\u7ED1\u5B9A\u670D\u52A1")},displayBoList:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",validator:function(n,i,u){i.length===0&&u(r("CMD.pleaseBindAtLeastOneDisplayValue",null,"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")),u()},message:r("CMD.pleaseBindAtLeastOneDisplayValue",null,"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")}],orders:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},desc:{type:"boolean",message:r("CMD.isNotBoolean",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14")}}}}]}}])}function Wn(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:r(n?"CMD.pleaseEnterDataCodeInDataSetting":"CMD.pleaseEnterDataCode",null,r(n?"CMD.c4901751712137782":"CMD.8e161751712150947"))},valueFieldCode:{type:"string",required:!0,message:r(n?"CMD.pleaseEnterValueFieldCodeInDataSetting":"CMD.pleaseEnterValueFieldCode",null,r(n?"CMD.9af91751712139782":"CMD.92701751712154242"))},svcCode:{type:"string",required:!0,message:r(n?"CMD.pleaseEnterSvcCodeInDataSetting":"CMD.pleaseEnterSvcCode",null,r(n?"CMD.203c1751712145631":"CMD.9d361751712158465"))},attributes:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},key:{type:"string",required:!0,message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},value:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",validator:function(u,l,a){l.length===0&&a(r(n?"CMD.pleaseBindAtLeastOneDisplayValueInDataSetting":"CMD.pleaseBindAtLeastOneDisplayValue",null,r(n?"CMD.6a071751712131459":"CMD.52351751712149286"))),a()},message:r(n?"CMD.pleaseBindAtLeastOneDisplayValueInDataSetting":"CMD.pleaseBindAtLeastOneDisplayValue",null,r(n?"CMD.6a071751712131459":"CMD.52351751712149286"))}]}}}],orders:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},desc:{type:"boolean",message:r("CMD.isNotBoolean",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14")}}}}]}}]}function $_(t){return(t==null?void 0:t.dataCode)!==void 0&&(t==null?void 0:t.fieldCode)!==void 0}function L_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Un(t,e,n){return e=Kn(e),N_(t,$r()?Reflect.construct(e,n||[],Kn(t).constructor):e.apply(t,n))}function zn(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 Kn(t){return Kn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Kn(t)}function Gn(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&tl(t,e)}function N_(t,e){return e&&(V_(e)==="object"||typeof e=="function")?e:L_(t)}function tl(t,e){return tl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},tl(t,e)}function V_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function $r(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return($r=function(){return!!t})()}var G=function(t){Gn(e,t);function e(n){zn(this,e);var i;i=Un(this,e,[n]),V(i,"dataBind",{}),V(i,"caption",{type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),V(i,"isHideCaption",{type:"boolean"}),V(i,"labelPosition",{type:"enum",enum:["top","left"]}),V(i,"defaultState",{type:"enum",enum:["default","readonly"]}),V(i,"required",{type:"boolean"}),V(i,"captionTip",{type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")});var u={fieldCode:{type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},dataCode:{type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}};if($_(n.dataBind))i.dataBind={type:"object",required:!0,fields:oe(u),message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};else{var l={type:"object",required:!0,fields:{},message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};Object.keys(n.dataBind).forEach(function(a){l.fields[a]={type:"object",required:!0,fields:oe(u),message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}}),i.dataBind=l}return n.isShowCaptionTip&&(i.captionTip.required=!0),i}return e}(j),$=function(t){Gn(e,t);function e(n){zn(this,e);var i;i=Un(this,e,[n]);var u=n.isHide?!1:n.required;return u&&i.push({type:"string",required:u,message:n.requiredMessage!==""?n.requiredMessage:r("CMD.runtimeRequired",{caption:n.caption},"{caption}\u5FC5\u586B")}),i}return e}(Me),S=function(t){Gn(e,t);function e(n){zn(this,e);var i,u,l,a,o,c,h,s,v,g,C;return i=Un(this,e,[n]),V(i,"caption",void 0),V(i,"isHideCaption",void 0),V(i,"isShowCaptionTip",void 0),V(i,"captionTip",void 0),V(i,"labelPosition",void 0),V(i,"dataBind",void 0),V(i,"defaultValue",void 0),V(i,"placeholder",void 0),V(i,"defaultState",void 0),V(i,"required",void 0),V(i,"requiredMessage",void 0),i.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"",i.isHideCaption=(l=n==null?void 0:n.isHideCaption)!==null&&l!==void 0?l:!1,i.isShowCaptionTip=(a=n==null?void 0:n.isShowCaptionTip)!==null&&a!==void 0?a:!1,i.captionTip=(o=n==null?void 0:n.captionTip)!==null&&o!==void 0?o:"",i.defaultState=(c=n==null?void 0:n.defaultState)!==null&&c!==void 0?c:"default",i.labelPosition=(h=n==null?void 0:n.labelPosition)!==null&&h!==void 0?h:"top",i.placeholder=(s=n==null?void 0:n.placeholder)!==null&&s!==void 0?s:"",i.required=(v=n==null?void 0:n.required)!==null&&v!==void 0?v:!1,i.requiredMessage=(g=n==null?void 0:n.requiredMessage)!==null&&g!==void 0?g:"",i.dataBind=new he(n==null?void 0:n.dataBind),i.defaultValue=(C=n==null?void 0:n.defaultValue)!==null&&C!==void 0?C:"",i}return e}(q);V(S,"Rules",G),V(S,"RuntimeRules",$);var at=function(t){Gn(e,t);function e(n){zn(this,e);var i;return i=Un(this,e,[n]),V(i,"optionConfig",{type:"enum",enum:["custom","datasource"],message:r("CMD.PleaseSelectTheCorrectOptionSettings",null,"\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E")}),V(i,"options",[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")}]),V(i,"datasourceBind",[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),el.call(i,n),i}return e}(G);function H_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function j_(t,e,n){return e=Qn(e),U_(t,Lr()?Reflect.construct(e,n||[],Qn(t).constructor):e.apply(t,n))}function q_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Xn(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 W_(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&&nl(t,e)}function U_(t,e){return e&&(z_(e)==="object"||typeof e=="function")?e:H_(t)}function nl(t,e){return nl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},nl(t,e)}function z_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Lr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Lr=function(){return!!t})()}var T=function(t){W_(e,t);function e(n){q_(this,e);var i;return i=j_(this,e,[n]),Xn(i,"controlType","form"),Xn(i,"props",void 0),i.props=new S(n==null?void 0:n.props),i}return e}(k);Xn(T,"controlEventKeys",["on_change","on_focus","on_blur"]),Xn(T,"controlCustomAttributes",void 0);function K_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function G_(t,e,n){return e=Jn(e),J_(t,Nr()?Reflect.construct(e,n||[],Jn(t).constructor):e.apply(t,n))}function X_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function il(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Jn(t){return Jn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jn(t)}function Q_(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&&ul(t,e)}function J_(t,e){return e&&(Z_(e)==="object"||typeof e=="function")?e:K_(t)}function ul(t,e){return ul=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ul(t,e)}function Z_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Nr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Nr=function(){return!!t})()}var R=function(t){Q_(e,t);function e(n){X_(this,e);var i;return i=G_(this,e,[n]),il(i,"controlType","form"),il(i,"props",void 0),il(i,"value",void 0),i.props=new S(n==null?void 0:n.props),i}return e}(W);function Y_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function p_(t,e,n){return e=Zn(e),n6(t,Vr()?Reflect.construct(e,n||[],Zn(t).constructor):e.apply(t,n))}function e6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Zn(t){return Zn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zn(t)}function t6(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&&ll(t,e)}function n6(t,e){return e&&(i6(e)==="object"||typeof e=="function")?e:Y_(t)}function ll(t,e){return ll=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ll(t,e)}function i6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Vr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Vr=function(){return!!t})()}var L=function(t){t6(e,t);function e(n){return e6(this,e),p_(this,e,[n])}return e}(q);function al(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 u6(t){if(Array.isArray(t))return al(t)}function l6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Hr(t,e,n,i,u,l,a){try{var o=t[l](a),c=o.value}catch(h){n(h);return}o.done?e(c):Promise.resolve(c).then(i,u)}function a6(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var l=t.apply(e,n);function a(c){Hr(l,i,u,a,o,"next",c)}function o(c){Hr(l,i,u,a,o,"throw",c)}a(void 0)})}}function r6(t,e,n){return e=Ie(e),g6(t,Wr()?Reflect.construct(e,n||[],Ie(t).constructor):e.apply(t,n))}function o6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function jr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function c6(t,e,n){return e&&jr(t.prototype,e),n&&jr(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 rt(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?rt=Reflect.get:rt=function(u,l,a){var o=b6(u,l);if(!!o){var c=Object.getOwnPropertyDescriptor(o,l);return c.get?c.get.call(a||u):c.value}},rt(t,e,n||t)}function Ie(t){return Ie=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ie(t)}function s6(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&&rl(t,e)}function d6(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function h6(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function f6(){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 y6(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){Se(t,u,n[u])})}return t}function v6(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 m6(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):v6(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function g6(t,e){return e&&(C6(e)==="object"||typeof e=="function")?e:l6(t)}function rl(t,e){return rl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},rl(t,e)}function b6(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Ie(t),t!==null););return t}function qr(t){return u6(t)||h6(t)||E6(t)||f6()}function C6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function E6(t,e){if(!!t){if(typeof t=="string")return al(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 al(t,e)}}function Wr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Wr=function(){return!!t})()}function _6(t,e){var n,i,u,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},a=Object.create((typeof Iterator=="function"?Iterator:Object).prototype),o=Object.defineProperty;return o(a,"next",{value:c(0)}),o(a,"throw",{value:c(1)}),o(a,"return",{value:c(2)}),typeof Symbol=="function"&&o(a,Symbol.iterator,{value:function(){return this}}),a;function c(s){return function(v){return h([s,v])}}function h(s){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(l=0)),l;)try{if(n=1,i&&(u=s[0]&2?i.return:s[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,s[1])).done)return u;switch(i=0,u&&(s=[s[0]&2,u.value]),s[0]){case 0:case 1:u=s;break;case 4:return l.label++,{value:s[1],done:!1};case 5:l.label++,i=s[1],s=[0];continue;case 7:s=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(s[0]===6||s[0]===2)){l=0;continue}if(s[0]===3&&(!u||s[1]>u[0]&&s[1]<u[3])){l.label=s[1];break}if(s[0]===6&&l.label<u[1]){l.label=u[1],u=s;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(s);break}u[2]&&l.ops.pop(),l.trys.pop();continue}s=e.call(t,l)}catch(v){s=[6,v],i=0}finally{n=u=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}var B6=1e4,N=function(e){s6(n,e);function n(i){o6(this,n);var u;u=r6(this,n,[i]),Se(u,"controlType","layout"),Se(u,"children",void 0),Se(u,"excludes",void 0),Se(u,"childrenMaxLength",void 0),Se(u,"props",void 0);var l=d6(this,n)?this.constructor:void 0,a=l.excludes,o=l.childrenMaxLength;return u.props=new L(i==null?void 0:i.props),de(u,"children",i==null?void 0:i.children,void 0,"Designer"),u.excludes=oe(a),u.childrenMaxLength=o,u}return c6(n,[{key:"judgeExcludesChildren",value:function(u){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(u)}},{key:"judgeJoinChildren",value:function(u){var l=this.judgeExcludesChildren(u);return l&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(u,l){var a=this,o=this,c=function(){return rt(Ie(n.prototype),"validate",a)};return a6(function(){return _6(this,function(h){switch(h.label){case 0:return[4,c().call(o,u,l)];case 1:return h.sent(),[4,Promise.all(this.children.map(function(s){return s.validate(u,l)}))];case 2:return h.sent(),[2,!0]}})}).call(this)}},{key:"toDataBindModel",value:function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,l=rt(Ie(n.prototype),"toDataBindModel",this).call(this),a=l?[l]:[];return this.children.reduce(function(o,c){var h=c.toDataBindModel(u);if(Array.isArray(h)){var s=h.filter(function(v){return!!v});return qr(o).concat(qr(s))}return h&&o.push(h),o},a)}},{key:"toSchema",value:function(){var u=rt(Ie(n.prototype),"toSchema",this).call(this),l=this.children.map(function(a){var o=a.toSchema();return o});return m6(y6({},u),{children:l})}}]),n}(k);Se(N,"excludes",!1),Se(N,"childrenMaxLength",B6);function D6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function w6(t,e,n){return e=Yn(e),S6(t,Ur()?Reflect.construct(e,n||[],Yn(t).constructor):e.apply(t,n))}function F6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ol(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Yn(t){return Yn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yn(t)}function A6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&cl(t,e)}function S6(t,e){return e&&(I6(e)==="object"||typeof e=="function")?e:D6(t)}function cl(t,e){return cl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},cl(t,e)}function I6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ur(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ur=function(){return!!t})()}var H=function(t){A6(e,t);function e(n){F6(this,e);var i;return i=w6(this,e,[n]),ol(i,"controlType","layout"),ol(i,"children",void 0),ol(i,"props",void 0),i.props=new L(n==null?void 0:n.props),de(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return e}(W);function T6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function R6(t,e,n){return e=pn(e),k6(t,zr()?Reflect.construct(e,n||[],pn(t).constructor):e.apply(t,n))}function P6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ot(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function pn(t){return pn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pn(t)}function x6(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&&sl(t,e)}function k6(t,e){return e&&(O6(e)==="object"||typeof e=="function")?e:T6(t)}function sl(t,e){return sl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},sl(t,e)}function O6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function zr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(zr=function(){return!!t})()}var ei=function(t){x6(e,t);function e(n,i,u){P6(this,e);var l,a,o,c,h;return l=R6(this,e,[i]),ot(l,"headers",void 0),ot(l,"footers",void 0),ot(l,"pageIndex",void 0),ot(l,"pageSize",void 0),ot(l,"pageSizeOptions",void 0),ot(l,"totalCount",void 0),de(l,"headers",i==null?void 0:i.headers,n,u),de(l,"footers",i==null?void 0:i.footers,n),l.pageIndex=(a=i==null?void 0:i.pageIndex)!==null&&a!==void 0?a:1,l.pageSize=(o=i==null?void 0:i.pageSize)!==null&&o!==void 0?o:20,l.pageSizeOptions=(c=i==null?void 0:i.pageSizeOptions)!==null&&c!==void 0?c:[20],l.totalCount=(h=i==null?void 0:i.totalCount)!==null&&h!==void 0?h:0,l}return e}(q);function dl(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 M6(t){if(Array.isArray(t))return dl(t)}function $6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Kr(t,e,n,i,u,l,a){try{var o=t[l](a),c=o.value}catch(h){n(h);return}o.done?e(c):Promise.resolve(c).then(i,u)}function L6(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var l=t.apply(e,n);function a(c){Kr(l,i,u,a,o,"next",c)}function o(c){Kr(l,i,u,a,o,"throw",c)}a(void 0)})}}function N6(t,e,n){return e=Te(e),z6(t,Zr()?Reflect.construct(e,n||[],Te(t).constructor):e.apply(t,n))}function V6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function H6(t,e,n){return e&&Gr(t.prototype,e),n&&Gr(t,n),t}function ti(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ct(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ct=Reflect.get:ct=function(u,l,a){var o=K6(u,l);if(!!o){var c=Object.getOwnPropertyDescriptor(o,l);return c.get?c.get.call(a||u):c.value}},ct(t,e,n||t)}function Te(t){return Te=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Te(t)}function j6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&hl(t,e)}function q6(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function W6(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function 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){ti(t,u,n[u])})}return t}function U6(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 Qr(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):U6(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function z6(t,e){return e&&(G6(e)==="object"||typeof e=="function")?e:$6(t)}function hl(t,e){return hl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},hl(t,e)}function K6(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Te(t),t!==null););return t}function Jr(t){return M6(t)||q6(t)||X6(t)||W6()}function G6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function X6(t,e){if(!!t){if(typeof t=="string")return dl(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 dl(t,e)}}function Zr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Zr=function(){return!!t})()}function Q6(t,e){var n,i,u,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},a=Object.create((typeof Iterator=="function"?Iterator:Object).prototype),o=Object.defineProperty;return o(a,"next",{value:c(0)}),o(a,"throw",{value:c(1)}),o(a,"return",{value:c(2)}),typeof Symbol=="function"&&o(a,Symbol.iterator,{value:function(){return this}}),a;function c(s){return function(v){return h([s,v])}}function h(s){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(l=0)),l;)try{if(n=1,i&&(u=s[0]&2?i.return:s[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,s[1])).done)return u;switch(i=0,u&&(s=[s[0]&2,u.value]),s[0]){case 0:case 1:u=s;break;case 4:return l.label++,{value:s[1],done:!1};case 5:l.label++,i=s[1],s=[0];continue;case 7:s=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(s[0]===6||s[0]===2)){l=0;continue}if(s[0]===3&&(!u||s[1]>u[0]&&s[1]<u[3])){l.label=s[1];break}if(s[0]===6&&l.label<u[1]){l.label=u[1],u=s;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(s);break}u[2]&&l.ops.pop(),l.trys.pop();continue}s=e.call(t,l)}catch(v){s=[6,v],i=0}finally{n=u=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}var fl=function(t){j6(e,t);function e(n){V6(this,e);var i;return i=N6(this,e,[n]),ti(i,"controlType","list"),ti(i,"props",void 0),i.props=new ei(i,n==null?void 0:n.props,"Designer"),i}return H6(e,[{key:"validate",value:function(i,u){var l=this,a=this,o=function(){return ct(Te(e.prototype),"validate",l)};return L6(function(){return Q6(this,function(c){switch(c.label){case 0:return[4,o().call(a,i)];case 1:return c.sent(),[4,Promise.all(this.props.headers.map(function(h){return h.validate(i,u)}))];case 2:return c.sent(),[2,!0]}})}).call(this)}},{key:"toDataBindModel",value:function(){var i=ct(Te(e.prototype),"toDataBindModel",this).call(this),u=i?[i]:[],l=this.id;return this.props.headers.reduce(function(a,o){var c=o.toDataBindModel(l);if(Array.isArray(c)){var h=c.filter(function(s){return!!s});return Jr(a).concat(Jr(h))}return c&&a.push(c),a},u)}},{key:"toSchema",value:function(){var i=ct(Te(e.prototype),"toSchema",this).call(this),u=this.props.headers.map(function(l){return l.toSchema()});return Qr(Xr({},i),{props:Qr(Xr({},this.props),{headers:u})})}}]),e}(k);ti(fl,"controlFieldType",b.LIST);function J6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Z6(t,e,n){return e=ni(e),t7(t,pr()?Reflect.construct(e,n||[],ni(t).constructor):e.apply(t,n))}function Y6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Yr(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 p6(t,e,n){return e&&Yr(t.prototype,e),n&&Yr(t,n),t}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 ni(t){return ni=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ni(t)}function e7(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&&vl(t,e)}function t7(t,e){return e&&(n7(e)==="object"||typeof e=="function")?e:J6(t)}function vl(t,e){return vl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},vl(t,e)}function n7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function pr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(pr=function(){return!!t})()}var eo=function(t){e7(e,t);function e(n){Y6(this,e);var i;return i=Z6(this,e,[n]),yl(i,"controlType","list"),yl(i,"children",void 0),yl(i,"props",void 0),i.props=new ei(i,n==null?void 0:n.props,"Runtime"),de(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return p6(e,[{key:"length",get:function(){return this.children.length}}]),e}(W);function i7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ml(t,e,n){return e=ii(e),u7(t,to()?Reflect.construct(e,n||[],ii(t).constructor):e.apply(t,n))}function gl(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function X(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ii(t){return ii=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ii(t)}function bl(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&&Cl(t,e)}function u7(t,e){return e&&(l7(e)==="object"||typeof e=="function")?e:i7(t)}function Cl(t,e){return Cl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Cl(t,e)}function l7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function to(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(to=function(){return!!t})()}var be=function(t){bl(e,t);function e(n){gl(this,e);var i;return i=ml(this,e,[n]),X(i,"caption",{type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),X(i,"width",{type:"number",required:!1,message:r("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")}),i.width.required=n.widthType==="px",i}return e}(j),U=function(t){bl(e,t);function e(n){gl(this,e);var i,u,l,a,o,c;return i=ml(this,e,[n]),X(i,"widthType",void 0),X(i,"width",void 0),X(i,"caption",void 0),X(i,"dataBind",void 0),X(i,"autoWidth",void 0),X(i,"fixed",void 0),X(i,"sort",void 0),X(i,"align",void 0),X(i,"colSpan",void 0),X(i,"autoHeight",void 0),X(i,"children",void 0),i.width=(u=n==null?void 0:n.width)!==null&&u!==void 0?u:150,i.widthType=(n==null?void 0:n.widthType)||"auto",i.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:"",i.fixed=(a=n==null?void 0:n.fixed)!==null&&a!==void 0?a:"none",i.autoWidth=new or(n==null?void 0:n.autoWidth),i.dataBind=new he(n==null?void 0:n.dataBind),i.sort=(o=n==null?void 0:n.sort)!==null&&o!==void 0?o:!0,i.align=n==null?void 0:n.align,i.colSpan=n==null?void 0:n.colSpan,i.autoHeight=(c=n==null?void 0:n.autoHeight)!==null&&c!==void 0?c:!1,i}return e}(q);X(U,"Rules",be);var El=function(t){bl(e,t);function e(n){gl(this,e);var i;return i=ml(this,e,[n]),X(i,"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:r("CMD.PleaseSelectTheCorrectOptionSettings",null,"\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E")}),X(i,"options",[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")}]),X(i,"datasourceBind",[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),el.call(i,n),i}return e}(be);function a7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function r7(t,e,n){return e=st(e),y7(t,io()?Reflect.construct(e,n||[],st(t).constructor):e.apply(t,n))}function o7(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function no(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 c7(t,e,n){return e&&no(t.prototype,e),n&&no(t,n),t}function ui(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function li(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?li=Reflect.get:li=function(u,l,a){var o=v7(u,l);if(!!o){var c=Object.getOwnPropertyDescriptor(o,l);return c.get?c.get.call(a||u):c.value}},li(t,e,n||t)}function st(t){return st=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},st(t)}function s7(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&&_l(t,e)}function d7(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){ui(t,u,n[u])})}return t}function h7(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 f7(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):h7(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function y7(t,e){return e&&(m7(e)==="object"||typeof e=="function")?e:a7(t)}function _l(t,e){return _l=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},_l(t,e)}function v7(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=st(t),t!==null););return t}function m7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function io(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(io=function(){return!!t})()}var Q=function(t){s7(e,t);function e(n){o7(this,e);var i;return i=r7(this,e,[n]),ui(i,"controlType","column"),ui(i,"props",void 0),ui(i,"children",void 0),i.props=new U(n==null?void 0:n.props),de(i,"children",n==null?void 0:n.children,void 0,"Designer"),i}return c7(e,[{key:"toSchema",value:function(){var i=li(st(e.prototype),"toSchema",this).call(this);return f7(d7({},i),{children:this.children?this.children.map(function(u){return u.toSchema()}):[]})}}]),e}(k);function g7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function b7(t,e,n){return e=ai(e),_7(t,uo()?Reflect.construct(e,n||[],ai(t).constructor):e.apply(t,n))}function C7(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Bl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ai(t){return ai=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ai(t)}function E7(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&&Dl(t,e)}function _7(t,e){return e&&(B7(e)==="object"||typeof e=="function")?e:g7(t)}function Dl(t,e){return Dl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Dl(t,e)}function B7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function uo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(uo=function(){return!!t})()}var J=function(t){E7(e,t);function e(n){C7(this,e);var i;return i=b7(this,e,[n]),Bl(i,"controlType","column"),Bl(i,"props",void 0),Bl(i,"children",void 0),i.props=new U(n==null?void 0:n.props),de(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return e}(W);function D7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function w7(t,e,n){return e=ri(e),I7(t,lo()?Reflect.construct(e,n||[],ri(t).constructor):e.apply(t,n))}function F7(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function A7(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ri(t){return ri=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ri(t)}function S7(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&&wl(t,e)}function I7(t,e){return e&&(T7(e)==="object"||typeof e=="function")?e:D7(t)}function wl(t,e){return wl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},wl(t,e)}function T7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function lo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(lo=function(){return!!t})()}var Fl=function(t){S7(e,t);function e(n){F7(this,e);var i;return i=w7(this,e,[n]),A7(i,"dataBind",void 0),i.dataBind=new he(n==null?void 0:n.dataBind),i}return e}(L);function R7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function P7(t,e,n){return e=oi(e),O7(t,ro()?Reflect.construct(e,n||[],oi(t).constructor):e.apply(t,n))}function x7(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ao(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function oi(t){return oi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oi(t)}function k7(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&&Al(t,e)}function O7(t,e){return e&&(M7(e)==="object"||typeof e=="function")?e:R7(t)}function Al(t,e){return Al=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Al(t,e)}function M7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ro(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ro=function(){return!!t})()}var $7=function(t){k7(e,t);function e(n){x7(this,e);var i;return i=P7(this,e,[n]),ao(i,"controlType","search"),ao(i,"props",void 0),i.props=new Fl(n==null?void 0:n.props),i}return e}(N);function L7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function N7(t,e,n){return e=ci(e),j7(t,co()?Reflect.construct(e,n||[],ci(t).constructor):e.apply(t,n))}function V7(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function oo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ci(t){return ci=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ci(t)}function H7(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&&Sl(t,e)}function j7(t,e){return e&&(q7(e)==="object"||typeof e=="function")?e:L7(t)}function Sl(t,e){return Sl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Sl(t,e)}function q7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function co(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(co=function(){return!!t})()}var W7=function(t){H7(e,t);function e(n){V7(this,e);var i;return i=N7(this,e,[n]),oo(i,"controlType","search"),oo(i,"props",void 0),i.props=new Fl(n==null?void 0:n.props),i}return e}(H);function U7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function z7(t,e,n){return e=si(e),X7(t,so()?Reflect.construct(e,n||[],si(t).constructor):e.apply(t,n))}function K7(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function si(t){return si=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},si(t)}function G7(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&&Il(t,e)}function X7(t,e){return e&&(Q7(e)==="object"||typeof e=="function")?e:U7(t)}function Il(t,e){return Il=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Il(t,e)}function Q7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function so(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(so=function(){return!!t})()}var Tl=function(t){G7(e,t);function e(n){return K7(this,e),z7(this,e,[n])}return e}(L);function J7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Z7(t,e,n){return e=di(e),eB(t,fo()?Reflect.construct(e,n||[],di(t).constructor):e.apply(t,n))}function Y7(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ho(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function di(t){return di=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},di(t)}function p7(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&&Rl(t,e)}function eB(t,e){return e&&(tB(e)==="object"||typeof e=="function")?e:J7(t)}function Rl(t,e){return Rl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Rl(t,e)}function tB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function fo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(fo=function(){return!!t})()}var nB=function(t){p7(e,t);function e(n){Y7(this,e);var i;return i=Z7(this,e,[n]),ho(i,"controlType","wrap"),ho(i,"props",void 0),i.props=new Tl(n==null?void 0:n.props),i}return e}(N);function iB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function uB(t,e,n){return e=hi(e),rB(t,vo()?Reflect.construct(e,n||[],hi(t).constructor):e.apply(t,n))}function lB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function yo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function hi(t){return hi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hi(t)}function aB(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&&Pl(t,e)}function rB(t,e){return e&&(oB(e)==="object"||typeof e=="function")?e:iB(t)}function Pl(t,e){return Pl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Pl(t,e)}function oB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function vo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(vo=function(){return!!t})()}var cB=function(t){aB(e,t);function e(n){lB(this,e);var i;return i=uB(this,e,[n]),yo(i,"controlType","wrap"),yo(i,"props",void 0),i.props=new Tl(n==null?void 0:n.props),i}return e}(H);function Re(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}])}class xl extends q{constructor(e){var n,i,u,l,a,o,c;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=(l=e==null?void 0:e.showState)!=null?l:"text",this.content=(a=e==null?void 0:e.content)!=null?a:r("CMD.text",null,"\u8BF4\u660E\u6587\u5B57"),this.align=(o=e==null?void 0:e.align)!=null?o:"",this.aiContentSearch=(c=e==null?void 0:e.aiContentSearch)!=null?c:!1}}class mo extends k{constructor(e){super(e),this.props=new xl(e==null?void 0:e.props)}static get controlName(){return r("CMD.text",null,"\u8BF4\u660E\u6587\u5B57")}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}mo.setting=[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"ai-content-search",visible:!0},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class sB extends W{constructor(e){super(e),this.props=new xl(e==null?void 0:e.props)}static get controlType(){return"text"}}var go={Designer:mo,Runtime:sB,Property:xl};class kl extends q{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:r("CMD.linkContent",null,"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5"),this.url=(i=e==null?void 0:e.url)!=null?i:"",this.openMode=(u=e==null?void 0:e.openMode)!=null?u:"new"}}class Ol extends k{constructor(e){super(e),this.props=new kl(e==null?void 0:e.props)}static get controlName(){return r("CMD.link",null,"\u94FE\u63A5")}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}Ol.controlEventKeys=["on_click"],Ol.setting=[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];class dB extends W{constructor(e){super(e),this.props=new kl(e==null?void 0:e.props)}static get controlType(){return"link"}}var bo={Designer:Ol,Runtime:dB,Property:kl};class p extends q{constructor(e){var n,i,u,l,a,o,c,h,s;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:r("CMD.button",null,"\u6309\u94AE"),this.buttonType=(i=e==null?void 0:e.buttonType)!=null?i:"primary",this.showType=(u=e==null?void 0:e.showType)!=null?u:"text",this.color=(l=e==null?void 0:e.color)!=null?l:"primary",this.icon=(a=e==null?void 0:e.icon)!=null?a:"iconfenlei2",this.defaultState=(o=e==null?void 0:e.defaultState)!=null?o:"default",this.command=(c=e==null?void 0:e.command)!=null?c:"custom",this.isLoading=(h=e==null?void 0:e.isLoading)!=null?h:!1,this.optObj=new NE((s=e==null?void 0:e.optObj)!=null?s:{})}}class Y extends k{constructor(e){super(e),this.props=new p(e==null?void 0:e.props)}static get controlName(){return r("CMD.button",null,"\u6309\u94AE")}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}Y.slots=["grid-table-toolbar-slot","action-bar-slot",Va.DEFAULT],Y.controlEventKeys=["on_click"],Y.setting=[{key:"button-content",visible:!0},{key:"button-opt-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"super-setting",visible:!0}];class ie extends W{constructor(e){super(e),this.props=new p(e==null?void 0:e.props)}static get controlType(){return"button"}}var Co={Designer:Y,Runtime:ie,Property:p},Pe=(t=>(t.ShowBizKey="is_show_biz_key",t.ShowSubmitUser="is_show_submit_user",t.ShowSubmitTime="is_show_submit_time",t.ShowSubmitDept="is_show_submit_dept",t.ShowCurrentApprovar="is_show_current_approvar",t.ShowTitle="is_show_title",t))(Pe||{}),Eo=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(Eo||{}),_o=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(_o||{});class fi{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:se(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var Ml=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(Ml||{});class yi{constructor(e){var n,i;this.id=(n=e==null?void 0:e.id)!=null?n:se(),this.text=(i=e==null?void 0:e.text)!=null?i:""}}var $l=(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))($l||{});class Ll{constructor(e){var n,i,u,l,a,o,c,h,s,v,g,C,B,E,D,m,_,I;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new we((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 we((l=e==null?void 0:e.telephone)!=null?l:{type:"form"}),this.company=(c=e==null?void 0:e.company)!=null?c:new we((o=e==null?void 0:e.company)!=null?o:{type:"form"}),this.indexSignature=(s=e==null?void 0:e.indexSignature)!=null?s:new we((h=e==null?void 0:e.indexSignature)!=null?h:{type:"form"}),this.signaturePosition=(v=e==null?void 0:e.signaturePosition)!=null?v:"free",this.seal=new we((g=e==null?void 0:e.seal)!=null?g:{type:"form"}),this.platformAutoSign=(C=e==null?void 0:e.platformAutoSign)!=null?C:!1,this.signDateBeanType=(B=e==null?void 0:e.signDateBeanType)!=null?B:0,this.signDateFontSize=(E=e==null?void 0:e.signDateFontSize)!=null?E:12,this.signOrder=(D=e==null?void 0:e.signOrder)!=null?D:1,this.forceReadTime=e==null?void 0:e.forceReadTime,this.posX=(m=e==null?void 0:e.posX)!=null?m:0,this.posY=(_=e==null?void 0:e.posY)!=null?_:0,this.remark=(I=e==null?void 0:e.remark)!=null?I:""}}class Bo{constructor(e){var n,i,u,l,a,o;this.fileControl=(n=e==null?void 0:e.fileControl)!=null?n:"",this.undersignedList=(u=(i=e==null?void 0:e.undersignedList)==null?void 0:i.map(c=>new Ll(c)))!=null?u:[new Ll],this.statusControl=(l=e==null?void 0:e.statusControl)!=null?l:"",this.completeControl=(a=e==null?void 0:e.completeControl)!=null?a:"",this.completeTimeControl=(o=e==null?void 0:e.completeTimeControl)!=null?o:""}}class Ht{constructor(e){var n,i,u,l,a,o,c;this.id=(n=e==null?void 0:e.id)!=null?n:se(8),this.appId=(i=e==null?void 0:e.appId)!=null?i:"",this.dataCode=(u=e==null?void 0:e.dataCode)!=null?u:"",this.svcCode=(l=e==null?void 0:e.svcCode)!=null?l:"",this.name=(a=e==null?void 0:e.name)!=null?a:"",this.fieldList=(o=e==null?void 0:e.fieldList)!=null?o:[],this.active=(c=e==null?void 0:e.active)!=null?c:!1}}class Nl{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 Do{constructor(e){var n,i,u,l;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=(l=e==null?void 0:e.logicToDelete)!=null?l:!0,this.watermark=new Nl(e==null?void 0:e.watermark),this.autoRename=new Nl(e==null?void 0:e.autoRename)}}class Vl{constructor(e){var n,i,u,l,a,o,c;this.appId=(n=e==null?void 0:e.appId)!=null?n:"",this.dataCode=(i=e==null?void 0:e.dataCode)!=null?i:"",this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.orders=(l=e==null?void 0:e.orders)!=null?l:[],this.filters=(a=e==null?void 0:e.filters)!=null?a:[],this.isRelation=(o=e==null?void 0:e.isRelation)!=null?o:!1,this.relationBindCode=(c=e==null?void 0:e.relationBindCode)!=null?c:""}}class Hl{constructor(e){var n,i;this.type=(n=e==null?void 0:e.type)!=null?n:"auto",this.row=(i=e==null?void 0:e.row)!=null?i:20,this.height=e==null?void 0:e.height}}class wo{constructor(e){this.dataCode=e.dataCode}}class Fo{constructor(e){var n,i,u;this.templateType=(n=e==null?void 0:e.templateType)!=null?n:"system",this.templateList=(u=(i=e==null?void 0:e.templateList)==null?void 0:i.map(l=>new wo(l)))!=null?u:[]}}class Ao{constructor(e){var n,i,u;this.templateType=(n=e==null?void 0:e.templateType)!=null?n:"system",this.templateList=(u=(i=e==null?void 0:e.templateList)==null?void 0:i.map(l=>new Ht(l)))!=null?u:[new Ht({id:"default",name:r("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u677F"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}const So=480;function jt(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class Io{constructor(e){var n,i,u,l,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=(l=e.isDefault)!=null?l:!1,this.rules=(a=e.rules)!=null?a:[]}}class To{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 Ro=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(Ro||{}),jl=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(jl||{}),vi=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(vi||{}),xe=(t=>(t.ALL="all",t.ASSIGN="assign",t))(xe||{}),ql=(t=>(t.ALL="all",t.ADMIN="admin",t))(ql||{}),Wl=(t=>(t.NO_COMPRESS="0",t.RATIO_COMPRESS="1",t.PIXEL_COMPRESS="2",t))(Wl||{});class Ul 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:$l.SOLID}}class Po extends k{constructor(e){super(e),this.props=new Ul(e==null?void 0:e.props)}static get controlName(){return r("CMD.divider",null,"\u5206\u5272\u7EBF")}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}Po.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]}];class hB extends W{constructor(e){super(e),this.props=new Ul(e==null?void 0:e.props)}static get controlType(){return"divider"}}var xo={Designer:Po,Runtime:hB,Property:Ul};class fB extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.dataBind={type:"any"},this.config={type:"array"},e.config.includes(Pe.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:r("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")},dataCode:{type:"string",required:!0,message:r("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")}},message:r("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")}),!e.isHide&&e.config.length===0&&(this.config={type:"array",min:1,required:!0,message:r("CMD.pleaseSelectOneField",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01")})}}class mi extends q{constructor(e){var n,i,u,l;super(e),this.dataBind=new he(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[Pe.ShowSubmitUser,Pe.ShowSubmitDept,Pe.ShowSubmitTime,Pe.ShowCurrentApprovar,Pe.ShowTitle],this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:dt==null?void 0:dt.controlName)!=null?u:"",this.position=(l=e==null?void 0:e.position)!=null?l:"top"}}mi.Rules=fB;class dt extends k{constructor(e){super(e),this.props=new mi(e==null?void 0:e.props)}static get controlName(){return r("CMD.title",null,"\u6807\u9898\u7EC4\u4EF6")}static get controlIcon(){return"title"}static get controlType(){return"title"}}dt.controlFieldType=b.AUTO_NUMBER,dt.setting=[{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class yB extends W{constructor(e){super(e),this.props=new mi(e==null?void 0:e.props)}static get controlType(){return"title"}}var ko={Designer:dt,Runtime:yB,Property:mi};class vB extends j{constructor(e){super(e),this.formKey={type:"string",required:!0,message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}class gi extends p{constructor(e){var n,i,u,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:ht.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:ht.controlName,this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(l=e==null?void 0:e.openType)!=null?l:"modal"}}gi.Rules=vB;class ht extends Y{constructor(e){super(e),this.props=new gi(e==null?void 0:e.props)}static get controlName(){return r("CMD.createFormListButton",null,"\u521B\u5EFA\u5355\u636E")}static get controlIcon(){return"iconchuangjiandanju"}static get controlType(){return"list-page-btn-create-form"}}ht.slots=["grid-table-toolbar-slot"],ht.controlEventKeys=["on_click","on_click_finish"],ht.setting=[{key:"button-content",visible:!0},{key:"select-form",visible:!0},{key:"open-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class mB extends ie{constructor(e){super(e),this.props=new gi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var Oo={Designer:ht,Runtime:mB,Property:gi};class gB extends j{constructor(e){super(e),this.processKey=[{type:"string",message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{type:"string",required:!0,message:r("CMD.pleaseEnterProcess",null,"\u8BF7\u7ED1\u5B9A\u6D41\u7A0B")}]}}class bi extends p{constructor(e){var n,i,u,l,a,o;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:ft.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:ft.controlName,this.initiatorMode=(u=e==null?void 0:e.initiatorMode)!=null?u:"currentInitiator",this.processKey=(l=e==null?void 0:e.processKey)!=null?l:"",this.fieldCode=(a=e==null?void 0:e.fieldCode)!=null?a:"",this.employeeId=(o=e==null?void 0:e.employeeId)!=null?o:""}}bi.Rules=gB;class ft extends Y{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlName(){return r("CMD.batchSubmissionListButton",null,"\u6279\u91CF\u63D0\u4EA4")}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-submission"}}ft.slots=["grid-table-toolbar-slot"],ft.controlEventKeys=["on_click","on_click_finish"],ft.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 bB extends ie{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var Mo={Designer:ft,Runtime:bB,Property:bi};class zl extends p{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:yt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:yt.controlIcon}}class yt extends Y{constructor(e){super(e),this.props=new zl(e==null?void 0:e.props)}static get controlName(){return r("CMD.submissionRecordListButton",null,"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55")}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-submission-record"}}yt.slots=["grid-table-toolbar-slot"],yt.controlEventKeys=["on_click"],yt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class CB extends ie{constructor(e){super(e),this.props=new zl(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var $o={Designer:yt,Runtime:CB,Property:zl};class Kl extends p{constructor(e){var n,i,u,l,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.templateType=(u=e==null?void 0:e.templateType)!=null?u:"system",this.templateList=(a=(l=e==null?void 0:e.templateList)==null?void 0:l.map(o=>new Ht(o)))!=null?a:[new Ht({id:"default",name:r("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u7248"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class vt extends Y{constructor(e){super(e),this.props=new Kl(e==null?void 0:e.props)}static get controlName(){return r("CMD.exportListButton",null,"\u5BFC\u51FA")}static get controlIcon(){return"iconxiazai1"}static get controlType(){return"list-page-btn-export-list"}}vt.slots=["grid-table-toolbar-slot"],vt.controlEventKeys=["on_click","on_click_finish"],vt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"export-list-template",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class EB extends ie{constructor(e){super(e),this.props=new Kl(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var Lo={Designer:vt,Runtime:EB,Property:Kl};class Gl extends p{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:mt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:mt.controlIcon}}class mt extends Y{constructor(e){super(e),this.props=new Gl(e==null?void 0:e.props)}static get controlName(){return r("CMD.exportRecordListButton",null,"\u5BFC\u51FA\u8BB0\u5F55")}static get controlIcon(){return"icondaochujilu"}static get controlType(){return"list-page-btn-export-record"}}mt.slots=["grid-table-toolbar-slot"],mt.controlEventKeys=["on_click"],mt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class _B extends ie{constructor(e){super(e),this.props=new Gl(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var No={Designer:mt,Runtime:_B,Property:Gl};class BB{constructor(e){this.dataCode=e.dataCode}}class Xl extends p{constructor(e){var n,i,u,l,a;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:gt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:gt.controlIcon,this.canImportList=(l=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(o=>new BB(o)))!=null?l:[],this.templateType=(a=e==null?void 0:e.templateType)!=null?a:"system"}}class gt extends Y{constructor(e){super(e),this.props=new Xl(e==null?void 0:e.props)}static get controlName(){return r("CMD.importRecordListButton",null,"\u5BFC\u5165")}static get controlIcon(){return"iconshangchuan3"}static get controlType(){return"list-page-btn-import-record"}}gt.slots=["grid-table-toolbar-slot"],gt.controlEventKeys=["on_click","on_click_finish"],gt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"import-list-template",visible:!0},{key:"super-setting",visible:!0}];class DB extends ie{constructor(e){super(e),this.props=new Xl(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var Vo={Designer:gt,Runtime:DB,Property:Xl};function Ci(){return{dataCode:{type:"string",required:!0,message:r("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},controlId:{type:"string",required:!0,message:r("CMD.pleaseSelectControl",null,"\u8BF7\u9009\u62E9\u63A7\u4EF6")}}}}}}class wB extends j{constructor(e){super(e),this.fillPayload={type:"object",fields:nt({},Ci())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:r("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}}},this.fillBack={type:"object",fields:nt({mode:{type:"string",required:!0,message:r("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},Ci())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:r("CMD.pleaseSelectControl",null,"\u8BF7\u9009\u62E9\u63A7\u4EF6")})}}class Ei extends p{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:qt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:qt.controlIcon,this.command=(u=e==null?void 0:e.command)!=null?u:"create",this.fillPayload=new yr(e==null?void 0:e.fillPayload),this.formBind=new bE(e==null?void 0:e.formBind),this.fillBack=new vr(e==null?void 0:e.fillBack)}}Ei.Rules=wB;class qt extends Y{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlName(){return r("CMD.formSelectButton",null,"\u8868\u5355\u64CD\u4F5C")}static get controlIcon(){return"iconbiaodancaozuo"}static get controlType(){return"form-select-button"}}qt.controlEventKeys=["on_click","on_click_finish"],qt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class FB extends ie{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var Ho={Designer:qt,Runtime:FB,Property:Ei};class AB extends j{constructor(e){super(e),this.fillPayload={type:"object",fields:nt({},Ci())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:r("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")},headers:{type:"array",required:!0,message:r("CMD.pleaseSelectAtLeastOneColumn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5")}}},this.fillBack={type:"object",fields:nt({mode:{type:"string",required:!0,message:r("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},Ci())}}}class _i extends p{constructor(e){var n,i,u,l,a;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Wt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Wt.controlIcon,this.fillPayload=new yr(e==null?void 0:e.fillPayload),this.listPageBind=new $u(e==null?void 0:e.listPageBind),this.fillBack=new vr(e==null?void 0:e.fillBack),this.showSelectedDetail=(u=e==null?void 0:e.showSelectedDetail)!=null?u:!1,this.selectedContentConfig=new Hu(e==null?void 0:e.selectedContentConfig),this.isSelectedRowFill=(l=e==null?void 0:e.isSelectedRowFill)!=null?l:!1,this.disableFilling=(a=e==null?void 0:e.disableFilling)!=null?a:!0}}_i.Rules=AB;class Wt extends Y{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}static get controlName(){return r("CMD.listSelectButton",null,"\u5217\u8868\u9009\u62E9")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-select-button"}}Wt.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],Wt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class SB extends ie{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var jo={Designer:Wt,Runtime:SB,Property:_i};class IB extends j{constructor(e){super(e)}}class TB extends Me{constructor(e){super(e)}}class Ut extends q{constructor(e){super(e)}}Ut.Rules=IB,Ut.RuntimeRules=TB;class qo extends k{constructor(e){super(e),this.props=new Ut(e==null?void 0:e.props)}static get controlName(){return r("CMD.pagination",null,"\u5206\u9875")}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}qo.setting=[];class RB extends W{constructor(e){super(e),this.props=new Ut(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var Wo={Designer:qo,Runtime:RB,Property:Ut};class PB extends j{constructor(e){super(e),this.dashboardKey={type:"string",required:!0,message:r("CMD.pleaseSelectDashboard",null,"\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8")},this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.captionTip={type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},this.isShowReportParams={type:"boolean"},this.reportParams={type:"array",min:0},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Bi extends q{constructor(e){var n,i,u,l,a,o,c,h;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=(l=e==null?void 0:e.isShowCaptionTip)!=null?l:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(o=e==null?void 0:e.labelPosition)!=null?o:"top",this.isShowReportParams=(c=e==null?void 0:e.isShowReportParams)!=null?c:!1,this.reportParams=(h=e==null?void 0:e.reportParams)!=null?h:[]}}Bi.Rules=PB;class Uo extends k{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlName(){return r("CMD.dashboard",null,"\u4EEA\u8868\u76D8")}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}Uo.setting=[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE,d.IS_SHOW_CAPTION_TIP]},{key:"report-params-setting",visible:!0},{key:"super-setting",visible:!0}];class xB extends W{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var zo={Designer:Uo,Runtime:xB,Property:Bi};class kB extends j{constructor(e){super(e),this.showType={type:"enum",enum:["select","tabs"]},this.viewList={type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:r("CMD.theViewNameCannotBeEmpty",null,"\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A")},headers:{type:"array",required:!0,min:1,message:r("CMD.pleaseSelectAtLeastOneColumn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5")}}}}}}class Di 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(l=>new $E(l)))!=null?u:[]}}Di.Rules=kB;class Ko extends k{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlName(){return r("CMD.listViewSelect",null,"\u5217\u8868\u89C6\u56FE")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-view-select"}}Ko.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class OB extends W{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var Go={Designer:Ko,Runtime:OB,Property:Di};class MB extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:r("CMD.pleaseSelectOcrType",null,"\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B")},this.fillList={type:"array",validator(n,i,u){if(i.every(a=>!a.controlId)){u(r("CMD.pleaseSelectAtLeastOneFieldToFillIn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145"));return}u()}},this.captionTip={type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class wi extends p{constructor(e){var n,i,u,l,a,o,c,h,s,v;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:bt.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(l=e==null?void 0:e.captionTip)!=null?l:"",this.labelPosition=(a=e==null?void 0:e.labelPosition)!=null?a:"top",this.content=(o=e==null?void 0:e.content)!=null?o:bt.controlName,this.icon=(c=e==null?void 0:e.icon)!=null?c:bt.controlIcon,this.ocrType=(h=e==null?void 0:e.ocrType)!=null?h:"",this.fillList=(v=(s=e==null?void 0:e.fillList)==null?void 0:s.map(g=>new ee(g)))!=null?v:[]}}wi.Rules=MB;class bt extends Y{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlName(){return r("CMD.textOcrButton",null,"\u6587\u5B57\u8BC6\u522B")}static get controlIcon(){return"iconwenzishibie"}static get controlType(){return"text-ocr-button"}}bt.controlEventKeys=["on_click","on_click_finish"],bt.setting=[{key:"caption",showItems:[d.CAPTION,d.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:[d.IS_HIDE,d.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class $B extends ie{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var Xo={Designer:bt,Runtime:$B,Property:wi};class LB extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.invoiceCheck={type:"boolean"},this.fillList={type:"array",validator(n,i,u){if(i.every(a=>!a.controlId)){u(r("CMD.pleaseSelectAtLeastOneFieldToFillIn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145"));return}u()}},this.captionTip={type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Fi extends p{constructor(e){var n,i,u,l,a,o,c,h,s,v;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=(l=e==null?void 0:e.captionTip)!=null?l:"",this.labelPosition=(a=e==null?void 0:e.labelPosition)!=null?a:"top",this.content=(o=e==null?void 0:e.content)!=null?o:Ct.controlName,this.icon=(c=e==null?void 0:e.icon)!=null?c:Ct.controlIcon,this.invoiceCheck=(h=e==null?void 0:e.invoiceCheck)!=null?h:!0,this.fillList=(v=(s=e==null?void 0:e.fillList)==null?void 0:s.map(g=>new ee(g)))!=null?v:[]}}Fi.Rules=LB;class Ct extends Y{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}static get controlName(){return r("CMD.invoiceCheckButton",null,"\u53D1\u7968\u8BC6\u522B")}static get controlIcon(){return"iconfabiaoshibie1"}static get controlType(){return"invoice-check-button"}}Ct.controlEventKeys=["on_click","on_click_finish"],Ct.setting=[{key:"caption",showItems:[d.CAPTION,d.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:[d.IS_HIDE,d.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class NB extends ie{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var Qo={Designer:Ct,Runtime:NB,Property:Fi};class VB extends j{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:r("CMD.pleaseUploadAtLeastOnePrintTemplate",null,"\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01")}}}class Ai extends p{constructor(e){var n,i,u,l,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Et.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Et.controlName,this.printTemplates=(l=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(o=>new Io(o)))!=null?l:[],this.autoSelectTemplate=(a=e==null?void 0:e.autoSelectTemplate)!=null?a:!1}}Ai.Rules=VB;class Et extends Y{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlName(){return r("CMD.batchPrintListButton",null,"\u6279\u91CF\u6253\u5370")}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-print"}}Et.slots=["grid-table-toolbar-slot"],Et.controlEventKeys=["on_click","on_click_finish"],Et.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 HB extends ie{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var Jo={Designer:Et,Runtime:HB,Property:Ai};class Ql extends p{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:_t.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:_t.controlIcon}}class _t extends Y{constructor(e){super(e),this.props=new Ql(e==null?void 0:e.props)}static get controlName(){return r("CMD.batchPrintRecordList",null,"\u6279\u91CF\u6253\u5370\u8BB0\u5F55")}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-batch-print-record"}}_t.slots=["grid-table-toolbar-slot"],_t.controlEventKeys=["on_click"],_t.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class jB extends ie{constructor(e){super(e),this.props=new Ql(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var Zo={Designer:_t,Runtime:jB,Property:Ql};class qB extends j{constructor(e){super(e),this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")})}}class Si extends q{constructor(e){var n,i,u,l,a,o;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:r("CMD.button",null,"\u6309\u94AE"),this.code=e==null?void 0:e.code,this.command=(i=e==null?void 0:e.command)!=null?i:"custom",this.color=(u=e==null?void 0:e.color)!=null?u:"primary",this.icon=e==null?void 0:e.icon,this.formKey=e==null?void 0:e.formKey,this.openType=e==null?void 0:e.openType,this.needConfirm=e==null?void 0:e.needConfirm,this.confirmMessage=e==null?void 0:e.confirmMessage,this.options=e==null?void 0:e.options,this.defaultState=(l=e==null?void 0:e.defaultState)!=null?l:"default",this.priorityProcess=e==null?void 0:e.priorityProcess,this.isLoading=(a=e==null?void 0:e.isLoading)!=null?a:!1,this.isSyncDelete=(o=e==null?void 0:e.isSyncDelete)!=null?o:!1}}Si.Rules=qB;class Ii extends k{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlName(){return r("CMD.operationButton",null,"\u64CD\u4F5C\u6309\u94AE")}static get controlIcon(){return"iconbtn"}static get controlType(){return"operation-button"}}Ii.controlEventKeys=["on_click"],Ii.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"super-setting",visible:!0}];class WB extends W{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var Yo={Designer:Ii,Runtime:WB,Property:Si};class Jl extends q{constructor(e){var n,i,u,l,a,o,c,h,s;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Bt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Bt.controlIcon,this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(l=e==null?void 0:e.showType)!=null?l:"iconText",this.color=(a=e==null?void 0:e.color)!=null?a:"danger",this.isHide=(o=e==null?void 0:e.isHide)!=null?o:!1,this.defaultState=(c=e==null?void 0:e.defaultState)!=null?c:"default",this.command=(h=e==null?void 0:e.command)!=null?h:"custom",this.isLoading=(s=e==null?void 0:e.isLoading)!=null?s:!1}}class Bt extends k{constructor(e){super(e),this.props=new Jl(e==null?void 0:e.props)}static get controlName(){return r("CMD.batchDeleteButton",null,"\u6279\u91CF\u5220\u9664")}static get controlIcon(){return"iconlajitong"}static get controlType(){return"list-page-btn-batch-delete"}}Bt.slots=["grid-table-toolbar-slot"],Bt.controlEventKeys=["on_click"],Bt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"super-setting",visible:!0}];class UB extends W{constructor(e){super(e),this.props=new Jl(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var po={Designer:Bt,Runtime:UB,Property:Jl};class zB extends j{constructor(e){super(e),this.actionSetting={type:"object",fields:{dataCode:{type:"string",required:!0,message:r("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},formKey:{type:"string",required:!0,message:r("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}}}}}class Ti extends q{constructor(e){var n,i,u,l,a,o;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ri.controlName,this.isShowSimpleSearch=(i=e==null?void 0:e.isShowSimpleSearch)!=null?i:!0,this.isShowToolbar=(u=e==null?void 0:e.isShowToolbar)!=null?u:!0,this.isHideCaption=(l=e==null?void 0:e.isHideCaption)!=null?l:!1,this.actionSetting=(a=new Vl(e==null?void 0:e.actionSetting))!=null?a:new Vl,this.listHeightSetting=(o=new Hl(e==null?void 0:e.listHeightSetting))!=null?o:new Hl}}Ti.Rules=zB;class Ri extends k{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlName(){return r("CMD.referenceList",null,"\u5F15\u7528\u5217\u8868")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"reference-list"}}Ri.controlEventKeys=["on_list_rowclick"],Ri.setting=[{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE,d.IS_SHOW_SIMPLE_SEARCH,d.IS_SHOW_TOOL_BAE]},{key:"action-setting",visible:!0},{key:"line-height-setting",visible:!0},{key:"super-setting",visible:!0}];class KB extends W{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlType(){return"reference-list"}}var ec={Designer:Ri,Runtime:KB,Property:Ti},GB=Object.freeze({__proto__:null,Text:go,Link:bo,Button:Co,Divider:xo,Title:ko,CreateFormListButton:Oo,BatchSubmissionListButton:Mo,SubmissionRecordListButton:$o,ExportListButton:Lo,ExportRecordListButton:No,ImportRecordListButton:Vo,FormSelectButton:Ho,ListSelectButton:jo,Pagination:Wo,Dashboard:zo,ListViewSelect:Go,TextOcrButton:Xo,InvoiceCheckButton:Qo,BatchPrintListButton:Jo,BatchPrintRecordListButton:Zo,OperationButton:Yo,BatchDeleteButton:po,ReferenceList:ec});class XB extends G{constructor(e){super(e),this.maxLength={type:"number",min:0,message:r("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:200,message:r("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")},this.defaultValue=[{type:"string",max:200,min:0,message:r("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")},{pattern:"",message:""}],this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue[0].max=e.maxLength,this.defaultValue[0].min=e.minLength,this.defaultValue[0].message=r("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C"),this.defaultValue[1].pattern=jt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class QB extends ${constructor(e){super(e),this.push({type:"string",message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{max:e.maxLength,min:e.minLength,message:r("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:jt(e.regularRules.expression),message:e.regularRules.errMessage})}}class Dt extends S{constructor(e){var n,i,u,l,a,o,c,h,s,v;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 mr(e==null?void 0:e.regularRules),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(l=e==null?void 0:e.caption)!=null?l:wt.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.encrypted=(o=e==null?void 0:e.encrypted)!=null?o:!1,this.encryptedMode=(c=e==null?void 0:e.encryptedMode)!=null?c:"",this.aiContentSearch=(h=e==null?void 0:e.aiContentSearch)!=null?h:!1,this.autoHeight=(s=e==null?void 0:e.autoHeight)!=null?s:!1,this.lineEllipsis=(v=e==null?void 0:e.lineEllipsis)!=null?v:1}}Dt.Rules=XB,Dt.RuntimeRules=QB;class wt extends T{constructor(e){super(e),this.props=new Dt(e==null?void 0:e.props)}static get controlName(){return r("CMD.input",null,"\u5355\u884C\u6587\u672C")}static get controlIcon(){return"iconSingleline_new1"}static get controlType(){return"input"}}wt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],wt.controlFieldType=b.VARCHAR,wt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.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:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP,d.ENCRYPTED]},{key:"ai-content-search",visible:!0},{key:"column-autoHeight",visible:!1},{key:"column-line-ellipsis",visible:!1},{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 tc extends R{constructor(e){super(e),this.props=new Dt(e==null?void 0:e.props)}static get controlType(){return"input"}}tc.controlFieldType=b.VARCHAR;var nc={Designer:wt,Runtime:tc,Property:Dt};class JB extends at{constructor(e){super(e),this.limitMax={type:"number",min:void 0,message:r("CMD.PleaseReselectTheOptionalQuantity",null,"\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const i=u=>u==="unlimited"?void 0:u;this.limitMax.min=i(e.limitMin)}}class ZB extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:typeof e.limitMax=="number"?e.limitMax:void 0,min:typeof e.limitMin=="number"?e.limitMin:void 0})}}class zt extends S{constructor(e){var n,i,u,l,a,o,c,h,s,v,g,C,B,E;super(e),this.options=me((n=e==null?void 0:e.options)!=null?n:[{label:r("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:r("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:r("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:r("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.checkboxMode=(i=e==null?void 0:e.checkboxMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.optionsOrder=(l=e==null?void 0:e.optionsOrder)!=null?l:!1,this.otherOption=(a=e==null?void 0:e.otherOption)!=null?a:!1,this.limitMin=(o=e==null?void 0:e.limitMin)!=null?o:"unlimited",this.limitMax=(c=e==null?void 0:e.limitMax)!=null?c:"unlimited",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.interreaction=(h=e==null?void 0:e.interreaction)!=null?h:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:Kt.controlName,this.defaultValue=(v=e==null?void 0:e.defaultValue)!=null?v:[],this.optionsFormat=(g=e==null?void 0:e.optionsFormat)!=null?g:"horizontal",this.defaultShowOptions=(C=e==null?void 0:e.defaultShowOptions)!=null?C:!0,this.openMultistageFilling=(B=e==null?void 0:e.openMultistageFilling)!=null?B:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(D=>{var m;(m=this.multistageFilling)==null||m.push(new ee(D))})),this.aiContentSearch=(E=e==null?void 0:e.aiContentSearch)!=null?E:!1}}zt.Rules=JB,zt.RuntimeRules=ZB;class Kt extends T{constructor(e){super(e),this.props=new zt(e==null?void 0:e.props)}static get controlName(){return r("CMD.checkBox",null,"\u591A\u9009")}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}Kt.controlEventKeys=["on_change","on_click"],Kt.controlFieldType=b.ARRAY,Kt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.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:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!0},{key:"options-setting",visible:!0},{key:"limit-select",visible:!0},{key:"options-order",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class ic extends R{constructor(e){super(e),this.props=new zt(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}ic.controlFieldType=b.ARRAY;var uc={Designer:Kt,Runtime:ic,Property:zt};class YB extends at{constructor(e){super(e)}}class Pi extends S{constructor(e){var n,i,u,l,a,o,c,h,s,v,g,C;super(e),this.options=me((n=e==null?void 0:e.options)!=null?n:[{label:r("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:r("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:r("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:r("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.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=(l=e==null?void 0:e.otherOption)!=null?l:!1,this.optionsOrder=(a=e==null?void 0:e.optionsOrder)!=null?a:!1,this.defaultShowOptions=(o=e==null?void 0:e.defaultShowOptions)!=null?o:!0,this.optionsFormat=(c=e==null?void 0:e.optionsFormat)!=null?c:"horizontal",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.interreaction=(h=e==null?void 0:e.interreaction)!=null?h:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:Gt.controlName,this.defaultValue=(v=e==null?void 0:e.defaultValue)!=null?v:"",this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(B=>{var E;(E=this.multistageFilling)==null||E.push(new ee(B))})),this.aiContentSearch=(C=e==null?void 0:e.aiContentSearch)!=null?C:!1}}Pi.Rules=YB;class Gt extends T{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlName(){return r("CMD.radio",null,"\u5355\u9009")}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}Gt.controlEventKeys=["on_change","on_click"],Gt.controlFieldType=b.VARCHAR,Gt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.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:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!0},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class lc extends R{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlType(){return"radio"}}lc.controlFieldType=b.VARCHAR;var ac={Designer:Gt,Runtime:lc,Property:Pi};class pB extends G{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:200,message:r("CMD.pleaseEnterNumberRange",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")},{pattern:"",message:""}],this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue[0].max=n,this.defaultValue[0].min=i,this.defaultValue[0].message=r("CMD.pleaseEnterNumberRange",{max:n,min:i},"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:r("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")}),this.defaultValue[1].pattern=jt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class eD extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const n=e.rangeMax!==""?e.rangeMax:void 0,i=e.rangeMin!==""?e.rangeMin:void 0;this.push({type:"number",max:n,min:i,message:r(n===void 0?"CMD.pleaseEnterAValueGreaterThanMin":i===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:n,min:i},r(n===void 0?"CMD.16921751712133509":i===void 0?"CMD.f0231751712135569":"CMD.78ab1751712129046"))}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:jt(e.regularRules.expression),message:e.regularRules.errMessage})}}class Xt extends S{constructor(e){var n,i,u,l,a,o,c,h,s,v,g,C,B;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.numberType=(u=e==null?void 0:e.numberType)!=null?u:"number",this.percentageFormat=(l=e==null?void 0:e.percentageFormat)!=null?l:!1,this.micrometer=(a=e==null?void 0:e.micrometer)!=null?a:!1,this.precision=(o=e==null?void 0:e.precision)!=null?o:0,this.showUpperCase=(c=e==null?void 0:e.showUpperCase)!=null?c:!1,this.isShowUnit=(h=e==null?void 0:e.isShowUnit)!=null?h:!1,this.unitPosition=(s=e==null?void 0:e.unitPosition)!=null?s:"right",this.unit=(v=e==null?void 0:e.unit)!=null?v:"",this.caption=(g=e==null?void 0:e.caption)!=null?g:Qt.controlName,this.placeholder=(C=e==null?void 0:e.placeholder)!=null?C:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.defaultValue=(B=e==null?void 0:e.defaultValue)!=null?B:"",this.regularRules=new mr(e==null?void 0:e.regularRules)}}Xt.Rules=pB,Xt.RuntimeRules=eD;class Qt extends T{constructor(e){super(e),this.props=new Xt(e==null?void 0:e.props)}static get controlName(){return r("CMD.number",null,"\u6570\u5B57")}static get controlIcon(){return"iconnuminput_new"}static get controlType(){return"number"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}Qt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Qt.controlFieldType=b.DECIMAL,Qt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.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:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_UNIT,d.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:[d.SHOW_UPPER_CASE,d.MICROMETER,d.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class rc extends R{constructor(e){super(e),this.props=new Xt(e==null?void 0:e.props)}static get controlType(){return"number"}}rc.controlFieldType=b.DECIMAL;var oc={Designer:Qt,Runtime:rc,Property:Xt};class Zl extends S{constructor(e){var n,i,u,l,a,o,c,h,s,v,g,C;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:it.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(u=e==null?void 0:e.commonTimeSetting)!=null?u:[],this.setValueType=(l=e==null?void 0:e.setValueType)!=null?l:"custom",this.caption=(a=e==null?void 0:e.caption)!=null?a:xi.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:r("CMD.pleaseEnterDate",null,"\u8BF7\u8F93\u5165\u65E5\u671F"),this.defaultValue=(c=e==null?void 0:e.defaultValue)!=null?c:"",this.limitDateList=(s=(h=e==null?void 0:e.limitDateList)==null?void 0:h.map(B=>new fi(B)))!=null?s:[],this.allowDateRange=(v=e==null?void 0:e.allowDateRange)!=null?v:["",""],this.filterWeekend=(g=e==null?void 0:e.filterWeekend)!=null?g:!1,this.isInternational=(C=e==null?void 0:e.isInternational)!=null?C:!1}}class xi extends T{constructor(e){super(e),this.props=new Zl(e==null?void 0:e.props)}static get controlName(){return r("CMD.timestamp",null,"\u65E5\u671F")}static get controlIcon(){return"iconriqi1"}static get controlType(){return"date-picker"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:i,isInternational:u}=this.props;n.props.dateType=i,n.props.isInternational=u}return n}}xi.controlFieldType=b.TIMESTAMP,xi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP,d.IS_INTERNATIONAL]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class cc extends R{constructor(e){super(e),this.props=new Zl(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}cc.controlFieldType=b.TIMESTAMP;var sc={Designer:xi,Runtime:cc,Property:Zl};class tD extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),e.required&&!e.isHide&&this.push({type:"object",fields:{max:{type:"string",required:e.required,message:this[0].message},min:{type:"string",required:e.required,message:this[0].message}}})}}class ki extends S{constructor(e){var n,i,u,l,a,o,c,h,s,v,g,C;super(e),this.dataBind=new TE(e==null?void 0:e.dataBind),this.defaultValue=new RE(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:it.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(u=e==null?void 0:e.commonTimeSetting)!=null?u:[],this.setValueType=(l=e==null?void 0:e.setValueType)!=null?l:"custom",this.rangeMin=(a=e==null?void 0:e.rangeMin)!=null?a:"",this.rangeMax=(o=e==null?void 0:e.rangeMax)!=null?o:"",this.placeholderStart=(c=e==null?void 0:e.placeholderStart)!=null?c:r("CMD.pleaseSelectStartDate",null,"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F"),this.placeholderEnd=(h=e==null?void 0:e.placeholderEnd)!=null?h:r("CMD.pleaseSelectEndDate",null,"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F"),this.caption=(s=e==null?void 0:e.caption)!=null?s:Oi.controlName,this.limitDateList=(g=(v=e==null?void 0:e.limitDateList)==null?void 0:v.map(B=>new fi(B)))!=null?g:[],this.isInternational=(C=e==null?void 0:e.isInternational)!=null?C:!1}}ki.RuntimeRules=tD;class Oi extends T{constructor(e){super(e),this.props=new ki(e==null?void 0:e.props)}static get controlName(){return r("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"date-range"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:i,isInternational:u}=this.props;n.props.dateType=i,n.props.isInternational=u}return n}}Oi.controlFieldType=b.TIMESCOPE,Oi.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP,d.IS_INTERNATIONAL]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class dc extends R{constructor(e){super(e),this.props=new ki(e==null?void 0:e.props)}static get controlType(){return"date-range"}}dc.controlFieldType=b.TIMESCOPE;var hc={Designer:Oi,Runtime:dc,Property:ki};class nD extends G{constructor(e){super(e),this.maxLength={type:"number",min:0,message:r("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:1e6,message:r("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")},this.defaultValue={type:"string",max:200,min:0,message:r("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=r("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}}class iD extends ${constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:r("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")})}}class Jt extends S{constructor(e){var n,i,u,l,a,o,c,h,s,v;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=(l=e==null?void 0:e.caption)!=null?l:Zt.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.rowHeightSetting=new vE(e==null?void 0:e.rowHeightSetting),this.aiContentSearch=(o=e==null?void 0:e.aiContentSearch)!=null?o:!1,this.aiGeneration=(c=e==null?void 0:e.aiGeneration)!=null?c:!1,this.aiOptions=br((h=e==null?void 0:e.aiOptions)!=null?h:[{label:r("CMD.aiOptionOneLabel",null,"\u603B\u7ED3"),cueWord:r("CMD.aiOptionOneCurword",null,"SUMM"),checked:!0},{label:r("CMD.aiOptionTwoLabel",null,"\u4E30\u5BCC"),cueWord:r("CMD.aiOptionTwoCurword",null,"RICH"),checked:!1},{label:r("CMD.aiOptionThreeLabel",null,"\u7FFB\u8BD1"),cueWord:r("CMD.aiOptionThreeCurword",null,"TRANS"),checked:!1}]),this.autoHeight=(s=e==null?void 0:e.autoHeight)!=null?s:!1,this.lineEllipsis=(v=e==null?void 0:e.lineEllipsis)!=null?v:1}}Jt.Rules=nD,Jt.RuntimeRules=iD;class Zt extends T{constructor(e){super(e),this.props=new Jt(e==null?void 0:e.props)}static get controlName(){return r("CMD.textarea",null,"\u591A\u884C\u6587\u672C")}static get controlIcon(){return"iconMultilineline_new1"}static get controlType(){return"textarea"}}Zt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Zt.controlFieldType=b.TEXT,Zt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.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:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!1},{key:"ai-generation",visible:!0},{key:"column-autoHeight",visible:!1},{key:"column-line-ellipsis",visible:!1},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"row-height-setting",visible:!0},{key:"super-setting",visible:!0}];class fc extends R{constructor(e){super(e),this.props=new Jt(e==null?void 0:e.props)}static get controlType(){return"textarea"}}fc.controlFieldType=b.TEXT;var yc={Designer:Zt,Runtime:fc,Property:Jt};class uD extends G{constructor(e){super(e),this.maxLength={type:"number",min:0,message:r("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:1e6,message:r("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")},this.defaultValue={type:"string",max:200,min:0,message:r("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=r("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}}class lD extends ${constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:r("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")})}}class Yt extends S{constructor(e){var n,i,u,l,a,o,c,h,s,v;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=(l=e==null?void 0:e.caption)!=null?l:pt.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.aiContentSearch=(o=e==null?void 0:e.aiContentSearch)!=null?o:!1,this.aiGeneration=(c=e==null?void 0:e.aiGeneration)!=null?c:!1,this.aiOptions=br((h=e==null?void 0:e.aiOptions)!=null?h:[{label:r("CMD.aiOptionOneLabel",null,"\u603B\u7ED3"),cueWord:r("CMD.aiOptionOneCurword",null,"SUMM"),checked:!0},{label:r("CMD.aiOptionTwoLabel",null,"\u4E30\u5BCC"),cueWord:r("CMD.aiOptionTwoCurword",null,"RICH"),checked:!1},{label:r("CMD.aiOptionThreeLabel",null,"\u7FFB\u8BD1"),cueWord:r("CMD.aiOptionThreeCurword",null,"TRANS"),checked:!1}]),this.autoHeight=(s=e==null?void 0:e.autoHeight)!=null?s:!1,this.lineEllipsis=(v=e==null?void 0:e.lineEllipsis)!=null?v:1}}Yt.Rules=uD,Yt.RuntimeRules=lD;class pt extends T{constructor(e){super(e),this.props=new Yt(e==null?void 0:e.props)}static get controlName(){return r("CMD.richText",null,"\u5BCC\u6587\u672C")}static get controlIcon(){return"iconRichtextbox_new"}static get controlType(){return"rich-text"}}pt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],pt.controlFieldType=b.TEXT,pt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.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:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!1},{key:"ai-generation",visible:!0},{key:"column-autoHeight",visible:!1},{key:"column-line-ellipsis",visible:!1},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}];class vc extends R{constructor(e){super(e),this.props=new Yt(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}vc.controlFieldType=b.TEXT;var mc={Designer:pt,Runtime:vc,Property:Yt};class aD extends at{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class Mi extends S{constructor(e){var n,i,u,l,a,o,c,h,s,v,g;super(e),this.options=me((n=e==null?void 0:e.options)!=null?n:[{label:r("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:r("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:r("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:r("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.caption=(l=e==null?void 0:e.caption)!=null?l:$i.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:"",this.allowCopyOptions=(c=e==null?void 0:e.allowCopyOptions)!=null?c:!1,this.openMultistageFilling=(h=e==null?void 0:e.openMultistageFilling)!=null?h:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(C=>{var B;(B=this.multistageFilling)==null||B.push(new ee(C))})),this.canViewForm=(s=e==null?void 0:e.canViewForm)!=null?s:!1,this.viewFormModelType=(v=e==null?void 0:e.viewFormModelType)!=null?v:"window",this.formBind=new ut(e==null?void 0:e.formBind),this.aiContentSearch=(g=e==null?void 0:e.aiContentSearch)!=null?g:!1}}Mi.Rules=aD;class $i extends T{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}static get controlName(){return r("CMD.select",null,"\u4E0B\u62C9\u5355\u9009")}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}$i.controlFieldType=b.VARCHAR,$i.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.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:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.DEFAULT_SHOW_OPTIONS,d.IS_SHOW_CAPTION_TIP,d.ALLOW_COPY_OPTIONS]},{key:"ai-content-search",visible:!0},{key:"options-setting",visible:!0,showItems:[d.CAN_VIEW_FORM,d.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class gc extends R{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}static get controlType(){return"select"}}gc.controlFieldType=b.VARCHAR;var bc={Designer:$i,Runtime:gc,Property:Mi};class rD extends at{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class oD extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class en extends S{constructor(e){var n,i,u,l,a,o,c,h,s,v;super(e),this.options=me((n=e==null?void 0:e.options)!=null?n:[{label:r("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:r("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:r("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:r("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.caption=(l=e==null?void 0:e.caption)!=null?l:Li.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],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(g=>{var C;(C=this.multistageFilling)==null||C.push(new ee(g))})),this.canViewForm=(h=e==null?void 0:e.canViewForm)!=null?h:!1,this.viewFormModelType=(s=e==null?void 0:e.viewFormModelType)!=null?s:"window",this.formBind=new ut(e==null?void 0:e.formBind),this.aiContentSearch=(v=e==null?void 0:e.aiContentSearch)!=null?v:!1}}en.Rules=rD,en.RuntimeRules=oD;class Li extends T{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlName(){return r("CMD.selectMultiple",null,"\u4E0B\u62C9\u591A\u9009")}static get controlIcon(){return"iconxialaduoxuan"}static get controlType(){return"select-multiple"}}Li.controlFieldType=b.ARRAY,Li.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.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:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.DEFAULT_SHOW_OPTIONS,d.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!0},{key:"options-setting",visible:!0,showItems:[d.CAN_VIEW_FORM,d.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Cc extends R{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}Cc.controlFieldType=b.ARRAY;var Ec={Designer:Li,Runtime:Cc,Property:en};class cD extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Ni extends S{constructor(e){var n,i,u,l,a,o,c,h,s;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=(l=e==null?void 0:e.multiple)!=null?l:!1,this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.caption=(c=e==null?void 0:e.caption)!=null?c:Vi.controlName,this.placeholder=(h=e==null?void 0:e.placeholder)!=null?h:r("CMD.pleaseEnterNameorEmail",null,"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1"),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(v=>{var g;(g=this.multistageFilling)==null||g.push(new ee(v))}))}}Ni.RuntimeRules=cD;class Vi extends T{constructor(e){super(e),this.props=new Ni(e==null?void 0:e.props)}static get controlName(){return r("CMD.people",null,"\u4EBA\u5458")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}Vi.controlFieldType=b.EMPLOYEES,Vi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.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:[d.REQUIRED,d.IS_HIDE,d.MULTIPLE,d.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 _c extends R{constructor(e){super(e),this.props=new Ni(e==null?void 0:e.props)}static get controlType(){return"employee"}}_c.controlFieldType=b.EMPLOYEES;var Bc={Designer:Vi,Runtime:_c,Property:Ni};const sD=10485760,dD=104857600,hD=1048576e3;class fD extends G{constructor(e){super(e),this.maxSize={type:"number",min:0,max:hD,message:r("CMD.attachmentMaxSize",null,"\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4")}}}class yD extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:r("CMD.attachmentLimitError",{max:e.maxLimit,min:e.minLimit},"\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236")})}}class Ft extends S{constructor(e){var n,i,u,l,a,o,c,h,s,v,g,C,B,E,D,m;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:[],this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.resultShowType=(u=e==null?void 0:e.resultShowType)!=null?u:"simple",this.attachmentAccept=(l=e==null?void 0:e.attachmentAccept)!=null?l:[],this.maxLimit=(a=e==null?void 0:e.maxLimit)!=null?a:10,this.minLimit=(o=e==null?void 0:e.minLimit)!=null?o:0,this.maxSize=(c=e==null?void 0:e.maxSize)!=null?c:dD,this.caption=(h=e==null?void 0:e.caption)!=null?h:At.controlName,this.placeholder=(s=e==null?void 0:e.placeholder)!=null?s:r("CMD.uploadFile",null,"\u4E0A\u4F20\u9644\u4EF6"),this.isShowWatermark=(v=e==null?void 0:e.isShowWatermark)!=null?v:!1,this.watermarkFx=(g=e==null?void 0:e.watermarkFx)!=null?g:{},this.operation=(C=e==null?void 0:e.operation)!=null?C:["info","preview","download"],this.aiExplanation=(B=e==null?void 0:e.aiExplanation)!=null?B:!1,this.aiExplanationLength=(E=e==null?void 0:e.aiExplanationLength)!=null?E:500,this.storageType=(D=e==null?void 0:e.storageType)!=null?D:"local",this.customOperation=(m=e==null?void 0:e.customOperation)!=null?m:[]}}Ft.Rules=fD,Ft.RuntimeRules=yD;class At extends T{constructor(e){super(e),this.props=new Ft(e==null?void 0:e.props)}static get controlName(){return r("CMD.file",null,"\u9644\u4EF6")}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}At.controlEventKeys=["on_change","on_file_actions"],At.controlFieldType=b.FILE,At.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.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:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP]},{key:"ai-explanation",visible:!0},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-custom-operation",visible:!0},{key:"attachment-operation",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Yl extends R{constructor(e){super(e),this.props=new Ft(e==null?void 0:e.props)}static get controlType(){return"attachment"}}Yl.controlFieldType=b.FILE;var Dc={Designer:At,Runtime:Yl,Property:Ft};class pl extends Ft{constructor(e){var n,i,u,l,a,o,c;super(e),this.showType="image",this.maxLimit=(n=e==null?void 0:e.maxLimit)!=null?n:10,this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:Hi.controlName)!=null?u:r("CMD.image",null,"\u56FE\u7247"),this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.uploadImg",null,"\u4E0A\u4F20\u56FE\u7247"),this.compressTypeCode=(a=e==null?void 0:e.compressTypeCode)!=null?a:Wl.NO_COMPRESS,this.compressRatio=(o=e==null?void 0:e.compressRatio)!=null?o:1,this.maxPixel=(c=e==null?void 0:e.maxPixel)!=null?c:1080}}class Hi extends At{constructor(e){super(e),this.props=new pl(e==null?void 0:e.props)}static get controlName(){return r("CMD.image",null,"\u56FE\u7247")}static get controlIcon(){return"iconpic_new"}static get controlType(){return"image"}}Hi.controlFieldType=b.IMAGE,Hi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.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:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP,d.IS_SHOW_WATERMARK]},{key:"compression-setting",visible:!0},{key:"ai-explanation",visible:!0},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class vD extends Yl{constructor(e){super(e),this.props=new pl(e==null?void 0:e.props)}static get controlType(){return"image"}}var wc={Designer:Hi,Runtime:vD,Property:pl};class mD extends at{constructor(e){super(e),this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:r("CMD.pleaseEnterNumberRange",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")}]}},this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue.fields.amount[0].max=n,this.defaultValue.fields.amount[0].min=i,this.defaultValue.fields.amount[0].message=r("CMD.pleaseEnterNumberRange",{max:n,min:i},"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:r("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")})}}class gD extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="object");const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.push({type:"object",fields:{amount:[$a(nt({},this[0]),{type:"number"}),{type:"number",min:i,max:n,message:r(n===void 0?"CMD.pleaseEnterAValueGreaterThanMin":i===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:n,min:i},r(n===void 0?"CMD.51051751712133507":i===void 0?"CMD.41d01751712135567":"CMD.affe1751712129045"))}],currency:{type:"string"}}})}}class tn extends S{constructor(e){var n,i,u,l,a,o,c,h,s,v,g,C;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=(l=e==null?void 0:e.micrometer)!=null?l:!1,this.precision=(a=e==null?void 0:e.precision)!=null?a:2,this.dataBind=new SE(e==null?void 0:e.dataBind),this.datasourceBind=new Z((o=e==null?void 0:e.datasourceBind)!=null?o:{displayBoList:[new Nu({value:"name"})]}),this.defaultValue=new IE((c=e==null?void 0:e.defaultValue)!=null?c:{amount:"",currency:OE.CNY}),this.unitPosition=(h=e==null?void 0:e.unitPosition)!=null?h:"right",this.options=me(e==null?void 0:e.options),this.caption=(s=e==null?void 0:e.caption)!=null?s:nn.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.submitSelectCurrency=(g=e==null?void 0:e.submitSelectCurrency)!=null?g:!1,this.showUpperCase=(C=e==null?void 0:e.showUpperCase)!=null?C:!1}}tn.Rules=mD,tn.RuntimeRules=gD;class nn extends T{constructor(e){super(e),this.props=new tn(e==null?void 0:e.props)}static get controlName(){return r("CMD.amount",null,"\u91D1\u989D")}static get controlType(){return"amount"}static get controlIcon(){return"iconjine"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}nn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],nn.controlFieldType=b.MONEY,nn.setting=[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[d.CAPTION,d.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:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.SUBMIT_SELECT_CURRENCY,d.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"unit-position",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[d.SHOW_UPPER_CASE,d.MICROMETER,d.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class Fc extends R{constructor(e){super(e),this.props=new tn(e==null?void 0:e.props)}static get controlType(){return"amount"}}Fc.controlFieldType=b.MONEY;var Ac={Designer:nn,Runtime:Fc,Property:tn};class bD extends G{constructor(e){super(e),this.totalScore=[{type:"number",required:!0,message:r("CMD.pleaseEnterTotalScoreSetting",null,"\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E")},{type:"number",min:1,message:r("CMD.theTotalScoreMustNotBeLessThan1",null,"\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1")}],this.defaultValue={type:"number",min:0,max:5,message:r("CMD.scoreDefaultValueRange",null,"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")},this.defaultValue.max=e.totalScore,this.defaultValue.message=r("CMD.scoreDefaultValueRange",{max:e.totalScore,min:0},"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")}}class CD extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const n=e.required?1:0;this.push({type:"number",min:n,max:e.totalScore,message:r("CMD.scoreDefaultValueRange",{max:e.totalScore,min:n},"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")})}}class un extends S{constructor(e){var n,i,u,l,a,o,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:Ml.STAR,this.isShowExplain=(u=e==null?void 0:e.isShowExplain)!=null?u:!0,this.explain=(a=(l=e==null?void 0:e.explain)==null?void 0:l.map(h=>new yi(h)))!=null?a:Array(this.totalScore).fill(void 0).map(()=>new yi),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:0,this.caption=(c=e==null?void 0:e.caption)!=null?c:ln.controlName}}un.Rules=bD,un.RuntimeRules=CD;class ln extends T{constructor(e){super(e),this.props=new un(e==null?void 0:e.props)}static get controlName(){return r("CMD.score",null,"\u8BC4\u5206")}static get controlIcon(){return"iconpingfen"}static get controlType(){return"score"}postUpdate(e,n){if(e==="totalScore"){if(n===this.props.explain.length)return;if(this.props.explain.length>n)this.props.explain=this.props.explain.slice(0,n);else{const i=n-this.props.explain.length,u=Array(i).fill(void 0).map(()=>new yi);this.props.explain.push(...u)}}super.postUpdate(e,n)}}ln.controlEventKeys=["on_change","on_click"],ln.controlFieldType=b.DECIMAL,ln.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.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 Sc extends R{constructor(e){super(e),this.props=new un(e==null?void 0:e.props)}static get controlType(){return"score"}}Sc.controlFieldType=b.DECIMAL;var Ic={Designer:ln,Runtime:Sc,Property:un};class ED extends ${constructor(e){if(super(e),this[0]!==void 0&&(this[0].type="object"),e.required&&!e.isHide){const n={type:"object",fields:{province:{type:"string",required:e.required,message:r("CMD.pleaseSelectProvince",null,"\u8BF7\u9009\u62E9\u7701")}}};e.addressType.includes("city")&&(n.fields.city={type:"string",required:e.required,message:r("CMD.pleaseSelectCity",null,"\u8BF7\u9009\u62E9\u5E02")}),e.addressType.includes("district")&&(n.fields.district={type:"string",required:e.required,message:r("CMD.pleaseSelectDistrict",null,"\u8BF7\u9009\u62E9\u533A")}),this.push(n)}}}class ji extends S{constructor(e){var n,i,u,l,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:qi.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 PE((l=e==null?void 0:e.defaultValue)!=null?l:{}),this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:r("CMD.pleaseChooseAddress",null,"\u8BF7\u9009\u62E9\u5730\u5740")}}ji.RuntimeRules=ED;class qi extends T{constructor(e){super(e),this.props=new ji(e==null?void 0:e.props)}static get controlName(){return r("CMD.address",null,"\u5730\u5740")}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}qi.controlFieldType=b.ADDRESS,qi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.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:[d.REQUIRED,d.IS_HIDE,d.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Tc extends R{constructor(e){super(e),this.props=new ji(e==null?void 0:e.props)}static get controlName(){return r("CMD.e7c91751712163978")}static get controlIcon(){return"iconicon_site_management11"}static get controlType(){return"address"}}Tc.controlFieldType=b.ADDRESS;var Rc={Designer:qi,Runtime:Tc,Property:ji};class _D extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Wi extends S{constructor(e){var n,i,u,l,a,o,c,h,s,v,g;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.rangeOptions=(a=e==null?void 0:e.rangeOptions)!=null?a:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(c=e==null?void 0:e.displayLevel)!=null?c:1,this.showSubDept=(h=e==null?void 0:e.showSubDept)!=null?h:!0,this.caption=(s=e==null?void 0:e.caption)!=null?s:an.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:r("CMD.pleaseSelectDept",null,"\u8BF7\u9009\u62E9\u90E8\u95E8"),this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(C=>{var B;(B=this.multistageFilling)==null||B.push(new ee(C))}))}}Wi.RuntimeRules=_D;class an extends T{constructor(e){super(e),this.props=new Wi(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}an.controlName=r("CMD.department",null,"\u90E8\u95E8"),an.controlFieldType=b.DEPARTMENTS,an.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.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:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.MULTIPLE,d.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 Pc extends R{constructor(e){super(e),this.props=new Wi(e==null?void 0:e.props)}static get controlType(){return"department"}}Pc.controlFieldType=b.DEPARTMENTS;var xc={Designer:an,Runtime:Pc,Property:Wi};class ea extends S{constructor(e){var n,i,u;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:rn.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:r("CMD.pleaseEnterAutonumber",null,"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7")}}class rn extends T{constructor(e){super(e),this.props=new ea(e==null?void 0:e.props)}static get controlName(){return r("CMD.autoNumber",null,"\u81EA\u52A8\u7F16\u53F7")}static get controlIcon(){return"iconnumber_new"}static get controlType(){return"auto-number"}}rn.controlEventKeys=["on_change"],rn.controlFieldType=b.AUTO_NUMBER,rn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class kc extends R{constructor(e){super(e),this.props=new ea(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}kc.controlFieldType=b.AUTO_NUMBER;var Oc={Designer:rn,Runtime:kc,Property:ea};class BD extends G{constructor(e){super(e),this.dataBind.fields.result.required=!1,this.dataBind.fields.result.fields.fieldCode.required=!1,this.dataBind.fields.result.fields.dataCode.required=!1,this.dataBind.fields.unit.required=!1,this.dataBind.fields.unit.fields.fieldCode.required=!1,this.dataBind.fields.unit.fields.dataCode.required=!1}}class DD extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),this.push({type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61"),fields:{result:[{type:"number",message:r("CMD.isNotNumber",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57")}],unit:{type:"string",message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")}}})}}class on extends S{constructor(e){var n,i,u,l,a,o,c,h,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 xE(e==null?void 0:e.dataBind),this.defaultValue=new kE(e==null?void 0:e.defaultValue),this.caption=(l=e==null?void 0:e.caption)!=null?l:cn.controlName,this.unitPosition=(a=e==null?void 0:e.unitPosition)!=null?a:"right",this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.scriptEcho=(c=e==null?void 0:e.scriptEcho)!=null?c:[],this.scriptSrc=(h=e==null?void 0:e.scriptSrc)!=null?h:"",this.calcOnMounted=(s=e==null?void 0:e.calcOnMounted)!=null?s:!1}}on.Rules=BD,on.RuntimeRules=DD;class cn extends T{constructor(e){super(e),this.props=new on(e==null?void 0:e.props)}static get controlName(){return r("CMD.calc",null,"\u8BA1\u7B97\u516C\u5F0F")}static get controlType(){return"calc"}static get controlIcon(){return"iconcalculation_new"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}cn.controlEventKeys=["on_change"],cn.controlFieldType=b.CALC,cn.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[d.CAPTION,d.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:"calc-on-mounted",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"unit-position",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[d.SHOW_UPPER_CASE,d.MICROMETER,d.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class Mc extends R{constructor(e){super(e),this.props=new on(e==null?void 0:e.props)}static get controlType(){return"calc"}}Mc.controlFieldType=b.CALC;var $c={Designer:cn,Runtime:Mc,Property:on};class wD extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({validator(n,i){return e.required&&i.every(l=>!l)?Promise.reject(r("CMD.runtimeRequired",{caption:e.caption},"{caption}\u5FC5\u586B")):Promise.resolve()}})}}class Ui extends S{constructor(e){var n,i,u,l,a,o;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.rangeMin=(i=e==null?void 0:e.rangeMin)!=null?i:"",this.rangeMax=(u=e==null?void 0:e.rangeMax)!=null?u:"",this.placeholderStart=(l=e==null?void 0:e.placeholderStart)!=null?l:r("CMD.min",null,"\u6700\u5C0F\u503C"),this.placeholderEnd=(a=e==null?void 0:e.placeholderEnd)!=null?a:r("CMD.max",null,"\u6700\u5927\u503C"),this.caption=(o=e==null?void 0:e.caption)!=null?o:zi.controlName}}Ui.RuntimeRules=wD;class zi extends T{constructor(e){super(e),this.props=new Ui(e==null?void 0:e.props)}static get controlName(){return r("CMD.searchNumberRange",null,"\u6570\u5B57\u533A\u95F4")}static get controlIcon(){return"iconshuziqujian"}static get controlType(){return"search-number-range"}}zi.controlFieldType=b.DECIMAL_RANGE,zi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.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:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Lc extends R{constructor(e){super(e),this.props=new Ui(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}Lc.controlFieldType=b.DECIMAL_RANGE;var Nc={Designer:zi,Runtime:Lc,Property:Ui};class FD extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),e.required&&!e.isHide&&this.push({type:"array",fields:{0:{type:"string",required:e.required,message:this[0].message},1:{type:"string",required:e.required,message:this[0].message}}})}}class Ki extends S{constructor(e){var n,i,u,l,a,o,c,h,s,v,g,C,B;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(i=e==null?void 0:e.dateType)!=null?i:it.DATE,this.dateFormat=(u=e==null?void 0:e.dateFormat)!=null?u:"",this.commonTimeSetting=(l=e==null?void 0:e.commonTimeSetting)!=null?l:[],this.setValueType=(a=e==null?void 0:e.setValueType)!=null?a:"custom",this.rangeMin=(o=e==null?void 0:e.rangeMin)!=null?o:"",this.rangeMax=(c=e==null?void 0:e.rangeMax)!=null?c:"",this.placeholderStart=(h=e==null?void 0:e.placeholderStart)!=null?h:r("CMD.startDate",null,"\u5F00\u59CB\u65E5\u671F"),this.placeholderEnd=(s=e==null?void 0:e.placeholderEnd)!=null?s:r("CMD.endDate",null,"\u7ED3\u675F\u65E5\u671F"),this.caption=(v=e==null?void 0:e.caption)!=null?v:Gi.controlName,this.limitDateList=(C=(g=e==null?void 0:e.limitDateList)==null?void 0:g.map(E=>new fi(E)))!=null?C:[],this.isInternational=(B=e==null?void 0:e.isInternational)!=null?B:!1}}Ki.RuntimeRules=FD;class Gi extends T{constructor(e){super(e),this.props=new Ki(e==null?void 0:e.props)}static get controlName(){return r("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"search-date-range"}}Gi.controlFieldType=b.ARRAY,Gi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Vc extends R{constructor(e){super(e),this.props=new Ki(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}Vc.controlFieldType=b.ARRAY;var Hc={Designer:Gi,Runtime:Vc,Property:Ki};class AD extends G{constructor(e){super(e),this.dataBind={type:"any"}}}class SD extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class sn extends S{constructor(e){var n,i,u,l,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:St.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=(l=e==null?void 0:e.permissions)!=null?l:[],this.isInlineEdit=(a=e==null?void 0:e.isInlineEdit)!=null?a:!1}}sn.Rules=AD,sn.RuntimeRules=SD;class St extends T{constructor(e){super(e),this.props=new sn(e==null?void 0:e.props)}static get controlName(){return r("CMD.vueFormItem",null,"Vue\u5BB9\u5668")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return"vue-form-item"}}St.controlFieldType=b.ANY,St.controlEventKeys=[],St.slots=["grid-table-toolbar-slot",Va.DEFAULT],St.setting=[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE,d.IS_HIDE_CAPTION,d.REQUIRED,d.IS_SHOW_CAPTION_TIP,d.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}];class jc extends R{constructor(e){super(e),this.props=new sn(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}jc.controlFieldType=b.ANY;var qc={Designer:St,Runtime:jc,Property:sn};class ID extends at{constructor(e){super(e),this.listPageBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{type:"string",required:!0,message:r("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}]}}],this.formBind={type:"object",fields:{formKey:{type:"string",message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class Xi extends S{constructor(e){var n,i,u,l,a,o,c,h,s,v,g,C,B;super(e),this.options=me((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new $u(e==null?void 0:e.listPageBind),this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.caption=(u=e==null?void 0:e.caption)!=null?u:dn.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.openMultistageFilling=(o=e==null?void 0:e.openMultistageFilling)!=null?o:!1,this.showSelectedDetail=(c=e==null?void 0:e.showSelectedDetail)!=null?c:!1,this.selectedContentConfig=new Hu(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(E=>{var D;(D=this.multistageFilling)==null||D.push(new ee(E))})),this.canViewForm=(h=e==null?void 0:e.canViewForm)!=null?h:!1,this.viewFormModelType=(s=e==null?void 0:e.viewFormModelType)!=null?s:"window",this.formBind=new ut(e==null?void 0:e.formBind),this.optionDisplayConfig=(v=e==null?void 0:e.optionDisplayConfig)!=null?v:[],this.canSearch=(g=e==null?void 0:e.canSearch)!=null?g:!1,this.aiContentSearch=(C=e==null?void 0:e.aiContentSearch)!=null?C:!1,this.defaultShowOptions=(B=e==null?void 0:e.defaultShowOptions)!=null?B:!1}}Xi.Rules=ID;class dn extends T{constructor(e){super(e),this.props=new Xi(e==null?void 0:e.props)}static get controlName(){return r("CMD.selectRelation",null,"\u5173\u8054\u5355\u9009")}static get controlIcon(){return"iconguanliandanxuan"}static get controlType(){return"select-relation"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{optionDisplayConfig:i}=this.props;n.props.optionDisplayConfig=i}return n}}dn.controlFieldType=b.VARCHAR,dn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.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:[d.REQUIRED,d.IS_HIDE,d.IS_SHOW_CAPTION_TIP,d.CAN_SEARCH,d.DEFAULT_SHOW_OPTIONS]},{key:"ai-content-search",visible:!0},{key:"relation-setting",visible:!0,showItems:[d.CAN_VIEW_FORM,d.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"option-config-setting",visible:!0},{key:"super-setting",visible:!0}],dn.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class Wc extends R{constructor(e){super(e),this.props=new Xi(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}Wc.controlFieldType=b.VARCHAR;var Uc={Designer:dn,Runtime:Wc,Property:Xi};class ta extends Dt{constructor(e){super(e)}}class zc extends wt{constructor(e){super(e),this.props=new ta(e==null?void 0:e.props)}static get controlName(){return r("CMD.input",null,"\u5355\u884C\u6587\u672C")}static get controlType(){return"search-input"}}zc.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED]},{key:"super-setting",visible:!0}];class Kc extends R{constructor(e){super(e),this.props=new ta(e==null?void 0:e.props)}static get controlType(){return"search-input"}}Kc.controlFieldType=b.VARCHAR;var Gc={Designer:zc,Runtime:Kc,Property:ta};class TD extends G{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],Wn.call(this,e,ke.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:r("CMD.rootNodeIsRequired",null,"\u8BF7\u9009\u62E9\u6839\u8282\u70B9")}}}])}}class RD extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class hn extends S{constructor(e){var n,i,u,l,a,o,c,h,s,v,g,C,B,E,D,m,_,I,P;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:ke.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.canSearch=(l=e==null?void 0:e.canSearch)!=null?l:!0,this.levelType=(a=e==null?void 0:e.levelType)!=null?a:"all",this.optionalLevel=(o=e==null?void 0:e.optionalLevel)!=null?o:1,this.containsSubNode=(c=e==null?void 0:e.containsSubNode)!=null?c:!1,this.isShowFilterItem=(h=e==null?void 0:e.isShowFilterItem)!=null?h:!1,this.isShowIncludeSub=(s=e==null?void 0:e.isShowIncludeSub)!=null?s:!1,this.isDefaultCheckSub=(v=e==null?void 0:e.isDefaultCheckSub)!=null?v:!1,this.defaultCollapse=(g=e==null?void 0:e.defaultCollapse)!=null?g:"all",this.defaultCollapseLevel=(C=e==null?void 0:e.defaultCollapseLevel)!=null?C:1,this.datasourceBind=new hr((B=e==null?void 0:e.datasourceBind)!=null?B:{attributes:ke.controlCustomAttributes}),this.filterItemDatasourceBind=new hr((E=e==null?void 0:e.filterItemDatasourceBind)!=null?E:{attributes:ke.controlCustomAttributes}),this.openMultistageFilling=(D=e==null?void 0:e.openMultistageFilling)!=null?D:!1,this.defaultDisplay=(m=e==null?void 0:e.defaultDisplay)!=null?m:!1,this.multistageFilling=(I=(_=e==null?void 0:e.multistageFilling)==null?void 0:_.map(O=>new ee(O)))!=null?I:[],this.defaultValue=(P=e==null?void 0:e.defaultValue)!=null?P:[]}}hn.Rules=TD,hn.RuntimeRules=RD;class ke extends T{constructor(e){super(e),this.props=new hn(e==null?void 0:e.props)}static get controlName(){return r("CMD.tree",null,"\u6811")}static get controlIcon(){return"icontree"}static get controlType(){return"tree"}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.6cb51751712162323"),required:!0},{key:"parentField",name:r("CMD.33ee1751712159752"),required:!0}]}}ke.controlEventKeys=["on_change","on_click"],ke.controlFieldType=b.ARRAY,ke.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.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:[d.REQUIRED,d.IS_HIDE,d.MULTIPLE,d.CAN_SEARCH,d.DEFAULT_DISPLAY,d.CONTAINS_SUB_NODE,d.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Xc extends R{constructor(e){super(e),this.props=new hn(e==null?void 0:e.props)}static get controlType(){return"tree"}}Xc.controlFieldType=b.ARRAY;var Qc={Designer:ke,Runtime:Xc,Property:hn};class PD extends G{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.externalScope={type:"any"},Wn.call(this,e,$e.controlCustomAttributes),e.externalType===xe.ASSIGN&&(this.externalScope={type:"array",required:!0,message:r("CMD.pleaseAssignExternal",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7")})}}class xD extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class fn extends S{constructor(e){var n,i,u,l,a,o,c,h,s,v,g,C,B,E,D,m;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=(l=e==null?void 0:e.multiple)!=null?l:!1,this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.caption=(c=e==null?void 0:e.caption)!=null?c:$e.controlName,this.placeholder=(h=e==null?void 0:e.placeholder)!=null?h:r("CMD.pleaseEnterNameorEmail",null,"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1"),this.datasourceBind=new Vn((s=e==null?void 0:e.datasourceBind)!=null?s:{attributes:$e.controlCustomAttributes}),this.datasourceType=(v=e==null?void 0:e.datasourceType)!=null?v:jl.INTERNAL,this.insideType=(g=e==null?void 0:e.insideType)!=null?g:ql.ADMIN,this.externalType=(C=e==null?void 0:e.externalType)!=null?C:xe.ALL,this.externalScope=(B=e==null?void 0:e.externalScope)!=null?B:[],this.openMultistageFilling=(E=e==null?void 0:e.openMultistageFilling)!=null?E:!1,this.mainDeptFlag=(D=e==null?void 0:e.mainDeptFlag)!=null?D:!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 ee(_))})),this.defaultShowOptions=(m=e==null?void 0:e.defaultShowOptions)!=null?m:!1}}fn.Rules=PD,fn.RuntimeRules=xD;class $e extends T{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlName(){return r("CMD.people",null,"\u4EBA\u5458")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.ffd71751712162321"),required:!0}]}}$e.controlFieldType=b.EMPLOYEES,$e.controlEventKeys=["on_change","on_focus","on_blur","on_option_selected"],$e.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.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:[d.REQUIRED,d.IS_HIDE,d.MULTIPLE,d.IS_SHOW_CAPTION_TIP,d.MAIN_DEPT_FLAG,d.DEFAULT_SHOW_OPTIONS]},{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 Jc extends R{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlType(){return"employee2"}}Jc.controlFieldType=b.EMPLOYEES;var Zc={Designer:$e,Runtime:Jc,Property:fn};class kD extends G{constructor(e){super(e),this.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:r("CMD.pleaseSelectSignFile",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6")},undersignedList:{type:"array",required:!0,min:1,message:r("CMD.pleaseSelectOnlyOne",null,"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA"),fields:e.signatureConfig.undersignedList.reduce((n,i,u)=>(n[u]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:r("CMD.pleaseSelectSigner",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA")}}},signatureType:{type:"array",required:!0,min:1,message:r("CMD.pleaseSelectSignType",null,"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B")},telephone:{type:"object",required:!0,validator(l,a,o){if(i.type==="public"&&Mn(a.value)&&a.value.length===0){o(r("CMD.pleaseSelectPhoneOrEmail",null,"\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1"));return}o()}},indexSignature:{type:"object",required:!0,validator(l,a,o){if((i==null?void 0:i.signaturePosition)==="index"&&Mn(a.value)&&a.value.length===0){o(r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"));return}o()}},company:{type:"object",required:!0,validator(l,a,o){if(i.type==="public"&&i.signatureType.includes("company")&&Mn(a.value)&&a.value.length===0){o(r("CMD.pleaseSelectCompanyName",null,"\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0"));return}o()}}}},n),{})}}}}}class Qi extends S{constructor(e){var n,i,u,l,a,o;super(e),this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:yn.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:r("CMD.signature",null,"\u53D1\u8D77\u7B7E\u7F72"),this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(l=e==null?void 0:e.showType)!=null?l:"text",this.color=(a=e==null?void 0:e.color)!=null?a:"primary",this.icon=(o=e==null?void 0:e.icon)!=null?o:"iconfenlei2",this.signatureConfig=new Bo(e==null?void 0:e.signatureConfig)}}Qi.Rules=kD;class yn extends T{constructor(e){super(e),this.props=new Qi(e==null?void 0:e.props)}static get controlName(){return r("CMD.electronicSignature",null,"\u7535\u5B50\u7B7E\u7AE0")}static get controlIcon(){return"icondianziqianzhang"}static get controlType(){return"electronic-signature"}}yn.controlEventKeys=["on_click","on_click_finish"],yn.controlFieldType=b.VARCHAR,yn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[d.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 Yc extends R{constructor(e){super(e),this.props=new Qi(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}Yc.controlFieldType=b.VARCHAR;var pc={Designer:yn,Runtime:Yc,Property:Qi};class OD extends G{constructor(e){super(e),this.content={type:"string",required:!0,message:r("CMD.pleaseEnterButtonContent",null,"\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(r("CMD.pleaseEnterWatermark",null,"\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A"));return}u()}},autoRename:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(r("CMD.pleaseEnterFileName",null,"\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A"));return}u()}}}},this.canAdd={type:"boolean",validator(n,i,u){if(e.canAdd&&!e.addLocal&&!e.addOnline){u(r("CMD.pleaseChooseAtLeastOne",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A"));return}u()}}}}class MD extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class vn extends S{constructor(e){var n,i,u,l,a,o,c,h,s,v,g,C;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:mn.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:r("CMD.createWPS",null,"\u65B0\u5EFA\u6587\u6863"),this.canAdd=(u=e==null?void 0:e.canAdd)!=null?u:!0,this.addLocal=(l=e==null?void 0:e.addLocal)!=null?l:!0,this.addOnline=(a=e==null?void 0:e.addOnline)!=null?a:!0,this.canEdit=(o=e==null?void 0:e.canEdit)!=null?o:!0,this.canDownload=(c=e==null?void 0:e.canDownload)!=null?c:!0,this.canExport=(h=e==null?void 0:e.canExport)!=null?h:!0,this.canDelete=(s=e==null?void 0:e.canDelete)!=null?s:!1,this.maxSize=(v=e==null?void 0:e.maxSize)!=null?v:sD,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:[],this.wpsSetting=new Do(e==null?void 0:e.wpsSetting),this.revisionsMode=(C=e==null?void 0:e.revisionsMode)!=null?C:!1}}vn.Rules=OD,vn.RuntimeRules=MD;class mn extends T{constructor(e){super(e),this.props=new vn(e==null?void 0:e.props)}static get controlName(){return r("CMD.WPS",null,"\u5728\u7EBF\u6587\u6863")}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}mn.controlEventKeys=["on_change","on_wps_open"],mn.controlFieldType=b.FILE,mn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_SHOW_CAPTION_TIP,d.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 es extends R{constructor(e){super(e),this.props=new vn(e==null?void 0:e.props)}static get controlType(){return"wps"}}es.controlFieldType=b.FILE;var ts={Designer:mn,Runtime:es,Property:vn};class $D extends G{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.businessScope={type:"any"},Wn.call(this,e,Le.controlCustomAttributes),e.businessType===xe.ASSIGN&&(this.businessScope={type:"array",required:!0,message:r("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")})}}class LD extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class gn extends S{constructor(e){var n,i,u,l,a,o,c,h,s,v,g,C,B,E,D,m;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.rangeOptions=(a=e==null?void 0:e.rangeOptions)!=null?a:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(c=e==null?void 0:e.displayLevel)!=null?c:1,this.showSubDept=(h=e==null?void 0:e.showSubDept)!=null?h:!0,this.caption=(s=e==null?void 0:e.caption)!=null?s:Le.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:r("CMD.pleaseSelectDept",null,"\u8BF7\u9009\u62E9\u90E8\u95E8"),this.datasourceBind=new Vn((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Le.controlCustomAttributes}),this.datasourceType=(C=e==null?void 0:e.datasourceType)!=null?C:vi.INTERNAL,this.businessScope=(B=e==null?void 0:e.businessScope)!=null?B:[],this.businessType=(E=e==null?void 0:e.businessType)!=null?E:xe.ALL,this.openMultistageFilling=(D=e==null?void 0:e.openMultistageFilling)!=null?D:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var I;(I=this.multistageFilling)==null||I.push(new ee(_))})),this.defaultShowOptions=(m=e==null?void 0:e.defaultShowOptions)!=null?m:!1}}gn.Rules=$D,gn.RuntimeRules=LD;class Le extends T{constructor(e){super(e),this.props=new gn(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.72d21751712162321"),required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}Le.controlName=r("CMD.department",null,"\u90E8\u95E8"),Le.controlFieldType=b.DEPARTMENTS,Le.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.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:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.MULTIPLE,d.IS_SHOW_CAPTION_TIP,d.DEFAULT_SHOW_OPTIONS]},{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 ns extends R{constructor(e){super(e),this.props=new gn(e==null?void 0:e.props)}static get controlType(){return"department2"}}ns.controlFieldType=b.DEPARTMENTS;var is={Designer:Le,Runtime:ns,Property:gn};class ND extends G{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.businessScope={type:"any"},Wn.call(this,e,It.controlCustomAttributes),e.businessType===xe.ASSIGN&&(this.businessScope={type:"array",required:!0,message:r("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")})}}class VD extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class bn extends S{constructor(e){var n,i,u,l,a,o,c,h,s,v,g,C,B,E,D,m,_,I;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.listPageBind=new $u(e==null?void 0:e.listPageBind),this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.rangeOptions=(a=e==null?void 0:e.rangeOptions)!=null?a:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(c=e==null?void 0:e.displayLevel)!=null?c:1,this.showSubDept=(h=e==null?void 0:e.showSubDept)!=null?h:!0,this.caption=(s=e==null?void 0:e.caption)!=null?s:It.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:r("CMD.pleaseSelectOrg",null,"\u8BF7\u9009\u62E9\u7EC4\u7EC7"),this.datasourceBind=new FE((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:It.controlCustomAttributes}),this.datasourceType=(C=e==null?void 0:e.datasourceType)!=null?C:vi.INTERNAL,this.businessScope=(B=e==null?void 0:e.businessScope)!=null?B:[],this.businessType=(E=e==null?void 0:e.businessType)!=null?E:xe.ALL,this.organizingFunction=(D=e==null?void 0:e.organizingFunction)!=null?D:void 0,this.organizationView=(m=e==null?void 0:e.organizationView)!=null?m:void 0,this.showSelectedDetail=(_=e==null?void 0:e.showSelectedDetail)!=null?_:!1,this.selectedContentConfig=new Hu(e==null?void 0:e.selectedContentConfig),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(P=>{var O;(O=this.multistageFilling)==null||O.push(new ee(P))}))}}bn.Rules=ND,bn.RuntimeRules=VD;class It extends T{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlName(){return r("CMD.organizationSelection",null,"\u4E1A\u52A1\u7EC4\u7EC7")}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"organization-selection"}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.895a1751712162322"),required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}It.controlFieldType=b.DEPARTMENTS,It.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.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:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.MULTIPLE,d.IS_SHOW_CAPTION_TIP]},{key:"organization-selection-setting",visible:!0},{key:"org-selection-defaultval",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class us extends R{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}us.controlFieldType=b.DEPARTMENTS;var ls={Designer:It,Runtime:us,Property:bn};class HD extends G{constructor(e){super(e),this.dataBind={type:"any"}}}class jD extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class Cn extends S{constructor(e){var n,i,u,l,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:En.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(u=e==null?void 0:e.controlExportName)!=null?u:"",this.permissions=(l=e==null?void 0:e.permissions)!=null?l:[],this.isInlineEdit=(a=e==null?void 0:e.isInlineEdit)!=null?a:!1}}Cn.Rules=HD,Cn.RuntimeRules=jD;class En extends T{constructor(e){super(e),this.props=new Cn(e==null?void 0:e.props)}static get controlName(){return r("CMD.vuePage",null,"Vue\u9875\u9762")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return F.VUE_PAGE}}En.controlFieldType=b.ANY,En.controlEventKeys=[],En.setting=[];class as extends R{constructor(e){super(e),this.props=new Cn(e==null?void 0:e.props)}static get controlType(){return F.VUE_PAGE}}as.controlFieldType=b.ANY;var rs={Designer:En,Runtime:as,Property:Cn};class qD extends G{constructor(e){super(e)}}class WD extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="string")}}class _n extends S{constructor(e){var n,i,u,l,a,o,c,h,s,v,g;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Bn.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:r("CMD.5c5a1777541746080"),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.codeHeight=(l=e==null?void 0:e.codeHeight)!=null?l:80,this.codeWidth=(a=e==null?void 0:e.codeWidth)!=null?a:1,this.codeMargin=(o=e==null?void 0:e.codeMargin)!=null?o:0,this.barcodeColor=(c=e==null?void 0:e.barcodeColor)!=null?c:"#000000",this.align=(h=e==null?void 0:e.align)!=null?h:"left",this.displayValue=(s=e==null?void 0:e.displayValue)!=null?s:!1,this.displayAuth=(v=e==null?void 0:e.displayAuth)!=null?v:!1,this.expiration=(g=e==null?void 0:e.expiration)!=null?g:30}}_n.Rules=qD,_n.RuntimeRules=WD;class Bn extends T{constructor(e){super(e),this.props=new _n(e==null?void 0:e.props)}static get controlName(){return r("CMD.9fb91777541735669")}static get controlIcon(){return"icontiaoxingma"}static get controlType(){return"barcode"}}Bn.controlEventKeys=["on_change"],Bn.controlFieldType=b.VARCHAR,Bn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"common-group",visible:!0,label:r("CMD.6e021777541706714"),children:[{key:"common-input-number",visible:!0,name:"codeHeight",layout:"horizontal",label:r("CMD.a5611777541611406")},{key:"common-input-number",visible:!0,name:"codeWidth",layout:"horizontal",label:r("CMD.453a1777541614098")},{key:"common-input-number",visible:!0,name:"codeMargin",layout:"horizontal",label:r("CMD.fc751777541645066")},{key:"common-switch",visible:!0,name:"displayValue",layout:"horizontal",label:r("CMD.6c311777541737079")}]},{key:"common-group",visible:!0,label:r("CMD.7a091777541710451"),children:[{key:"common-select",visible:!0,name:"barcodeColor",label:r("CMD.01a11777541712546"),default:"#000000",options:[{value:"#000000",label:r("CMD.c1fb1777541756177")},{value:"#001F3F",label:r("CMD.c5de1777541714576")},{value:"#004225",label:r("CMD.91211777541716842")},{value:"#4A0404",label:r("CMD.49421777541738691")},{value:"#2F2F2F",label:r("CMD.99701777541740192")},{value:"#1A237E",label:r("CMD.5c681777541741804")}]},{key:"common-button-radio",visible:!0,name:"align",label:r("CMD.6abe1777541757478"),default:"left",options:[{value:"left",label:r("CMD.70c61777541743098")},{value:"center",label:r("CMD.41551777541758747")},{value:"right",label:r("CMD.1fc91777541744537")}]}]},{key:"common-group",visible:!0,label:r("CMD.6e021777541706716",null,"\u6388\u6743\u8BBE\u7F6E"),tip:r("CMD.6e021777541706718",null,"\u7528\u4E8E\u63A7\u5236\u662F\u5426\u5C55\u793A\u6388\u6743\uFF0C\u5F53\u6709\u4E1A\u52A1\u573A\u666F\u9700\u8981\u626B\u63CF\u6761\u7801\u9A8C\u8BC1\u6388\u6743\u65F6\u5219\u53EF\u4EE5\u4F7F\u7528\u6388\u6743\u6309\u94AE\u7ED9\u5F53\u524D\u6761\u7801\u7EC4\u4EF6\u751F\u6210\u4E00\u4E2A\u4E34\u65F6\u8BBF\u95EE\u6743\u9650\uFF0C\u7528\u6237\u53EF\u4EE5\u8C03\u7528\u5E73\u53F0\u7684\u63A5\u53E3\u5BF9\u8FD9\u4E2A\u6761\u7801\u8FDB\u884C\u6388\u6743\u6821\u9A8C"),children:[{key:"common-switch",visible:!0,name:"displayAuth",layout:"horizontal",label:r("CMD.6c3117775417370791",null,"\u5C55\u793A\u6388\u6743\u6309\u94AE")}]},{key:"common-group",visible:!0,label:r("CMD.6e021777541706717",null,"\u6709\u6548\u671F\u8BBE\u7F6E"),children:[{key:"common-input-number",visible:!0,name:"expiration",layout:"horizontal",min:1,max:60,label:r("CMD.6e021777541706719",null,"\u6709\u6548\u671F\uFF08\u5206\u949F\uFF09")}]},{key:"super-setting",visible:!0}];class os extends R{constructor(e){super(e),this.props=new _n(e==null?void 0:e.props)}static get controlType(){return"barcode"}}os.controlFieldType=b.VARCHAR;var cs={Designer:Bn,Runtime:os,Property:_n},UD=Object.freeze({__proto__:null,Input:nc,Checkbox:uc,Radio:ac,Number:oc,DatePicker:sc,DateRange:hc,Textarea:yc,RichText:mc,Select:bc,SelectMultiple:Ec,Employee:Bc,Image:wc,Attachment:Dc,Amount:Ac,Score:Ic,Address:Rc,Department:xc,AutoNumber:Oc,Calc:$c,SearchNumberRange:Nc,SearchDateRange:Hc,VueFormItem:qc,SelectRelation:Uc,SearchInput:Gc,Tree:Qc,Employee2:Zc,ElectronicSignature:pc,WPS:ts,Department2:is,OrganizationSelection:ls,VuePage:rs,Barcode:cs});class ss extends N{static get controlName(){return r("CMD.grid",null,"\u753B\u5E03")}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}ss.excludes=[F.GRID];class zD extends H{static get controlType(){return"grid"}constructor(e){super(e)}}var ds={Designer:ss,Runtime:zD,Property:L};const KD=24;class Ne extends L{constructor(e){var n,i;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:KD,this.offset=(i=e==null?void 0:e.offset)!=null?i:0}}class Dn extends N{constructor(e){super(e),this.props=new Ne(e==null?void 0:e.props)}static get controlName(){return r("CMD.col",null,"\u6805\u683C\u5217")}static get controlType(){return"col"}static get controlIcon(){return"col"}}Dn.excludes=[F.COL,F.SUBTABLE,F.SUBTABLE_COLUMN,F.GRID_LAYOUT_CONTAINER,F.DIVIDER],Dn.childrenMaxLength=1;class na extends H{constructor(e){super(e),this.props=new Ne(e==null?void 0:e.props)}static get controlType(){return"col"}}var hs={Designer:Dn,Runtime:na,Property:Ne};class Ji extends L{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 Zi extends N{constructor(e){super(e),this.props=new Ji(e==null?void 0:e.props)}static get controlName(){return r("CMD.row",null,"\u6805\u683C\u5E03\u5C40")}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}Zi.excludes=[F.ROW],Zi.setting=[{key:"col-setting",visible:!0}];class fs extends H{constructor(e){super(e),this.props=new Ji(e==null?void 0:e.props)}static get controlType(){return"row"}}var ys={Designer:Zi,Runtime:fs,Property:Ji};const GD=4;class Yi extends Zi{static get controlName(){return r("CMD.gridRow",null,"\u6805\u683C\u7B49\u5206\u884C")}static get controlType(){return"grid-row"}static get controlIcon(){return"grid-row"}constructor(e){super(e)}}Yi.excludes=[F.GRID_ROW],Yi.setting=[],Yi.childrenMaxLength=GD;class XD extends fs{static get controlType(){return"grid-row"}constructor(e){super(e)}}class QD extends Ji{constructor(e){super(e)}}var vs={Designer:Yi,Runtime:XD,Property:QD};class JD extends L.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class pi extends L{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:r("CMD.cardGroup",null,"\u5206\u7EC4"),this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.collapse=(u=e==null?void 0:e.collapse)!=null?u:"none"}}pi.Rules=JD;class ia extends N{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}static get controlName(){return r("CMD.cardGroup",null,"\u5206\u7EC4")}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}ia.setting=[{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}],ia.excludes=[F.CARD_GROUP];class ZD extends H{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var ms={Designer:ia,Runtime:ZD,Property:pi};class YD extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.width={type:"number",required:!1,message:r("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")},this.captionTip={type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class eu extends L{constructor(e){var n,i,u,l,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:"",this.fixed=(i=e==null?void 0:e.fixed)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(l=e==null?void 0:e.captionTip)!=null?l:"",this.isHideCaption=(a=e==null?void 0:e.isHideCaption)!=null?a:!1,this.metaAutoWidth=new mE(e==null?void 0:e.metaAutoWidth)}}eu.Rules=YD;class ce extends N{constructor(e){super(e),this.props=new eu(e==null?void 0:e.props)}}ce.controlName=r("CMD.subtableColumn",null,"\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C"),ce.controlType="subtable-column",ce.controlIcon="subtable-column",ce.childrenMaxLength=1,ce.excludes=[F.SUBTABLE,F.SUBTABLE_COLUMN,F.ROW,F.COL,F.CARD_GROUP,F.DIVIDER,F.TEXT,F.GRID_LAYOUT_CONTAINER],ce.setting=[{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"common-setting",showItems:[d.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class gs extends H{constructor(e){super(e),this.props=new eu(e==null?void 0:e.props)}}gs.controlType="subtable-column";var bs={Designer:ce,Runtime:gs,Property:eu};class ua extends L{constructor(e){super(e)}}class Ve extends N{constructor(e){super(e),this.props=new ua(e==null?void 0:e.props)}}Ve.controlName=r("CMD.subtableRow",null,"\u660E\u7EC6\u5B50\u8868\u884C"),Ve.controlType="subtable-row",Ve.controlIcon="subtable-row",Ve.childrenMaxLength=1,Ve.excludes=[F.SUBTABLE,F.SUBTABLE_COLUMN,F.SUBTABLE_ROW,F.ROW,F.COL,F.CARD_GROUP,F.DIVIDER,F.TEXT],Ve.setting=[{key:"caption",showItems:[d.CAPTION],visible:!0}];class pD extends H{constructor(e){super(e),this.props=new ua(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var Cs={Designer:Ve,Runtime:pD,Property:ua};class la extends L{constructor(e){var n,i,u,l,a,o,c,h,s,v;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:200,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.fixed=(u=e==null?void 0:e.fixed)!=null?u:!1,this.fieldCode=(l=e==null?void 0:e.fieldCode)!=null?l:"",this.fieldType=(a=e==null?void 0:e.fieldType)!=null?a:b.VARCHAR,this.fieldName=(o=e==null?void 0:e.fieldName)!=null?o:"",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.textCleanFormart=(c=e==null?void 0:e.textCleanFormart)!=null?c:!1,this.decimalKeepPrecision=(h=e==null?void 0:e.decimalKeepPrecision)!=null?h:0,this.timestampDateType=(s=e==null?void 0:e.timestampDateType)!=null?s:it.DATE,this.departmentDisplayLevel=(v=e==null?void 0:e.departmentDisplayLevel)!=null?v:1}}class He extends N{constructor(e){super(e),this.props=new la(e==null?void 0:e.props)}}He.controlName=r("CMD.8ba01751712155518"),He.controlType="gridtable-column",He.controlIcon="gridtable-column",He.childrenMaxLength=1,He.excludes=[F.GRID_TABLE,F.GRID_TABLE_COLUMN,F.ROW,F.COL,F.CARD_GROUP,F.DIVIDER,F.TEXT],He.setting=[{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class Es extends H{constructor(e){super(e),this.props=new la(e==null?void 0:e.props)}}Es.controlType="gridtable-column";var _s={Designer:He,Runtime:Es,Property:la};class aa extends L{constructor(e){var n,i;super(e),this.childMinWidth=(n=e==null?void 0:e.childMinWidth)!=null?n:230,this.colGap=(i=e==null?void 0:e.colGap)!=null?i:24}}class ra extends N{constructor(e){super(e),this.props=new aa(e==null?void 0:e.props)}static get controlName(){return r("CMD.gridLayoutContainer",null,"\u6362\u884C\u5BB9\u5668")}static get controlType(){return"grid-layout-container"}static get controlIcon(){return"icona-huanhangrongqi1"}}ra.excludes=[F.GRID_LAYOUT_CONTAINER,F.CARD_GROUP,F.TAB],ra.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}];class ew extends H{constructor(e){super(e),this.props=new aa(e==null?void 0:e.props)}static get controlType(){return"grid-layout-container"}}var Bs={Designer:ra,Runtime:ew,Property:aa};class oa extends L{constructor(e){var n;super(e),this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical"}}class tw extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class tu extends L{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Fn.controlName}}tu.Rules=tw;class wn extends N{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}static get controlName(){return r("CMD.tabPane",null,"\u6807\u7B7E\u5355\u5143")}static get controlType(){return"tab-pane"}static get controlIcon(){return"tab-pane"}}wn.excludes=[F.TAB],wn.setting=[{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"super-setting",visible:!0}];class nw extends H{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var Ds={Designer:wn,Runtime:nw,Property:tu};class Fn extends N{constructor(e){var n;super(e),this.props=new oa(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new wn,new wn]}static get controlName(){return r("CMD.tab",null,"\u6807\u7B7E\u9875")}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}Fn.excludes=[F.TAB],Fn.controlEventKeys=["on_change_tab"],Fn.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}];class iw extends H{constructor(e){super(e),this.props=new oa(e==null?void 0:e.props)}static get controlType(){return"tab"}}var ws={Designer:Fn,Runtime:iw,Property:oa};class Fs extends L{constructor(e){super(e)}}class As extends N{constructor(e){super(e),this.props=new Fs({}),this.children=(e==null?void 0:e.children)||[new Dn({props:new Ne({span:12})}),new Dn({props:new Ne({span:12})})]}static get controlName(){return r("CMD.toolbox",null,"\u5DE5\u5177\u680F")}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}As.excludes=[F.GRID_ROW,F.ROW,F.GRID,F.SUBTABLE,F.TAB,F.TOOLBOX];class uw extends H{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new na({props:new Ne({span:12})}),new na({props:new Ne({span:12})})]}}var Ss={Designer:As,Runtime:uw,Property:Fs};class lw extends Me{constructor(e){super(e),this.push({type:"object",fields:{}})}}class aw extends j{constructor(e){if(super(e),this.triggerFieldCode={type:"any"},this.datasourceBind={type:"any"},this.joinRelation=[{type:"any"}],console.log("--ListViewControlPropertyRules--"),e.triggerType===2&&e.isShowSubList&&(this.triggerFieldCode={type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}),e.isShowJoinRelation&&(this.joinRelation=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:r("CMD.pleaseEnterAliasCode",null,"\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D")},datasourceBind:[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:r("CMD.pleaseSelectDataCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B")},svcCode:{type:"string",required:!0,message:r("CMD.pleaseSelectSvcCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1")}}}],relationFields:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:r("CMD.pleaseSelectJoinFieldCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5")},mainFieldCode:{type:"string",required:!0,message:r("CMD.pleaseSelectMainFieldCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5")}}}}]}}]),el.call(this,{optionConfig:"datasource",datasourceBind:e.datasourceBind,options:[]}),Array.isArray(this.datasourceBind)&&this.datasourceBind.length>1){const n=this.datasourceBind.find(i=>i.type==="object"&&i.fields);n&&(delete n.fields.valueFieldCode,delete n.fields.displayBoList)}}}class An extends L{constructor(e){var n,i,u,l,a,o,c,h,s,v,g,C;super(e),this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.isLoading=(n=e==null?void 0:e.isLoading)!=null?n:!1,this.isShowSubList=(i=e==null?void 0:e.isShowSubList)!=null?i:!1,this.triggerType=(u=e==null?void 0:e.triggerType)!=null?u:1,this.triggerFieldCode=(l=e==null?void 0:e.triggerFieldCode)!=null?l:"",this.sublistPage=new _E(e==null?void 0:e.sublistPage),this.isShowJoinRelation=(a=e==null?void 0:e.isShowJoinRelation)!=null?a:!1,this.joinRelation=new DE(e==null?void 0:e.joinRelation),this.showType=(o=e==null?void 0:e.showType)!=null?o:"stretch",this.showFullScreen=(c=e==null?void 0:e.showFullScreen)!=null?c:!1,this.selectionType=(h=e==null?void 0:e.selectionType)!=null?h:"multiple",this.isFixedHeader=(s=e==null?void 0:e.isFixedHeader)!=null?s:!1,this.isShowSelection=(v=e==null?void 0:e.isShowSelection)!=null?v:!1,this.isAllLoaded=(g=e==null?void 0:e.isAllLoaded)!=null?g:!0,this.countType=e==null?void 0:e.countType,this.countLimit=(C=e==null?void 0:e.countLimit)!=null?C:1e5,this.rowStyle=new jE(e==null?void 0:e.rowStyle)}}An.Rules=aw,An.RuntimeRules=lw;class Sn extends N{constructor(e){super(e),this.props=new An(e==null?void 0:e.props)}static get controlName(){return r("CMD.listView",null,"\u5217\u8868\u5BB9\u5668")}static get controlType(){return"list-view"}static get controlIcon(){return"iconyihangduolie"}}Sn.slotPosition={left:"list-view-left-slot"},Sn.excludes=[F.ROW],Sn.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"],Sn.setting=[{key:"list-datasource-bind",visible:!0},{key:"list-join-relation",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"list-selection-state",visible:!0},{key:"list-row-style",visible:!0},{key:"super-setting",visible:!0}];class rw extends H{constructor(e){super(e),this.props=new An(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var Is={Designer:Sn,Runtime:rw,Property:An};class ow extends Me{constructor(e){super(e),this.push({type:"object",fields:{}})}}class nu extends L{constructor(e){var n,i,u,l,a,o;super(e),this.save=new Fe((n=e==null?void 0:e.save)!=null?n:{content:r("CMD.save",null,"\u4FDD\u5B58"),type:"save",isShow:!1}),this.cancel=new Fe((i=e==null?void 0:e.cancel)!=null?i:{content:r("CMD.cancel",null,"\u53D6\u6D88"),type:"cancel",isShow:!1}),this.saveAs=new Fe((u=e==null?void 0:e.saveAs)!=null?u:{content:r("CMD.draft",null,"\u4FDD\u5B58\u8349\u7A3F"),type:"saveAs",isShow:!1}),this.print=new Fe((l=e==null?void 0:e.print)!=null?l:{content:r("CMD.print",null,"\u6253\u5370"),type:"print",isShow:!1}),this.custom=((a=e==null?void 0:e.custom)!=null?a:[]).map(c=>new Fe(c)),this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.datasourceBind=new Z(e==null?void 0:e.datasourceBind)}}nu.RuntimeRules=ow;class Ts extends N{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}static get controlName(){return r("CMD.dataView",null,"\u6570\u636E\u5BB9\u5668")}static get controlType(){return"data-view"}}Ts.excludes=[];class cw extends H{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var Rs={Designer:Ts,Runtime:cw,Property:nu};class sw extends N{static get controlName(){return r("CMD.page",null,"\u81EA\u7531\u9875\u9762")}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class dw extends H{static get controlType(){return"page"}constructor(e){super(e)}}class hw extends L{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 Ps={Designer:sw,Runtime:dw,Property:hw};class fw extends N{static get controlName(){return r("CMD.advancedContainer",null,"\u9AD8\u7EA7\u5BB9\u5668")}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class yw extends H{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class vw extends L{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new To(e==null?void 0:e.flexConfig)}}var xs={Designer:fw,Runtime:yw,Property:vw};class mw extends N{static get controlName(){return r("CMD.positioningContainer",null,"\u5B9A\u4F4D\u5BB9\u5668")}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class gw extends H{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class bw extends L{constructor(e){super(e)}}var ks={Designer:mw,Runtime:gw,Property:bw};class Cw extends N{static get controlName(){return r("CMD.position",null,"\u5B9A\u4F4D\u5B50\u5BB9\u5668")}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class Ew extends H{static get controlType(){return"position"}constructor(e){super(e)}}class _w extends L{constructor(e){var n,i,u,l;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=(l=e==null?void 0:e.top)!=null?l:0}}var Os={Designer:Cw,Runtime:Ew,Property:_w};class ca extends L{constructor(e){var n,i,u;super(e),this.position=(n=e==null?void 0:e.position)!=null?n:"bottom",this.opacity=(i=e==null?void 0:e.opacity)!=null?i:!0,this.align=(u=e==null?void 0:e.align)!=null?u:"right"}}class iu extends N{constructor(e){var n;super(e),this.props=new ca((n=e==null?void 0:e.props)!=null?n:{})}static get controlName(){return r("CMD.actionBar",null,"\u6309\u94AE\u64CD\u4F5C\u680F")}static get controlType(){return"action-bar"}static get controlIcon(){return"action-bar"}}iu.slotPosition={default:"action-bar-slot"},iu.excludes=[],iu.setting=[{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"super-setting",visible:!0}];class Bw extends H{constructor(e){var n;super(e),this.props=new ca((n=e==null?void 0:e.props)!=null?n:{})}static get controlType(){return"action-bar"}}var Ms={Designer:iu,Runtime:Bw,Property:ca};class sa extends L{constructor(e){var n,i,u,l,a;super(e),this.direction=(n=e==null?void 0:e.direction)!=null?n:"horizontal",this.labelPlacement=(i=e==null?void 0:e.labelPlacement)!=null?i:"horizontal",this.size=(u=e==null?void 0:e.size)!=null?u:"default",this.type=(l=e==null?void 0:e.type)!=null?l:"default",this.isSticky=(a=e==null?void 0:e.isSticky)!=null?a:!1}}class da extends L{constructor(e){var n,i,u,l,a,o,c,h;super(e),this.title=(n=e==null?void 0:e.title)!=null?n:"",this.subTitle=(i=e==null?void 0:e.subTitle)!=null?i:"",this.disabled=(u=e==null?void 0:e.disabled)!=null?u:!1,this.icon=(l=e==null?void 0:e.icon)!=null?l:"",this.color=(a=e==null?void 0:e.color)!=null?a:"",this.status=(o=e==null?void 0:e.status)!=null?o:"wait",this.description=(c=e==null?void 0:e.description)!=null?c:"",this.isDefault=(h=e==null?void 0:e.isDefault)!=null?h:!1}}class Tt extends N{constructor(e){super(e),this.props=new da(e==null?void 0:e.props)}static get controlName(){return r("CMD.stepPane",null,"\u6B65\u9AA4\u5355\u5143")}static get controlType(){return"step-pane"}static get controlIcon(){return"step-pane"}}Tt.excludes=[F.TAB],Tt.setting=[];class Dw extends H{constructor(e){super(e),this.props=new da(e==null?void 0:e.props)}static get controlType(){return"step-pane"}}var $s={Designer:Tt,Runtime:Dw,Property:da};class uu extends N{constructor(e){var n;super(e),this.props=new sa(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new Tt,new Tt,new Tt]}static get controlName(){return r("CMD.step",null,"\u6B65\u9AA4\u6761")}static get controlType(){return"step"}static get controlIcon(){return"icondaiban1"}}uu.excludes=[],uu.controlEventKeys=["on_change_steps"],uu.setting=[{key:"step-direction",visible:!0},{key:"step-label-placement",visible:!0},{key:"step-size",visible:!0},{key:"step-type",visible:!0},{key:"is-sticky",visible:!0},{key:"step-pane",visible:!0},{key:"super-setting",visible:!0}];class ww extends H{constructor(e){super(e),this.props=new sa(e==null?void 0:e.props)}static get controlType(){return"step"}}var Ls={Designer:uu,Runtime:ww,Property:sa},Fw=Object.freeze({__proto__:null,Grid:ds,Col:hs,Row:ys,GridRow:vs,CardGroup:ms,SubTableColumn:bs,SubTableRow:Cs,GridTableColumn:_s,GridLayoutContainer:Bs,Tab:ws,TabPane:Ds,Toolbox:Ss,ListView:Is,DataView:Rs,Page:Ps,AdvancedContainer:xs,PositioningContainer:ks,Position:Os,ActionBar:Ms,Step:Ls,StepPane:$s});class Aw extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.limitRows=[{type:"number",required:!0,message:r("CMD.isNotNumber",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57")},{type:"number",min:0,message:r("CMD.limitRowsCannotBeLessThan0",null,"\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0")}],this.formKey={type:"string",required:!1,message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")},this.maxHeight={type:"number",required:!0,message:r("CMD.pleaseEnterMaxHeight",null,"\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6")},this.captionTip={type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},this.mobileRowCaption={type:"string",required:!1,message:r("CMD.pleaseEnterRowCaption",null,"\u8BF7\u8F93\u5165\u884C\u6807\u9898")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0),e.mobileShowType==="tile"&&(this.mobileRowCaption.required=!0)}}class Sw extends Me{constructor(e){super(e),e.isHide||this.push({type:"array",required:e.limitRows>0,message:r("CMD.runtimeRequired",{caption:e.caption},"{caption}\u5FC5\u586B")},{type:"array",validator(n,i,u){i.length<e.limitRows&&u(r("CMD.TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows},"\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C")),u()},message:r("CMD.TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows},"\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C")})}}const Ns=class extends ei{constructor(t,e){var n,i,u,l,a,o,c,h,s,v,g,C,B,E,D,m,_,I,P,O,ue,M,le,Rn,_e,gu,Pn,Rt,Be,cd,sd,dd,hd,fd;super(t,e,Ns.mode),this.caption=(n=e==null?void 0:e.caption)!=null?n:Tn.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.defaultState=(u=e==null?void 0:e.defaultState)!=null?u:"default",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top",this.openType=(a=e==null?void 0:e.openType)!=null?a:"default",this.formKey=(o=e==null?void 0:e.formKey)!=null?o:"",this.useCustomHeight=(c=e==null?void 0:e.useCustomHeight)!=null?c:!1,this.maxHeight=(h=e==null?void 0:e.maxHeight)!=null?h:So,this.printMode=(s=e==null?void 0:e.printMode)!=null?s:"row",this.limitRows=(v=e==null?void 0:e.limitRows)!=null?v:1,this.maxRows=(g=e==null?void 0:e.maxRows)!=null?g:null,this.defaultRows=(C=e==null?void 0:e.defaultRows)!=null?C:1,this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.canAdd=(B=e==null?void 0:e.canAdd)!=null?B:!0,this.canDelete=(E=e==null?void 0:e.canDelete)!=null?E:!0,this.canCheck=(D=e==null?void 0:e.canCheck)!=null?D:!1,this.canEdit=(m=e==null?void 0:e.canEdit)!=null?m:!1,this.canImport=(_=e==null?void 0:e.canImport)!=null?_:!1,this.canExport=(I=e==null?void 0:e.canExport)!=null?I:!1,this.canClear=(P=e==null?void 0:e.canClear)!=null?P:!0,this.serverPagination=(O=e==null?void 0:e.serverPagination)!=null?O:!1,this.isShowCaptionTip=(ue=e==null?void 0:e.isShowCaptionTip)!=null?ue:!1,this.captionTip=(M=e==null?void 0:e.captionTip)!=null?M:"",this.mobileShowType=(le=e==null?void 0:e.mobileShowType)!=null?le:"list",this.mobileDefaultNum=(Rn=e==null?void 0:e.mobileDefaultNum)!=null?Rn:10,this.dataStorageDoc=(_e=e==null?void 0:e.dataStorageDoc)!=null?_e:new gE,this.fixedColumn=(gu=e==null?void 0:e.fixedColumn)!=null?gu:[],this.mobileRowCaption=(Pn=e==null?void 0:e.mobileRowCaption)!=null?Pn:r("CMD.detailed",null,"\u660E\u7EC6"),this.mobileIsTile=(Rt=e==null?void 0:e.mobileIsTile)!=null?Rt:!1,this.isPaste=(Be=e==null?void 0:e.isPaste)!=null?Be:!1,this.pageSize=(cd=e==null?void 0:e.pageSize)!=null?cd:10,this.pageSizeOptions=(sd=e==null?void 0:e.pageSizeOptions)!=null?sd:[10,20,50,100],this.importConfig=new Fo(e==null?void 0:e.importConfig),this.exportConfig=new Ao(e==null?void 0:e.exportConfig),this.sortable=(dd=e==null?void 0:e.sortable)!=null?dd:!1,this.sortKey=(hd=e==null?void 0:e.sortKey)!=null?hd:{},this.showTableIndex=(fd=e==null?void 0:e.showTableIndex)!=null?fd:!0}};let In=Ns;In.Rules=Aw,In.RuntimeRules=Sw;class Tn extends fl{constructor(e){var n;super(e),this.props=new In(this,e==null?void 0:e.props),((n=e==null?void 0:e.props)==null?void 0:n.headers)===void 0&&(this.props.headers=[new ce,new ce,new ce])}static get controlName(){return r("CMD.subTable",null,"\u660E\u7EC6\u5B50\u8868")}static get controlIcon(){return"iconGroup11"}static get controlType(){return"subtable"}addColumn(e,n){const i=e!==void 0&&typeof e!="number"?e:new ce,u=typeof e=="number"?e:n;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}Tn.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],Tn.slotPosition={toolbar:"subtable-toolbar-slot"},Tn.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE,d.IS_SHOW_CAPTION_TIP,d.IS_PASTE,d.SERVER_PAGINATION,d.SORTABLE,d.SHOW_TABLE_INDEX]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"subtable-opened-mode",visible:!0},{key:"orders-setting",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"max-rows",visible:!0},{key:"list-pager",visible:!0},{key:"subtable-max-height",visible:!0},{key:"fixed-column",visible:!0},{key:"mobile-show-type",visible:!0},{key:"data-storage-description",visible:!0},{key:"super-setting",visible:!0}];class Iw extends eo{constructor(e){super(e),this.props=new In(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){Mt("Method not implemented.")}getChildrenFormControl(){return[]}}var Vs={Designer:Tn,Runtime:Iw,Property:In};class ha extends ei{constructor(e,n){var i,u,l,a,o;super(e,n),this.isFixedHeader=(i=n==null?void 0:n.isFixedHeader)!=null?i:!1,this.selectionType=n==null?void 0:n.selectionType,this.isShowToolbar=(u=n==null?void 0:n.isShowToolbar)!=null?u:!0,this.isShowSelection=(l=n==null?void 0:n.isShowSelection)!=null?l:!1,this.isShowCustomColumns=(a=n==null?void 0:n.isShowCustomColumns)!=null?a:!0,this.pageSizeOptions=(o=n==null?void 0:n.pageSizeOptions)!=null?o:[10,20,50,100,500]}}class Tw extends be{constructor(e){super(e),this.caption.required=!1}}class lu extends U{constructor(e){var n,i,u,l,a,o,c,h;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"left",this.caption=(i=e==null?void 0:e.caption)!=null?i:je.controlName,this.width=(u=e==null?void 0:e.width)!=null?u:60,this.autoWidth.minWidth=(a=(l=e==null?void 0:e.autoWidth)==null?void 0:l.minWidth)!=null?a:60,this.autoWidth.flex=(c=(o=e==null?void 0:e.autoWidth)==null?void 0:o.flex)!=null?c:.4,this.widthType=(h=e==null?void 0:e.widthType)!=null?h:"px"}}lu.Rules=Tw;class je extends Q{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}}je.controlType="order-column",je.controlName=r("CMD.order",null,"\u5E8F\u53F7"),je.controlIcon="order-column",je.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"super-setting",visible:!0}];class fa extends J{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}}fa.controlType="order-column",fa.controlFieldType=b.DECIMAL;var Hs={Designer:je,Runtime:fa,Property:lu};class ya extends U{constructor(e){var n,i,u,l,a,o;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"right",this.widthType="auto",this.autoWidth.minWidth=(u=(i=e==null?void 0:e.autoWidth)==null?void 0:i.minWidth)!=null?u:84,this.caption=(l=e==null?void 0:e.caption)!=null?l:Ce.controlName,this.showType=(a=e==null?void 0:e.showType)!=null?a:"icon",this.limit=(o=e==null?void 0:e.limit)!=null?o:3}}class Ce extends Q{constructor(e){super(e),this.props=new ya(e==null?void 0:e.props)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===Ii.controlType){const i=n;e.props[i.props.command]=i.props}}),e}validate(e,n){return Na(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=r("CMD.operation",null,"\u64CD\u4F5C"),Ce.controlIcon="operation-column",Ce.setting=[{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class va extends J{constructor(e){super(e),this.props=new ya(e==null?void 0:e.props)}}va.controlType="operation-column",va.controlFieldType=b.FILE;var js={Designer:Ce,Runtime:va,Property:ya};const Rw=1e4;class qe extends fl{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new ha(this,e==null?void 0:e.props),de(this,"children",e==null?void 0:e.children,void 0,"Designer"),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new je,new Ce]),this.excludes=oe(n),this.childrenMaxLength=i}static get controlName(){return r("CMD.gridTable",null,"\u8868\u683C")}static get controlIcon(){return"iconlistview"}static get controlType(){return"grid-table"}judgeJoinChildren(e){const n=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return n&&this.childrenMaxLength>this.children.length}toSchema(){const e=super.toSchema(),n=this.children.map(i=>i.toSchema());return $a(nt({},e),{children:n})}validate(e,n){return Na(this,null,function*(){return yield La(qe.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}qe.slotPosition={toolbar:"grid-table-toolbar-slot"},qe.setting=[{key:"list-fixed-header",visible:!0}],qe.excludes=[],qe.childrenMaxLength=Rw;class Pw extends eo{constructor(e){super(e),this.props=new ha(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){Mt("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var qs={Designer:qe,Runtime:Pw,Property:ha},xw=Object.freeze({__proto__:null,SubTable:Vs,GridTable:qs});class kw extends El{constructor(e){super(e),Re.call(this,e)}}class au extends U{constructor(e){var n,i,u,l,a,o;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:We.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.options=me((u=e==null?void 0:e.options)!=null?u:[{}]),this.showLinkOperation=(l=e==null?void 0:e.showLinkOperation)!=null?l:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(a=e==null?void 0:e.lineEllipsis)!=null?a:1,this.dictionaryTagConfig=(o=e==null?void 0:e.dictionaryTagConfig)!=null?o:{isTag:!1}}}au.Rules=kw;class We extends Q{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}}We.controlType="varchar-column",We.controlName=r("CMD.varchar",null,"\u77ED\u6587\u672C"),We.controlIcon="varchar-column",We.controlFieldType=b.VARCHAR,We.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0},{key:"super-setting",visible:!0}];class ma extends J{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}}ma.controlType="varchar-column",ma.controlFieldType=b.VARCHAR;var Ws={Designer:We,Runtime:ma,Property:au};class Ow extends be{constructor(e){super(e),Re.call(this,e)}}class ru extends U{constructor(e){var n,i,u,l;super(e),this.escapeHTML=(n=e==null?void 0:e.escapeHTML)!=null?n:!1,this.caption=(i=e==null?void 0:e.caption)!=null?i:Ue.controlName,this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1,this.showLinkOperation=(l=e==null?void 0:e.showLinkOperation)!=null?l:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption)}}ru.Rules=Ow;class Ue extends Q{constructor(e){super(e),this.props=new ru(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{escapeHTML:i}=this.props;n.props.escapeHTML=i}return n}}Ue.controlType="text-column",Ue.controlName=r("CMD.long",null,"\u957F\u6587\u672C"),Ue.controlIcon="text-column",Ue.controlFieldType=b.TEXT,Ue.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0},{key:"super-setting",visible:!0}];class ga extends J{constructor(e){super(e),this.props=new ru(e==null?void 0:e.props)}}ga.controlType="text-column",ga.controlFieldType=b.TEXT;var Us={Designer:Ue,Runtime:ga,Property:ru};class Mw extends El{constructor(e){super(e),Re.call(this,e)}}class ou extends U{constructor(e){var n,i,u,l,a,o,c;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ze.controlName,this.precision=(i=e==null?void 0:e.precision)!=null?i:0,this.micrometer=(u=e==null?void 0:e.micrometer)!=null?u:!1,this.percentageFormat=(l=e==null?void 0:e.percentageFormat)!=null?l:!1,this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"none",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.options=me((o=e==null?void 0:e.options)!=null?o:[{}]),this.showLinkOperation=(c=e==null?void 0:e.showLinkOperation)!=null?c:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption)}}ou.Rules=Mw;class ze extends Q{constructor(e){super(e),this.props=new ou(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}ze.controlType="decimal-column",ze.controlName=r("CMD.decimal",null,"\u6570\u503C"),ze.controlIcon="decimal-column",ze.controlFieldType=b.DECIMAL,ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"number-suite",showItems:[d.MICROMETER,d.PRECISION,d.PERCENTAGE],visible:!0},{key:"column-align-content",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0},{key:"super-setting",visible:!0}];class ba extends J{constructor(e){super(e),this.props=new ou(e==null?void 0:e.props)}}ba.controlType="decimal-column",ba.controlFieldType=b.DECIMAL;var zs={Designer:ze,Runtime:ba,Property:ou};class $w extends be{constructor(e){super(e),Re.call(this,e)}}class cu extends U{constructor(e){var n,i,u,l;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:it.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:Ke.controlName,this.isInternational=(l=e==null?void 0:e.isInternational)!=null?l:!1}}cu.Rules=$w;class Ke extends Q{constructor(e){super(e),this.props=new cu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i,isInternational:u}=this.props;n.props.dateType=i,n.props.isInternational=u}return n}}Ke.controlType="timescope-column",Ke.controlName=r("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4"),Ke.controlIcon="timescope-column",Ke.controlFieldType=b.TIMESCOPE,Ke.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Ca extends J{constructor(e){super(e),this.props=new cu(e==null?void 0:e.props)}}Ca.controlType="timescope-column",Ca.controlFieldType=b.TIMESCOPE;var Ks={Designer:Ke,Runtime:Ca,Property:cu};class Lw extends be{constructor(e){super(e),Re.call(this,e)}}class su extends U{constructor(e){var n,i,u,l;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:it.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:Ge.controlName,this.isInternational=(l=e==null?void 0:e.isInternational)!=null?l:!1}}su.Rules=Lw;class Ge extends Q{constructor(e){super(e),this.props=new su(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i,isInternational:u}=this.props;n.props.dateType=i,n.props.isInternational=u}return n}}Ge.controlType="timestamp-column",Ge.controlName=r("CMD.timestamp",null,"\u65E5\u671F"),Ge.controlIcon="timestamp-column",Ge.controlFieldType=b.TIMESTAMP,Ge.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Ea extends J{constructor(e){super(e),this.props=new su(e==null?void 0:e.props)}}Ea.controlType="timestamp-column",Ea.controlFieldType=b.TIMESTAMP;var Gs={Designer:Ge,Runtime:Ea,Property:su};class Nw extends El{constructor(e){super(e),Re.call(this,e)}}class du extends U{constructor(e){var n,i,u,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Xe.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption),this.options=me((l=e==null?void 0:e.options)!=null?l:[{}])}}du.Rules=Nw;class Xe extends Q{constructor(e){super(e),this.props=new du(e==null?void 0:e.props)}}Xe.controlType="array-column",Xe.controlName=r("CMD.array",null,"\u6570\u7EC4"),Xe.controlIcon="array-column",Xe.controlFieldType=b.ARRAY,Xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class _a extends J{constructor(e){super(e),this.props=new du(e==null?void 0:e.props)}}_a.controlType="array-column",_a.controlFieldType=b.ARRAY;var Xs={Designer:Xe,Runtime:_a,Property:du};class Ba extends U{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Qe.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class Qe extends Q{constructor(e){super(e),this.props=new Ba(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{displayLevel:i}=this.props;n.props.displayLevel=i}return n}}Qe.controlType="department-column",Qe.controlName=r("CMD.department",null,"\u90E8\u95E8"),Qe.controlIcon="department-column",Qe.controlFieldType=b.DEPARTMENTS,Qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Da extends J{constructor(e){super(e),this.props=new Ba(e==null?void 0:e.props)}}Da.controlType="department-column",Da.controlFieldType=b.DEPARTMENTS;var Qs={Designer:Qe,Runtime:Da,Property:Ba};class Vw extends be{constructor(e){super(e),Re.call(this,e)}}class hu extends U{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Je.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption)}}hu.Rules=Vw;class Je extends Q{constructor(e){super(e),this.props=new hu(e==null?void 0:e.props)}}Je.controlType="auto-number-column",Je.controlName=r("CMD.autoNumber",null,"\u81EA\u52A8\u7F16\u53F7"),Je.controlIcon="auto-number-column",Je.controlFieldType=b.AUTO_NUMBER,Je.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class wa extends J{constructor(e){super(e),this.props=new hu(e==null?void 0:e.props)}}wa.controlType="auto-number-column",wa.controlFieldType=b.AUTO_NUMBER;var Js={Designer:Je,Runtime:wa,Property:hu};class Fa extends U{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ze.controlName,this.operation=(i=e==null?void 0:e.operation)!=null?i:["info","preview","download"]}}class Ze extends Q{constructor(e){super(e),this.props=new Fa(e==null?void 0:e.props)}}Ze.controlType="file-column",Ze.controlName=r("CMD.file",null,"\u9644\u4EF6"),Ze.controlIcon="file-column",Ze.controlFieldType=b.FILE,Ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"attachment-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Aa extends J{constructor(e){super(e),this.props=new Fa(e==null?void 0:e.props)}}Aa.controlType="file-column",Aa.controlFieldType=b.FILE;var Zs={Designer:Ze,Runtime:Aa,Property:Fa};class Sa extends U{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ye.controlName}}class Ye extends Q{constructor(e){super(e),this.props=new Sa(e==null?void 0:e.props)}}Ye.controlType="image-column",Ye.controlName=r("CMD.image",null,"\u56FE\u7247"),Ye.controlIcon="image-column",Ye.controlFieldType=b.IMAGE,Ye.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Ia extends J{constructor(e){super(e),this.props=new Sa(e==null?void 0:e.props)}}Ia.controlType="image-column",Ia.controlFieldType=b.IMAGE;var Ys={Designer:Ye,Runtime:Ia,Property:Sa};class Ta extends U{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:pe.controlName}}class pe extends Q{constructor(e){super(e),this.props=new Ta(e==null?void 0:e.props)}}pe.controlType="people-column",pe.controlName=r("CMD.people",null,"\u4EBA\u5458"),pe.controlIcon="people-column",pe.controlFieldType=b.EMPLOYEES,pe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Ra extends J{constructor(e){super(e),this.props=new Ta(e==null?void 0:e.props)}}Ra.controlType="people-column",Ra.controlFieldType=b.EMPLOYEES;var ps={Designer:pe,Runtime:Ra,Property:Ta};class Hw extends be{constructor(e){super(e),Re.call(this,e)}}class fu extends U{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:et.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption)}}fu.Rules=Hw;class et extends Q{constructor(e){super(e),this.props=new fu(e==null?void 0:e.props)}}et.controlType="location-column",et.controlName=r("CMD.location",null,"\u5730\u5740"),et.controlIcon="location-column",et.controlFieldType=b.ADDRESS,et.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Pa extends J{constructor(e){super(e),this.props=new fu(e==null?void 0:e.props)}}Pa.controlType="location-column",Pa.controlFieldType=b.ADDRESS;var ed={Designer:et,Runtime:Pa,Property:fu};class jw extends be{constructor(e){super(e),this.sortFieldCode={type:"string",message:r("CMD.pleaseSelectSortFieldCode",null,"\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5")},e.sort===!0&&(this.sortFieldCode.required=!0)}}class yu extends U{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ee.controlName,this.fieldCodeList=(i=e==null?void 0:e.fieldCodeList)!=null?i:[],this.sortFieldCode=(u=e==null?void 0:e.sortFieldCode)!=null?u:""}}yu.Rules=jw;const qw=1;class Ee extends Q{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new yu(e==null?void 0:e.props),de(this,"children",e==null?void 0:e.children,void 0,"Designer"),this.excludes=oe(n),this.childrenMaxLength=i}judgeJoinChildren(e){const n=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return n&&this.childrenMaxLength>this.children.length}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{fieldCodeList:i}=this.props;n.props.fieldCodeList=i}return n}}Ee.controlType="custom-column",Ee.controlName=r("CMD.custom",null,"\u81EA\u5B9A\u4E49"),Ee.controlIcon="custom-column",Ee.slots=["column-column-slot"],Ee.excludes=[],Ee.childrenMaxLength=qw,Ee.setting=[{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"column-sort-field",visible:!0},{key:"super-setting",visible:!0}];class td extends J{constructor(e){super(e),this.props=new yu(e==null?void 0:e.props),de(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}td.controlType="custom-column";var nd={Designer:Ee,Runtime:td,Property:yu};class xa extends U{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Oe.controlName,this.datasourceBind=new Vn((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:Oe.controlCustomAttributes})}}class Oe extends Q{constructor(e){super(e),this.props=new xa(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.81231751712162319"),required:!0}]}}Oe.controlType="employee-column",Oe.controlName=r("CMD.employee",null,"\u4EBA\u5458"),Oe.controlIcon="employee-column",Oe.controlFieldType=b.EMPLOYEES,Oe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class ka extends J{constructor(e){super(e),this.props=new xa(e==null?void 0:e.props)}}ka.controlType="employee-column",ka.controlFieldType=b.EMPLOYEES;var id={Designer:Oe,Runtime:ka,Property:xa};class Oa extends U{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:tt.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1}}class tt extends Q{constructor(e){super(e),this.props=new Oa(e==null?void 0:e.props)}}tt.controlType="approval-status-column",tt.controlName=r("CMD.approvalStatusColumn",null,"\u5F53\u524D\u5BA1\u6279\u72B6\u6001"),tt.controlIcon="approval-status-column",tt.excludes=[],tt.setting=[{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"super-setting",visible:!0}];class ud extends J{constructor(e){super(e),this.props=new Oa(e==null?void 0:e.props)}}ud.controlType="approval-status-column";var ld={Designer:tt,Runtime:ud,Property:Oa},Ww=Object.freeze({__proto__:null,VarcharColumn:Ws,TextColumn:Us,DecimalColumn:zs,TimescopeColumn:Ks,TimestampColumn:Gs,ArrayColumn:Xs,DepartmentColumn:Qs,AutoNumberColumn:Js,FileColumn:Zs,ImageColumn:Ys,PeopleColumn:ps,LocationColumn:ed,CustomColumn:nd,OrderColumn:Hs,OperationColumn:js,EmployeeColumn:id,ApprovalStatusColumn:ld});class Uw extends Me{constructor(e){super(e),this.push({type:"object",fields:{}})}}class vu extends Fl{constructor(e){var n,i,u,l,a,o,c,h,s,v,g,C;super(e),this.searchType=(n=e==null?void 0:e.searchType)!=null?n:"model",this.labelPosition=(i=e==null?void 0:e.labelPosition)!=null?i:"top",this.viewType=(u=e==null?void 0:e.viewType)!=null?u:"mini",this.search=new Fe((l=e==null?void 0:e.search)!=null?l:{content:r("CMD.query",null,"\u67E5\u8BE2"),isShow:!0}),this.cancel=new Fe((a=e==null?void 0:e.cancel)!=null?a:{content:r("CMD.reset",null,"\u91CD\u7F6E"),isShow:!0}),this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.custom=((c=e==null?void 0:e.custom)!=null?c:[]).map(B=>new Fe(B)),this.queryTypeMap=(h=e==null?void 0:e.queryTypeMap)!=null?h:[],this.childMinWidth=(s=e==null?void 0:e.childMinWidth)!=null?s:230,this.colGap=(v=e==null?void 0:e.colGap)!=null?v:24,this.viewConfig=(g=e==null?void 0:e.viewConfig)!=null?g:[],this.simpleConfig=(C=e==null?void 0:e.simpleConfig)!=null?C:[]}}vu.RuntimeRules=Uw;class mu extends $7{constructor(e){super(e),this.props=new vu(e==null?void 0:e.props)}}mu.controlType="simple-search",mu.slotPosition={default:"search"},mu.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0},{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"search-view-type",visible:!0}];class ad extends W7{constructor(e){var n;super(e),this.props=new vu(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}ad.controlType="simple-search";var rd={Designer:mu,Runtime:ad,Property:vu},zw=Object.freeze({__proto__:null,SimpleSearch:rd});class Ma extends Tl{constructor(e){var n;super(e),this.wholeRow=(n=e==null?void 0:e.wholeRow)!=null?n:!1}}class Kw extends nB{constructor(e){super(e),this.props=new Ma(e==null?void 0:e.props)}static get controlName(){return r("CMD.gridLayoutWrap",null,"\u6362\u884C\u5BB9\u5668Wrap")}static get controlIcon(){return"page"}static get controlType(){return"grid-layout-wrap"}}class Gw extends cB{constructor(e){super(e),this.props=new Ma(e==null?void 0:e.props)}static get controlType(){return"grid-layout-wrap"}}function i8(t){return t}var Xw={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:r("CMD.fullLine",null,"\u5145\u6EE1\u6574\u884C"),props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},od={Designer:Kw,Runtime:Gw,Property:Ma,Setting:Xw},Qw=Object.freeze({__proto__:null,GridLayoutWrap:od});y.ActionBar=Ms,y.ActionSetting=Vl,y.Address=Rc,y.AdvancedContainer=xs,y.Amount=Ac,y.ApprovalStatusColumn=ld,y.ArrayColumn=Xs,y.AssignType=xe,y.Attachment=Dc,y.AutoNumber=Oc,y.AutoNumberColumn=Js,y.Barcode=cs,y.BatchDeleteButton=po,y.BatchPrintListButton=Jo,y.BatchPrintRecordListButton=Zo,y.BatchSubmissionListButton=Mo,y.Button=Co,y.Calc=$c,y.CardGroup=ms,y.Checkbox=uc,y.Col=hs,y.CreateFormListButton=Oo,y.CustomColumn=nd,y.DATE_CONFIG_TYPE=Eo,y.DATE_LIMIT_TYPE=_o,y.Dashboard=zo,y.DataView=Rs,y.DatePicker=sc,y.DateRange=hc,y.DecimalColumn=zs,y.Department=xc,y.Department2=is,y.DepartmentColumn=Qs,y.DepartmentType=vi,y.Divider=xo,y.ElectronicSignature=pc,y.ElectronicSignatureConfig=Bo,y.Employee=Bc,y.Employee2=Zc,y.EmployeeColumn=id,y.EncryptTypeEnum=Ro,y.Explain=yi,y.ExportConfig=Ao,y.ExportListButton=Lo,y.ExportRecordListButton=No,y.ExportTemplate=Ht,y.FileColumn=Zs,y.FlexStyleConfig=To,y.FormSelectButton=Ho,y.Grid=ds,y.GridLayoutContainer=Bs,y.GridLayoutWrap=od,y.GridRow=vs,y.GridTable=qs,y.GridTableColumn=_s,y.Image=wc,y.ImageColumn=Ys,y.ImageCompressType=Wl,y.ImportConfig=Fo,y.ImportListBind=wo,y.ImportRecordListButton=Vo,y.Input=nc,y.InternalType=ql,y.InvoiceCheckButton=Qo,y.LINE_STYLE=$l,y.LimitDate=fi,y.Link=bo,y.ListHeightSetting=Hl,y.ListSelectButton=jo,y.ListView=Is,y.ListViewSelect=Go,y.LocationColumn=ed,y.Number=oc,y.OperationButton=Yo,y.OperationColumn=js,y.OrderColumn=Hs,y.OrganizationSelection=ls,y.OrganizeType=jl,y.Page=Ps,y.Pagination=Wo,y.PeopleColumn=ps,y.Position=Os,y.PositioningContainer=ks,y.PrintTemplate=Io,y.Radio=ac,y.ReferenceList=ec,y.RichText=mc,y.Row=ys,y.SCORE_TYPE=Ml,y.SUBTABLE_DEFAULT_MAX_HEIGHT=So,y.Score=Ic,y.SearchDateRange=Hc,y.SearchInput=Gc,y.SearchNumberRange=Nc,y.Select=bc,y.SelectMultiple=Ec,y.SelectRelation=Uc,y.SimpleSearch=rd,y.Step=Ls,y.StepPane=$s,y.SubTable=Vs,y.SubTableColumn=bs,y.SubTableRow=Cs,y.SubmissionRecordListButton=$o,y.Tab=ws,y.TabPane=Ds,y.Text=go,y.TextColumn=Us,y.TextOcrButton=Xo,y.Textarea=yc,y.TimescopeColumn=Ks,y.TimestampColumn=Gs,y.Title=ko,y.TitleConfigEnum=Pe,y.Toolbox=Ss,y.Tree=Qc,y.UndersignedPerson=Ll,y.VarcharColumn=Ws,y.VueFormItem=qc,y.VuePage=rs,y.WPS=ts,y.WPSSetting=Do,y.WpsOperationItem=Nl,y.baseControls=GB,y.columnControls=Ww,y.formControls=UD,y.initExpression=jt,y.layoutControls=Fw,y.listControls=xw,y.searchControls=zw,y.wrapControls=Qw,Object.defineProperty(y,"__esModule",{value:!0})});
|