@byteluck-fe/model-driven-controls 2.23.0-beta.2 → 2.23.0-beta.3
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/README.md +99 -99
- package/dist/esm/baseControls/BatchSubmissionListButton/property.js +7 -7
- package/dist/esm/baseControls/Button/property.js +32 -32
- package/dist/esm/baseControls/ExportListButton/property.js +2 -2
- package/dist/esm/baseControls/ImportRecordListButton/property.js +2 -2
- package/dist/esm/baseControls/ListSelectButton/property.js +15 -15
- package/dist/esm/columnControls/ApprovalStatusColumn/property.js +11 -11
- package/dist/esm/columnControls/ArrayColumn/property.js +25 -25
- package/dist/esm/columnControls/AutoNumberColumn/property.js +9 -9
- package/dist/esm/columnControls/CustomColumn/property.js +3 -3
- package/dist/esm/columnControls/DecimalColumn/property.js +32 -32
- package/dist/esm/columnControls/DepartmentColumn/property.js +7 -7
- package/dist/esm/columnControls/EmployeeColumn/property.js +6 -6
- package/dist/esm/columnControls/FileColumn/designer.js +6 -6
- package/dist/esm/columnControls/FileColumn/property.js +2 -2
- package/dist/esm/columnControls/ImageColumn/property.js +2 -2
- package/dist/esm/columnControls/LocationColumn/property.js +9 -9
- package/dist/esm/columnControls/OperationColumn/property.js +11 -11
- package/dist/esm/columnControls/OrderColumn/property.js +3 -3
- package/dist/esm/columnControls/PeopleColumn/property.js +2 -2
- package/dist/esm/columnControls/TextColumn/property.js +17 -17
- package/dist/esm/columnControls/TimescopeColumn/property.js +13 -13
- package/dist/esm/columnControls/TimestampColumn/property.js +13 -13
- package/dist/esm/columnControls/VarcharColumn/property.js +24 -24
- package/dist/esm/formControls/Address/property.js +11 -11
- package/dist/esm/formControls/Amount/property.js +34 -34
- package/dist/esm/formControls/Attachment/property.js +8 -8
- package/dist/esm/formControls/Calc/property.js +25 -25
- package/dist/esm/formControls/DateRange/property.js +45 -45
- package/dist/esm/formControls/Department/property.js +18 -18
- package/dist/esm/formControls/Department2/property.js +22 -22
- package/dist/esm/formControls/Employee/property.js +2 -2
- package/dist/esm/formControls/Employee2/property.js +2 -2
- package/dist/esm/formControls/Image/designer.js +6 -6
- package/dist/esm/formControls/Image/property.js +6 -6
- package/dist/esm/formControls/Input/property.js +26 -26
- package/dist/esm/formControls/Number/property.js +50 -50
- package/dist/esm/formControls/OrganizationSelection/property.js +25 -25
- package/dist/esm/formControls/Select/property.js +12 -12
- package/dist/esm/formControls/SelectMultiple/property.js +12 -12
- package/dist/esm/formControls/SelectRelation/property.js +41 -41
- package/dist/esm/formControls/Textarea/property.js +19 -19
- package/dist/esm/formControls/WPS/designer.js +7 -7
- package/dist/esm/framework.js +24 -24
- package/dist/esm/index.js +6 -6
- package/dist/esm/layoutControls/CardGroup/property.js +5 -5
- package/dist/esm/layoutControls/DataView/property.js +12 -12
- package/dist/esm/layoutControls/ListView/property.js +66 -66
- package/dist/esm/layoutControls/Page/property.js +4 -4
- package/dist/esm/layoutControls/SubTableColumn/property.js +13 -13
- package/dist/esm/listControls/GridTable/property.js +29 -29
- package/dist/esm/listControls/SubTable/property.js +113 -113
- package/dist/esm/searchControls/SimpleSearch/property.js +45 -45
- package/dist/esm/wrapControls/GridLayoutWrap/Setting.js +6 -6
- package/dist/esm/wrapControls/GridLayoutWrap/designer.js +6 -6
- package/dist/esm/wrapControls/GridLayoutWrap/index.js +6 -6
- package/dist/esm/wrapControls/GridLayoutWrap/runtime.js +6 -6
- package/dist/index.umd.js +1 -43
- package/dist/types/api-doc-index.d.ts +90 -90
- package/dist/types/baseControls/BatchDeleteButton/designer.d.ts +14 -14
- package/dist/types/baseControls/BatchDeleteButton/index.d.ts +12 -12
- package/dist/types/baseControls/BatchDeleteButton/property.d.ts +14 -14
- package/dist/types/baseControls/BatchDeleteButton/runtime.d.ts +9 -9
- package/dist/types/baseControls/BatchPrintListButton/designer.d.ts +15 -15
- package/dist/types/baseControls/BatchPrintListButton/index.d.ts +12 -12
- package/dist/types/baseControls/BatchPrintListButton/property.d.ts +15 -15
- package/dist/types/baseControls/BatchPrintListButton/runtime.d.ts +10 -10
- package/dist/types/baseControls/BatchPrintRecordListButton/designer.d.ts +16 -16
- package/dist/types/baseControls/BatchPrintRecordListButton/index.d.ts +12 -12
- package/dist/types/baseControls/BatchPrintRecordListButton/property.d.ts +6 -6
- package/dist/types/baseControls/BatchPrintRecordListButton/runtime.d.ts +10 -10
- package/dist/types/baseControls/BatchSubmissionListButton/designer.d.ts +15 -15
- package/dist/types/baseControls/BatchSubmissionListButton/index.d.ts +12 -12
- package/dist/types/baseControls/BatchSubmissionListButton/property.d.ts +27 -27
- package/dist/types/baseControls/BatchSubmissionListButton/runtime.d.ts +10 -10
- package/dist/types/baseControls/Button/designer.d.ts +14 -14
- package/dist/types/baseControls/Button/index.d.ts +12 -12
- package/dist/types/baseControls/Button/property.d.ts +55 -55
- package/dist/types/baseControls/Button/runtime.d.ts +9 -9
- package/dist/types/baseControls/CreateFormListButton/designer.d.ts +15 -15
- package/dist/types/baseControls/CreateFormListButton/index.d.ts +12 -12
- package/dist/types/baseControls/CreateFormListButton/property.d.ts +15 -15
- package/dist/types/baseControls/CreateFormListButton/runtime.d.ts +10 -10
- package/dist/types/baseControls/Dashboard/designer.d.ts +12 -12
- package/dist/types/baseControls/Dashboard/index.d.ts +12 -12
- package/dist/types/baseControls/Dashboard/property.d.ts +22 -22
- package/dist/types/baseControls/Dashboard/runtime.d.ts +10 -10
- package/dist/types/baseControls/Divider/designer.d.ts +12 -12
- package/dist/types/baseControls/Divider/index.d.ts +12 -12
- package/dist/types/baseControls/Divider/property.d.ts +9 -9
- package/dist/types/baseControls/Divider/runtime.d.ts +10 -10
- package/dist/types/baseControls/ExportListButton/designer.d.ts +16 -16
- package/dist/types/baseControls/ExportListButton/index.d.ts +12 -12
- package/dist/types/baseControls/ExportListButton/property.d.ts +9 -9
- package/dist/types/baseControls/ExportListButton/runtime.d.ts +10 -10
- package/dist/types/baseControls/ExportRecordListButton/designer.d.ts +16 -16
- package/dist/types/baseControls/ExportRecordListButton/index.d.ts +12 -12
- package/dist/types/baseControls/ExportRecordListButton/property.d.ts +6 -6
- package/dist/types/baseControls/ExportRecordListButton/runtime.d.ts +10 -10
- package/dist/types/baseControls/FormSelectButton/designer.d.ts +15 -15
- package/dist/types/baseControls/FormSelectButton/index.d.ts +12 -12
- package/dist/types/baseControls/FormSelectButton/property.d.ts +19 -19
- package/dist/types/baseControls/FormSelectButton/runtime.d.ts +10 -10
- package/dist/types/baseControls/ImportRecordListButton/designer.d.ts +16 -16
- package/dist/types/baseControls/ImportRecordListButton/index.d.ts +12 -12
- package/dist/types/baseControls/ImportRecordListButton/property.d.ts +12 -12
- package/dist/types/baseControls/ImportRecordListButton/runtime.d.ts +10 -10
- package/dist/types/baseControls/InvoiceCheckButton/designer.d.ts +15 -15
- package/dist/types/baseControls/InvoiceCheckButton/index.d.ts +12 -12
- package/dist/types/baseControls/InvoiceCheckButton/property.d.ts +25 -25
- package/dist/types/baseControls/InvoiceCheckButton/runtime.d.ts +10 -10
- package/dist/types/baseControls/Link/designer.d.ts +13 -13
- package/dist/types/baseControls/Link/index.d.ts +12 -12
- package/dist/types/baseControls/Link/property.d.ts +9 -9
- package/dist/types/baseControls/Link/runtime.d.ts +10 -10
- package/dist/types/baseControls/ListSelectButton/designer.d.ts +15 -15
- package/dist/types/baseControls/ListSelectButton/index.d.ts +12 -12
- package/dist/types/baseControls/ListSelectButton/property.d.ts +42 -42
- package/dist/types/baseControls/ListSelectButton/runtime.d.ts +10 -10
- package/dist/types/baseControls/ListViewSelect/designer.d.ts +12 -12
- package/dist/types/baseControls/ListViewSelect/index.d.ts +12 -12
- package/dist/types/baseControls/ListViewSelect/property.d.ts +15 -15
- package/dist/types/baseControls/ListViewSelect/runtime.d.ts +9 -9
- package/dist/types/baseControls/OperationButton/designer.d.ts +13 -13
- package/dist/types/baseControls/OperationButton/index.d.ts +12 -12
- package/dist/types/baseControls/OperationButton/property.d.ts +25 -25
- package/dist/types/baseControls/OperationButton/runtime.d.ts +9 -9
- package/dist/types/baseControls/Pagination/designer.d.ts +13 -13
- package/dist/types/baseControls/Pagination/index.d.ts +12 -12
- package/dist/types/baseControls/Pagination/property.d.ts +14 -14
- package/dist/types/baseControls/Pagination/runtime.d.ts +10 -10
- package/dist/types/baseControls/SubmissionRecordListButton/designer.d.ts +16 -16
- package/dist/types/baseControls/SubmissionRecordListButton/index.d.ts +12 -12
- package/dist/types/baseControls/SubmissionRecordListButton/property.d.ts +6 -6
- package/dist/types/baseControls/SubmissionRecordListButton/runtime.d.ts +10 -10
- package/dist/types/baseControls/Text/designer.d.ts +12 -12
- package/dist/types/baseControls/Text/index.d.ts +12 -12
- package/dist/types/baseControls/Text/property.d.ts +12 -12
- package/dist/types/baseControls/Text/runtime.d.ts +10 -10
- package/dist/types/baseControls/TextOcrButton/designer.d.ts +15 -15
- package/dist/types/baseControls/TextOcrButton/index.d.ts +12 -12
- package/dist/types/baseControls/TextOcrButton/property.d.ts +25 -25
- package/dist/types/baseControls/TextOcrButton/runtime.d.ts +10 -10
- package/dist/types/baseControls/Title/designer.d.ts +14 -14
- package/dist/types/baseControls/Title/index.d.ts +12 -12
- package/dist/types/baseControls/Title/property.d.ts +19 -19
- package/dist/types/baseControls/Title/runtime.d.ts +10 -10
- package/dist/types/baseControls/index.d.ts +22 -22
- package/dist/types/baseControls/utils.d.ts +2 -2
- package/dist/types/columnControls/ApprovalStatusColumn/designer.d.ts +14 -14
- package/dist/types/columnControls/ApprovalStatusColumn/index.d.ts +12 -12
- package/dist/types/columnControls/ApprovalStatusColumn/property.d.ts +28 -28
- package/dist/types/columnControls/ApprovalStatusColumn/runtime.d.ts +12 -12
- package/dist/types/columnControls/ArrayColumn/designer.d.ts +14 -14
- package/dist/types/columnControls/ArrayColumn/index.d.ts +12 -12
- package/dist/types/columnControls/ArrayColumn/property.d.ts +48 -48
- package/dist/types/columnControls/ArrayColumn/runtime.d.ts +12 -12
- package/dist/types/columnControls/AutoNumberColumn/designer.d.ts +14 -14
- package/dist/types/columnControls/AutoNumberColumn/index.d.ts +12 -12
- package/dist/types/columnControls/AutoNumberColumn/property.d.ts +24 -24
- package/dist/types/columnControls/AutoNumberColumn/runtime.d.ts +12 -12
- package/dist/types/columnControls/CustomColumn/designer.d.ts +20 -20
- package/dist/types/columnControls/CustomColumn/index.d.ts +12 -12
- package/dist/types/columnControls/CustomColumn/property.d.ts +18 -18
- package/dist/types/columnControls/CustomColumn/runtime.d.ts +12 -12
- package/dist/types/columnControls/DecimalColumn/designer.d.ts +15 -15
- package/dist/types/columnControls/DecimalColumn/index.d.ts +12 -12
- package/dist/types/columnControls/DecimalColumn/property.d.ts +59 -59
- package/dist/types/columnControls/DecimalColumn/runtime.d.ts +12 -12
- package/dist/types/columnControls/DepartmentColumn/designer.d.ts +15 -15
- package/dist/types/columnControls/DepartmentColumn/index.d.ts +12 -12
- package/dist/types/columnControls/DepartmentColumn/property.d.ts +16 -16
- package/dist/types/columnControls/DepartmentColumn/runtime.d.ts +12 -12
- package/dist/types/columnControls/EmployeeColumn/designer.d.ts +19 -19
- package/dist/types/columnControls/EmployeeColumn/index.d.ts +12 -12
- package/dist/types/columnControls/EmployeeColumn/property.d.ts +15 -15
- package/dist/types/columnControls/EmployeeColumn/runtime.d.ts +12 -12
- package/dist/types/columnControls/FileColumn/designer.d.ts +14 -14
- package/dist/types/columnControls/FileColumn/index.d.ts +12 -12
- package/dist/types/columnControls/FileColumn/property.d.ts +9 -9
- package/dist/types/columnControls/FileColumn/runtime.d.ts +12 -12
- package/dist/types/columnControls/ImageColumn/designer.d.ts +14 -14
- package/dist/types/columnControls/ImageColumn/index.d.ts +12 -12
- package/dist/types/columnControls/ImageColumn/property.d.ts +9 -9
- package/dist/types/columnControls/ImageColumn/runtime.d.ts +12 -12
- package/dist/types/columnControls/LocationColumn/designer.d.ts +14 -14
- package/dist/types/columnControls/LocationColumn/index.d.ts +12 -12
- package/dist/types/columnControls/LocationColumn/property.d.ts +24 -24
- package/dist/types/columnControls/LocationColumn/runtime.d.ts +12 -12
- package/dist/types/columnControls/OperationColumn/designer.d.ts +14 -14
- package/dist/types/columnControls/OperationColumn/index.d.ts +12 -12
- package/dist/types/columnControls/OperationColumn/property.d.ts +22 -22
- package/dist/types/columnControls/OperationColumn/runtime.d.ts +12 -12
- package/dist/types/columnControls/OrderColumn/designer.d.ts +12 -12
- package/dist/types/columnControls/OrderColumn/index.d.ts +12 -12
- package/dist/types/columnControls/OrderColumn/property.d.ts +14 -14
- package/dist/types/columnControls/OrderColumn/runtime.d.ts +12 -12
- package/dist/types/columnControls/PeopleColumn/designer.d.ts +14 -14
- package/dist/types/columnControls/PeopleColumn/index.d.ts +12 -12
- package/dist/types/columnControls/PeopleColumn/property.d.ts +9 -9
- package/dist/types/columnControls/PeopleColumn/runtime.d.ts +12 -12
- package/dist/types/columnControls/TextColumn/designer.d.ts +15 -15
- package/dist/types/columnControls/TextColumn/index.d.ts +12 -12
- package/dist/types/columnControls/TextColumn/property.d.ts +36 -36
- package/dist/types/columnControls/TextColumn/runtime.d.ts +12 -12
- package/dist/types/columnControls/TimescopeColumn/designer.d.ts +15 -15
- package/dist/types/columnControls/TimescopeColumn/index.d.ts +12 -12
- package/dist/types/columnControls/TimescopeColumn/property.d.ts +31 -31
- package/dist/types/columnControls/TimescopeColumn/runtime.d.ts +12 -12
- package/dist/types/columnControls/TimestampColumn/designer.d.ts +15 -15
- package/dist/types/columnControls/TimestampColumn/index.d.ts +12 -12
- package/dist/types/columnControls/TimestampColumn/property.d.ts +31 -31
- package/dist/types/columnControls/TimestampColumn/runtime.d.ts +12 -12
- package/dist/types/columnControls/VarcharColumn/designer.d.ts +14 -14
- package/dist/types/columnControls/VarcharColumn/index.d.ts +12 -12
- package/dist/types/columnControls/VarcharColumn/property.d.ts +52 -52
- package/dist/types/columnControls/VarcharColumn/runtime.d.ts +12 -12
- package/dist/types/columnControls/index.d.ts +17 -17
- package/dist/types/formControls/Address/designer.d.ts +14 -14
- package/dist/types/formControls/Address/index.d.ts +12 -12
- package/dist/types/formControls/Address/property.d.ts +28 -28
- package/dist/types/formControls/Address/runtime.d.ts +14 -14
- package/dist/types/formControls/Amount/designer.d.ts +16 -16
- package/dist/types/formControls/Amount/index.d.ts +12 -12
- package/dist/types/formControls/Amount/property.d.ts +76 -76
- package/dist/types/formControls/Amount/runtime.d.ts +12 -12
- package/dist/types/formControls/Attachment/designer.d.ts +15 -15
- package/dist/types/formControls/Attachment/index.d.ts +12 -12
- package/dist/types/formControls/Attachment/property.d.ts +31 -31
- package/dist/types/formControls/Attachment/runtime.d.ts +12 -12
- package/dist/types/formControls/AutoNumber/designer.d.ts +15 -15
- package/dist/types/formControls/AutoNumber/index.d.ts +12 -12
- package/dist/types/formControls/AutoNumber/property.d.ts +7 -7
- package/dist/types/formControls/AutoNumber/runtime.d.ts +12 -12
- package/dist/types/formControls/Calc/designer.d.ts +16 -16
- package/dist/types/formControls/Calc/index.d.ts +12 -12
- package/dist/types/formControls/Calc/property.d.ts +58 -58
- package/dist/types/formControls/Calc/runtime.d.ts +12 -12
- package/dist/types/formControls/Checkbox/designer.d.ts +15 -15
- package/dist/types/formControls/Checkbox/index.d.ts +12 -12
- package/dist/types/formControls/Checkbox/property.d.ts +30 -30
- package/dist/types/formControls/Checkbox/runtime.d.ts +12 -12
- package/dist/types/formControls/DatePicker/designer.d.ts +15 -15
- package/dist/types/formControls/DatePicker/index.d.ts +12 -12
- package/dist/types/formControls/DatePicker/property.d.ts +16 -16
- package/dist/types/formControls/DatePicker/runtime.d.ts +12 -12
- package/dist/types/formControls/DateRange/designer.d.ts +15 -15
- package/dist/types/formControls/DateRange/index.d.ts +12 -12
- package/dist/types/formControls/DateRange/property.d.ts +80 -80
- package/dist/types/formControls/DateRange/runtime.d.ts +12 -12
- package/dist/types/formControls/Department/designer.d.ts +15 -15
- package/dist/types/formControls/Department/index.d.ts +12 -12
- package/dist/types/formControls/Department/property.d.ts +47 -47
- package/dist/types/formControls/Department/runtime.d.ts +12 -12
- package/dist/types/formControls/Department2/designer.d.ts +20 -20
- package/dist/types/formControls/Department2/index.d.ts +12 -12
- package/dist/types/formControls/Department2/property.d.ts +64 -64
- package/dist/types/formControls/Department2/runtime.d.ts +12 -12
- package/dist/types/formControls/ElectronicSignature/designer.d.ts +15 -15
- package/dist/types/formControls/ElectronicSignature/index.d.ts +12 -12
- package/dist/types/formControls/ElectronicSignature/property.d.ts +22 -22
- package/dist/types/formControls/ElectronicSignature/runtime.d.ts +12 -12
- package/dist/types/formControls/Employee/designer.d.ts +14 -14
- package/dist/types/formControls/Employee/index.d.ts +12 -12
- package/dist/types/formControls/Employee/property.d.ts +21 -21
- package/dist/types/formControls/Employee/runtime.d.ts +12 -12
- package/dist/types/formControls/Employee2/designer.d.ts +19 -19
- package/dist/types/formControls/Employee2/index.d.ts +12 -12
- package/dist/types/formControls/Employee2/property.d.ts +33 -33
- package/dist/types/formControls/Employee2/runtime.d.ts +12 -12
- package/dist/types/formControls/Image/designer.d.ts +13 -13
- package/dist/types/formControls/Image/index.d.ts +12 -12
- package/dist/types/formControls/Image/property.d.ts +6 -6
- package/dist/types/formControls/Image/runtime.d.ts +8 -8
- package/dist/types/formControls/Input/designer.d.ts +15 -15
- package/dist/types/formControls/Input/index.d.ts +12 -12
- package/dist/types/formControls/Input/property.d.ts +57 -57
- package/dist/types/formControls/Input/runtime.d.ts +12 -12
- package/dist/types/formControls/Number/designer.d.ts +16 -16
- package/dist/types/formControls/Number/index.d.ts +12 -12
- package/dist/types/formControls/Number/property.d.ts +92 -92
- package/dist/types/formControls/Number/runtime.d.ts +12 -12
- package/dist/types/formControls/OrganizationSelection/designer.d.ts +20 -20
- package/dist/types/formControls/OrganizationSelection/index.d.ts +12 -12
- package/dist/types/formControls/OrganizationSelection/property.d.ts +73 -73
- package/dist/types/formControls/OrganizationSelection/runtime.d.ts +12 -12
- package/dist/types/formControls/Radio/designer.d.ts +15 -15
- package/dist/types/formControls/Radio/index.d.ts +12 -12
- package/dist/types/formControls/Radio/property.d.ts +22 -22
- package/dist/types/formControls/Radio/runtime.d.ts +12 -12
- package/dist/types/formControls/RichText/designer.d.ts +15 -15
- package/dist/types/formControls/RichText/index.d.ts +12 -12
- package/dist/types/formControls/RichText/property.d.ts +21 -21
- package/dist/types/formControls/RichText/runtime.d.ts +12 -12
- package/dist/types/formControls/Score/designer.d.ts +16 -16
- package/dist/types/formControls/Score/index.d.ts +12 -12
- package/dist/types/formControls/Score/property.d.ts +23 -23
- package/dist/types/formControls/Score/runtime.d.ts +12 -12
- package/dist/types/formControls/SearchDateRange/designer.d.ts +14 -14
- package/dist/types/formControls/SearchDateRange/index.d.ts +12 -12
- package/dist/types/formControls/SearchDateRange/property.d.ts +22 -22
- package/dist/types/formControls/SearchDateRange/runtime.d.ts +12 -12
- package/dist/types/formControls/SearchInput/designer.d.ts +12 -12
- package/dist/types/formControls/SearchInput/index.d.ts +12 -12
- package/dist/types/formControls/SearchInput/property.d.ts +10 -10
- package/dist/types/formControls/SearchInput/runtime.d.ts +12 -12
- package/dist/types/formControls/SearchNumberRange/designer.d.ts +14 -14
- package/dist/types/formControls/SearchNumberRange/index.d.ts +12 -12
- package/dist/types/formControls/SearchNumberRange/property.d.ts +15 -15
- package/dist/types/formControls/SearchNumberRange/runtime.d.ts +12 -12
- package/dist/types/formControls/Select/designer.d.ts +14 -14
- package/dist/types/formControls/Select/index.d.ts +12 -12
- package/dist/types/formControls/Select/property.d.ts +37 -37
- package/dist/types/formControls/Select/runtime.d.ts +12 -12
- package/dist/types/formControls/SelectMultiple/designer.d.ts +14 -14
- package/dist/types/formControls/SelectMultiple/index.d.ts +12 -12
- package/dist/types/formControls/SelectMultiple/property.d.ts +40 -40
- package/dist/types/formControls/SelectMultiple/runtime.d.ts +12 -12
- package/dist/types/formControls/SelectRelation/designer.d.ts +16 -16
- package/dist/types/formControls/SelectRelation/index.d.ts +12 -12
- package/dist/types/formControls/SelectRelation/property.d.ts +79 -79
- package/dist/types/formControls/SelectRelation/runtime.d.ts +12 -12
- package/dist/types/formControls/Textarea/designer.d.ts +15 -15
- package/dist/types/formControls/Textarea/index.d.ts +12 -12
- package/dist/types/formControls/Textarea/property.d.ts +46 -46
- package/dist/types/formControls/Textarea/runtime.d.ts +12 -12
- package/dist/types/formControls/Tree/designer.d.ts +20 -20
- package/dist/types/formControls/Tree/index.d.ts +12 -12
- package/dist/types/formControls/Tree/property.d.ts +34 -34
- package/dist/types/formControls/Tree/runtime.d.ts +11 -11
- package/dist/types/formControls/VueFormItem/designer.d.ts +16 -16
- package/dist/types/formControls/VueFormItem/index.d.ts +12 -12
- package/dist/types/formControls/VueFormItem/property.d.ts +18 -18
- package/dist/types/formControls/VueFormItem/runtime.d.ts +12 -12
- package/dist/types/formControls/VuePage/designer.d.ts +15 -15
- package/dist/types/formControls/VuePage/index.d.ts +12 -12
- package/dist/types/formControls/VuePage/property.d.ts +18 -18
- package/dist/types/formControls/VuePage/runtime.d.ts +12 -12
- package/dist/types/formControls/WPS/designer.d.ts +15 -15
- package/dist/types/formControls/WPS/index.d.ts +12 -12
- package/dist/types/formControls/WPS/property.d.ts +32 -32
- package/dist/types/formControls/WPS/runtime.d.ts +12 -12
- package/dist/types/formControls/index.d.ts +31 -31
- package/dist/types/framework.d.ts +205 -205
- package/dist/types/index.d.ts +17 -17
- package/dist/types/layoutControls/ActionBar/designer.d.ts +16 -16
- package/dist/types/layoutControls/ActionBar/index.d.ts +12 -12
- package/dist/types/layoutControls/ActionBar/property.d.ts +9 -9
- package/dist/types/layoutControls/ActionBar/runtime.d.ts +10 -10
- package/dist/types/layoutControls/AdvancedContainer/Setting.d.ts +2 -2
- package/dist/types/layoutControls/AdvancedContainer/designer.d.ts +10 -10
- package/dist/types/layoutControls/AdvancedContainer/index.d.ts +12 -12
- package/dist/types/layoutControls/AdvancedContainer/property.d.ts +8 -8
- package/dist/types/layoutControls/AdvancedContainer/runtime.d.ts +9 -9
- package/dist/types/layoutControls/CardGroup/designer.d.ts +14 -14
- package/dist/types/layoutControls/CardGroup/index.d.ts +12 -12
- package/dist/types/layoutControls/CardGroup/property.d.ts +14 -14
- package/dist/types/layoutControls/CardGroup/runtime.d.ts +10 -10
- package/dist/types/layoutControls/Col/designer.d.ts +14 -14
- package/dist/types/layoutControls/Col/index.d.ts +12 -12
- package/dist/types/layoutControls/Col/property.d.ts +8 -8
- package/dist/types/layoutControls/Col/runtime.d.ts +10 -10
- package/dist/types/layoutControls/DataView/designer.d.ts +11 -11
- package/dist/types/layoutControls/DataView/index.d.ts +12 -12
- package/dist/types/layoutControls/DataView/property.d.ts +33 -33
- package/dist/types/layoutControls/DataView/runtime.d.ts +10 -10
- package/dist/types/layoutControls/Grid/designer.d.ts +11 -11
- package/dist/types/layoutControls/Grid/index.d.ts +12 -12
- package/dist/types/layoutControls/Grid/property.d.ts +2 -2
- package/dist/types/layoutControls/Grid/runtime.d.ts +9 -9
- package/dist/types/layoutControls/GridLayoutContainer/designer.d.ts +14 -14
- package/dist/types/layoutControls/GridLayoutContainer/index.d.ts +12 -12
- package/dist/types/layoutControls/GridLayoutContainer/property.d.ts +8 -8
- package/dist/types/layoutControls/GridLayoutContainer/runtime.d.ts +10 -10
- package/dist/types/layoutControls/GridRow/designer.d.ts +16 -16
- package/dist/types/layoutControls/GridRow/index.d.ts +12 -12
- package/dist/types/layoutControls/GridRow/property.d.ts +6 -6
- package/dist/types/layoutControls/GridRow/runtime.d.ts +10 -10
- package/dist/types/layoutControls/GridTableColumn/designer.d.ts +23 -23
- package/dist/types/layoutControls/GridTableColumn/index.d.ts +12 -12
- package/dist/types/layoutControls/GridTableColumn/property.d.ts +19 -19
- package/dist/types/layoutControls/GridTableColumn/runtime.d.ts +10 -10
- package/dist/types/layoutControls/ListView/designer.d.ts +20 -20
- package/dist/types/layoutControls/ListView/index.d.ts +12 -12
- package/dist/types/layoutControls/ListView/property.d.ts +128 -128
- package/dist/types/layoutControls/ListView/runtime.d.ts +12 -12
- package/dist/types/layoutControls/Page/Setting.d.ts +2 -2
- package/dist/types/layoutControls/Page/designer.d.ts +10 -10
- package/dist/types/layoutControls/Page/index.d.ts +12 -12
- package/dist/types/layoutControls/Page/property.d.ts +15 -15
- package/dist/types/layoutControls/Page/runtime.d.ts +9 -9
- package/dist/types/layoutControls/Position/Setting.d.ts +2 -2
- package/dist/types/layoutControls/Position/designer.d.ts +10 -10
- package/dist/types/layoutControls/Position/index.d.ts +12 -12
- package/dist/types/layoutControls/Position/property.d.ts +9 -9
- package/dist/types/layoutControls/Position/runtime.d.ts +9 -9
- package/dist/types/layoutControls/PositioningContainer/Setting.d.ts +2 -2
- package/dist/types/layoutControls/PositioningContainer/designer.d.ts +10 -10
- package/dist/types/layoutControls/PositioningContainer/index.d.ts +12 -12
- package/dist/types/layoutControls/PositioningContainer/property.d.ts +5 -5
- package/dist/types/layoutControls/PositioningContainer/runtime.d.ts +9 -9
- package/dist/types/layoutControls/Row/designer.d.ts +15 -15
- package/dist/types/layoutControls/Row/index.d.ts +12 -12
- package/dist/types/layoutControls/Row/property.d.ts +8 -8
- package/dist/types/layoutControls/Row/runtime.d.ts +11 -11
- package/dist/types/layoutControls/SubTableColumn/designer.d.ts +23 -23
- package/dist/types/layoutControls/SubTableColumn/index.d.ts +12 -12
- package/dist/types/layoutControls/SubTableColumn/property.d.ts +39 -39
- package/dist/types/layoutControls/SubTableColumn/runtime.d.ts +10 -10
- package/dist/types/layoutControls/SubTableRow/designer.d.ts +20 -20
- package/dist/types/layoutControls/SubTableRow/index.d.ts +12 -12
- package/dist/types/layoutControls/SubTableRow/property.d.ts +6 -6
- package/dist/types/layoutControls/SubTableRow/runtime.d.ts +11 -11
- package/dist/types/layoutControls/Tab/designer.d.ts +16 -16
- package/dist/types/layoutControls/Tab/index.d.ts +12 -12
- package/dist/types/layoutControls/Tab/property.d.ts +7 -7
- package/dist/types/layoutControls/Tab/runtime.d.ts +11 -11
- package/dist/types/layoutControls/TabPane/designer.d.ts +14 -14
- package/dist/types/layoutControls/TabPane/index.d.ts +12 -12
- package/dist/types/layoutControls/TabPane/property.d.ts +13 -13
- package/dist/types/layoutControls/TabPane/runtime.d.ts +10 -10
- package/dist/types/layoutControls/Toolbox/designer.d.ts +14 -14
- package/dist/types/layoutControls/Toolbox/index.d.ts +12 -12
- package/dist/types/layoutControls/Toolbox/property.d.ts +6 -6
- package/dist/types/layoutControls/Toolbox/runtime.d.ts +10 -10
- package/dist/types/layoutControls/index.d.ts +19 -19
- package/dist/types/listControls/GridTable/designer.d.ts +26 -26
- package/dist/types/listControls/GridTable/index.d.ts +12 -12
- package/dist/types/listControls/GridTable/property.d.ts +45 -45
- package/dist/types/listControls/GridTable/runtime.d.ts +13 -13
- package/dist/types/listControls/SubTable/designer.d.ts +27 -27
- package/dist/types/listControls/SubTable/index.d.ts +12 -12
- package/dist/types/listControls/SubTable/property.d.ts +211 -211
- package/dist/types/listControls/SubTable/runtime.d.ts +13 -13
- package/dist/types/listControls/index.d.ts +2 -2
- package/dist/types/searchControls/SimpleSearch/designer.d.ts +13 -13
- package/dist/types/searchControls/SimpleSearch/index.d.ts +12 -12
- package/dist/types/searchControls/SimpleSearch/property.d.ts +84 -84
- package/dist/types/searchControls/SimpleSearch/runtime.d.ts +11 -11
- package/dist/types/searchControls/index.d.ts +1 -1
- package/dist/types/type.d.ts +115 -115
- package/dist/types/wrapControls/GridLayoutWrap/Setting.d.ts +2 -2
- package/dist/types/wrapControls/GridLayoutWrap/designer.d.ts +11 -11
- package/dist/types/wrapControls/GridLayoutWrap/index.d.ts +14 -14
- package/dist/types/wrapControls/GridLayoutWrap/property.d.ts +6 -6
- package/dist/types/wrapControls/GridLayoutWrap/runtime.d.ts +9 -9
- package/dist/types/wrapControls/index.d.ts +1 -1
- package/package.json +5 -5
package/dist/index.umd.js
CHANGED
|
@@ -1,43 +1 @@
|
|
|
1
|
-
var rk=Object.defineProperty,ak=Object.defineProperties;var uk=Object.getOwnPropertyDescriptors;var Ny=Object.getOwnPropertySymbols,lk=Object.getPrototypeOf,ok=Object.prototype.hasOwnProperty,sk=Object.prototype.propertyIsEnumerable,ck=Reflect.get;var Py=(T,_e,Se)=>_e in T?rk(T,_e,{enumerable:!0,configurable:!0,writable:!0,value:Se}):T[_e]=Se,qt=(T,_e)=>{for(var Se in _e||(_e={}))ok.call(_e,Se)&&Py(T,Se,_e[Se]);if(Ny)for(var Se of Ny(_e))sk.call(_e,Se)&&Py(T,Se,_e[Se]);return T},ba=(T,_e)=>ak(T,uk(_e));var ud=(T,_e,Se)=>ck(lk(T),Se,_e);var Qn=(T,_e,Se)=>new Promise((kl,Ea)=>{var xl=Pt=>{try{Gi(Se.next(Pt))}catch(Ki){Ea(Ki)}},Ml=Pt=>{try{Gi(Se.throw(Pt))}catch(Ki){Ea(Ki)}},Gi=Pt=>Pt.done?kl(Pt.value):Promise.resolve(Pt.value).then(xl,Ml);Gi((Se=Se.apply(T,_e)).next())});(function(T,_e){typeof exports=="object"&&typeof module!="undefined"?_e(exports):typeof define=="function"&&define.amd?define(["exports"],_e):(T=typeof globalThis!="undefined"?globalThis:T||self,_e(T.modelDrivenControls={}))})(this,function(T){"use strict";var _e="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",Se="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",kl="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",Ea="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",xl="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Ml="{caption}\u5FC5\u586B",Gi="\u8BF7\u8F93\u5165\u6807\u9898",Pt="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",Ki="\u8BF7\u8F93\u5165\u884C\u6807\u9898",Fy="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",By="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",Ly="\u8BF7\u7ED1\u5B9A\u8868\u5355",ky="\u8BF7\u7ED1\u5B9A\u5217\u8868",xy="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",My="\u8BF7\u8F93\u5165\u663E\u793A\u503C",$y="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Vy="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Uy="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Hy="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",jy="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",Wy="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",qy="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",Gy="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Ky="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",zy="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",Xy="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Jy="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Qy="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236",Zy="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Yy="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",py="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",e_="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",t_="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",n_="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",i_="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",r_="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",a_="\u8BF7\u7ED1\u5B9A\u670D\u52A1",u_="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",l_="\u8BF7\u9009\u62E9\u7701",o_="\u8BF7\u9009\u62E9\u5E02",s_="\u8BF7\u9009\u62E9\u533A",c_="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",d_="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",f_="\u8BF7\u8F93\u5165\u5217\u5BBD",h_="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",m_="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",v_="\u8BF7\u9009\u62E9\u63A7\u4EF6",g_="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",y_="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",__="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",b_="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",E_="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",C_="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",w_="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",I_="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",T_="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",S_="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",O_="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",A_="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",R_="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",D_="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",N_="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",P_="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",F_="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",B_="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",L_="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",k_="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",x_="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",M_="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",$_="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",V_="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",U_="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",H_="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",j_="\u6279\u91CF\u5220\u9664",W_="\u6279\u91CF\u6253\u5370",q_="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",G_="\u6309\u94AE",K_="\u521B\u5EFA\u5355\u636E",z_="\u4EEA\u8868\u76D8",X_="\u5206\u5272\u7EBF",J_="\u5BFC\u51FA",Q_="\u8868\u5355\u64CD\u4F5C",Z_="\u5BFC\u5165",Y_="\u53D1\u7968\u8BC6\u522B",p_="\u94FE\u63A5",e0="\u5217\u8868\u9009\u62E9",t0="\u5217\u8868\u89C6\u56FE",n0="\u64CD\u4F5C\u6309\u94AE",i0="\u5206\u9875",r0="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",a0="\u8BF4\u660E\u6587\u5B57",u0="\u6587\u5B57\u8BC6\u522B",l0="\u6807\u9898\u7EC4\u4EF6",o0="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",s0="\u6570\u7EC4",c0="\u81EA\u52A8\u7F16\u53F7",d0="\u81EA\u5B9A\u4E49",f0="\u6570\u503C",h0="\u90E8\u95E8",m0="\u4EBA\u5458",v0="\u9644\u4EF6",g0="\u56FE\u7247",y0="\u5730\u5740",_0="\u64CD\u4F5C",b0="\u5E8F\u53F7",E0="\u4EBA\u5458",C0="\u957F\u6587\u672C",w0="\u65E5\u671F\u533A\u95F4",I0="\u65E5\u671F",T0="\u77ED\u6587\u672C",S0="\u6362\u884C\u5BB9\u5668Wrap",O0="\u8868\u683C",A0="\u660E\u7EC6\u5B50\u8868",R0="\u5730\u5740",D0="\u91D1\u989D",N0="\u8BA1\u7B97\u516C\u5F0F",P0="\u591A\u9009",F0="\u7535\u5B50\u7B7E\u7AE0",B0="\u5355\u884C\u6587\u672C",L0="\u6570\u5B57",k0="\u4E1A\u52A1\u7EC4\u7EC7",x0="\u5355\u9009",M0="\u5BCC\u6587\u672C",$0="\u8BC4\u5206",V0="\u6570\u5B57\u533A\u95F4",U0="\u4E0B\u62C9\u5355\u9009",H0="\u4E0B\u62C9\u591A\u9009",j0="\u5173\u8054\u5355\u9009",W0="\u591A\u884C\u6587\u672C",q0="\u6811",G0="Vue\u5BB9\u5668",K0="Vue\u9875\u9762",z0="\u5728\u7EBF\u6587\u6863",X0="\u6309\u94AE\u64CD\u4F5C\u680F",J0="\u9AD8\u7EA7\u5BB9\u5668",Q0="\u5206\u7EC4",Z0="\u6805\u683C\u5217",Y0="\u6570\u636E\u5BB9\u5668",p0="\u753B\u5E03",eb="\u6362\u884C\u5BB9\u5668",tb="\u6805\u683C\u7B49\u5206\u884C",nb="\u5217\u8868\u5BB9\u5668",ib="\u81EA\u7531\u9875\u9762",rb="\u5B9A\u4F4D\u5B50\u5BB9\u5668",ab="\u5B9A\u4F4D\u5BB9\u5668",ub="\u6805\u683C\u5E03\u5C40",lb="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",ob="\u660E\u7EC6\u5B50\u8868\u884C",sb="\u6807\u7B7E\u9875",cb="\u6807\u7B7E\u5355\u5143",db="\u5DE5\u5177\u680F",fb="\u6279\u91CF\u63D0\u4EA4",hb="\u5BFC\u51FA\u8BB0\u5F55",mb="\u5217\u8868\u89C6\u56FE",vb="\u7ED3\u675F\u65F6\u95F4",gb="\u5F00\u59CB\u65F6\u95F4",yb="\u5355\u4F4D",_b="\u7ED3\u679C",bb="\u5E01\u79CD",Eb="\u7ED3\u675F\u65E5\u671F",Cb="\u5F00\u59CB\u65E5\u671F",wb="\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0",Ib="\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1",Tb="\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B",Sb="\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA",Ob="\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",Ab="\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6",Rb="\u8BF7\u9009\u62E9",Db="\u8BF7\u9009\u62E9\u7EC4\u7EC7",Nb="\u8BF7\u9009\u62E9\u90E8\u95E8",Pb="\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",Fb="\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",Bb="\u8BF7\u9009\u62E9\u5730\u5740",Lb="\u5F39\u7A97\u786E\u8BA4\u65F6",kb="\u6807\u7B7E\u9875\u5207\u6362\u65F6",xb="\u884C\u9009\u4E2D\u65F6",Mb="\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",$b="\u884C\u5220\u9664\u524D",Vb="\u884C\u70B9\u51FB\u65F6",Ub="\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",Hb="\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",jb="\u91CD\u547D\u540D\u65F6",Wb="\u4FDD\u5B58\u6587\u4EF6\u65F6",qb="\u6253\u5F00\u6587\u4EF6\u65F6",Gb="\u83B7\u53D6\u7126\u70B9\u65F6",Kb="\u5931\u53BB\u7126\u70B9\u65F6",zb="\u7528\u6237\u8F93\u5165\u65F6",Xb="\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",Jb="\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",Qb="\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",Zb="\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",Yb="\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",pb="\u641C\u7D22\u65F6",eE="\u503C\u53D1\u751F\u53D8\u5316\u65F6",tE="\u6267\u884C\u5B8C\u6210\u65F6",nE="\u70B9\u51FB\u65F6",iE="\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",rE="\u8BF7\u8F93\u5165\u65E5\u671F",aE="\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",uE="\u8BF7\u8F93\u5165",lE="\u9ED8\u8BA4\u6A21\u7248",oE="\u5DE6\u53F3\u5E03\u5C40",sE="\u4E0A\u4E0B\u5E03\u5C40",cE="\u53EA\u8BFB",dE="\u5FC5\u586B",fE="\u63D0\u793A\u6587\u5B57",hE="\u9690\u85CF\u6807\u9898",mE="\u6807\u9898\u5FC5\u586B",vE="\u7EC4\u7EC7\u5F62\u6001",gE="\u4E1A\u52A1\u7C7B\u578B",yE="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",_E="\u9690\u85CF",bE="\u6D41\u7A0B\u72B6\u6001",EE="\u5BA1\u6279\u901A\u8FC7\u5355\u636E",CE="\u5220\u9664",wE="\u7F16\u8F91",IE="\u67E5\u770B",TE="\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A{id}",SE="\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF",OE="\u5145\u6EE1\u6574\u884C",AE="\u6700\u5C0F\u503C",RE="\u6700\u5927\u503C",DE="\u65B0\u5EFA\u6587\u6863",NE="\u91CD\u7F6E",PE="\u67E5\u8BE2",FE="\u660E\u7EC6",BE="\u6253\u5370",LE="\u4FDD\u5B58\u8349\u7A3F",kE="\u4FDD\u5B58",xE="\u53D6\u6D88",ME="\u4E0A\u4F20\u56FE\u7247",$E="\u53D1\u8D77\u7B7E\u7F72",VE="\u4E0A\u4F20\u9644\u4EF6",UE="\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",HE={isNotNumber:_e,isNotString:Se,isNotObject:kl,isNotArray:Ea,isNotBoolean:xl,runtimeRequired:Ml,pleaseEnterCaption:Gi,pleaseEnterCaptionTip:Pt,pleaseEnterRowCaption:Ki,pleaseEnterPlaceholder:Fy,pleaseEnterFieldCode:By,pleaseEnterForm:Ly,pleaseEnterList:ky,pleaseEnterProcess:xy,pleaseEnterLabel:My,pleaseEnterValue:$y,bizKeyNotBindFiled:Vy,pleaseSelectOneField:Uy,pleaseEnterNumberRange:Hy,pleaseEnterAValueGreaterThanMin:jy,pleaseEnterAValueLessThanMax:Wy,numberRangeSetError:qy,stringRangeError:Gy,attachmentMaxSize:Ky,pleaseEnterTotalScoreSetting:zy,theTotalScoreMustNotBeLessThan1:Xy,scoreDefaultValueRange:Jy,attachmentLimitError:Qy,PleaseReselectTheOptionalQuantity:Zy,TheMaximumLengthIsGreaterThanTheMinimumLength:Yy,TheMinimumLengthIsGreaterThanTheMaximumLength:py,PleaseSelectTheCorrectOptionSettings:e_,optionIdIsRepeat:t_,optionIsRequired:n_,pleaseEnterDataCode:i_,pleaseEnterValueFieldCode:r_,pleaseEnterSvcCode:a_,pleaseBindAtLeastOneDisplayValue:u_,pleaseSelectProvince:l_,pleaseSelectCity:o_,pleaseSelectDistrict:s_,limitRowsCannotBeLessThan0:c_,TheNumberOfRowsCannotBeLessThanMinRows:d_,pleaseEnterColumnWidth:f_,pleaseSetTheLogicalRelationshipOfAllRuleConditions:h_,pleaseCompleteAllRulesAndConditions:m_,pleaseSelectControl:v_,pleaseSelectAtLeastOneColumn:g_,pleaseSelectFillBackMode:y_,pleaseSelectDashboard:__,rootNodeIsRequired:b_,theViewNameCannotBeEmpty:E_,pleaseSelectOcrType:C_,pleaseSelectAtLeastOneFieldToFillIn:w_,pleaseChooseAtLeastOne:I_,pleaseEnterButtonContent:T_,pleaseEnterDataCodeInDataSetting:S_,pleaseEnterValueFieldCodeInDataSetting:O_,pleaseEnterSvcCodeInDataSetting:A_,pleaseBindAtLeastOneDisplayValueInDataSetting:R_,rootNodeIsRequiredInDataSetting:D_,pleaseEnterMaxHeight:N_,pleaseEnterWatermark:P_,pleaseEnterFileName:F_,pleaseUploadAtLeastOnePrintTemplate:B_,pleaseAssignBusiness:L_,pleaseAssignExternal:k_,pleaseEnterAliasCode:x_,pleaseSelectDataCode:M_,pleaseSelectSvcCode:$_,pleaseSelectJoinFieldCode:V_,pleaseSelectMainFieldCode:U_,pleaseSelectSortFieldCode:H_,batchDeleteButton:j_,batchPrintListButton:W_,batchPrintRecordList:q_,button:G_,createFormListButton:K_,dashboard:z_,divider:X_,exportListButton:J_,formSelectButton:Q_,importRecordListButton:Z_,invoiceCheckButton:Y_,link:p_,listSelectButton:e0,ListViewSelect:t0,operationButton:n0,pagination:i0,submissionRecordListButton:r0,text:a0,textOcrButton:u0,title:l0,approvalStatusColumn:o0,array:s0,autoNumber:c0,custom:d0,decimal:f0,department:h0,employee:m0,file:v0,image:g0,location:y0,operation:_0,order:b0,people:E0,long:C0,timescope:w0,timestamp:I0,varchar:T0,gridLayoutWrap:S0,gridTable:O0,subTable:A0,address:R0,amount:D0,calc:N0,checkBox:P0,electronicSignature:F0,input:B0,number:L0,organizationSelection:k0,radio:x0,richText:M0,score:$0,searchNumberRange:V0,select:U0,selectMultiple:H0,selectRelation:j0,textarea:W0,tree:q0,vueFormItem:G0,vuePage:K0,WPS:z0,actionBar:X0,advancedContainer:J0,cardGroup:Q0,col:Z0,dataView:Y0,grid:p0,gridLayoutContainer:eb,gridRow:tb,listView:nb,page:ib,position:rb,positioningContainer:ab,row:ub,subtableColumn:lb,subtableRow:ob,tab:sb,tabPane:cb,toolbox:db,batchSubmissionListButton:fb,exportRecordListButton:hb,listViewSelect:mb,endTime:vb,startTime:gb,unit:yb,result:_b,currency:bb,endDate:Eb,startDate:Cb,pleaseSelectCompanyName:wb,pleaseSelectPhoneOrEmail:Ib,pleaseSelectSignType:Tb,pleaseSelectSigner:Sb,pleaseSelectOnlyOne:Ob,pleaseSelectSignFile:Ab,pleaseSelect:Rb,pleaseSelectOrg:Db,pleaseSelectDept:Nb,pleaseSelectEndDate:Pb,pleaseSelectStartDate:Fb,pleaseChooseAddress:Bb,modalConfirm:Lb,tabChange:kb,rowSelected:xb,listDataImport:Mb,rowDelete:$b,rowClick:Vb,cellRender:Ub,onClickBtn:Hb,rename:jb,onSaveFile:Wb,onOpenFile:qb,onFocus:Gb,onBlur:Kb,onInput:zb,listDataAdd:Xb,listDataDelete:Jb,listDataBack:Qb,listDataCreate:Zb,listDataChange:Yb,search:pb,valueChange:eE,finished:tE,click:nE,pleaseEnterNameorEmail:iE,pleaseEnterDate:rE,pleaseEnterAutonumber:aE,pleaseEnter:uE,defaultTemplate:lE,left:oE,top:sE,default:"\u666E\u901A",readonly:cE,required:dE,textTip:fE,hideCaption:hE,titleRequired:mE,organizationalForm:vE,businessType:gE,deleteConfirm:yE,hide:_E,processStatus:bE,approvedDocuments:EE,delete:CE,edit:wE,view:IE,loadCtrlErrorTip:TE,loadCtrlError:SE,fullLine:OE,min:AE,max:RE,createWPS:DE,reset:NE,query:PE,detailed:FE,print:BE,draft:LE,save:kE,cancel:xE,uploadImg:ME,signature:$E,uploadFile:VE,linkContent:UE},jE="Please enter a number",WE="Please enter a string",qE="Please enter an object",GE="Please enter an array",KE="Please enter a boolean",zE="{caption} Required",XE="Please enter the title",JE="Please enter the bubble prompt",QE="Please enter the row title",ZE="Please enter the prompt text",YE="Please bind data items",pE="Please bind the form",eC="Please bind the list",tC="Please bind the process",nC="Please enter the displayed value",iC="Please enter the stored value",rC="The document number is not bound to the data item",aC="Please select at least one display field",uC="Please enter a value greater than or equal to {min} and less than or equal to {max}",lC="Please enter a value greater than or equal to {min}",oC="Please enter a value less than or equal to {max}",sC="The value range is set incorrectly",cC="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",dC="The attachment size must be between 0MB and 1000MB",fC="Please fill in the total score setting",hC="The total score cannot be less than 1",mC="The default value must be between {min} and {max}",vC="The number of attachment uploads exceeds the limit",gC="Please re-select the optional quantity",yC="The maximum length of the control must be greater than the minimum length",_C="The minimum length of the control must be less than the maximum length",bC="Please select the correct option setting",EC="Option ID cannot be repeated",CC="Please enter at least one option",wC="Please bind the data source",IC="Please bind the stored value",TC="Please bind the service",SC="At least one display value must be bound",OC="Please select a province",AC="Please select a city",RC="Please select a district",DC="The minimum number of lines to fill in cannot be less than 0",NC="The number of rows cannot be less than {min} rows",PC="Please enter the column width",FC="Please set the logical relationship of all rule conditions",BC="Please complete all rules and conditions",LC="please select control",kC="Please select the dashboard",xC="View name cannot be empty",MC="Please select recognition type",$C="Please select at least one field to fill in",VC="Please select at least one",UC="Please enter the button title",HC="Please bind the business model in the data settings",jC="Please bind storage values in data settings",WC="Please bind the service in the data settings",qC="Please bind at least one display value in the data settings",GC="Please select the root node in the data settings",KC="Please enter the maximum height",zC="The input content cannot be empty",XC="Watermark cannot be empty",JC="File name cannot be empty",QC="Please upload at least one printing template!\uFF01",ZC="Please select a specific business department",YC="Please select a specified external organization",pC="Please enter a sub table alias",ew="Please select the associated table to set the business model",tw="Please select the association table to set the binding service",nw="Select associated sub table fields",iw="Please select the associated main table field",rw="Please select the sort field",aw="\u6279\u91CF\u5220\u9664",uw="\u6279\u91CF\u6253\u5370",lw="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",ow="\u6309\u94AE",sw="\u521B\u5EFA\u5355\u636E",cw="\u4EEA\u8868\u76D8",dw="\u5206\u5272\u7EBF",fw="\u5BFC\u51FA",hw="\u8868\u5355\u64CD\u4F5C",mw="\u5BFC\u5165",vw="\u53D1\u7968\u8BC6\u522B",gw="\u94FE\u63A5",yw="\u5217\u8868\u9009\u62E9",_w="\u5217\u8868\u89C6\u56FE",bw="\u64CD\u4F5C\u6309\u94AE",Ew="\u5206\u9875",Cw="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",ww="\u8BF4\u660E\u6587\u5B57",Iw="\u6587\u5B57\u8BC6\u522B",Tw="\u6807\u9898\u7EC4\u4EF6",Sw="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",Ow="\u6570\u7EC4",Aw="\u81EA\u52A8\u7F16\u53F7",Rw="\u81EA\u5B9A\u4E49",Dw="\u6570\u503C",Nw="\u90E8\u95E8",Pw="\u4EBA\u5458",Fw="\u9644\u4EF6",Bw="\u56FE\u7247",Lw="\u5730\u5740",kw="\u64CD\u4F5C",xw="\u5E8F\u53F7",Mw="\u4EBA\u5458",$w="\u957F\u6587\u672C",Vw="\u65E5\u671F\u533A\u95F4",Uw="\u65E5\u671F",Hw="\u77ED\u6587\u672C",jw="\u6362\u884C\u5BB9\u5668Wrap",Ww="\u8868\u683C",qw="\u660E\u7EC6\u5B50\u8868",Gw="\u5730\u5740",Kw="\u91D1\u989D",zw="\u8BA1\u7B97\u516C\u5F0F",Xw="\u591A\u9009",Jw="\u7535\u5B50\u7B7E\u7AE0",Qw="\u5355\u884C\u6587\u672C",Zw="\u6570\u5B57",Yw="\u4E1A\u52A1\u7EC4\u7EC7",pw="\u5355\u9009",eI="\u5BCC\u6587\u672C",tI="\u8BC4\u5206",nI="\u6570\u5B57\u533A\u95F4",iI="\u4E0B\u62C9\u5355\u9009",rI="\u4E0B\u62C9\u591A\u9009",aI="\u5173\u8054\u5355\u9009",uI="\u591A\u884C\u6587\u672C",lI="\u6811",oI="Vue\u5BB9\u5668",sI="Vue\u9875\u9762",cI="\u5728\u7EBF\u6587\u6863",dI="\u6309\u94AE\u64CD\u4F5C\u680F",fI="\u9AD8\u7EA7\u5BB9\u5668",hI="\u5206\u7EC4",mI="\u6805\u683C\u5217",vI="\u6570\u636E\u5BB9\u5668",gI="\u753B\u5E03",yI="\u6362\u884C\u5BB9\u5668",_I="\u6805\u683C\u7B49\u5206\u884C",bI="\u5217\u8868\u5BB9\u5668",EI="\u81EA\u7531\u9875\u9762",CI="\u5B9A\u4F4D\u5B50\u5BB9\u5668",wI="\u5B9A\u4F4D\u5BB9\u5668",II="\u6805\u683C\u5E03\u5C40",TI="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",SI="\u660E\u7EC6\u5B50\u8868\u884C",OI="\u6807\u7B7E\u9875",AI="\u6807\u7B7E\u5355\u5143",RI="\u5DE5\u5177\u680F",DI="\u6279\u91CF\u63D0\u4EA4",NI="\u5BFC\u51FA\u8BB0\u5F55",PI="\u5217\u8868\u89C6\u56FE",FI={isNotNumber:jE,isNotString:WE,isNotObject:qE,isNotArray:GE,isNotBoolean:KE,runtimeRequired:zE,pleaseEnterCaption:XE,pleaseEnterCaptionTip:JE,pleaseEnterRowCaption:QE,pleaseEnterPlaceholder:ZE,pleaseEnterFieldCode:YE,pleaseEnterForm:pE,pleaseEnterList:eC,pleaseEnterProcess:tC,pleaseEnterLabel:nC,pleaseEnterValue:iC,bizKeyNotBindFiled:rC,pleaseSelectOneField:aC,pleaseEnterNumberRange:uC,pleaseEnterAValueGreaterThanMin:lC,pleaseEnterAValueLessThanMax:oC,numberRangeSetError:sC,stringRangeError:cC,attachmentMaxSize:dC,pleaseEnterTotalScoreSetting:fC,theTotalScoreMustNotBeLessThan1:hC,scoreDefaultValueRange:mC,attachmentLimitError:vC,PleaseReselectTheOptionalQuantity:gC,TheMaximumLengthIsGreaterThanTheMinimumLength:yC,TheMinimumLengthIsGreaterThanTheMaximumLength:_C,PleaseSelectTheCorrectOptionSettings:bC,optionIdIsRepeat:EC,optionIsRequired:CC,pleaseEnterDataCode:wC,pleaseEnterValueFieldCode:IC,pleaseEnterSvcCode:TC,pleaseBindAtLeastOneDisplayValue:SC,pleaseSelectProvince:OC,pleaseSelectCity:AC,pleaseSelectDistrict:RC,limitRowsCannotBeLessThan0:DC,TheNumberOfRowsCannotBeLessThanMinRows:NC,pleaseEnterColumnWidth:PC,pleaseSetTheLogicalRelationshipOfAllRuleConditions:FC,pleaseCompleteAllRulesAndConditions:BC,pleaseSelectControl:LC,pleaseSelectDashboard:kC,theViewNameCannotBeEmpty:xC,pleaseSelectOcrType:MC,pleaseSelectAtLeastOneFieldToFillIn:$C,pleaseChooseAtLeastOne:VC,pleaseEnterButtonContent:UC,pleaseEnterDataCodeInDataSetting:HC,pleaseEnterValueFieldCodeInDataSetting:jC,pleaseEnterSvcCodeInDataSetting:WC,pleaseBindAtLeastOneDisplayValueInDataSetting:qC,rootNodeIsRequiredInDataSetting:GC,pleaseEnterMaxHeight:KC,pleaseEnter:zC,pleaseEnterWatermark:XC,pleaseEnterFileName:JC,pleaseUploadAtLeastOnePrintTemplate:QC,pleaseAssignBusiness:ZC,pleaseAssignExternal:YC,pleaseEnterAliasCode:pC,pleaseSelectDataCode:ew,pleaseSelectSvcCode:tw,pleaseSelectJoinFieldCode:nw,pleaseSelectMainFieldCode:iw,pleaseSelectSortFieldCode:rw,batchDeleteButton:aw,batchPrintListButton:uw,batchPrintRecordList:lw,button:ow,createFormListButton:sw,dashboard:cw,divider:dw,exportListButton:fw,formSelectButton:hw,importRecordListButton:mw,invoiceCheckButton:vw,link:gw,listSelectButton:yw,ListViewSelect:_w,operationButton:bw,pagination:Ew,submissionRecordListButton:Cw,text:ww,textOcrButton:Iw,title:Tw,approvalStatusColumn:Sw,array:Ow,autoNumber:Aw,custom:Rw,decimal:Dw,department:Nw,employee:Pw,file:Fw,image:Bw,location:Lw,operation:kw,order:xw,people:Mw,long:$w,timescope:Vw,timestamp:Uw,varchar:Hw,gridLayoutWrap:jw,gridTable:Ww,subTable:qw,address:Gw,amount:Kw,calc:zw,checkBox:Xw,electronicSignature:Jw,input:Qw,number:Zw,organizationSelection:Yw,radio:pw,richText:eI,score:tI,searchNumberRange:nI,select:iI,selectMultiple:rI,selectRelation:aI,textarea:uI,tree:lI,vueFormItem:oI,vuePage:sI,WPS:cI,actionBar:dI,advancedContainer:fI,cardGroup:hI,col:mI,dataView:vI,grid:gI,gridLayoutContainer:yI,gridRow:_I,listView:bI,page:EI,position:CI,positioningContainer:wI,row:II,subtableColumn:TI,subtableRow:SI,tab:OI,tabPane:AI,toolbox:RI,batchSubmissionListButton:DI,exportRecordListButton:NI,listViewSelect:PI},BI="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",LI="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",kI="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",xI="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",MI="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",$I="{caption}\u5FC5\u9808",VI="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",UI="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",HI="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",jI="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",WI="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",qI="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",GI="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",KI="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",zI="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",XI="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",JI="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",QI="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",ZI="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",YI="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",pI="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",eT="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",tT="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",nT="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",iT="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",rT="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",aT="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",uT="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306E\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u6570\u304C\u5236\u9650\u3092\u8D85\u3048\u3066\u3044\u307E\u3059",lT="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",oT="\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",sT="\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",cT="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",dT="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",fT="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",hT="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",mT="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",vT="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",gT="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",yT="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",_T="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",bT="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ET="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",CT="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",wT="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",IT="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",TT="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",ST="please select control",OT="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",AT="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",RT="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",DT="\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",NT="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",PT="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",FT="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",BT="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",LT="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",kT="\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",xT="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",MT="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",$T="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",VT="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",UT="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",HT="\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",jT="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",WT="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",qT="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",GT="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",KT="\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",zT="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",XT="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",JT="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",QT="\u6279\u91CF\u5220\u9664",ZT="\u6279\u91CF\u6253\u5370",YT="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",pT="\u6309\u94AE",eS="\u521B\u5EFA\u5355\u636E",tS="\u4EEA\u8868\u76D8",nS="\u5206\u5272\u7EBF",iS="\u5BFC\u51FA",rS="\u8868\u5355\u64CD\u4F5C",aS="\u5BFC\u5165",uS="\u53D1\u7968\u8BC6\u522B",lS="\u94FE\u63A5",oS="\u5217\u8868\u9009\u62E9",sS="\u5217\u8868\u89C6\u56FE",cS="\u64CD\u4F5C\u6309\u94AE",dS="\u5206\u9875",fS="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",hS="\u8BF4\u660E\u6587\u5B57",mS="\u6587\u5B57\u8BC6\u522B",vS="\u6807\u9898\u7EC4\u4EF6",gS="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",yS="\u6570\u7EC4",_S="\u81EA\u52A8\u7F16\u53F7",bS="\u81EA\u5B9A\u4E49",ES="\u6570\u503C",CS="\u90E8\u95E8",wS="\u4EBA\u5458",IS="\u9644\u4EF6",TS="\u56FE\u7247",SS="\u5730\u5740",OS="\u64CD\u4F5C",AS="\u5E8F\u53F7",RS="\u4EBA\u5458",DS="\u957F\u6587\u672C",NS="\u65E5\u671F\u533A\u95F4",PS="\u65E5\u671F",FS="\u77ED\u6587\u672C",BS="\u6362\u884C\u5BB9\u5668Wrap",LS="\u8868\u683C",kS="\u660E\u7EC6\u5B50\u8868",xS="\u5730\u5740",MS="\u91D1\u989D",$S="\u8BA1\u7B97\u516C\u5F0F",VS="\u591A\u9009",US="\u7535\u5B50\u7B7E\u7AE0",HS="\u5355\u884C\u6587\u672C",jS="\u6570\u5B57",WS="\u4E1A\u52A1\u7EC4\u7EC7",qS="\u5355\u9009",GS="\u5BCC\u6587\u672C",KS="\u8BC4\u5206",zS="\u6570\u5B57\u533A\u95F4",XS="\u4E0B\u62C9\u5355\u9009",JS="\u4E0B\u62C9\u591A\u9009",QS="\u5173\u8054\u5355\u9009",ZS="\u591A\u884C\u6587\u672C",YS="\u6811",pS="Vue\u5BB9\u5668",eO="Vue\u9875\u9762",tO="\u5728\u7EBF\u6587\u6863",nO="\u6309\u94AE\u64CD\u4F5C\u680F",iO="\u9AD8\u7EA7\u5BB9\u5668",rO="\u5206\u7EC4",aO="\u6805\u683C\u5217",uO="\u6570\u636E\u5BB9\u5668",lO="\u753B\u5E03",oO="\u6362\u884C\u5BB9\u5668",sO="\u6805\u683C\u7B49\u5206\u884C",cO="\u5217\u8868\u5BB9\u5668",dO="\u81EA\u7531\u9875\u9762",fO="\u5B9A\u4F4D\u5B50\u5BB9\u5668",hO="\u5B9A\u4F4D\u5BB9\u5668",mO="\u6805\u683C\u5E03\u5C40",vO="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",gO="\u660E\u7EC6\u5B50\u8868\u884C",yO="\u6807\u7B7E\u9875",_O="\u6807\u7B7E\u5355\u5143",bO="\u5DE5\u5177\u680F",EO="\u6279\u91CF\u63D0\u4EA4",CO="\u5BFC\u51FA\u8BB0\u5F55",wO="\u5217\u8868\u89C6\u56FE",IO={isNotNumber:BI,isNotString:LI,isNotObject:kI,isNotArray:xI,isNotBoolean:MI,runtimeRequired:$I,pleaseEnterCaption:VI,pleaseEnterCaptionTip:UI,pleaseEnterRowCaption:HI,pleaseEnterPlaceholder:jI,pleaseEnterFieldCode:WI,pleaseEnterForm:qI,pleaseEnterList:GI,pleaseEnterProcess:KI,pleaseEnterLabel:zI,pleaseEnterValue:XI,bizKeyNotBindFiled:JI,pleaseSelectOneField:QI,pleaseEnterNumberRange:ZI,pleaseEnterAValueGreaterThanMin:YI,pleaseEnterAValueLessThanMax:pI,numberRangeSetError:eT,stringRangeError:tT,attachmentMaxSize:nT,pleaseEnterTotalScoreSetting:iT,theTotalScoreMustNotBeLessThan1:rT,scoreDefaultValueRange:aT,attachmentLimitError:uT,PleaseReselectTheOptionalQuantity:lT,TheMaximumLengthIsGreaterThanTheMinimumLength:oT,TheMinimumLengthIsGreaterThanTheMaximumLength:sT,PleaseSelectTheCorrectOptionSettings:cT,optionIdIsRepeat:dT,optionIsRequired:fT,pleaseEnterDataCode:hT,pleaseEnterValueFieldCode:mT,pleaseEnterSvcCode:vT,pleaseBindAtLeastOneDisplayValue:gT,pleaseSelectProvince:yT,pleaseSelectCity:_T,pleaseSelectDistrict:bT,limitRowsCannotBeLessThan0:ET,TheNumberOfRowsCannotBeLessThanMinRows:CT,pleaseEnterColumnWidth:wT,pleaseSetTheLogicalRelationshipOfAllRuleConditions:IT,pleaseCompleteAllRulesAndConditions:TT,pleaseSelectControl:ST,pleaseSelectDashboard:OT,theViewNameCannotBeEmpty:AT,pleaseSelectOcrType:RT,pleaseSelectAtLeastOneFieldToFillIn:DT,pleaseChooseAtLeastOne:NT,pleaseEnterButtonContent:PT,pleaseEnterDataCodeInDataSetting:FT,pleaseEnterValueFieldCodeInDataSetting:BT,pleaseEnterSvcCodeInDataSetting:LT,pleaseBindAtLeastOneDisplayValueInDataSetting:kT,rootNodeIsRequiredInDataSetting:xT,pleaseEnterMaxHeight:MT,pleaseEnter:$T,pleaseEnterWatermark:VT,pleaseEnterFileName:UT,pleaseUploadAtLeastOnePrintTemplate:HT,pleaseAssignBusiness:jT,pleaseAssignExternal:WT,pleaseEnterAliasCode:qT,pleaseSelectDataCode:GT,pleaseSelectSvcCode:KT,pleaseSelectJoinFieldCode:zT,pleaseSelectMainFieldCode:XT,pleaseSelectSortFieldCode:JT,batchDeleteButton:QT,batchPrintListButton:ZT,batchPrintRecordList:YT,button:pT,createFormListButton:eS,dashboard:tS,divider:nS,exportListButton:iS,formSelectButton:rS,importRecordListButton:aS,invoiceCheckButton:uS,link:lS,listSelectButton:oS,ListViewSelect:sS,operationButton:cS,pagination:dS,submissionRecordListButton:fS,text:hS,textOcrButton:mS,title:vS,approvalStatusColumn:gS,array:yS,autoNumber:_S,custom:bS,decimal:ES,department:CS,employee:wS,file:IS,image:TS,location:SS,operation:OS,order:AS,people:RS,long:DS,timescope:NS,timestamp:PS,varchar:FS,gridLayoutWrap:BS,gridTable:LS,subTable:kS,address:xS,amount:MS,calc:$S,checkBox:VS,electronicSignature:US,input:HS,number:jS,organizationSelection:WS,radio:qS,richText:GS,score:KS,searchNumberRange:zS,select:XS,selectMultiple:JS,selectRelation:QS,textarea:ZS,tree:YS,vueFormItem:pS,vuePage:eO,WPS:tO,actionBar:nO,advancedContainer:iO,cardGroup:rO,col:aO,dataView:uO,grid:lO,gridLayoutContainer:oO,gridRow:sO,listView:cO,page:dO,position:fO,positioningContainer:hO,row:mO,subtableColumn:vO,subtableRow:gO,tab:yO,tabPane:_O,toolbox:bO,batchSubmissionListButton:EO,exportRecordListButton:CO,listViewSelect:wO},TO={zhCN:HE,enUS:FI,jaJP:IO},ld;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(ld||(ld={}));var od;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(od||(od={}));var $l,SO=($l=window.localStorage.getItem("locale"))!==null&&$l!==void 0?$l:"zh-CN",Zn;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(Zn||(Zn={}));var sd;(function(t){t[t.FORM=0]="FORM",t[t.LIST=1]="LIST",t[t.REPORT=2]="REPORT",t[t.DASHBOARD=3]="DASHBOARD",t[t.VUE=4]="VUE",t[t.FREE_PAGE=5]="FREE_PAGE"})(sd||(sd={}));var H;(function(t){t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.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"})(H||(H={}));var cd;(function(t){t.SAVE="save",t.DRAFT="draft",t.UNSUBMIT="unsubmit",t.AUDIT="audit",t.UNAUDIT="unaudit",t.CANCEL="cancel",t.FORM_SUBMIT="form_submit"})(cd||(cd={}));var F;(function(t){t.VARCHAR="varchar",t.TEXT="text",t.ARRAY="array",t.ADDRESS="location",t.DECIMAL="decimal",t.DECIMAL_RANGE="decimal_range",t.TIMESTAMP="timestamp",t.EMPLOYEES="people",t.DEPARTMENTS="department",t.MONEY="money",t.TIMESCOPE="timescope",t.FILE="file",t.IMAGE="image",t.AUTO_NUMBER="auto_number",t.CALC="calc",t.LIST="list",t.JSON="json",t.ANY="ANY"})(F||(F={}));var Gt;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime"})(Gt||(Gt={}));var dd={DEFAULT:"default"},fd="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",OO=fd+"0123456789";function wt(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?fd:OO,r=Math.random()*i.length;e+=i[parseInt(String(r),10)]}return e}function Vl(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 AO(t){if(Array.isArray(t))return Vl(t)}function RO(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function hd(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ca(t,e,n){return gd()?Ca=Reflect.construct:Ca=function(r,a,u){var l=[null];l.push.apply(l,a);var o=Function.bind.apply(r,l),s=new o;return u&&Xi(s,u.prototype),s},Ca.apply(null,arguments)}function zi(t){return zi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zi(t)}function md(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&&Xi(t,e)}function DO(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function NO(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function PO(){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 FO(t,e){return e&&(BO(e)==="object"||typeof e=="function")?e:RO(t)}function Xi(t,e){return Xi=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},Xi(t,e)}function vd(t){return AO(t)||NO(t)||LO(t)||PO()}function BO(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function LO(t,e){if(!!t){if(typeof t=="string")return Vl(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 Vl(t,e)}}function Ul(t){var e=typeof Map=="function"?new Map:void 0;return Ul=function(i){if(i===null||!DO(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,r)}function r(){return Ca(i,arguments,zi(this).constructor)}return r.prototype=Object.create(i.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Xi(r,i)},Ul(t)}function gd(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function yd(t){var e=gd();return function(){var i=zi(t),r;if(e){var a=zi(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return FO(this,r)}}var Hl=console;function jl(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i,r=e.slice(1);(i=Hl).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(vd(r)))}function _d(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i,r=e.slice(1);(i=Hl).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(vd(r)))}function kO(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Wl=function(t){md(n,t);var e=yd(n);function n(i){hd(this,n);var r;return r=e.call(this,i),r.name="\u{1F4A5} Driven Error",r.message=i?kO(i):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",r}return n}(Ul(Error)),xO=function(t){md(n,t);var e=yd(n);function n(i){hd(this,n);var r;return r=e.call(this,i),r.name="\u{1F6A8} Driven Reference Error",r}return n}(Wl);function Ji(t){throw new Wl(t)}function bd(t){throw new xO(t)}function MO(t){Hl.error(new Wl(t))}/*!
|
|
2
|
-
* shared v9.14.0
|
|
3
|
-
* (c) 2024 kazuya kawaguchi
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/const ht=typeof window!="undefined";let nt,yn;if(process.env.NODE_ENV!=="production"){const t=ht&&window.performance;t&&t.mark&&t.measure&&t.clearMarks&&t.clearMeasures&&(nt=e=>{t.mark(e)},yn=(e,n,i)=>{t.measure(e,n,i),t.clearMarks(n),t.clearMarks(i)})}const $O=/\{([0-9a-zA-Z]+)\}/g;function Qi(t,...e){return e.length===1&&J(e[0])&&(e=e[0]),(!e||!e.hasOwnProperty)&&(e={}),t.replace($O,(n,i)=>e.hasOwnProperty(i)?e[i]:"")}const mt=(t,e=!1)=>e?Symbol.for(t):Symbol(t),VO=(t,e,n)=>UO({l:t,k:e,s:n}),UO=t=>JSON.stringify(t).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Oe=t=>typeof t=="number"&&isFinite(t),HO=t=>Id(t)==="[object Date]",Kt=t=>Id(t)==="[object RegExp]",wa=t=>j(t)&&Object.keys(t).length===0,Ae=Object.assign;let Ed;const Ft=()=>Ed||(Ed=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});function Cd(t){return t.replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}const jO=Object.prototype.hasOwnProperty;function Ia(t,e){return jO.call(t,e)}const le=Array.isArray,re=t=>typeof t=="function",M=t=>typeof t=="string",q=t=>typeof t=="boolean",J=t=>t!==null&&typeof t=="object",WO=t=>J(t)&&re(t.then)&&re(t.catch),wd=Object.prototype.toString,Id=t=>wd.call(t),j=t=>{if(!J(t))return!1;const e=Object.getPrototypeOf(t);return e===null||e.constructor===Object},qO=t=>t==null?"":le(t)||j(t)&&t.toString===wd?JSON.stringify(t,null,2):String(t);function ql(t,e=""){return t.reduce((n,i,r)=>r===0?n+i:n+e+i,"")}const Td=2;function GO(t,e=0,n=t.length){const i=t.split(/\r?\n/);let r=0;const a=[];for(let u=0;u<i.length;u++)if(r+=i[u].length+1,r>=e){for(let l=u-Td;l<=u+Td||n>r;l++){if(l<0||l>=i.length)continue;const o=l+1;a.push(`${o}${" ".repeat(3-String(o).length)}| ${i[l]}`);const s=i[l].length;if(l===u){const f=e-(r-s)+1,c=Math.max(1,n>r?s-f:n-e);a.push(" | "+" ".repeat(f)+"^".repeat(c))}else if(l>u){if(n>r){const f=Math.max(Math.min(n-r,s),1);a.push(" | "+"^".repeat(f))}r+=s+1}}break}return a.join(`
|
|
6
|
-
`)}function Ta(t){let e=t;return()=>++e}function Re(t,e){typeof console!="undefined"&&(console.warn("[intlify] "+t),e&&console.warn(e.stack))}const Sd={};function Od(t){Sd[t]||(Sd[t]=!0,Re(t))}function Gl(){const t=new Map;return{events:t,on(n,i){const r=t.get(n);r&&r.push(i)||t.set(n,[i])},off(n,i){const r=t.get(n);r&&r.splice(r.indexOf(i)>>>0,1)},emit(n,i){(t.get(n)||[]).slice().map(r=>r(i)),(t.get("*")||[]).slice().map(r=>r(n,i))}}}const Sa=t=>!J(t)||le(t);function Oa(t,e){if(Sa(t)||Sa(e))throw new Error("Invalid value");const n=[{src:t,des:e}];for(;n.length;){const{src:i,des:r}=n.pop();Object.keys(i).forEach(a=>{Sa(i[a])||Sa(r[a])?r[a]=i[a]:n.push({src:i[a],des:r[a]})})}}/*!
|
|
7
|
-
* message-compiler v9.14.0
|
|
8
|
-
* (c) 2024 kazuya kawaguchi
|
|
9
|
-
* Released under the MIT License.
|
|
10
|
-
*/function KO(t,e,n){return{line:t,column:e,offset:n}}function Aa(t,e,n){const i={start:t,end:e};return n!=null&&(i.source=n),i}const Ra={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},zO={[Ra.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function XO(t,e,...n){const i=process.env.NODE_ENV!=="production"?Qi(zO[t]||"",...n||[]):t,r={message:String(i),code:t};return e&&(r.location=e),r}const V={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},JO={[V.EXPECTED_TOKEN]:"Expected token: '{0}'",[V.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[V.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[V.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[V.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[V.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[V.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[V.EMPTY_PLACEHOLDER]:"Empty placeholder",[V.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[V.INVALID_LINKED_FORMAT]:"Invalid linked format",[V.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[V.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[V.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[V.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[V.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[V.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function Yn(t,e,n={}){const{domain:i,messages:r,args:a}=n,u=process.env.NODE_ENV!=="production"?Qi((r||JO)[t]||"",...a||[]):t,l=new SyntaxError(String(u));return l.code=t,e&&(l.location=e),l.domain=i,l}function QO(t){throw t}const ZO=/<\/?[\w\s="/.':;#-\/]+>/,YO=t=>ZO.test(t),Bt=" ",pO="\r",Ge=`
|
|
11
|
-
`,eA=String.fromCharCode(8232),tA=String.fromCharCode(8233);function nA(t){const e=t;let n=0,i=1,r=1,a=0;const u=N=>e[N]===pO&&e[N+1]===Ge,l=N=>e[N]===Ge,o=N=>e[N]===tA,s=N=>e[N]===eA,f=N=>u(N)||l(N)||o(N)||s(N),c=()=>n,h=()=>i,b=()=>r,S=()=>a,I=N=>u(N)||o(N)||s(N)?Ge:e[N],D=()=>I(n),y=()=>I(n+a);function O(){return a=0,f(n)&&(i++,r=0),u(n)&&n++,n++,r++,e[n]}function _(){return u(n+a)&&a++,a++,e[n+a]}function C(){n=0,i=1,r=1,a=0}function w(N=0){a=N}function A(){const N=n+a;for(;N!==n;)O();a=0}return{index:c,line:h,column:b,peekOffset:S,charAt:I,currentChar:D,currentPeek:y,next:O,peek:_,reset:C,resetPeek:w,skipToPeek:A}}const zt=void 0,iA=".",Ad="'",rA="tokenizer";function aA(t,e={}){const n=e.location!==!1,i=nA(t),r=()=>i.index(),a=()=>KO(i.line(),i.column(),i.index()),u=a(),l=r(),o={currentType:14,offset:l,startLoc:u,endLoc:u,lastType:14,lastOffset:l,lastStartLoc:u,lastEndLoc:u,braceNest:0,inLinked:!1,text:""},s=()=>o,{onError:f}=e;function c(v,g,P,...$){const he=s();if(g.column+=P,g.offset+=P,f){const ue=n?Aa(he.startLoc,g):null,ie=Yn(v,ue,{domain:rA,args:$});f(ie)}}function h(v,g,P){v.endLoc=a(),v.currentType=g;const $={type:g};return n&&($.loc=Aa(v.startLoc,v.endLoc)),P!=null&&($.value=P),$}const b=v=>h(v,14);function S(v,g){return v.currentChar()===g?(v.next(),g):(c(V.EXPECTED_TOKEN,a(),0,g),"")}function I(v){let g="";for(;v.currentPeek()===Bt||v.currentPeek()===Ge;)g+=v.currentPeek(),v.peek();return g}function D(v){const g=I(v);return v.skipToPeek(),g}function y(v){if(v===zt)return!1;const g=v.charCodeAt(0);return g>=97&&g<=122||g>=65&&g<=90||g===95}function O(v){if(v===zt)return!1;const g=v.charCodeAt(0);return g>=48&&g<=57}function _(v,g){const{currentType:P}=g;if(P!==2)return!1;I(v);const $=y(v.currentPeek());return v.resetPeek(),$}function C(v,g){const{currentType:P}=g;if(P!==2)return!1;I(v);const $=v.currentPeek()==="-"?v.peek():v.currentPeek(),he=O($);return v.resetPeek(),he}function w(v,g){const{currentType:P}=g;if(P!==2)return!1;I(v);const $=v.currentPeek()===Ad;return v.resetPeek(),$}function A(v,g){const{currentType:P}=g;if(P!==8)return!1;I(v);const $=v.currentPeek()===".";return v.resetPeek(),$}function N(v,g){const{currentType:P}=g;if(P!==9)return!1;I(v);const $=y(v.currentPeek());return v.resetPeek(),$}function B(v,g){const{currentType:P}=g;if(!(P===8||P===12))return!1;I(v);const $=v.currentPeek()===":";return v.resetPeek(),$}function L(v,g){const{currentType:P}=g;if(P!==10)return!1;const $=()=>{const ue=v.currentPeek();return ue==="{"?y(v.peek()):ue==="@"||ue==="%"||ue==="|"||ue===":"||ue==="."||ue===Bt||!ue?!1:ue===Ge?(v.peek(),$()):W(v,!1)},he=$();return v.resetPeek(),he}function K(v){I(v);const g=v.currentPeek()==="|";return v.resetPeek(),g}function Me(v){const g=I(v),P=v.currentPeek()==="%"&&v.peek()==="{";return v.resetPeek(),{isModulo:P,hasSpace:g.length>0}}function W(v,g=!0){const P=(he=!1,ue="",ie=!1)=>{const R=v.currentPeek();return R==="{"?ue==="%"?!1:he:R==="@"||!R?ue==="%"?!0:he:R==="%"?(v.peek(),P(he,"%",!0)):R==="|"?ue==="%"||ie?!0:!(ue===Bt||ue===Ge):R===Bt?(v.peek(),P(!0,Bt,ie)):R===Ge?(v.peek(),P(!0,Ge,ie)):!0},$=P();return g&&v.resetPeek(),$}function ye(v,g){const P=v.currentChar();return P===zt?zt:g(P)?(v.next(),P):null}function Ze(v){const g=v.charCodeAt(0);return g>=97&&g<=122||g>=65&&g<=90||g>=48&&g<=57||g===95||g===36}function hn(v){return ye(v,Ze)}function ot(v){const g=v.charCodeAt(0);return g>=97&&g<=122||g>=65&&g<=90||g>=48&&g<=57||g===95||g===36||g===45}function mn(v){return ye(v,ot)}function vn(v){const g=v.charCodeAt(0);return g>=48&&g<=57}function la(v){return ye(v,vn)}function oa(v){const g=v.charCodeAt(0);return g>=48&&g<=57||g>=65&&g<=70||g>=97&&g<=102}function sa(v){return ye(v,oa)}function ft(v){let g="",P="";for(;g=la(v);)P+=g;return P}function Hi(v){D(v);const g=v.currentChar();return g!=="%"&&c(V.EXPECTED_TOKEN,a(),0,g),v.next(),"%"}function ji(v){let g="";for(;;){const P=v.currentChar();if(P==="{"||P==="}"||P==="@"||P==="|"||!P)break;if(P==="%")if(W(v))g+=P,v.next();else break;else if(P===Bt||P===Ge)if(W(v))g+=P,v.next();else{if(K(v))break;g+=P,v.next()}else g+=P,v.next()}return g}function ca(v){D(v);let g="",P="";for(;g=mn(v);)P+=g;return v.currentChar()===zt&&c(V.UNTERMINATED_CLOSING_BRACE,a(),0),P}function da(v){D(v);let g="";return v.currentChar()==="-"?(v.next(),g+=`-${ft(v)}`):g+=ft(v),v.currentChar()===zt&&c(V.UNTERMINATED_CLOSING_BRACE,a(),0),g}function fa(v){return v!==Ad&&v!==Ge}function Bl(v){D(v),S(v,"'");let g="",P="";for(;g=ye(v,fa);)g==="\\"?P+=ha(v):P+=g;const $=v.currentChar();return $===Ge||$===zt?(c(V.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,a(),0),$===Ge&&(v.next(),S(v,"'")),P):(S(v,"'"),P)}function ha(v){const g=v.currentChar();switch(g){case"\\":case"'":return v.next(),`\\${g}`;case"u":return Wi(v,g,4);case"U":return Wi(v,g,6);default:return c(V.UNKNOWN_ESCAPE_SEQUENCE,a(),0,g),""}}function Wi(v,g,P){S(v,g);let $="";for(let he=0;he<P;he++){const ue=sa(v);if(!ue){c(V.INVALID_UNICODE_ESCAPE_SEQUENCE,a(),0,`\\${g}${$}${v.currentChar()}`);break}$+=ue}return`\\${g}${$}`}function ma(v){return v!=="{"&&v!=="}"&&v!==Bt&&v!==Ge}function va(v){D(v);let g="",P="";for(;g=ye(v,ma);)P+=g;return P}function ga(v){let g="",P="";for(;g=hn(v);)P+=g;return P}function x(v){const g=P=>{const $=v.currentChar();return $==="{"||$==="%"||$==="@"||$==="|"||$==="("||$===")"||!$||$===Bt?P:(P+=$,v.next(),g(P))};return g("")}function p(v){D(v);const g=S(v,"|");return D(v),g}function ya(v,g){let P=null;switch(v.currentChar()){case"{":return g.braceNest>=1&&c(V.NOT_ALLOW_NEST_PLACEHOLDER,a(),0),v.next(),P=h(g,2,"{"),D(v),g.braceNest++,P;case"}":return g.braceNest>0&&g.currentType===2&&c(V.EMPTY_PLACEHOLDER,a(),0),v.next(),P=h(g,3,"}"),g.braceNest--,g.braceNest>0&&D(v),g.inLinked&&g.braceNest===0&&(g.inLinked=!1),P;case"@":return g.braceNest>0&&c(V.UNTERMINATED_CLOSING_BRACE,a(),0),P=Xn(v,g)||b(g),g.braceNest=0,P;default:{let he=!0,ue=!0,ie=!0;if(K(v))return g.braceNest>0&&c(V.UNTERMINATED_CLOSING_BRACE,a(),0),P=h(g,1,p(v)),g.braceNest=0,g.inLinked=!1,P;if(g.braceNest>0&&(g.currentType===5||g.currentType===6||g.currentType===7))return c(V.UNTERMINATED_CLOSING_BRACE,a(),0),g.braceNest=0,_a(v,g);if(he=_(v,g))return P=h(g,5,ca(v)),D(v),P;if(ue=C(v,g))return P=h(g,6,da(v)),D(v),P;if(ie=w(v,g))return P=h(g,7,Bl(v)),D(v),P;if(!he&&!ue&&!ie)return P=h(g,13,va(v)),c(V.INVALID_TOKEN_IN_PLACEHOLDER,a(),0,P.value),D(v),P;break}}return P}function Xn(v,g){const{currentType:P}=g;let $=null;const he=v.currentChar();switch((P===8||P===9||P===12||P===10)&&(he===Ge||he===Bt)&&c(V.INVALID_LINKED_FORMAT,a(),0),he){case"@":return v.next(),$=h(g,8,"@"),g.inLinked=!0,$;case".":return D(v),v.next(),h(g,9,".");case":":return D(v),v.next(),h(g,10,":");default:return K(v)?($=h(g,1,p(v)),g.braceNest=0,g.inLinked=!1,$):A(v,g)||B(v,g)?(D(v),Xn(v,g)):N(v,g)?(D(v),h(g,12,ga(v))):L(v,g)?(D(v),he==="{"?ya(v,g)||$:h(g,11,x(v))):(P===8&&c(V.INVALID_LINKED_FORMAT,a(),0),g.braceNest=0,g.inLinked=!1,_a(v,g))}}function _a(v,g){let P={type:14};if(g.braceNest>0)return ya(v,g)||b(g);if(g.inLinked)return Xn(v,g)||b(g);switch(v.currentChar()){case"{":return ya(v,g)||b(g);case"}":return c(V.UNBALANCED_CLOSING_BRACE,a(),0),v.next(),h(g,3,"}");case"@":return Xn(v,g)||b(g);default:{if(K(v))return P=h(g,1,p(v)),g.braceNest=0,g.inLinked=!1,P;const{isModulo:he,hasSpace:ue}=Me(v);if(he)return ue?h(g,0,ji(v)):h(g,4,Hi(v));if(W(v))return h(g,0,ji(v));break}}return P}function ad(){const{currentType:v,offset:g,startLoc:P,endLoc:$}=o;return o.lastType=v,o.lastOffset=g,o.lastStartLoc=P,o.lastEndLoc=$,o.offset=r(),o.startLoc=a(),i.currentChar()===zt?h(o,14):_a(i,o)}return{nextToken:ad,currentOffset:r,currentPosition:a,context:s}}const uA="parser",lA=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function oA(t,e,n){switch(t){case"\\\\":return"\\";case"\\'":return"'";default:{const i=parseInt(e||n,16);return i<=55295||i>=57344?String.fromCodePoint(i):"\uFFFD"}}}function sA(t={}){const e=t.location!==!1,{onError:n,onWarn:i}=t;function r(_,C,w,A,...N){const B=_.currentPosition();if(B.offset+=A,B.column+=A,n){const L=e?Aa(w,B):null,K=Yn(C,L,{domain:uA,args:N});n(K)}}function a(_,C,w,A,...N){const B=_.currentPosition();if(B.offset+=A,B.column+=A,i){const L=e?Aa(w,B):null;i(XO(C,L,N))}}function u(_,C,w){const A={type:_};return e&&(A.start=C,A.end=C,A.loc={start:w,end:w}),A}function l(_,C,w,A){A&&(_.type=A),e&&(_.end=C,_.loc&&(_.loc.end=w))}function o(_,C){const w=_.context(),A=u(3,w.offset,w.startLoc);return A.value=C,l(A,_.currentOffset(),_.currentPosition()),A}function s(_,C){const w=_.context(),{lastOffset:A,lastStartLoc:N}=w,B=u(5,A,N);return B.index=parseInt(C,10),_.nextToken(),l(B,_.currentOffset(),_.currentPosition()),B}function f(_,C,w){const A=_.context(),{lastOffset:N,lastStartLoc:B}=A,L=u(4,N,B);return L.key=C,w===!0&&(L.modulo=!0),_.nextToken(),l(L,_.currentOffset(),_.currentPosition()),L}function c(_,C){const w=_.context(),{lastOffset:A,lastStartLoc:N}=w,B=u(9,A,N);return B.value=C.replace(lA,oA),_.nextToken(),l(B,_.currentOffset(),_.currentPosition()),B}function h(_){const C=_.nextToken(),w=_.context(),{lastOffset:A,lastStartLoc:N}=w,B=u(8,A,N);return C.type!==12?(r(_,V.UNEXPECTED_EMPTY_LINKED_MODIFIER,w.lastStartLoc,0),B.value="",l(B,A,N),{nextConsumeToken:C,node:B}):(C.value==null&&r(_,V.UNEXPECTED_LEXICAL_ANALYSIS,w.lastStartLoc,0,vt(C)),B.value=C.value||"",l(B,_.currentOffset(),_.currentPosition()),{node:B})}function b(_,C){const w=_.context(),A=u(7,w.offset,w.startLoc);return A.value=C,l(A,_.currentOffset(),_.currentPosition()),A}function S(_){const C=_.context(),w=u(6,C.offset,C.startLoc);let A=_.nextToken();if(A.type===9){const N=h(_);w.modifier=N.node,A=N.nextConsumeToken||_.nextToken()}switch(A.type!==10&&r(_,V.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,vt(A)),A=_.nextToken(),A.type===2&&(A=_.nextToken()),A.type){case 11:A.value==null&&r(_,V.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,vt(A)),w.key=b(_,A.value||"");break;case 5:A.value==null&&r(_,V.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,vt(A)),w.key=f(_,A.value||"");break;case 6:A.value==null&&r(_,V.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,vt(A)),w.key=s(_,A.value||"");break;case 7:A.value==null&&r(_,V.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,vt(A)),w.key=c(_,A.value||"");break;default:{r(_,V.UNEXPECTED_EMPTY_LINKED_KEY,C.lastStartLoc,0);const N=_.context(),B=u(7,N.offset,N.startLoc);return B.value="",l(B,N.offset,N.startLoc),w.key=B,l(w,N.offset,N.startLoc),{nextConsumeToken:A,node:w}}}return l(w,_.currentOffset(),_.currentPosition()),{node:w}}function I(_){const C=_.context(),w=C.currentType===1?_.currentOffset():C.offset,A=C.currentType===1?C.endLoc:C.startLoc,N=u(2,w,A);N.items=[];let B=null,L=null;do{const W=B||_.nextToken();switch(B=null,W.type){case 0:W.value==null&&r(_,V.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,vt(W)),N.items.push(o(_,W.value||""));break;case 6:W.value==null&&r(_,V.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,vt(W)),N.items.push(s(_,W.value||""));break;case 4:L=!0;break;case 5:W.value==null&&r(_,V.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,vt(W)),N.items.push(f(_,W.value||"",!!L)),L&&(a(_,Ra.USE_MODULO_SYNTAX,C.lastStartLoc,0,vt(W)),L=null);break;case 7:W.value==null&&r(_,V.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,vt(W)),N.items.push(c(_,W.value||""));break;case 8:{const ye=S(_);N.items.push(ye.node),B=ye.nextConsumeToken||null;break}}}while(C.currentType!==14&&C.currentType!==1);const K=C.currentType===1?C.lastOffset:_.currentOffset(),Me=C.currentType===1?C.lastEndLoc:_.currentPosition();return l(N,K,Me),N}function D(_,C,w,A){const N=_.context();let B=A.items.length===0;const L=u(1,C,w);L.cases=[],L.cases.push(A);do{const K=I(_);B||(B=K.items.length===0),L.cases.push(K)}while(N.currentType!==14);return B&&r(_,V.MUST_HAVE_MESSAGES_IN_PLURAL,w,0),l(L,_.currentOffset(),_.currentPosition()),L}function y(_){const C=_.context(),{offset:w,startLoc:A}=C,N=I(_);return C.currentType===14?N:D(_,w,A,N)}function O(_){const C=aA(_,Ae({},t)),w=C.context(),A=u(0,w.offset,w.startLoc);return e&&A.loc&&(A.loc.source=_),A.body=y(C),t.onCacheKey&&(A.cacheKey=t.onCacheKey(_)),w.currentType!==14&&r(C,V.UNEXPECTED_LEXICAL_ANALYSIS,w.lastStartLoc,0,_[w.offset]||""),l(A,C.currentOffset(),C.currentPosition()),A}return{parse:O}}function vt(t){if(t.type===14)return"EOF";const e=(t.value||"").replace(/\r?\n/gu,"\\n");return e.length>10?e.slice(0,9)+"\u2026":e}function cA(t,e={}){const n={ast:t,helpers:new Set};return{context:()=>n,helper:a=>(n.helpers.add(a),a)}}function Rd(t,e){for(let n=0;n<t.length;n++)Kl(t[n],e)}function Kl(t,e){switch(t.type){case 1:Rd(t.cases,e),e.helper("plural");break;case 2:Rd(t.items,e);break;case 6:{Kl(t.key,e),e.helper("linked"),e.helper("type");break}case 5:e.helper("interpolate"),e.helper("list");break;case 4:e.helper("interpolate"),e.helper("named");break}}function dA(t,e={}){const n=cA(t);n.helper("normalize"),t.body&&Kl(t.body,n);const i=n.context();t.helpers=Array.from(i.helpers)}function fA(t){const e=t.body;return e.type===2?Dd(e):e.cases.forEach(n=>Dd(n)),t}function Dd(t){if(t.items.length===1){const e=t.items[0];(e.type===3||e.type===9)&&(t.static=e.value,delete e.value)}else{const e=[];for(let n=0;n<t.items.length;n++){const i=t.items[n];if(!(i.type===3||i.type===9)||i.value==null)break;e.push(i.value)}if(e.length===t.items.length){t.static=ql(e);for(let n=0;n<t.items.length;n++){const i=t.items[n];(i.type===3||i.type===9)&&delete i.value}}}}const hA="minifier";function pn(t){switch(t.t=t.type,t.type){case 0:{const e=t;pn(e.body),e.b=e.body,delete e.body;break}case 1:{const e=t,n=e.cases;for(let i=0;i<n.length;i++)pn(n[i]);e.c=n,delete e.cases;break}case 2:{const e=t,n=e.items;for(let i=0;i<n.length;i++)pn(n[i]);e.i=n,delete e.items,e.static&&(e.s=e.static,delete e.static);break}case 3:case 9:case 8:case 7:{const e=t;e.value&&(e.v=e.value,delete e.value);break}case 6:{const e=t;pn(e.key),e.k=e.key,delete e.key,e.modifier&&(pn(e.modifier),e.m=e.modifier,delete e.modifier);break}case 5:{const e=t;e.i=e.index,delete e.index;break}case 4:{const e=t;e.k=e.key,delete e.key;break}default:if(process.env.NODE_ENV!=="production")throw Yn(V.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:hA,args:[t.type]})}delete t.type}const mA="parser";function vA(t,e){const{sourceMap:n,filename:i,breakLineCode:r,needIndent:a}=e,u=e.location!==!1,l={filename:i,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:r,needIndent:a,indentLevel:0};u&&t.loc&&(l.source=t.loc.source);const o=()=>l;function s(D,y){l.code+=D}function f(D,y=!0){const O=y?r:"";s(a?O+" ".repeat(D):O)}function c(D=!0){const y=++l.indentLevel;D&&f(y)}function h(D=!0){const y=--l.indentLevel;D&&f(y)}function b(){f(l.indentLevel)}return{context:o,push:s,indent:c,deindent:h,newline:b,helper:D=>`_${D}`,needIndent:()=>l.needIndent}}function gA(t,e){const{helper:n}=t;t.push(`${n("linked")}(`),ei(t,e.key),e.modifier?(t.push(", "),ei(t,e.modifier),t.push(", _type")):t.push(", undefined, _type"),t.push(")")}function yA(t,e){const{helper:n,needIndent:i}=t;t.push(`${n("normalize")}([`),t.indent(i());const r=e.items.length;for(let a=0;a<r&&(ei(t,e.items[a]),a!==r-1);a++)t.push(", ");t.deindent(i()),t.push("])")}function _A(t,e){const{helper:n,needIndent:i}=t;if(e.cases.length>1){t.push(`${n("plural")}([`),t.indent(i());const r=e.cases.length;for(let a=0;a<r&&(ei(t,e.cases[a]),a!==r-1);a++)t.push(", ");t.deindent(i()),t.push("])")}}function bA(t,e){e.body?ei(t,e.body):t.push("null")}function ei(t,e){const{helper:n}=t;switch(e.type){case 0:bA(t,e);break;case 1:_A(t,e);break;case 2:yA(t,e);break;case 6:gA(t,e);break;case 8:t.push(JSON.stringify(e.value),e);break;case 7:t.push(JSON.stringify(e.value),e);break;case 5:t.push(`${n("interpolate")}(${n("list")}(${e.index}))`,e);break;case 4:t.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(e.key)}))`,e);break;case 9:t.push(JSON.stringify(e.value),e);break;case 3:t.push(JSON.stringify(e.value),e);break;default:if(process.env.NODE_ENV!=="production")throw Yn(V.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:mA,args:[e.type]})}}const EA=(t,e={})=>{const n=M(e.mode)?e.mode:"normal",i=M(e.filename)?e.filename:"message.intl",r=!!e.sourceMap,a=e.breakLineCode!=null?e.breakLineCode:n==="arrow"?";":`
|
|
12
|
-
`,u=e.needIndent?e.needIndent:n!=="arrow",l=t.helpers||[],o=vA(t,{mode:n,filename:i,sourceMap:r,breakLineCode:a,needIndent:u});o.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),o.indent(u),l.length>0&&(o.push(`const { ${ql(l.map(c=>`${c}: _${c}`),", ")} } = ctx`),o.newline()),o.push("return "),ei(o,t),o.deindent(u),o.push("}"),delete t.helpers;const{code:s,map:f}=o.context();return{ast:t,code:s,map:f?f.toJSON():void 0}};function CA(t,e={}){const n=Ae({},e),i=!!n.jit,r=!!n.minify,a=n.optimize==null?!0:n.optimize,l=sA(n).parse(t);return i?(a&&fA(l),r&&pn(l),{ast:l,code:""}):(dA(l,n),EA(l,n))}/*!
|
|
13
|
-
* core-base v9.14.0
|
|
14
|
-
* (c) 2024 kazuya kawaguchi
|
|
15
|
-
* Released under the MIT License.
|
|
16
|
-
*/function wA(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Ft().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Ft().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Ft().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const Xt=[];Xt[0]={w:[0],i:[3,0],["["]:[4],o:[7]},Xt[1]={w:[1],["."]:[2],["["]:[4],o:[7]},Xt[2]={w:[2],i:[3,0],[0]:[3,0]},Xt[3]={i:[3,0],[0]:[3,0],w:[1,1],["."]:[2,1],["["]:[4,1],o:[7,1]},Xt[4]={["'"]:[5,0],['"']:[6,0],["["]:[4,2],["]"]:[1,3],o:8,l:[4,0]},Xt[5]={["'"]:[4,0],o:8,l:[5,0]},Xt[6]={['"']:[4,0],o:8,l:[6,0]};const IA=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function TA(t){return IA.test(t)}function SA(t){const e=t.charCodeAt(0),n=t.charCodeAt(t.length-1);return e===n&&(e===34||e===39)?t.slice(1,-1):t}function OA(t){if(t==null)return"o";switch(t.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return t;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function AA(t){const e=t.trim();return t.charAt(0)==="0"&&isNaN(parseInt(t))?!1:TA(e)?SA(e):"*"+e}function RA(t){const e=[];let n=-1,i=0,r=0,a,u,l,o,s,f,c;const h=[];h[0]=()=>{u===void 0?u=l:u+=l},h[1]=()=>{u!==void 0&&(e.push(u),u=void 0)},h[2]=()=>{h[0](),r++},h[3]=()=>{if(r>0)r--,i=4,h[0]();else{if(r=0,u===void 0||(u=AA(u),u===!1))return!1;h[1]()}};function b(){const S=t[n+1];if(i===5&&S==="'"||i===6&&S==='"')return n++,l="\\"+S,h[0](),!0}for(;i!==null;)if(n++,a=t[n],!(a==="\\"&&b())){if(o=OA(a),c=Xt[i],s=c[o]||c.l||8,s===8||(i=s[0],s[1]!==void 0&&(f=h[s[1]],f&&(l=a,f()===!1))))return;if(i===7)return e}}const Nd=new Map;function DA(t,e){return J(t)?t[e]:null}function NA(t,e){if(!J(t))return null;let n=Nd.get(e);if(n||(n=RA(e),n&&Nd.set(e,n)),!n)return null;const i=n.length;let r=t,a=0;for(;a<i;){const u=r[n[a]];if(u===void 0||re(r))return null;r=u,a++}return r}const PA=t=>t,FA=t=>"",BA="text",LA=t=>t.length===0?"":ql(t),kA=qO;function Pd(t,e){return t=Math.abs(t),e===2?t?t>1?1:0:1:t?Math.min(t,2):0}function xA(t){const e=Oe(t.pluralIndex)?t.pluralIndex:-1;return t.named&&(Oe(t.named.count)||Oe(t.named.n))?Oe(t.named.count)?t.named.count:Oe(t.named.n)?t.named.n:e:e}function MA(t,e){e.count||(e.count=t),e.n||(e.n=t)}function $A(t={}){const e=t.locale,n=xA(t),i=J(t.pluralRules)&&M(e)&&re(t.pluralRules[e])?t.pluralRules[e]:Pd,r=J(t.pluralRules)&&M(e)&&re(t.pluralRules[e])?Pd:void 0,a=y=>y[i(n,y.length,r)],u=t.list||[],l=y=>u[y],o=t.named||{};Oe(t.pluralIndex)&&MA(n,o);const s=y=>o[y];function f(y){const O=re(t.messages)?t.messages(y):J(t.messages)?t.messages[y]:!1;return O||(t.parent?t.parent.message(y):FA)}const c=y=>t.modifiers?t.modifiers[y]:PA,h=j(t.processor)&&re(t.processor.normalize)?t.processor.normalize:LA,b=j(t.processor)&&re(t.processor.interpolate)?t.processor.interpolate:kA,S=j(t.processor)&&M(t.processor.type)?t.processor.type:BA,D={list:l,named:s,plural:a,linked:(y,...O)=>{const[_,C]=O;let w="text",A="";O.length===1?J(_)?(A=_.modifier||A,w=_.type||w):M(_)&&(A=_||A):O.length===2&&(M(_)&&(A=_||A),M(C)&&(w=C||w));const N=f(y)(D),B=w==="vnode"&&le(N)&&A?N[0]:N;return A?c(A)(B,w):B},message:f,type:S,interpolate:b,normalize:h,values:Ae({},u,o)};return D}let Zi=null;function VA(t){Zi=t}function UA(t,e,n){Zi&&Zi.emit("i18n:init",{timestamp:Date.now(),i18n:t,version:e,meta:n})}const HA=jA("function:translate");function jA(t){return e=>Zi&&Zi.emit(t,e)}const Fd=Ra.__EXTEND_POINT__,_n=Ta(Fd),Ke={NOT_FOUND_KEY:Fd,FALLBACK_TO_TRANSLATE:_n(),CANNOT_FORMAT_NUMBER:_n(),FALLBACK_TO_NUMBER_FORMAT:_n(),CANNOT_FORMAT_DATE:_n(),FALLBACK_TO_DATE_FORMAT:_n(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:_n(),__EXTEND_POINT__:_n()},WA={[Ke.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[Ke.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[Ke.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[Ke.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[Ke.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[Ke.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[Ke.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:"This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future."};function bn(t,...e){return Qi(WA[t],...e)}const Bd=V.__EXTEND_POINT__,En=Ta(Bd),Le={INVALID_ARGUMENT:Bd,INVALID_DATE_ARGUMENT:En(),INVALID_ISO_DATE_ARGUMENT:En(),NOT_SUPPORT_NON_STRING_MESSAGE:En(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:En(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:En(),NOT_SUPPORT_LOCALE_TYPE:En(),__EXTEND_POINT__:En()};function It(t){return Yn(t,null,process.env.NODE_ENV!=="production"?{messages:qA}:void 0)}const qA={[Le.INVALID_ARGUMENT]:"Invalid arguments",[Le.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[Le.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string",[Le.NOT_SUPPORT_NON_STRING_MESSAGE]:"Not support non-string message",[Le.NOT_SUPPORT_LOCALE_PROMISE_VALUE]:"cannot support promise value",[Le.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]:"cannot support async function",[Le.NOT_SUPPORT_LOCALE_TYPE]:"cannot support locale type"};function zl(t,e){return e.locale!=null?Ld(e.locale):Ld(t.locale)}let Xl;function Ld(t){if(M(t))return t;if(re(t)){if(t.resolvedOnce&&Xl!=null)return Xl;if(t.constructor.name==="Function"){const e=t();if(WO(e))throw It(Le.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Xl=e}else throw It(Le.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw It(Le.NOT_SUPPORT_LOCALE_TYPE)}function GA(t,e,n){return[...new Set([n,...le(e)?e:J(e)?Object.keys(e):M(e)?[e]:[n]])]}function kd(t,e,n){const i=M(n)?n:ti,r=t;r.__localeChainCache||(r.__localeChainCache=new Map);let a=r.__localeChainCache.get(i);if(!a){a=[];let u=[n];for(;le(u);)u=xd(a,u,e);const l=le(e)||!j(e)?e:e.default?e.default:null;u=M(l)?[l]:l,le(u)&&xd(a,u,!1),r.__localeChainCache.set(i,a)}return a}function xd(t,e,n){let i=!0;for(let r=0;r<e.length&&q(i);r++){const a=e[r];M(a)&&(i=KA(t,e[r],n))}return i}function KA(t,e,n){let i;const r=e.split("-");do{const a=r.join("-");i=zA(t,a,n),r.splice(-1,1)}while(r.length&&i===!0);return i}function zA(t,e,n){let i=!1;if(!t.includes(e)&&(i=!0,e)){i=e[e.length-1]!=="!";const r=e.replace(/!/g,"");t.push(r),(le(n)||j(n))&&n[r]&&(i=n[r])}return i}const XA="9.14.0",Da=-1,ti="en-US",Na="",Md=t=>`${t.charAt(0).toLocaleUpperCase()}${t.substr(1)}`;function JA(){return{upper:(t,e)=>e==="text"&&M(t)?t.toUpperCase():e==="vnode"&&J(t)&&"__v_isVNode"in t?t.children.toUpperCase():t,lower:(t,e)=>e==="text"&&M(t)?t.toLowerCase():e==="vnode"&&J(t)&&"__v_isVNode"in t?t.children.toLowerCase():t,capitalize:(t,e)=>e==="text"&&M(t)?Md(t):e==="vnode"&&J(t)&&"__v_isVNode"in t?Md(t.children):t}}let $d;function Vd(t){$d=t}let Ud;function QA(t){Ud=t}let Hd;function ZA(t){Hd=t}let jd=null;const Wd=t=>{jd=t},YA=()=>jd;let qd=null;const Gd=t=>{qd=t},pA=()=>qd;let Kd=0;function eR(t={}){const e=re(t.onWarn)?t.onWarn:Re,n=M(t.version)?t.version:XA,i=M(t.locale)||re(t.locale)?t.locale:ti,r=re(i)?ti:i,a=le(t.fallbackLocale)||j(t.fallbackLocale)||M(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:r,u=j(t.messages)?t.messages:{[r]:{}},l=j(t.datetimeFormats)?t.datetimeFormats:{[r]:{}},o=j(t.numberFormats)?t.numberFormats:{[r]:{}},s=Ae({},t.modifiers||{},JA()),f=t.pluralRules||{},c=re(t.missing)?t.missing:null,h=q(t.missingWarn)||Kt(t.missingWarn)?t.missingWarn:!0,b=q(t.fallbackWarn)||Kt(t.fallbackWarn)?t.fallbackWarn:!0,S=!!t.fallbackFormat,I=!!t.unresolving,D=re(t.postTranslation)?t.postTranslation:null,y=j(t.processor)?t.processor:null,O=q(t.warnHtmlMessage)?t.warnHtmlMessage:!0,_=!!t.escapeParameter,C=re(t.messageCompiler)?t.messageCompiler:$d;process.env.NODE_ENV!=="production"&&!0&&!0&&re(t.messageCompiler)&&Od(bn(Ke.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));const w=re(t.messageResolver)?t.messageResolver:Ud||DA,A=re(t.localeFallbacker)?t.localeFallbacker:Hd||GA,N=J(t.fallbackContext)?t.fallbackContext:void 0,B=t,L=J(B.__datetimeFormatters)?B.__datetimeFormatters:new Map,K=J(B.__numberFormatters)?B.__numberFormatters:new Map,Me=J(B.__meta)?B.__meta:{};Kd++;const W={version:n,cid:Kd,locale:i,fallbackLocale:a,messages:u,modifiers:s,pluralRules:f,missing:c,missingWarn:h,fallbackWarn:b,fallbackFormat:S,unresolving:I,postTranslation:D,processor:y,warnHtmlMessage:O,escapeParameter:_,messageCompiler:C,messageResolver:w,localeFallbacker:A,fallbackContext:N,onWarn:e,__meta:Me};return W.datetimeFormats=l,W.numberFormats=o,W.__datetimeFormatters=L,W.__numberFormatters=K,process.env.NODE_ENV!=="production"&&(W.__v_emitter=B.__v_emitter!=null?B.__v_emitter:void 0),(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&UA(W,n,Me),W}function Pa(t,e){return t instanceof RegExp?t.test(e):t}function zd(t,e){return t instanceof RegExp?t.test(e):t}function Jl(t,e,n,i,r){const{missing:a,onWarn:u}=t;if(process.env.NODE_ENV!=="production"){const l=t.__v_emitter;l&&l.emit("missing",{locale:n,key:e,type:r,groupId:`${r}:${e}`})}if(a!==null){const l=a(t,n,e,r);return M(l)?l:e}else return process.env.NODE_ENV!=="production"&&zd(i,e)&&u(bn(Ke.NOT_FOUND_KEY,{key:e,locale:n})),e}function Yi(t,e,n){const i=t;i.__localeChainCache=new Map,t.localeFallbacker(t,n,e)}function Xd(t,e){return t===e?!1:t.split("-")[0]===e.split("-")[0]}function tR(t,e){const n=e.indexOf(t);if(n===-1)return!1;for(let i=n+1;i<e.length;i++)if(Xd(t,e[i]))return!0;return!1}function Ql(t){return n=>nR(n,t)}function nR(t,e){const n=e.b||e.body;if((n.t||n.type)===1){const i=n,r=i.c||i.cases;return t.plural(r.reduce((a,u)=>[...a,Jd(t,u)],[]))}else return Jd(t,n)}function Jd(t,e){const n=e.s||e.static;if(n)return t.type==="text"?n:t.normalize([n]);{const i=(e.i||e.items).reduce((r,a)=>[...r,Zl(t,a)],[]);return t.normalize(i)}}function Zl(t,e){const n=e.t||e.type;switch(n){case 3:{const i=e;return i.v||i.value}case 9:{const i=e;return i.v||i.value}case 4:{const i=e;return t.interpolate(t.named(i.k||i.key))}case 5:{const i=e;return t.interpolate(t.list(i.i!=null?i.i:i.index))}case 6:{const i=e,r=i.m||i.modifier;return t.linked(Zl(t,i.k||i.key),r?Zl(t,r):void 0,t.type)}case 7:{const i=e;return i.v||i.value}case 8:{const i=e;return i.v||i.value}default:throw new Error(`unhandled node type on format message part: ${n}`)}}const iR="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function Qd(t,e){e&&YO(t)&&Re(Qi(iR,{source:t}))}const Zd=t=>t;let ni=Object.create(null);function Yd(t){t.code===Ra.USE_MODULO_SYNTAX&&Re(`The use of named interpolation with modulo syntax is deprecated. It will be removed in v10.
|
|
17
|
-
reference: https://vue-i18n.intlify.dev/guide/essentials/syntax#rails-i18n-format
|
|
18
|
-
(message compiler warning message: ${t.message})`)}const Jt=t=>J(t)&&(t.t===0||t.type===0)&&("b"in t||"body"in t);function pd(t,e={}){let n=!1;const i=e.onError||QO;return e.onError=r=>{n=!0,i(r)},ba(qt({},CA(t,e)),{detectError:n})}const rR=(t,e)=>{if(!M(t))throw It(Le.NOT_SUPPORT_NON_STRING_MESSAGE);process.env.NODE_ENV!=="production"&&(e.onWarn=Yd);{const n=q(e.warnHtmlMessage)?e.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&Qd(t,n);const r=(e.onCacheKey||Zd)(t),a=ni[r];if(a)return a;const{code:u,detectError:l}=pd(t,e),o=new Function(`return ${u}`)();return l?o:ni[r]=o}};function aR(t,e){if(process.env.NODE_ENV!=="production"&&(e.onWarn=Yd),__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&M(t)){const n=q(e.warnHtmlMessage)?e.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&Qd(t,n);const r=(e.onCacheKey||Zd)(t),a=ni[r];if(a)return a;const{ast:u,detectError:l}=pd(t,ba(qt({},e),{location:process.env.NODE_ENV!=="production",jit:!0})),o=Ql(u);return l?o:ni[r]=o}else{if(process.env.NODE_ENV!=="production"&&!Jt(t))return Re(`the message that is resolve with key '${e.key}' is not supported for jit compilation`),()=>t;const n=t.cacheKey;if(n){const i=ni[n];return i||(ni[n]=Ql(t))}else return Ql(t)}}const ef=()=>"",st=t=>re(t);function tf(t,...e){const{fallbackFormat:n,postTranslation:i,unresolving:r,messageCompiler:a,fallbackLocale:u,messages:l}=t,[o,s]=Yl(...e),f=q(s.missingWarn)?s.missingWarn:t.missingWarn,c=q(s.fallbackWarn)?s.fallbackWarn:t.fallbackWarn,h=q(s.escapeParameter)?s.escapeParameter:t.escapeParameter,b=!!s.resolvedMessage,S=M(s.default)||q(s.default)?q(s.default)?a?o:()=>o:s.default:n?a?o:()=>o:"",I=n||S!=="",D=zl(t,s);h&&uR(s);let[y,O,_]=b?[o,D,l[D]||{}]:nf(t,o,D,u,c,f),C=y,w=o;if(!b&&!(M(C)||Jt(C)||st(C))&&I&&(C=S,w=C),!b&&(!(M(C)||Jt(C)||st(C))||!M(O)))return r?Da:o;if(process.env.NODE_ENV!=="production"&&M(C)&&t.messageCompiler==null)return Re(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${o}'.`),o;let A=!1;const N=()=>{A=!0},B=st(C)?C:rf(t,o,O,C,w,N);if(A)return C;const L=cR(t,O,_,s),K=$A(L),Me=lR(t,B,K),W=i?i(Me,o):Me;if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const ye={timestamp:Date.now(),key:M(o)?o:st(C)?C.key:"",locale:O||(st(C)?C.locale:""),format:M(C)?C:st(C)?C.source:"",message:W};ye.meta=Ae({},t.__meta,YA()||{}),HA(ye)}return W}function uR(t){le(t.list)?t.list=t.list.map(e=>M(e)?Cd(e):e):J(t.named)&&Object.keys(t.named).forEach(e=>{M(t.named[e])&&(t.named[e]=Cd(t.named[e]))})}function nf(t,e,n,i,r,a){const{messages:u,onWarn:l,messageResolver:o,localeFallbacker:s}=t,f=s(t,i,n);let c={},h,b=null,S=n,I=null;const D="translate";for(let y=0;y<f.length;y++){if(h=I=f[y],process.env.NODE_ENV!=="production"&&n!==h&&!Xd(n,h)&&Pa(r,e)&&l(bn(Ke.FALLBACK_TO_TRANSLATE,{key:e,target:h})),process.env.NODE_ENV!=="production"&&n!==h){const w=t.__v_emitter;w&&w.emit("fallback",{type:D,key:e,from:S,to:I,groupId:`${D}:${e}`})}c=u[h]||{};let O=null,_,C;if(process.env.NODE_ENV!=="production"&&ht&&(O=window.performance.now(),_="intlify-message-resolve-start",C="intlify-message-resolve-end",nt&&nt(_)),(b=o(c,e))===null&&(b=c[e]),process.env.NODE_ENV!=="production"&&ht){const w=window.performance.now(),A=t.__v_emitter;A&&O&&b&&A.emit("message-resolve",{type:"message-resolve",key:e,message:b,time:w-O,groupId:`${D}:${e}`}),_&&C&&nt&&yn&&(nt(C),yn("intlify message resolve",_,C))}if(M(b)||Jt(b)||st(b))break;if(!tR(h,f)){const w=Jl(t,e,h,a,D);w!==e&&(b=w)}S=I}return[b,h,c]}function rf(t,e,n,i,r,a){const{messageCompiler:u,warnHtmlMessage:l}=t;if(st(i)){const h=i;return h.locale=h.locale||n,h.key=h.key||e,h}if(u==null){const h=()=>i;return h.locale=n,h.key=e,h}let o=null,s,f;process.env.NODE_ENV!=="production"&&ht&&(o=window.performance.now(),s="intlify-message-compilation-start",f="intlify-message-compilation-end",nt&&nt(s));const c=u(i,oR(t,n,r,i,l,a));if(process.env.NODE_ENV!=="production"&&ht){const h=window.performance.now(),b=t.__v_emitter;b&&o&&b.emit("message-compilation",{type:"message-compilation",message:i,time:h-o,groupId:`translate:${e}`}),s&&f&&nt&&yn&&(nt(f),yn("intlify message compilation",s,f))}return c.locale=n,c.key=e,c.source=i,c}function lR(t,e,n){let i=null,r,a;process.env.NODE_ENV!=="production"&&ht&&(i=window.performance.now(),r="intlify-message-evaluation-start",a="intlify-message-evaluation-end",nt&&nt(r));const u=e(n);if(process.env.NODE_ENV!=="production"&&ht){const l=window.performance.now(),o=t.__v_emitter;o&&i&&o.emit("message-evaluation",{type:"message-evaluation",value:u,time:l-i,groupId:`translate:${e.key}`}),r&&a&&nt&&yn&&(nt(a),yn("intlify message evaluation",r,a))}return u}function Yl(...t){const[e,n,i]=t,r={};if(!M(e)&&!Oe(e)&&!st(e)&&!Jt(e))throw It(Le.INVALID_ARGUMENT);const a=Oe(e)?String(e):(st(e),e);return Oe(n)?r.plural=n:M(n)?r.default=n:j(n)&&!wa(n)?r.named=n:le(n)&&(r.list=n),Oe(i)?r.plural=i:M(i)?r.default=i:j(i)&&Ae(r,i),[a,r]}function oR(t,e,n,i,r,a){return{locale:e,key:n,warnHtmlMessage:r,onError:u=>{if(a&&a(u),process.env.NODE_ENV!=="production"){const l=sR(i),o=`Message compilation error: ${u.message}`,s=u.location&&l&&GO(l,u.location.start.offset,u.location.end.offset),f=t.__v_emitter;f&&l&&f.emit("compile-error",{message:l,error:u.message,start:u.location&&u.location.start.offset,end:u.location&&u.location.end.offset,groupId:`translate:${n}`}),console.error(s?`${o}
|
|
19
|
-
${s}`:o)}else throw u},onCacheKey:u=>VO(e,n,u)}}function sR(t){if(M(t))return t;if(t.loc&&t.loc.source)return t.loc.source}function cR(t,e,n,i){const{modifiers:r,pluralRules:a,messageResolver:u,fallbackLocale:l,fallbackWarn:o,missingWarn:s,fallbackContext:f}=t,h={locale:e,modifiers:r,pluralRules:a,messages:b=>{let S=u(n,b);if(S==null&&f){const[,,I]=nf(f,b,e,l,o,s);S=u(I,b)}if(M(S)||Jt(S)){let I=!1;const y=rf(t,b,e,S,b,()=>{I=!0});return I?ef:y}else return st(S)?S:ef}};return t.processor&&(h.processor=t.processor),i.list&&(h.list=i.list),i.named&&(h.named=i.named),Oe(i.plural)&&(h.pluralIndex=i.plural),h}const af=typeof Intl!="undefined",uf={dateTimeFormat:af&&typeof Intl.DateTimeFormat!="undefined",numberFormat:af&&typeof Intl.NumberFormat!="undefined"};function lf(t,...e){const{datetimeFormats:n,unresolving:i,fallbackLocale:r,onWarn:a,localeFallbacker:u}=t,{__datetimeFormatters:l}=t;if(process.env.NODE_ENV!=="production"&&!uf.dateTimeFormat)return a(bn(Ke.CANNOT_FORMAT_DATE)),Na;const[o,s,f,c]=pl(...e),h=q(f.missingWarn)?f.missingWarn:t.missingWarn,b=q(f.fallbackWarn)?f.fallbackWarn:t.fallbackWarn,S=!!f.part,I=zl(t,f),D=u(t,r,I);if(!M(o)||o==="")return new Intl.DateTimeFormat(I,c).format(s);let y={},O,_=null,C=I,w=null;const A="datetime format";for(let L=0;L<D.length;L++){if(O=w=D[L],process.env.NODE_ENV!=="production"&&I!==O&&Pa(b,o)&&a(bn(Ke.FALLBACK_TO_DATE_FORMAT,{key:o,target:O})),process.env.NODE_ENV!=="production"&&I!==O){const K=t.__v_emitter;K&&K.emit("fallback",{type:A,key:o,from:C,to:w,groupId:`${A}:${o}`})}if(y=n[O]||{},_=y[o],j(_))break;Jl(t,o,O,h,A),C=w}if(!j(_)||!M(O))return i?Da:o;let N=`${O}__${o}`;wa(c)||(N=`${N}__${JSON.stringify(c)}`);let B=l.get(N);return B||(B=new Intl.DateTimeFormat(O,Ae({},_,c)),l.set(N,B)),S?B.formatToParts(s):B.format(s)}const of=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function pl(...t){const[e,n,i,r]=t,a={};let u={},l;if(M(e)){const o=e.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!o)throw It(Le.INVALID_ISO_DATE_ARGUMENT);const s=o[3]?o[3].trim().startsWith("T")?`${o[1].trim()}${o[3].trim()}`:`${o[1].trim()}T${o[3].trim()}`:o[1].trim();l=new Date(s);try{l.toISOString()}catch(f){throw It(Le.INVALID_ISO_DATE_ARGUMENT)}}else if(HO(e)){if(isNaN(e.getTime()))throw It(Le.INVALID_DATE_ARGUMENT);l=e}else if(Oe(e))l=e;else throw It(Le.INVALID_ARGUMENT);return M(n)?a.key=n:j(n)&&Object.keys(n).forEach(o=>{of.includes(o)?u[o]=n[o]:a[o]=n[o]}),M(i)?a.locale=i:j(i)&&(u=i),j(r)&&(u=r),[a.key||"",l,a,u]}function sf(t,e,n){const i=t;for(const r in n){const a=`${e}__${r}`;!i.__datetimeFormatters.has(a)||i.__datetimeFormatters.delete(a)}}function cf(t,...e){const{numberFormats:n,unresolving:i,fallbackLocale:r,onWarn:a,localeFallbacker:u}=t,{__numberFormatters:l}=t;if(process.env.NODE_ENV!=="production"&&!uf.numberFormat)return a(bn(Ke.CANNOT_FORMAT_NUMBER)),Na;const[o,s,f,c]=eo(...e),h=q(f.missingWarn)?f.missingWarn:t.missingWarn,b=q(f.fallbackWarn)?f.fallbackWarn:t.fallbackWarn,S=!!f.part,I=zl(t,f),D=u(t,r,I);if(!M(o)||o==="")return new Intl.NumberFormat(I,c).format(s);let y={},O,_=null,C=I,w=null;const A="number format";for(let L=0;L<D.length;L++){if(O=w=D[L],process.env.NODE_ENV!=="production"&&I!==O&&Pa(b,o)&&a(bn(Ke.FALLBACK_TO_NUMBER_FORMAT,{key:o,target:O})),process.env.NODE_ENV!=="production"&&I!==O){const K=t.__v_emitter;K&&K.emit("fallback",{type:A,key:o,from:C,to:w,groupId:`${A}:${o}`})}if(y=n[O]||{},_=y[o],j(_))break;Jl(t,o,O,h,A),C=w}if(!j(_)||!M(O))return i?Da:o;let N=`${O}__${o}`;wa(c)||(N=`${N}__${JSON.stringify(c)}`);let B=l.get(N);return B||(B=new Intl.NumberFormat(O,Ae({},_,c)),l.set(N,B)),S?B.formatToParts(s):B.format(s)}const df=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function eo(...t){const[e,n,i,r]=t,a={};let u={};if(!Oe(e))throw It(Le.INVALID_ARGUMENT);const l=e;return M(n)?a.key=n:j(n)&&Object.keys(n).forEach(o=>{df.includes(o)?u[o]=n[o]:a[o]=n[o]}),M(i)?a.locale=i:j(i)&&(u=i),j(r)&&(u=r),[a.key||"",l,a,u]}function ff(t,e,n){const i=t;for(const r in n){const a=`${e}__${r}`;!i.__numberFormatters.has(a)||i.__numberFormatters.delete(a)}}wA();/**
|
|
20
|
-
* @vue/shared v3.5.5
|
|
21
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
22
|
-
* @license MIT
|
|
23
|
-
**//*! #__NO_SIDE_EFFECTS__ */function dR(t){const e=Object.create(null);for(const n of t.split(","))e[n]=1;return n=>n in e}const ct=process.env.NODE_ENV!=="production"?Object.freeze({}):{};process.env.NODE_ENV!=="production"&&Object.freeze([]);const Cn=()=>{},fR=()=>!1,hR=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),it=Object.assign,mR=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},vR=Object.prototype.hasOwnProperty,Ce=(t,e)=>vR.call(t,e),oe=Array.isArray,ii=t=>Fa(t)==="[object Map]",gR=t=>Fa(t)==="[object Set]",we=t=>typeof t=="function",gt=t=>typeof t=="string",pi=t=>typeof t=="symbol",ze=t=>t!==null&&typeof t=="object",yR=t=>(ze(t)||we(t))&&we(t.then)&&we(t.catch),_R=Object.prototype.toString,Fa=t=>_R.call(t),hf=t=>Fa(t).slice(8,-1),bR=t=>Fa(t)==="[object Object]",to=t=>gt(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,mf=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},vf=mf(t=>t.charAt(0).toUpperCase()+t.slice(1)),ER=mf(t=>t?`on${vf(t)}`:""),Qt=(t,e)=>!Object.is(t,e),CR=(t,e,n,i=!1)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:i,value:n})};let gf;const yf=()=>gf||(gf=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});function no(t){if(oe(t)){const e={};for(let n=0;n<t.length;n++){const i=t[n],r=gt(i)?SR(i):no(i);if(r)for(const a in r)e[a]=r[a]}return e}else if(gt(t)||ze(t))return t}const wR=/;(?![^(]*\))/g,IR=/:([^]+)/,TR=/\/\*[^]*?\*\//g;function SR(t){const e={};return t.replace(TR,"").split(wR).forEach(n=>{if(n){const i=n.split(IR);i.length>1&&(e[i[0].trim()]=i[1].trim())}}),e}function io(t){let e="";if(gt(t))e=t;else if(oe(t))for(let n=0;n<t.length;n++){const i=io(t[n]);i&&(e+=i+" ")}else if(ze(t))for(const n in t)t[n]&&(e+=n+" ");return e.trim()}/**
|
|
24
|
-
* @vue/reactivity v3.5.5
|
|
25
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
26
|
-
* @license MIT
|
|
27
|
-
**/function Tt(t,...e){console.warn(`[Vue warn] ${t}`,...e)}let rt;class OR{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=rt,!e&&rt&&(this.index=(rt.scopes||(rt.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,n;if(this.scopes)for(e=0,n=this.scopes.length;e<n;e++)this.scopes[e].pause();for(e=0,n=this.effects.length;e<n;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let e,n;if(this.scopes)for(e=0,n=this.scopes.length;e<n;e++)this.scopes[e].resume();for(e=0,n=this.effects.length;e<n;e++)this.effects[e].resume()}}run(e){if(this._active){const n=rt;try{return rt=this,e()}finally{rt=n}}else process.env.NODE_ENV!=="production"&&Tt("cannot run an inactive effect scope.")}on(){rt=this}off(){rt=this.parent}stop(e){if(this._active){let n,i;for(n=0,i=this.effects.length;n<i;n++)this.effects[n].stop();for(n=0,i=this.cleanups.length;n<i;n++)this.cleanups[n]();if(this.scopes)for(n=0,i=this.scopes.length;n<i;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!e){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0,this._active=!1}}}function AR(t){return new OR(t)}function RR(){return rt}let Z;const ro=new WeakSet;class DR{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.nextEffect=void 0,this.cleanup=void 0,this.scheduler=void 0,rt&&rt.active&&rt.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,ro.has(this)&&(ro.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||(this.flags|=8,this.nextEffect=er,er=this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,If(this),bf(this);const e=Z,n=yt;Z=this,yt=!0;try{return this.fn()}finally{process.env.NODE_ENV!=="production"&&Z!==this&&Tt("Active effect was not restored correctly - this is likely a Vue internal bug."),Ef(this),Z=e,yt=n,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)oo(e);this.deps=this.depsTail=void 0,If(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?ro.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){lo(this)&&this.run()}get dirty(){return lo(this)}}let _f=0,er;function ao(){_f++}function uo(){if(--_f>0)return;let t;for(;er;){let e=er;for(er=void 0;e;){const n=e.nextEffect;if(e.nextEffect=void 0,e.flags&=-9,e.flags&1)try{e.trigger()}catch(i){t||(t=i)}e=n}}if(t)throw t}function bf(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function Ef(t){let e,n=t.depsTail,i=n;for(;i;){const r=i.prevDep;i.version===-1?(i===n&&(n=r),oo(i),NR(i)):e=i,i.dep.activeLink=i.prevActiveLink,i.prevActiveLink=void 0,i=r}t.deps=e,t.depsTail=n}function lo(t){for(let e=t.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&Cf(e.dep.computed)||e.dep.version!==e.version)return!0;return!!t._dirty}function Cf(t){if(t.flags&4&&!(t.flags&16)||(t.flags&=-17,t.globalVersion===ir))return;t.globalVersion=ir;const e=t.dep;if(t.flags|=2,e.version>0&&!t.isSSR&&!lo(t)){t.flags&=-3;return}const n=Z,i=yt;Z=t,yt=!0;try{bf(t);const r=t.fn(t._value);(e.version===0||Qt(r,t._value))&&(t._value=r,e.version++)}catch(r){throw e.version++,r}finally{Z=n,yt=i,Ef(t),t.flags&=-3}}function oo(t){const{dep:e,prevSub:n,nextSub:i}=t;if(n&&(n.nextSub=i,t.prevSub=void 0),i&&(i.prevSub=n,t.nextSub=void 0),e.subs===t&&(e.subs=n),!e.subs&&e.computed){e.computed.flags&=-5;for(let r=e.computed.deps;r;r=r.nextDep)oo(r)}}function NR(t){const{prevDep:e,nextDep:n}=t;e&&(e.nextDep=n,t.prevDep=void 0),n&&(n.prevDep=e,t.nextDep=void 0)}let yt=!0;const wf=[];function tr(){wf.push(yt),yt=!1}function nr(){const t=wf.pop();yt=t===void 0?!0:t}function If(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const n=Z;Z=void 0;try{e()}finally{Z=n}}}let ir=0;class PR{constructor(e,n){this.sub=e,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class so{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,process.env.NODE_ENV!=="production"&&(this.subsHead=void 0)}track(e){if(!Z||!yt||Z===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Z)n=this.activeLink=new PR(Z,this),Z.deps?(n.prevDep=Z.depsTail,Z.depsTail.nextDep=n,Z.depsTail=n):Z.deps=Z.depsTail=n,Z.flags&4&&Tf(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const i=n.nextDep;i.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=i),n.prevDep=Z.depsTail,n.nextDep=void 0,Z.depsTail.nextDep=n,Z.depsTail=n,Z.deps===n&&(Z.deps=i)}return process.env.NODE_ENV!=="production"&&Z.onTrack&&Z.onTrack(it({effect:Z},e)),n}trigger(e){this.version++,ir++,this.notify(e)}notify(e){ao();try{if(process.env.NODE_ENV!=="production")for(let n=this.subsHead;n;n=n.nextSub)process.env.NODE_ENV!=="production"&&n.sub.onTrigger&&!(n.sub.flags&8)&&n.sub.onTrigger(it({effect:n.sub},e));for(let n=this.subs;n;n=n.prevSub)n.sub.notify()}finally{uo()}}}function Tf(t){const e=t.dep.computed;if(e&&!t.dep.subs){e.flags|=20;for(let i=e.deps;i;i=i.nextDep)Tf(i)}const n=t.dep.subs;n!==t&&(t.prevSub=n,n&&(n.nextSub=t)),process.env.NODE_ENV!=="production"&&t.dep.subsHead===void 0&&(t.dep.subsHead=t),t.dep.subs=t}const co=new WeakMap,wn=Symbol(process.env.NODE_ENV!=="production"?"Object iterate":""),fo=Symbol(process.env.NODE_ENV!=="production"?"Map keys iterate":""),rr=Symbol(process.env.NODE_ENV!=="production"?"Array iterate":"");function ke(t,e,n){if(yt&&Z){let i=co.get(t);i||co.set(t,i=new Map);let r=i.get(n);r||i.set(n,r=new so),process.env.NODE_ENV!=="production"?r.track({target:t,type:e,key:n}):r.track()}}function Zt(t,e,n,i,r,a){const u=co.get(t);if(!u){ir++;return}const l=o=>{o&&(process.env.NODE_ENV!=="production"?o.trigger({target:t,type:e,key:n,newValue:i,oldValue:r,oldTarget:a}):o.trigger())};if(ao(),e==="clear")u.forEach(l);else{const o=oe(t),s=o&&to(n);if(o&&n==="length"){const f=Number(i);u.forEach((c,h)=>{(h==="length"||h===rr||!pi(h)&&h>=f)&&l(c)})}else switch(n!==void 0&&l(u.get(n)),s&&l(u.get(rr)),e){case"add":o?s&&l(u.get("length")):(l(u.get(wn)),ii(t)&&l(u.get(fo)));break;case"delete":o||(l(u.get(wn)),ii(t)&&l(u.get(fo)));break;case"set":ii(t)&&l(u.get(wn));break}}uo()}function ri(t){const e=z(t);return e===t?e:(ke(e,"iterate",rr),Ye(t)?e:e.map(Xe))}function ho(t){return ke(t=z(t),"iterate",rr),t}const FR={__proto__:null,[Symbol.iterator](){return mo(this,Symbol.iterator,Xe)},concat(...t){return ri(this).concat(...t.map(e=>oe(e)?ri(e):e))},entries(){return mo(this,"entries",t=>(t[1]=Xe(t[1]),t))},every(t,e){return Lt(this,"every",t,e,void 0,arguments)},filter(t,e){return Lt(this,"filter",t,e,n=>n.map(Xe),arguments)},find(t,e){return Lt(this,"find",t,e,Xe,arguments)},findIndex(t,e){return Lt(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return Lt(this,"findLast",t,e,Xe,arguments)},findLastIndex(t,e){return Lt(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return Lt(this,"forEach",t,e,void 0,arguments)},includes(...t){return vo(this,"includes",t)},indexOf(...t){return vo(this,"indexOf",t)},join(t){return ri(this).join(t)},lastIndexOf(...t){return vo(this,"lastIndexOf",t)},map(t,e){return Lt(this,"map",t,e,void 0,arguments)},pop(){return ar(this,"pop")},push(...t){return ar(this,"push",t)},reduce(t,...e){return Sf(this,"reduce",t,e)},reduceRight(t,...e){return Sf(this,"reduceRight",t,e)},shift(){return ar(this,"shift")},some(t,e){return Lt(this,"some",t,e,void 0,arguments)},splice(...t){return ar(this,"splice",t)},toReversed(){return ri(this).toReversed()},toSorted(t){return ri(this).toSorted(t)},toSpliced(...t){return ri(this).toSpliced(...t)},unshift(...t){return ar(this,"unshift",t)},values(){return mo(this,"values",Xe)}};function mo(t,e,n){const i=ho(t),r=i[e]();return i!==t&&!Ye(t)&&(r._next=r.next,r.next=()=>{const a=r._next();return a.value&&(a.value=n(a.value)),a}),r}const BR=Array.prototype;function Lt(t,e,n,i,r,a){const u=ho(t),l=u!==t&&!Ye(t),o=u[e];if(o!==BR[e]){const c=o.apply(t,a);return l?Xe(c):c}let s=n;u!==t&&(l?s=function(c,h){return n.call(this,Xe(c),h,t)}:n.length>2&&(s=function(c,h){return n.call(this,c,h,t)}));const f=o.call(u,s,i);return l&&r?r(f):f}function Sf(t,e,n,i){const r=ho(t);let a=n;return r!==t&&(Ye(t)?n.length>3&&(a=function(u,l,o){return n.call(this,u,l,o,t)}):a=function(u,l,o){return n.call(this,u,Xe(l),o,t)}),r[e](a,...i)}function vo(t,e,n){const i=z(t);ke(i,"iterate",rr);const r=i[e](...n);return(r===-1||r===!1)&&Ua(n[0])?(n[0]=z(n[0]),i[e](...n)):r}function ar(t,e,n=[]){tr(),ao();const i=z(t)[e].apply(t,n);return uo(),nr(),i}const LR=dR("__proto__,__v_isRef,__isVue"),Of=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(pi));function kR(t){pi(t)||(t=String(t));const e=z(this);return ke(e,"has",t),e.hasOwnProperty(t)}class Af{constructor(e=!1,n=!1){this._isReadonly=e,this._isShallow=n}get(e,n,i){const r=this._isReadonly,a=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return a;if(n==="__v_raw")return i===(r?a?xf:kf:a?XR:Lf).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(i)?e:void 0;const u=oe(e);if(!r){let o;if(u&&(o=FR[n]))return o;if(n==="hasOwnProperty")return kR}const l=Reflect.get(e,n,je(e)?e:i);return(pi(n)?Of.has(n):LR(n))||(r||ke(e,"get",n),a)?l:je(l)?u&&to(n)?l:l.value:ze(l)?r?$f(l):Mf(l):l}}class xR extends Af{constructor(e=!1){super(!1,e)}set(e,n,i,r){let a=e[n];if(!this._isShallow){const o=kt(a);if(!Ye(i)&&!kt(i)&&(a=z(a),i=z(i)),!oe(e)&&je(a)&&!je(i))return o?!1:(a.value=i,!0)}const u=oe(e)&&to(n)?Number(n)<e.length:Ce(e,n),l=Reflect.set(e,n,i,je(e)?e:r);return e===z(r)&&(u?Qt(i,a)&&Zt(e,"set",n,i,a):Zt(e,"add",n,i)),l}deleteProperty(e,n){const i=Ce(e,n),r=e[n],a=Reflect.deleteProperty(e,n);return a&&i&&Zt(e,"delete",n,void 0,r),a}has(e,n){const i=Reflect.has(e,n);return(!pi(n)||!Of.has(n))&&ke(e,"has",n),i}ownKeys(e){return ke(e,"iterate",oe(e)?"length":wn),Reflect.ownKeys(e)}}class Rf extends Af{constructor(e=!1){super(!0,e)}set(e,n){return process.env.NODE_ENV!=="production"&&Tt(`Set operation on key "${String(n)}" failed: target is readonly.`,e),!0}deleteProperty(e,n){return process.env.NODE_ENV!=="production"&&Tt(`Delete operation on key "${String(n)}" failed: target is readonly.`,e),!0}}const MR=new xR,$R=new Rf,VR=new Rf(!0),go=t=>t,Ba=t=>Reflect.getPrototypeOf(t);function La(t,e,n=!1,i=!1){t=t.__v_raw;const r=z(t),a=z(e);n||(Qt(e,a)&&ke(r,"get",e),ke(r,"get",a));const{has:u}=Ba(r),l=i?go:n?bo:Xe;if(u.call(r,e))return l(t.get(e));if(u.call(r,a))return l(t.get(a));t!==r&&t.get(e)}function ka(t,e=!1){const n=this.__v_raw,i=z(n),r=z(t);return e||(Qt(t,r)&&ke(i,"has",t),ke(i,"has",r)),t===r?n.has(t):n.has(t)||n.has(r)}function xa(t,e=!1){return t=t.__v_raw,!e&&ke(z(t),"iterate",wn),Reflect.get(t,"size",t)}function Df(t,e=!1){!e&&!Ye(t)&&!kt(t)&&(t=z(t));const n=z(this);return Ba(n).has.call(n,t)||(n.add(t),Zt(n,"add",t,t)),this}function Nf(t,e,n=!1){!n&&!Ye(e)&&!kt(e)&&(e=z(e));const i=z(this),{has:r,get:a}=Ba(i);let u=r.call(i,t);u?process.env.NODE_ENV!=="production"&&Bf(i,r,t):(t=z(t),u=r.call(i,t));const l=a.call(i,t);return i.set(t,e),u?Qt(e,l)&&Zt(i,"set",t,e,l):Zt(i,"add",t,e),this}function Pf(t){const e=z(this),{has:n,get:i}=Ba(e);let r=n.call(e,t);r?process.env.NODE_ENV!=="production"&&Bf(e,n,t):(t=z(t),r=n.call(e,t));const a=i?i.call(e,t):void 0,u=e.delete(t);return r&&Zt(e,"delete",t,void 0,a),u}function Ff(){const t=z(this),e=t.size!==0,n=process.env.NODE_ENV!=="production"?ii(t)?new Map(t):new Set(t):void 0,i=t.clear();return e&&Zt(t,"clear",void 0,void 0,n),i}function Ma(t,e){return function(i,r){const a=this,u=a.__v_raw,l=z(u),o=e?go:t?bo:Xe;return!t&&ke(l,"iterate",wn),u.forEach((s,f)=>i.call(r,o(s),o(f),a))}}function $a(t,e,n){return function(...i){const r=this.__v_raw,a=z(r),u=ii(a),l=t==="entries"||t===Symbol.iterator&&u,o=t==="keys"&&u,s=r[t](...i),f=n?go:e?bo:Xe;return!e&&ke(a,"iterate",o?fo:wn),{next(){const{value:c,done:h}=s.next();return h?{value:c,done:h}:{value:l?[f(c[0]),f(c[1])]:f(c),done:h}},[Symbol.iterator](){return this}}}}function Yt(t){return function(...e){if(process.env.NODE_ENV!=="production"){const n=e[0]?`on key "${e[0]}" `:"";Tt(`${vf(t)} operation ${n}failed: target is readonly.`,z(this))}return t==="delete"?!1:t==="clear"?void 0:this}}function UR(){const t={get(a){return La(this,a)},get size(){return xa(this)},has:ka,add:Df,set:Nf,delete:Pf,clear:Ff,forEach:Ma(!1,!1)},e={get(a){return La(this,a,!1,!0)},get size(){return xa(this)},has:ka,add(a){return Df.call(this,a,!0)},set(a,u){return Nf.call(this,a,u,!0)},delete:Pf,clear:Ff,forEach:Ma(!1,!0)},n={get(a){return La(this,a,!0)},get size(){return xa(this,!0)},has(a){return ka.call(this,a,!0)},add:Yt("add"),set:Yt("set"),delete:Yt("delete"),clear:Yt("clear"),forEach:Ma(!0,!1)},i={get(a){return La(this,a,!0,!0)},get size(){return xa(this,!0)},has(a){return ka.call(this,a,!0)},add:Yt("add"),set:Yt("set"),delete:Yt("delete"),clear:Yt("clear"),forEach:Ma(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(a=>{t[a]=$a(a,!1,!1),n[a]=$a(a,!0,!1),e[a]=$a(a,!1,!0),i[a]=$a(a,!0,!0)}),[t,n,e,i]}const[HR,jR,WR,qR]=UR();function yo(t,e){const n=e?t?qR:WR:t?jR:HR;return(i,r,a)=>r==="__v_isReactive"?!t:r==="__v_isReadonly"?t:r==="__v_raw"?i:Reflect.get(Ce(n,r)&&r in i?n:i,r,a)}const GR={get:yo(!1,!1)},KR={get:yo(!0,!1)},zR={get:yo(!0,!0)};function Bf(t,e,n){const i=z(n);if(i!==n&&e.call(t,i)){const r=hf(t);Tt(`Reactive ${r} contains both the raw and reactive versions of the same object${r==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const Lf=new WeakMap,XR=new WeakMap,kf=new WeakMap,xf=new WeakMap;function JR(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function QR(t){return t.__v_skip||!Object.isExtensible(t)?0:JR(hf(t))}function Mf(t){return kt(t)?t:_o(t,!1,MR,GR,Lf)}function $f(t){return _o(t,!0,$R,KR,kf)}function Va(t){return _o(t,!0,VR,zR,xf)}function _o(t,e,n,i,r){if(!ze(t))return process.env.NODE_ENV!=="production"&&Tt(`value cannot be made ${e?"readonly":"reactive"}: ${String(t)}`),t;if(t.__v_raw&&!(e&&t.__v_isReactive))return t;const a=r.get(t);if(a)return a;const u=QR(t);if(u===0)return t;const l=new Proxy(t,u===2?i:n);return r.set(t,l),l}function ai(t){return kt(t)?ai(t.__v_raw):!!(t&&t.__v_isReactive)}function kt(t){return!!(t&&t.__v_isReadonly)}function Ye(t){return!!(t&&t.__v_isShallow)}function Ua(t){return t?!!t.__v_raw:!1}function z(t){const e=t&&t.__v_raw;return e?z(e):t}function ZR(t){return!Ce(t,"__v_skip")&&Object.isExtensible(t)&&CR(t,"__v_skip",!0),t}const Xe=t=>ze(t)?Mf(t):t,bo=t=>ze(t)?$f(t):t;function je(t){return t?t.__v_isRef===!0:!1}function ui(t){return Uf(t,!1)}function Vf(t){return Uf(t,!0)}function Uf(t,e){return je(t)?t:new YR(t,e)}class YR{constructor(e,n){this.dep=new so,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?e:z(e),this._value=n?e:Xe(e),this.__v_isShallow=n}get value(){return process.env.NODE_ENV!=="production"?this.dep.track({target:this,type:"get",key:"value"}):this.dep.track(),this._value}set value(e){const n=this._rawValue,i=this.__v_isShallow||Ye(e)||kt(e);e=i?e:z(e),Qt(e,n)&&(this._rawValue=e,this._value=i?e:Xe(e),process.env.NODE_ENV!=="production"?this.dep.trigger({target:this,type:"set",key:"value",newValue:e,oldValue:n}):this.dep.trigger())}}function pR(t){return je(t)?t.value:t}const eD={get:(t,e,n)=>e==="__v_raw"?t:pR(Reflect.get(t,e,n)),set:(t,e,n,i)=>{const r=t[e];return je(r)&&!je(n)?(r.value=n,!0):Reflect.set(t,e,n,i)}};function tD(t){return ai(t)?t:new Proxy(t,eD)}class nD{constructor(e,n,i){this.fn=e,this.setter=n,this._value=void 0,this.dep=new so(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=ir-1,this.effect=this,this.__v_isReadonly=!n,this.isSSR=i}notify(){this.flags|=16,Z!==this?this.dep.notify():process.env.NODE_ENV}get value(){const e=process.env.NODE_ENV!=="production"?this.dep.track({target:this,type:"get",key:"value"}):this.dep.track();return Cf(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter?this.setter(e):process.env.NODE_ENV!=="production"&&Tt("Write operation failed: computed value is readonly")}}function iD(t,e,n=!1){let i,r;we(t)?i=t:(i=t.get,r=t.set);const a=new nD(i,r,n);return process.env.NODE_ENV!=="production"&&e&&!n&&(a.onTrack=e.onTrack,a.onTrigger=e.onTrigger),a}const Ha={},ja=new WeakMap;let In;function rD(t,e=!1,n=In){if(n){let i=ja.get(n);i||ja.set(n,i=[]),i.push(t)}else process.env.NODE_ENV!=="production"&&!e&&Tt("onWatcherCleanup() was called when there was no active watcher to associate with.")}function aD(t,e,n=ct){const{immediate:i,deep:r,once:a,scheduler:u,augmentJob:l,call:o}=n,s=w=>{(n.onWarn||Tt)("Invalid watch source: ",w,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},f=w=>r?w:Ye(w)||r===!1||r===0?pt(w,1):pt(w);let c,h,b,S,I=!1,D=!1;if(je(t)?(h=()=>t.value,I=Ye(t)):ai(t)?(h=()=>f(t),I=!0):oe(t)?(D=!0,I=t.some(w=>ai(w)||Ye(w)),h=()=>t.map(w=>{if(je(w))return w.value;if(ai(w))return f(w);if(we(w))return o?o(w,2):w();process.env.NODE_ENV!=="production"&&s(w)})):we(t)?e?h=o?()=>o(t,2):t:h=()=>{if(b){tr();try{b()}finally{nr()}}const w=In;In=c;try{return o?o(t,3,[S]):t(S)}finally{In=w}}:(h=Cn,process.env.NODE_ENV!=="production"&&s(t)),e&&r){const w=h,A=r===!0?1/0:r;h=()=>pt(w(),A)}const y=RR(),O=()=>{c.stop(),y&&mR(y.effects,c)};if(a)if(e){const w=e;e=(...A)=>{w(...A),O()}}else{const w=h;h=()=>{w(),O()}}let _=D?new Array(t.length).fill(Ha):Ha;const C=w=>{if(!(!(c.flags&1)||!c.dirty&&!w))if(e){const A=c.run();if(r||I||(D?A.some((N,B)=>Qt(N,_[B])):Qt(A,_))){b&&b();const N=In;In=c;try{const B=[A,_===Ha?void 0:D&&_[0]===Ha?[]:_,S];o?o(e,3,B):e(...B),_=A}finally{In=N}}}else c.run()};return l&&l(C),c=new DR(h),c.scheduler=u?()=>u(C,!1):C,S=w=>rD(w,!1,c),b=c.onStop=()=>{const w=ja.get(c);if(w){if(o)o(w,4);else for(const A of w)A();ja.delete(c)}},process.env.NODE_ENV!=="production"&&(c.onTrack=n.onTrack,c.onTrigger=n.onTrigger),e?i?C(!0):_=c.run():u?u(C.bind(null,!0),!0):c.run(),O.pause=c.pause.bind(c),O.resume=c.resume.bind(c),O.stop=O,O}function pt(t,e=1/0,n){if(e<=0||!ze(t)||t.__v_skip||(n=n||new Set,n.has(t)))return t;if(n.add(t),e--,je(t))pt(t.value,e,n);else if(oe(t))for(let i=0;i<t.length;i++)pt(t[i],e,n);else if(gR(t)||ii(t))t.forEach(i=>{pt(i,e,n)});else if(bR(t)){for(const i in t)pt(t[i],e,n);for(const i of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,i)&&pt(t[i],e,n)}return t}/**
|
|
28
|
-
* @vue/runtime-core v3.5.5
|
|
29
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
30
|
-
* @license MIT
|
|
31
|
-
**/const Tn=[];function uD(t){Tn.push(t)}function lD(){Tn.pop()}let Eo=!1;function ce(t,...e){if(Eo)return;Eo=!0,tr();const n=Tn.length?Tn[Tn.length-1].component:null,i=n&&n.appContext.config.warnHandler,r=oD();if(i)Wa(i,n,11,[t+e.map(a=>{var u,l;return(l=(u=a.toString)==null?void 0:u.call(a))!=null?l:JSON.stringify(a)}).join(""),n&&n.proxy,r.map(({vnode:a})=>`at <${sh(n,a.type)}>`).join(`
|
|
32
|
-
`),r]);else{const a=[`[Vue warn]: ${t}`,...e];r.length&&a.push(`
|
|
33
|
-
`,...sD(r)),console.warn(...a)}nr(),Eo=!1}function oD(){let t=Tn[Tn.length-1];if(!t)return[];const e=[];for(;t;){const n=e[0];n&&n.vnode===t?n.recurseCount++:e.push({vnode:t,recurseCount:0});const i=t.component&&t.component.parent;t=i&&i.vnode}return e}function sD(t){const e=[];return t.forEach((n,i)=>{e.push(...i===0?[]:[`
|
|
34
|
-
`],...cD(n))}),e}function cD({vnode:t,recurseCount:e}){const n=e>0?`... (${e} recursive calls)`:"",i=t.component?t.component.parent==null:!1,r=` at <${sh(t.component,t.type,i)}`,a=">"+n;return t.props?[r,...dD(t.props),a]:[r+a]}function dD(t){const e=[],n=Object.keys(t);return n.slice(0,3).forEach(i=>{e.push(...Hf(i,t[i]))}),n.length>3&&e.push(" ..."),e}function Hf(t,e,n){return gt(e)?(e=JSON.stringify(e),n?e:[`${t}=${e}`]):typeof e=="number"||typeof e=="boolean"||e==null?n?e:[`${t}=${e}`]:je(e)?(e=Hf(t,z(e.value),!0),n?e:[`${t}=Ref<`,e,">"]):we(e)?[`${t}=fn${e.name?`<${e.name}>`:""}`]:(e=z(e),n?e:[`${t}=`,e])}const Co={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",[0]:"setup function",[1]:"render function",[2]:"watcher getter",[3]:"watcher callback",[4]:"watcher cleanup function",[5]:"native event handler",[6]:"component event handler",[7]:"vnode hook",[8]:"directive hook",[9]:"transition hook",[10]:"app errorHandler",[11]:"app warnHandler",[12]:"ref function",[13]:"async component loader",[14]:"scheduler flush",[15]:"component update",[16]:"app unmount cleanup function"};function Wa(t,e,n,i){try{return i?t(...i):t()}catch(r){Io(r,e,n)}}function wo(t,e,n,i){if(we(t)){const r=Wa(t,e,n,i);return r&&yR(r)&&r.catch(a=>{Io(a,e,n)}),r}if(oe(t)){const r=[];for(let a=0;a<t.length;a++)r.push(wo(t[a],e,n,i));return r}else process.env.NODE_ENV!=="production"&&ce(`Invalid value type passed to callWithAsyncErrorHandling(): ${typeof t}`)}function Io(t,e,n,i=!0){const r=e?e.vnode:null,{errorHandler:a,throwUnhandledErrorInProduction:u}=e&&e.appContext.config||ct;if(e){let l=e.parent;const o=e.proxy,s=process.env.NODE_ENV!=="production"?Co[n]:`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const f=l.ec;if(f){for(let c=0;c<f.length;c++)if(f[c](t,o,s)===!1)return}l=l.parent}if(a){tr(),Wa(a,null,10,[t,o,s]),nr();return}}fD(t,n,r,i,u)}function fD(t,e,n,i=!0,r=!1){if(process.env.NODE_ENV!=="production"){const a=Co[e];if(n&&uD(n),ce(`Unhandled error${a?` during execution of ${a}`:""}`),n&&lD(),i)throw t;console.error(t)}else{if(r)throw t;console.error(t)}}let qa=!1,To=!1;const dt=[];let xt=0;const li=[];let en=null,oi=0;const jf=Promise.resolve();let So=null;const hD=100;function mD(t){const e=So||jf;return t?e.then(this?t.bind(this):t):e}function vD(t){let e=qa?xt+1:0,n=dt.length;for(;e<n;){const i=e+n>>>1,r=dt[i],a=ur(r);a<t||a===t&&r.flags&2?e=i+1:n=i}return e}function Oo(t){if(!(t.flags&1)){const e=ur(t),n=dt[dt.length-1];!n||!(t.flags&2)&&e>=ur(n)?dt.push(t):dt.splice(vD(e),0,t),t.flags|=1,Wf()}}function Wf(){!qa&&!To&&(To=!0,So=jf.then(Gf))}function qf(t){oe(t)?li.push(...t):en&&t.id===-1?en.splice(oi+1,0,t):t.flags&1||(li.push(t),t.flags|=1),Wf()}function gD(t){if(li.length){const e=[...new Set(li)].sort((n,i)=>ur(n)-ur(i));if(li.length=0,en){en.push(...e);return}for(en=e,process.env.NODE_ENV!=="production"&&(t=t||new Map),oi=0;oi<en.length;oi++){const n=en[oi];process.env.NODE_ENV!=="production"&&Kf(t,n)||(n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2)}en=null,oi=0}}const ur=t=>t.id==null?t.flags&2?-1:1/0:t.id;function Gf(t){To=!1,qa=!0,process.env.NODE_ENV!=="production"&&(t=t||new Map);const e=process.env.NODE_ENV!=="production"?n=>Kf(t,n):Cn;try{for(xt=0;xt<dt.length;xt++){const n=dt[xt];if(n&&!(n.flags&8)){if(process.env.NODE_ENV!=="production"&&e(n))continue;n.flags&4&&(n.flags&=-2),Wa(n,n.i,n.i?15:14),n.flags&=-2}}}finally{for(;xt<dt.length;xt++){const n=dt[xt];n&&(n.flags&=-2)}xt=0,dt.length=0,gD(t),qa=!1,So=null,(dt.length||li.length)&&Gf(t)}}function Kf(t,e){const n=t.get(e)||0;if(n>hD){const i=e.i,r=i&&oh(i.type);return Io(`Maximum recursive updates exceeded${r?` in component <${r}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,null,10),!0}return t.set(e,n+1),!1}const Ao=new Map;process.env.NODE_ENV!=="production"&&(yf().__VUE_HMR_RUNTIME__={createRecord:Ro(yD),rerender:Ro(_D),reload:Ro(bD)});const Ga=new Map;function yD(t,e){return Ga.has(t)?!1:(Ga.set(t,{initialDef:Ka(e),instances:new Set}),!0)}function Ka(t){return ch(t)?t.__vccOpts:t}function _D(t,e){const n=Ga.get(t);!n||(n.initialDef.render=e,[...n.instances].forEach(i=>{e&&(i.render=e,Ka(i.type).render=e),i.renderCache=[],i.update()}))}function bD(t,e){const n=Ga.get(t);if(!n)return;e=Ka(e),zf(n.initialDef,e);const i=[...n.instances];for(let r=0;r<i.length;r++){const a=i[r],u=Ka(a.type);let l=Ao.get(u);l||(u!==n.initialDef&&zf(u,e),Ao.set(u,l=new Set)),l.add(a),a.appContext.propsCache.delete(a.type),a.appContext.emitsCache.delete(a.type),a.appContext.optionsCache.delete(a.type),a.ceReload?(l.add(a),a.ceReload(e.styles),l.delete(a)):a.parent?Oo(()=>{a.parent.update(),l.delete(a)}):a.appContext.reload?a.appContext.reload():typeof window!="undefined"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required."),a.root.ce&&a!==a.root&&a.root.ce._removeChildStyle(u)}qf(()=>{Ao.clear()})}function zf(t,e){it(t,e);for(const n in t)n!=="__file"&&!(n in e)&&delete t[n]}function Ro(t){return(e,n)=>{try{return t(e,n)}catch(i){console.error(i),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let si,za=[];function Xf(t,e){var n,i;si=t,si?(si.enabled=!0,za.forEach(({event:r,args:a})=>si.emit(r,...a)),za=[]):typeof window!="undefined"&&window.HTMLElement&&!((i=(n=window.navigator)==null?void 0:n.userAgent)!=null&&i.includes("jsdom"))?((e.__VUE_DEVTOOLS_HOOK_REPLAY__=e.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(a=>{Xf(a,e)}),setTimeout(()=>{si||(e.__VUE_DEVTOOLS_HOOK_REPLAY__=null,za=[])},3e3)):za=[]}let St=null,ED=null;const CD=t=>t.__isTeleport;function Jf(t,e){t.shapeFlag&6&&t.component?(t.transition=e,Jf(t.component.subTree,e)):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}/*! #__NO_SIDE_EFFECTS__ */function Do(t,e){return we(t)?(()=>it({name:t.name},e,{setup:t}))():t}function wD(t,e,n=Sn,i=!1){if(n){const r=n[t]||(n[t]=[]),a=e.__weh||(e.__weh=(...u)=>{tr();const l=lh(n),o=wo(e,n,t,u);return l(),nr(),o});return i?r.unshift(a):r.push(a),a}else if(process.env.NODE_ENV!=="production"){const r=ER(Co[t].replace(/ hook$/,""));ce(`${r} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`)}}const No=t=>(e,n=Sn)=>{(!Ya||t==="sp")&&wD(t,(...i)=>e(...i),n)},ID=No("bm"),TD=No("m"),SD=No("um"),OD=Symbol.for("v-ndc"),Po=t=>t?JD(t)?QD(t):Po(t.parent):null,lr=it(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>process.env.NODE_ENV!=="production"?Va(t.props):t.props,$attrs:t=>process.env.NODE_ENV!=="production"?Va(t.attrs):t.attrs,$slots:t=>process.env.NODE_ENV!=="production"?Va(t.slots):t.slots,$refs:t=>process.env.NODE_ENV!=="production"?Va(t.refs):t.refs,$parent:t=>Po(t.parent),$root:t=>Po(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>__VUE_OPTIONS_API__?ND(t):t.type,$forceUpdate:t=>t.f||(t.f=()=>{Oo(t.update)}),$nextTick:t=>t.n||(t.n=mD.bind(t.proxy)),$watch:t=>__VUE_OPTIONS_API__?VD.bind(t):Cn}),AD=t=>t==="_"||t==="$",Fo=(t,e)=>t!==ct&&!t.__isScriptSetup&&Ce(t,e),RD={get({_:t},e){if(e==="__v_skip")return!0;const{ctx:n,setupState:i,data:r,props:a,accessCache:u,type:l,appContext:o}=t;if(process.env.NODE_ENV!=="production"&&e==="__isVue")return!0;let s;if(e[0]!=="$"){const b=u[e];if(b!==void 0)switch(b){case 1:return i[e];case 2:return r[e];case 4:return n[e];case 3:return a[e]}else{if(Fo(i,e))return u[e]=1,i[e];if(r!==ct&&Ce(r,e))return u[e]=2,r[e];if((s=t.propsOptions[0])&&Ce(s,e))return u[e]=3,a[e];if(n!==ct&&Ce(n,e))return u[e]=4,n[e];(!__VUE_OPTIONS_API__||DD)&&(u[e]=0)}}const f=lr[e];let c,h;if(f)return e==="$attrs"?(ke(t.attrs,"get",""),process.env.NODE_ENV!=="production"&&void 0):process.env.NODE_ENV!=="production"&&e==="$slots"&&ke(t,"get",e),f(t);if((c=l.__cssModules)&&(c=c[e]))return c;if(n!==ct&&Ce(n,e))return u[e]=4,n[e];if(h=o.config.globalProperties,Ce(h,e))return h[e];process.env.NODE_ENV!=="production"&&St&&(!gt(e)||e.indexOf("__v")!==0)&&(r!==ct&&AD(e[0])&&Ce(r,e)?ce(`Property ${JSON.stringify(e)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):t===St&&ce(`Property ${JSON.stringify(e)} was accessed during render but is not defined on instance.`))},set({_:t},e,n){const{data:i,setupState:r,ctx:a}=t;return Fo(r,e)?(r[e]=n,!0):process.env.NODE_ENV!=="production"&&r.__isScriptSetup&&Ce(r,e)?(ce(`Cannot mutate <script setup> binding "${e}" from Options API.`),!1):i!==ct&&Ce(i,e)?(i[e]=n,!0):Ce(t.props,e)?(process.env.NODE_ENV!=="production"&&ce(`Attempting to mutate prop "${e}". Props are readonly.`),!1):e[0]==="$"&&e.slice(1)in t?(process.env.NODE_ENV!=="production"&&ce(`Attempting to mutate public property "${e}". Properties starting with $ are reserved and readonly.`),!1):(process.env.NODE_ENV!=="production"&&e in t.appContext.config.globalProperties?Object.defineProperty(a,e,{enumerable:!0,configurable:!0,value:n}):a[e]=n,!0)},has({_:{data:t,setupState:e,accessCache:n,ctx:i,appContext:r,propsOptions:a}},u){let l;return!!n[u]||t!==ct&&Ce(t,u)||Fo(e,u)||(l=a[0])&&Ce(l,u)||Ce(i,u)||Ce(lr,u)||Ce(r.config.globalProperties,u)},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:Ce(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};process.env.NODE_ENV!=="production"&&(RD.ownKeys=t=>(ce("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(t)));function Qf(t){return oe(t)?t.reduce((e,n)=>(e[n]=null,e),{}):t}let DD=!0;function ND(t){const e=t.type,{mixins:n,extends:i}=e,{mixins:r,optionsCache:a,config:{optionMergeStrategies:u}}=t.appContext,l=a.get(e);let o;return l?o=l:!r.length&&!n&&!i?o=e:(o={},r.length&&r.forEach(s=>Xa(o,s,u,!0)),Xa(o,e,u)),ze(e)&&a.set(e,o),o}function Xa(t,e,n,i=!1){const{mixins:r,extends:a}=e;a&&Xa(t,a,n,!0),r&&r.forEach(u=>Xa(t,u,n,!0));for(const u in e)if(i&&u==="expose")process.env.NODE_ENV!=="production"&&ce('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const l=PD[u]||n&&n[u];t[u]=l?l(t[u],e[u]):e[u]}return t}const PD={data:Zf,props:pf,emits:pf,methods:or,computed:or,beforeCreate:Je,created:Je,beforeMount:Je,mounted:Je,beforeUpdate:Je,updated:Je,beforeDestroy:Je,beforeUnmount:Je,destroyed:Je,unmounted:Je,activated:Je,deactivated:Je,errorCaptured:Je,serverPrefetch:Je,components:or,directives:or,watch:BD,provide:Zf,inject:FD};function Zf(t,e){return e?t?function(){return it(we(t)?t.call(this,this):t,we(e)?e.call(this,this):e)}:e:t}function FD(t,e){return or(Yf(t),Yf(e))}function Yf(t){if(oe(t)){const e={};for(let n=0;n<t.length;n++)e[t[n]]=t[n];return e}return t}function Je(t,e){return t?[...new Set([].concat(t,e))]:e}function or(t,e){return t?it(Object.create(null),t,e):e}function pf(t,e){return t?oe(t)&&oe(e)?[...new Set([...t,...e])]:it(Object.create(null),Qf(t),Qf(e!=null?e:{})):e}function BD(t,e){if(!t)return e;if(!e)return t;const n=it(Object.create(null),t);for(const i in e)n[i]=Je(t[i],e[i]);return n}function LD(){return{app:null,config:{isNativeTag:fR,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Bo=null;function eh(t,e,n=!1){const i=Sn||St;if(i||Bo){const r=Bo?Bo._context.provides:i?i.parent==null?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides:void 0;if(r&&t in r)return r[t];if(arguments.length>1)return n&&we(e)?e.call(i&&i.proxy):e;process.env.NODE_ENV!=="production"&&ce(`injection "${String(t)}" not found.`)}else process.env.NODE_ENV!=="production"&&ce("inject() can only be used inside setup() or functional components.")}const kD={},th=t=>Object.getPrototypeOf(t)===kD,xD=jD,MD=Symbol.for("v-scx"),$D=()=>{{const t=eh(MD);return t||process.env.NODE_ENV!=="production"&&ce("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),t}};function Lo(t,e,n){return process.env.NODE_ENV!=="production"&&!we(e)&&ce("`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."),nh(t,e,n)}function nh(t,e,n=ct){const{immediate:i,deep:r,flush:a,once:u}=n;process.env.NODE_ENV!=="production"&&!e&&(i!==void 0&&ce('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),r!==void 0&&ce('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),u!==void 0&&ce('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const l=it({},n);process.env.NODE_ENV!=="production"&&(l.onWarn=ce);let o;if(Ya)if(a==="sync"){const h=$D();o=h.__watcherHandles||(h.__watcherHandles=[])}else if(!e||i)l.once=!0;else return{stop:Cn,resume:Cn,pause:Cn};const s=Sn;l.call=(h,b,S)=>wo(h,s,b,S);let f=!1;a==="post"?l.scheduler=h=>{xD(h,s&&s.suspense)}:a!=="sync"&&(f=!0,l.scheduler=(h,b)=>{b?h():Oo(h)}),l.augmentJob=h=>{e&&(h.flags|=4),f&&(h.flags|=2,s&&(h.id=s.uid,h.i=s))};const c=aD(t,e,l);return o&&o.push(c),c}function VD(t,e,n){const i=this.proxy,r=gt(t)?t.includes(".")?UD(i,t):()=>i[t]:t.bind(i,i);let a;we(e)?a=e:(a=e.handler,n=e);const u=lh(this),l=nh(r,a.bind(i),n);return u(),l}function UD(t,e){const n=e.split(".");return()=>{let i=t;for(let r=0;r<n.length&&i;r++)i=i[n[r]];return i}}function dk(){}const HD=t=>t.__isSuspense;function jD(t,e){e&&e.pendingBranch?oe(t)?e.effects.push(...t):e.effects.push(t):qf(t)}const Ja=Symbol.for("v-fgt"),ih=Symbol.for("v-txt"),WD=Symbol.for("v-cmt");let ci=null;function ko(t){return t?t.__v_isVNode===!0:!1}const qD=(...t)=>ah(...t),rh=({key:t})=>t!=null?t:null,Qa=({ref:t,ref_key:e,ref_for:n})=>(typeof t=="number"&&(t=""+t),t!=null?gt(t)||je(t)||we(t)?{i:St,r:t,k:e,f:!!n}:t:null);function GD(t,e=null,n=null,i=0,r=null,a=t===Ja?0:1,u=!1,l=!1){const o={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&rh(e),ref:e&&Qa(e),scopeId:ED,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:i,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:St};return l?(xo(o,n),a&128&&t.normalize(o)):n&&(o.shapeFlag|=gt(n)?8:16),process.env.NODE_ENV!=="production"&&o.key!==o.key&&ce("VNode created with invalid key (NaN). VNode type:",o.type),!u&&ci&&(o.patchFlag>0||a&6)&&o.patchFlag!==32&&ci.push(o),o}const di=process.env.NODE_ENV!=="production"?qD:ah;function ah(t,e=null,n=null,i=0,r=null,a=!1){if((!t||t===OD)&&(process.env.NODE_ENV!=="production"&&!t&&ce(`Invalid vnode type when creating vnode: ${t}.`),t=WD),ko(t)){const l=Za(t,e,!0);return n&&xo(l,n),!a&&ci&&(l.shapeFlag&6?ci[ci.indexOf(t)]=l:ci.push(l)),l.patchFlag=-2,l}if(ch(t)&&(t=t.__vccOpts),e){e=KD(e);let{class:l,style:o}=e;l&&!gt(l)&&(e.class=io(l)),ze(o)&&(Ua(o)&&!oe(o)&&(o=it({},o)),e.style=no(o))}const u=gt(t)?1:HD(t)?128:CD(t)?64:ze(t)?4:we(t)?2:0;return process.env.NODE_ENV!=="production"&&u&4&&Ua(t)&&(t=z(t),ce("Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",`
|
|
35
|
-
Component that was made reactive: `,t)),GD(t,e,n,i,r,u,a,!0)}function KD(t){return t?Ua(t)||th(t)?it({},t):t:null}function Za(t,e,n=!1,i=!1){const{props:r,ref:a,patchFlag:u,children:l,transition:o}=t,s=e?XD(r||{},e):r,f={__v_isVNode:!0,__v_skip:!0,type:t.type,props:s,key:s&&rh(s),ref:e&&e.ref?n&&a?oe(a)?a.concat(Qa(e)):[a,Qa(e)]:Qa(e):a,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:process.env.NODE_ENV!=="production"&&u===-1&&oe(l)?l.map(uh):l,target:t.target,targetStart:t.targetStart,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==Ja?u===-1?16:u|16:u,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:o,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&Za(t.ssContent),ssFallback:t.ssFallback&&Za(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return o&&i&&Jf(f,o.clone(f)),f}function uh(t){const e=Za(t);return oe(t.children)&&(e.children=t.children.map(uh)),e}function zD(t=" ",e=0){return di(ih,null,t,e)}function xo(t,e){let n=0;const{shapeFlag:i}=t;if(e==null)e=null;else if(oe(e))n=16;else if(typeof e=="object")if(i&65){const r=e.default;r&&(r._c&&(r._d=!1),xo(t,r()),r._c&&(r._d=!0));return}else{n=32;const r=e._;!r&&!th(e)?e._ctx=St:r===3&&St&&(St.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else we(e)?(e={default:e,_ctx:St},n=32):(e=String(e),i&64?(n=16,e=[zD(e)]):n=8);t.children=e,t.shapeFlag|=n}function XD(...t){const e={};for(let n=0;n<t.length;n++){const i=t[n];for(const r in i)if(r==="class")e.class!==i.class&&(e.class=io([e.class,i.class]));else if(r==="style")e.style=no([e.style,i.style]);else if(hR(r)){const a=e[r],u=i[r];u&&a!==u&&!(oe(a)&&a.includes(u))&&(e[r]=a?[].concat(a,u):u)}else r!==""&&(e[r]=i[r])}return e}LD();let Sn=null;const fi=()=>Sn||St;let Mo;{const t=yf(),e=(n,i)=>{let r;return(r=t[n])||(r=t[n]=[]),r.push(i),a=>{r.length>1?r.forEach(u=>u(a)):r[0](a)}};Mo=e("__VUE_INSTANCE_SETTERS__",n=>Sn=n),e("__VUE_SSR_SETTERS__",n=>Ya=n)}const lh=t=>{const e=Sn;return Mo(t),t.scope.on(),()=>{t.scope.off(),Mo(e)}};function JD(t){return t.vnode.shapeFlag&4}let Ya=!1;process.env.NODE_ENV;function QD(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(tD(ZR(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in lr)return lr[n](t)},has(e,n){return n in e||n in lr}})):t.proxy}const ZD=/(?:^|[-_])(\w)/g,YD=t=>t.replace(ZD,e=>e.toUpperCase()).replace(/[-_]/g,"");function oh(t,e=!0){return we(t)?t.displayName||t.name:t.name||e&&t.__name}function sh(t,e,n=!1){let i=oh(e);if(!i&&e.__file){const r=e.__file.match(/([^/\\]+)\.\w+$/);r&&(i=r[1])}if(!i&&t&&t.parent){const r=a=>{for(const u in a)if(a[u]===e)return u};i=r(t.components||t.parent.type.components)||r(t.appContext.components)}return i?YD(i):n?"App":"Anonymous"}function ch(t){return we(t)&&"__vccOpts"in t}const Ot=(t,e)=>{const n=iD(t,e,Ya);if(process.env.NODE_ENV!=="production"){const i=fi();i&&i.appContext.config.warnRecursiveComputed&&(n._warnRecursive=!0)}return n};function dh(t,e,n){const i=arguments.length;return i===2?ze(e)&&!oe(e)?ko(e)?di(t,null,[e]):di(t,e):di(t,null,e):(i>3?n=Array.prototype.slice.call(arguments,2):i===3&&ko(n)&&(n=[n]),di(t,e,n))}function pD(){if(process.env.NODE_ENV==="production"||typeof window=="undefined")return;const t={style:"color:#3ba776"},e={style:"color:#1677ff"},n={style:"color:#f5222d"},i={style:"color:#eb2f96"},r={__vue_custom_formatter:!0,header(c){return ze(c)?c.__isVue?["div",t,"VueInstance"]:je(c)?["div",{},["span",t,f(c)],"<",l("_value"in c?c._value:c),">"]:ai(c)?["div",{},["span",t,Ye(c)?"ShallowReactive":"Reactive"],"<",l(c),`>${kt(c)?" (readonly)":""}`]:kt(c)?["div",{},["span",t,Ye(c)?"ShallowReadonly":"Readonly"],"<",l(c),">"]:null:null},hasBody(c){return c&&c.__isVue},body(c){if(c&&c.__isVue)return["div",{},...a(c.$)]}};function a(c){const h=[];c.type.props&&c.props&&h.push(u("props",z(c.props))),c.setupState!==ct&&h.push(u("setup",c.setupState)),c.data!==ct&&h.push(u("data",z(c.data)));const b=o(c,"computed");b&&h.push(u("computed",b));const S=o(c,"inject");return S&&h.push(u("injected",S)),h.push(["div",{},["span",{style:i.style+";opacity:0.66"},"$ (internal): "],["object",{object:c}]]),h}function u(c,h){return h=it({},h),Object.keys(h).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},c],["div",{style:"padding-left:1.25em"},...Object.keys(h).map(b=>["div",{},["span",i,b+": "],l(h[b],!1)])]]:["span",{}]}function l(c,h=!0){return typeof c=="number"?["span",e,c]:typeof c=="string"?["span",n,JSON.stringify(c)]:typeof c=="boolean"?["span",i,c]:ze(c)?["object",{object:h?z(c):c}]:["span",n,String(c)]}function o(c,h){const b=c.type;if(we(b))return;const S={};for(const I in c.ctx)s(b,I,h)&&(S[I]=c.ctx[I]);return S}function s(c,h,b){const S=c[b];if(oe(S)&&S.includes(h)||ze(S)&&h in S||c.extends&&s(c.extends,h,b)||c.mixins&&c.mixins.some(I=>s(I,h,b)))return!0}function f(c){return Ye(c)?"ShallowRef":c.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(r):window.devtoolsFormatters=[r]}process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV;/**
|
|
36
|
-
* vue v3.5.5
|
|
37
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
38
|
-
* @license MIT
|
|
39
|
-
**/function eN(){pD()}process.env.NODE_ENV!=="production"&&eN();function tN(){return fh().__VUE_DEVTOOLS_GLOBAL_HOOK__}function fh(){return typeof navigator!="undefined"&&typeof window!="undefined"?window:typeof globalThis!="undefined"?globalThis:{}}const nN=typeof Proxy=="function",iN="devtools-plugin:setup",rN="plugin:settings:set";let hi,$o;function aN(){var t;return hi!==void 0||(typeof window!="undefined"&&window.performance?(hi=!0,$o=window.performance):typeof globalThis!="undefined"&&((t=globalThis.perf_hooks)===null||t===void 0?void 0:t.performance)?(hi=!0,$o=globalThis.perf_hooks.performance):hi=!1),hi}function uN(){return aN()?$o.now():Date.now()}class lN{constructor(e,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=e,this.hook=n;const i={};if(e.settings)for(const u in e.settings){const l=e.settings[u];i[u]=l.defaultValue}const r=`__vue-devtools-plugin-settings__${e.id}`;let a=Object.assign({},i);try{const u=localStorage.getItem(r),l=JSON.parse(u);Object.assign(a,l)}catch(u){}this.fallbacks={getSettings(){return a},setSettings(u){try{localStorage.setItem(r,JSON.stringify(u))}catch(l){}a=u},now(){return uN()}},n&&n.on(rN,(u,l)=>{u===this.plugin.id&&this.fallbacks.setSettings(l)}),this.proxiedOn=new Proxy({},{get:(u,l)=>this.target?this.target.on[l]:(...o)=>{this.onQueue.push({method:l,args:o})}}),this.proxiedTarget=new Proxy({},{get:(u,l)=>this.target?this.target[l]:l==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(l)?(...o)=>(this.targetQueue.push({method:l,args:o,resolve:()=>{}}),this.fallbacks[l](...o)):(...o)=>new Promise(s=>{this.targetQueue.push({method:l,args:o,resolve:s})})})}setRealTarget(e){return Qn(this,null,function*(){this.target=e;for(const n of this.onQueue)this.target.on[n.method](...n.args);for(const n of this.targetQueue)n.resolve(yield this.target[n.method](...n.args))})}}function oN(t,e){const n=t,i=fh(),r=tN(),a=nN&&n.enableEarlyProxy;if(r&&(i.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!a))r.emit(iN,t,e);else{const u=a?new lN(n,r):null;(i.__VUE_DEVTOOLS_PLUGINS__=i.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:e,proxy:u}),u&&e(u.proxiedTarget)}}/*!
|
|
40
|
-
* vue-i18n v9.14.0
|
|
41
|
-
* (c) 2024 kazuya kawaguchi
|
|
42
|
-
* Released under the MIT License.
|
|
43
|
-
*/const sN="9.14.0";function cN(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Ft().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Ft().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Ft().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Ft().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Ft().__INTLIFY_PROD_DEVTOOLS__=!1)}const hh=Ke.__EXTEND_POINT__,Mt=Ta(hh),de={FALLBACK_TO_ROOT:hh,NOT_SUPPORTED_PRESERVE:Mt(),NOT_SUPPORTED_FORMATTER:Mt(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:Mt(),NOT_SUPPORTED_GET_CHOICE_INDEX:Mt(),COMPONENT_NAME_LEGACY_COMPATIBLE:Mt(),NOT_FOUND_PARENT_SCOPE:Mt(),IGNORE_OBJ_FLATTEN:Mt(),NOTICE_DROP_ALLOW_COMPOSITION:Mt(),NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG:Mt()},dN={[de.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[de.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[de.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[de.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[de.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[de.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[de.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[de.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[de.NOTICE_DROP_ALLOW_COMPOSITION]:"'allowComposition' option will be dropped in the next major version. For more information, please see \u{1F449} https://tinyurl.com/2p97mcze",[de.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG]:"'translateExistCompatible' option will be dropped in the next major version."};function pe(t,...e){return Qi(dN[t],...e)}const mh=Le.__EXTEND_POINT__,et=Ta(mh),X={UNEXPECTED_RETURN_TYPE:mh,INVALID_ARGUMENT:et(),MUST_BE_CALL_SETUP_TOP:et(),NOT_INSTALLED:et(),NOT_AVAILABLE_IN_LEGACY_MODE:et(),REQUIRED_VALUE:et(),INVALID_VALUE:et(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:et(),NOT_INSTALLED_WITH_PROVIDE:et(),UNEXPECTED_ERROR:et(),NOT_COMPATIBLE_LEGACY_VUE_I18N:et(),BRIDGE_SUPPORT_VUE_2_ONLY:et(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:et(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:et(),__EXTEND_POINT__:et()};function De(t,...e){return Yn(t,null,process.env.NODE_ENV!=="production"?{messages:fN,args:e}:void 0)}const fN={[X.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[X.INVALID_ARGUMENT]:"Invalid argument",[X.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[X.NOT_INSTALLED]:"Need to install with `app.use` function",[X.UNEXPECTED_ERROR]:"Unexpected error",[X.NOT_AVAILABLE_IN_LEGACY_MODE]:"Not available in legacy mode",[X.REQUIRED_VALUE]:"Required in value: {0}",[X.INVALID_VALUE]:"Invalid value",[X.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[X.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[X.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[X.BRIDGE_SUPPORT_VUE_2_ONLY]:"vue-i18n-bridge support Vue 2.x only",[X.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION]:"Must define \u2018i18n\u2019 option or custom block in Composition API with using local scope in Legacy API mode",[X.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},Vo=mt("__translateVNode"),Uo=mt("__datetimeParts"),Ho=mt("__numberParts"),On=mt("__enableEmitter"),sr=mt("__disableEmitter"),vh=mt("__setPluralRules");mt("__intlifyMeta");const gh=mt("__injectWithOption"),jo=mt("__dispose");function cr(t){if(!J(t))return t;for(const e in t)if(!!Ia(t,e))if(!e.includes("."))J(t[e])&&cr(t[e]);else{const n=e.split("."),i=n.length-1;let r=t,a=!1;for(let u=0;u<i;u++){if(n[u]in r||(r[n[u]]={}),!J(r[n[u]])){process.env.NODE_ENV!=="production"&&Re(pe(de.IGNORE_OBJ_FLATTEN,{key:n[u]})),a=!0;break}r=r[n[u]]}a||(r[n[i]]=t[e],delete t[e]),J(r[n[i]])&&cr(r[n[i]])}return t}function pa(t,e){const{messages:n,__i18n:i,messageResolver:r,flatJson:a}=e,u=j(n)?n:le(i)?{}:{[t]:{}};if(le(i)&&i.forEach(l=>{if("locale"in l&&"resource"in l){const{locale:o,resource:s}=l;o?(u[o]=u[o]||{},Oa(s,u[o])):Oa(s,u)}else M(l)&&Oa(JSON.parse(l),u)}),r==null&&a)for(const l in u)Ia(u,l)&&cr(u[l]);return u}function yh(t){return t.type}function _h(t,e,n){let i=J(e.messages)?e.messages:{};"__i18nGlobal"in n&&(i=pa(t.locale.value,{messages:i,__i18n:n.__i18nGlobal}));const r=Object.keys(i);r.length&&r.forEach(a=>{t.mergeLocaleMessage(a,i[a])});{if(J(e.datetimeFormats)){const a=Object.keys(e.datetimeFormats);a.length&&a.forEach(u=>{t.mergeDateTimeFormat(u,e.datetimeFormats[u])})}if(J(e.numberFormats)){const a=Object.keys(e.numberFormats);a.length&&a.forEach(u=>{t.mergeNumberFormat(u,e.numberFormats[u])})}}}function bh(t){return di(ih,null,t,0)}const Eh="__INTLIFY_META__",Ch=()=>[],hN=()=>!1;let wh=0;function Ih(t){return(e,n,i,r)=>t(n,i,fi()||void 0,r)}const mN=()=>{const t=fi();let e=null;return t&&(e=yh(t)[Eh])?{[Eh]:e}:null};function Wo(t={},e){const{__root:n,__injectWithOption:i}=t,r=n===void 0,a=t.flatJson,u=ht?ui:Vf,l=!!t.translateExistCompatible;process.env.NODE_ENV!=="production"&&l&&Od(pe(de.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG));let o=q(t.inheritLocale)?t.inheritLocale:!0;const s=u(n&&o?n.locale.value:M(t.locale)?t.locale:ti),f=u(n&&o?n.fallbackLocale.value:M(t.fallbackLocale)||le(t.fallbackLocale)||j(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:s.value),c=u(pa(s.value,t)),h=u(j(t.datetimeFormats)?t.datetimeFormats:{[s.value]:{}}),b=u(j(t.numberFormats)?t.numberFormats:{[s.value]:{}});let S=n?n.missingWarn:q(t.missingWarn)||Kt(t.missingWarn)?t.missingWarn:!0,I=n?n.fallbackWarn:q(t.fallbackWarn)||Kt(t.fallbackWarn)?t.fallbackWarn:!0,D=n?n.fallbackRoot:q(t.fallbackRoot)?t.fallbackRoot:!0,y=!!t.fallbackFormat,O=re(t.missing)?t.missing:null,_=re(t.missing)?Ih(t.missing):null,C=re(t.postTranslation)?t.postTranslation:null,w=n?n.warnHtmlMessage:q(t.warnHtmlMessage)?t.warnHtmlMessage:!0,A=!!t.escapeParameter;const N=n?n.modifiers:j(t.modifiers)?t.modifiers:{};let B=t.pluralRules||n&&n.pluralRules,L;L=(()=>{r&&Gd(null);const R={version:sN,locale:s.value,fallbackLocale:f.value,messages:c.value,modifiers:N,pluralRules:B,missing:_===null?void 0:_,missingWarn:S,fallbackWarn:I,fallbackFormat:y,unresolving:!0,postTranslation:C===null?void 0:C,warnHtmlMessage:w,escapeParameter:A,messageResolver:t.messageResolver,messageCompiler:t.messageCompiler,__meta:{framework:"vue"}};R.datetimeFormats=h.value,R.numberFormats=b.value,R.__datetimeFormatters=j(L)?L.__datetimeFormatters:void 0,R.__numberFormatters=j(L)?L.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(R.__v_emitter=j(L)?L.__v_emitter:void 0);const k=eR(R);return r&&Gd(k),k})(),Yi(L,s.value,f.value);function Me(){return[s.value,f.value,c.value,h.value,b.value]}const W=Ot({get:()=>s.value,set:R=>{s.value=R,L.locale=s.value}}),ye=Ot({get:()=>f.value,set:R=>{f.value=R,L.fallbackLocale=f.value,Yi(L,s.value,R)}}),Ze=Ot(()=>c.value),hn=Ot(()=>h.value),ot=Ot(()=>b.value);function mn(){return re(C)?C:null}function vn(R){C=R,L.postTranslation=R}function la(){return O}function oa(R){R!==null&&(_=Ih(R)),O=R,L.missing=_}function sa(R,k){return R!=="translate"||!k.resolvedMessage}const ft=(R,k,ee,Ee,gn,Ll)=>{Me();let qi;try{(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&Wd(mN()),r||(L.fallbackContext=n?pA():void 0),qi=R(L)}finally{(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&Wd(null),r||(L.fallbackContext=void 0)}if(ee!=="translate exists"&&Oe(qi)&&qi===Da||ee==="translate exists"&&!qi){const[Jn,ik]=k();if(process.env.NODE_ENV!=="production"&&n&&M(Jn)&&sa(ee,ik)&&(D&&(Pa(I,Jn)||zd(S,Jn))&&Re(pe(de.FALLBACK_TO_ROOT,{key:Jn,type:ee})),process.env.NODE_ENV!=="production")){const{__v_emitter:Dy}=L;Dy&&D&&Dy.emit("fallback",{type:ee,key:Jn,to:"global",groupId:`${ee}:${Jn}`})}return n&&D?Ee(n):gn(Jn)}else{if(Ll(qi))return qi;throw De(X.UNEXPECTED_RETURN_TYPE)}};function Hi(...R){return ft(k=>Reflect.apply(tf,null,[k,...R]),()=>Yl(...R),"translate",k=>Reflect.apply(k.t,k,[...R]),k=>k,k=>M(k))}function ji(...R){const[k,ee,Ee]=R;if(Ee&&!J(Ee))throw De(X.INVALID_ARGUMENT);return Hi(k,ee,Ae({resolvedMessage:!0},Ee||{}))}function ca(...R){return ft(k=>Reflect.apply(lf,null,[k,...R]),()=>pl(...R),"datetime format",k=>Reflect.apply(k.d,k,[...R]),()=>Na,k=>M(k))}function da(...R){return ft(k=>Reflect.apply(cf,null,[k,...R]),()=>eo(...R),"number format",k=>Reflect.apply(k.n,k,[...R]),()=>Na,k=>M(k))}function fa(R){return R.map(k=>M(k)||Oe(k)||q(k)?bh(String(k)):k)}const ha={normalize:fa,interpolate:R=>R,type:"vnode"};function Wi(...R){return ft(k=>{let ee;const Ee=k;try{Ee.processor=ha,ee=Reflect.apply(tf,null,[Ee,...R])}finally{Ee.processor=null}return ee},()=>Yl(...R),"translate",k=>k[Vo](...R),k=>[bh(k)],k=>le(k))}function ma(...R){return ft(k=>Reflect.apply(cf,null,[k,...R]),()=>eo(...R),"number format",k=>k[Ho](...R),Ch,k=>M(k)||le(k))}function va(...R){return ft(k=>Reflect.apply(lf,null,[k,...R]),()=>pl(...R),"datetime format",k=>k[Uo](...R),Ch,k=>M(k)||le(k))}function ga(R){B=R,L.pluralRules=B}function x(R,k){return ft(()=>{if(!R)return!1;const ee=M(k)?k:s.value,Ee=Xn(ee),gn=L.messageResolver(Ee,R);return l?gn!=null:Jt(gn)||st(gn)||M(gn)},()=>[R],"translate exists",ee=>Reflect.apply(ee.te,ee,[R,k]),hN,ee=>q(ee))}function p(R){let k=null;const ee=kd(L,f.value,s.value);for(let Ee=0;Ee<ee.length;Ee++){const gn=c.value[ee[Ee]]||{},Ll=L.messageResolver(gn,R);if(Ll!=null){k=Ll;break}}return k}function ya(R){const k=p(R);return k!=null?k:n?n.tm(R)||{}:{}}function Xn(R){return c.value[R]||{}}function _a(R,k){if(a){const ee={[R]:k};for(const Ee in ee)Ia(ee,Ee)&&cr(ee[Ee]);k=ee[R]}c.value[R]=k,L.messages=c.value}function ad(R,k){c.value[R]=c.value[R]||{};const ee={[R]:k};if(a)for(const Ee in ee)Ia(ee,Ee)&&cr(ee[Ee]);k=ee[R],Oa(k,c.value[R]),L.messages=c.value}function v(R){return h.value[R]||{}}function g(R,k){h.value[R]=k,L.datetimeFormats=h.value,sf(L,R,k)}function P(R,k){h.value[R]=Ae(h.value[R]||{},k),L.datetimeFormats=h.value,sf(L,R,k)}function $(R){return b.value[R]||{}}function he(R,k){b.value[R]=k,L.numberFormats=b.value,ff(L,R,k)}function ue(R,k){b.value[R]=Ae(b.value[R]||{},k),L.numberFormats=b.value,ff(L,R,k)}wh++,n&&ht&&(Lo(n.locale,R=>{o&&(s.value=R,L.locale=R,Yi(L,s.value,f.value))}),Lo(n.fallbackLocale,R=>{o&&(f.value=R,L.fallbackLocale=R,Yi(L,s.value,f.value))}));const ie={id:wh,locale:W,fallbackLocale:ye,get inheritLocale(){return o},set inheritLocale(R){o=R,R&&n&&(s.value=n.locale.value,f.value=n.fallbackLocale.value,Yi(L,s.value,f.value))},get availableLocales(){return Object.keys(c.value).sort()},messages:Ze,get modifiers(){return N},get pluralRules(){return B||{}},get isGlobal(){return r},get missingWarn(){return S},set missingWarn(R){S=R,L.missingWarn=S},get fallbackWarn(){return I},set fallbackWarn(R){I=R,L.fallbackWarn=I},get fallbackRoot(){return D},set fallbackRoot(R){D=R},get fallbackFormat(){return y},set fallbackFormat(R){y=R,L.fallbackFormat=y},get warnHtmlMessage(){return w},set warnHtmlMessage(R){w=R,L.warnHtmlMessage=R},get escapeParameter(){return A},set escapeParameter(R){A=R,L.escapeParameter=R},t:Hi,getLocaleMessage:Xn,setLocaleMessage:_a,mergeLocaleMessage:ad,getPostTranslationHandler:mn,setPostTranslationHandler:vn,getMissingHandler:la,setMissingHandler:oa,[vh]:ga};return ie.datetimeFormats=hn,ie.numberFormats=ot,ie.rt=ji,ie.te=x,ie.tm=ya,ie.d=ca,ie.n=da,ie.getDateTimeFormat=v,ie.setDateTimeFormat=g,ie.mergeDateTimeFormat=P,ie.getNumberFormat=$,ie.setNumberFormat=he,ie.mergeNumberFormat=ue,ie[gh]=i,ie[Vo]=Wi,ie[Uo]=va,ie[Ho]=ma,process.env.NODE_ENV!=="production"&&(ie[On]=R=>{L.__v_emitter=R},ie[sr]=()=>{L.__v_emitter=void 0}),ie}function vN(t){const e=M(t.locale)?t.locale:ti,n=M(t.fallbackLocale)||le(t.fallbackLocale)||j(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:e,i=re(t.missing)?t.missing:void 0,r=q(t.silentTranslationWarn)||Kt(t.silentTranslationWarn)?!t.silentTranslationWarn:!0,a=q(t.silentFallbackWarn)||Kt(t.silentFallbackWarn)?!t.silentFallbackWarn:!0,u=q(t.fallbackRoot)?t.fallbackRoot:!0,l=!!t.formatFallbackMessages,o=j(t.modifiers)?t.modifiers:{},s=t.pluralizationRules,f=re(t.postTranslation)?t.postTranslation:void 0,c=M(t.warnHtmlInMessage)?t.warnHtmlInMessage!=="off":!0,h=!!t.escapeParameterHtml,b=q(t.sync)?t.sync:!0;process.env.NODE_ENV!=="production"&&t.formatter&&Re(pe(de.NOT_SUPPORTED_FORMATTER)),process.env.NODE_ENV!=="production"&&t.preserveDirectiveContent&&Re(pe(de.NOT_SUPPORTED_PRESERVE_DIRECTIVE));let S=t.messages;if(j(t.sharedMessages)){const A=t.sharedMessages;S=Object.keys(A).reduce((B,L)=>{const K=B[L]||(B[L]={});return Ae(K,A[L]),B},S||{})}const{__i18n:I,__root:D,__injectWithOption:y}=t,O=t.datetimeFormats,_=t.numberFormats,C=t.flatJson,w=t.translateExistCompatible;return{locale:e,fallbackLocale:n,messages:S,flatJson:C,datetimeFormats:O,numberFormats:_,missing:i,missingWarn:r,fallbackWarn:a,fallbackRoot:u,fallbackFormat:l,modifiers:o,pluralRules:s,postTranslation:f,warnHtmlMessage:c,escapeParameter:h,messageResolver:t.messageResolver,inheritLocale:b,translateExistCompatible:w,__i18n:I,__root:D,__injectWithOption:y}}function qo(t={},e){{const n=Wo(vN(t)),{__extender:i}=t,r={id:n.id,get locale(){return n.locale.value},set locale(a){n.locale.value=a},get fallbackLocale(){return n.fallbackLocale.value},set fallbackLocale(a){n.fallbackLocale.value=a},get messages(){return n.messages.value},get datetimeFormats(){return n.datetimeFormats.value},get numberFormats(){return n.numberFormats.value},get availableLocales(){return n.availableLocales},get formatter(){return process.env.NODE_ENV!=="production"&&Re(pe(de.NOT_SUPPORTED_FORMATTER)),{interpolate(){return[]}}},set formatter(a){process.env.NODE_ENV!=="production"&&Re(pe(de.NOT_SUPPORTED_FORMATTER))},get missing(){return n.getMissingHandler()},set missing(a){n.setMissingHandler(a)},get silentTranslationWarn(){return q(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(a){n.missingWarn=q(a)?!a:a},get silentFallbackWarn(){return q(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(a){n.fallbackWarn=q(a)?!a:a},get modifiers(){return n.modifiers},get formatFallbackMessages(){return n.fallbackFormat},set formatFallbackMessages(a){n.fallbackFormat=a},get postTranslation(){return n.getPostTranslationHandler()},set postTranslation(a){n.setPostTranslationHandler(a)},get sync(){return n.inheritLocale},set sync(a){n.inheritLocale=a},get warnHtmlInMessage(){return n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(a){n.warnHtmlMessage=a!=="off"},get escapeParameterHtml(){return n.escapeParameter},set escapeParameterHtml(a){n.escapeParameter=a},get preserveDirectiveContent(){return process.env.NODE_ENV!=="production"&&Re(pe(de.NOT_SUPPORTED_PRESERVE_DIRECTIVE)),!0},set preserveDirectiveContent(a){process.env.NODE_ENV!=="production"&&Re(pe(de.NOT_SUPPORTED_PRESERVE_DIRECTIVE))},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...a){const[u,l,o]=a,s={};let f=null,c=null;if(!M(u))throw De(X.INVALID_ARGUMENT);const h=u;return M(l)?s.locale=l:le(l)?f=l:j(l)&&(c=l),le(o)?f=o:j(o)&&(c=o),Reflect.apply(n.t,n,[h,f||c||{},s])},rt(...a){return Reflect.apply(n.rt,n,[...a])},tc(...a){const[u,l,o]=a,s={plural:1};let f=null,c=null;if(!M(u))throw De(X.INVALID_ARGUMENT);const h=u;return M(l)?s.locale=l:Oe(l)?s.plural=l:le(l)?f=l:j(l)&&(c=l),M(o)?s.locale=o:le(o)?f=o:j(o)&&(c=o),Reflect.apply(n.t,n,[h,f||c||{},s])},te(a,u){return n.te(a,u)},tm(a){return n.tm(a)},getLocaleMessage(a){return n.getLocaleMessage(a)},setLocaleMessage(a,u){n.setLocaleMessage(a,u)},mergeLocaleMessage(a,u){n.mergeLocaleMessage(a,u)},d(...a){return Reflect.apply(n.d,n,[...a])},getDateTimeFormat(a){return n.getDateTimeFormat(a)},setDateTimeFormat(a,u){n.setDateTimeFormat(a,u)},mergeDateTimeFormat(a,u){n.mergeDateTimeFormat(a,u)},n(...a){return Reflect.apply(n.n,n,[...a])},getNumberFormat(a){return n.getNumberFormat(a)},setNumberFormat(a,u){n.setNumberFormat(a,u)},mergeNumberFormat(a,u){n.mergeNumberFormat(a,u)},getChoiceIndex(a,u){return process.env.NODE_ENV!=="production"&&Re(pe(de.NOT_SUPPORTED_GET_CHOICE_INDEX)),-1}};return r.__extender=i,process.env.NODE_ENV!=="production"&&(r.__enableEmitter=a=>{const u=n;u[On]&&u[On](a)},r.__disableEmitter=()=>{const a=n;a[sr]&&a[sr]()}),r}}const Go={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:t=>t==="parent"||t==="global",default:"parent"},i18n:{type:Object}};function gN({slots:t},e){return e.length===1&&e[0]==="default"?(t.default?t.default():[]).reduce((i,r)=>[...i,...r.type===Ja?r.children:[r]],[]):e.reduce((n,i)=>{const r=t[i];return r&&(n[i]=r()),n},{})}function Th(t){return Ja}const Ko=Do({name:"i18n-t",props:Ae({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:t=>Oe(t)||!isNaN(t)}},Go),setup(t,e){const{slots:n,attrs:i}=e,r=t.i18n||Qo({useScope:t.scope,__useComponent:!0});return()=>{const a=Object.keys(n).filter(c=>c!=="_"),u={};t.locale&&(u.locale=t.locale),t.plural!==void 0&&(u.plural=M(t.plural)?+t.plural:t.plural);const l=gN(e,a),o=r[Vo](t.keypath,l,u),s=Ae({},i),f=M(t.tag)||J(t.tag)?t.tag:Th();return dh(f,s,o)}}});function yN(t){return le(t)&&!M(t[0])}function Sh(t,e,n,i){const{slots:r,attrs:a}=e;return()=>{const u={part:!0};let l={};t.locale&&(u.locale=t.locale),M(t.format)?u.key=t.format:J(t.format)&&(M(t.format.key)&&(u.key=t.format.key),l=Object.keys(t.format).reduce((h,b)=>n.includes(b)?Ae({},h,{[b]:t.format[b]}):h,{}));const o=i(t.value,u,l);let s=[u.key];le(o)?s=o.map((h,b)=>{const S=r[h.type],I=S?S({[h.type]:h.value,index:b,parts:o}):[h.value];return yN(I)&&(I[0].key=`${h.type}-${b}`),I}):M(o)&&(s=[o]);const f=Ae({},a),c=M(t.tag)||J(t.tag)?t.tag:Th();return dh(c,f,s)}}const Oh=Do({name:"i18n-n",props:Ae({value:{type:Number,required:!0},format:{type:[String,Object]}},Go),setup(t,e){const n=t.i18n||Qo({useScope:t.scope,__useComponent:!0});return Sh(t,e,df,(...i)=>n[Ho](...i))}}),Ah=Do({name:"i18n-d",props:Ae({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Go),setup(t,e){const n=t.i18n||Qo({useScope:t.scope,__useComponent:!0});return Sh(t,e,of,(...i)=>n[Uo](...i))}});function _N(t,e){const n=t;if(t.mode==="composition")return n.__getInstance(e)||t.global;{const i=n.__getInstance(e);return i!=null?i.__composer:t.global.__composer}}function bN(t){const e=u=>{const{instance:l,modifiers:o,value:s}=u;if(!l||!l.$)throw De(X.UNEXPECTED_ERROR);const f=_N(t,l.$);process.env.NODE_ENV!=="production"&&o.preserve&&Re(pe(de.NOT_SUPPORTED_PRESERVE));const c=Rh(s);return[Reflect.apply(f.t,f,[...Dh(c)]),f]};return{created:(u,l)=>{const[o,s]=e(l);ht&&t.global===s&&(u.__i18nWatcher=Lo(s.locale,()=>{l.instance&&l.instance.$forceUpdate()})),u.__composer=s,u.textContent=o},unmounted:u=>{ht&&u.__i18nWatcher&&(u.__i18nWatcher(),u.__i18nWatcher=void 0,delete u.__i18nWatcher),u.__composer&&(u.__composer=void 0,delete u.__composer)},beforeUpdate:(u,{value:l})=>{if(u.__composer){const o=u.__composer,s=Rh(l);u.textContent=Reflect.apply(o.t,o,[...Dh(s)])}},getSSRProps:u=>{const[l]=e(u);return{textContent:l}}}}function Rh(t){if(M(t))return{path:t};if(j(t)){if(!("path"in t))throw De(X.REQUIRED_VALUE,"path");return t}else throw De(X.INVALID_VALUE)}function Dh(t){const{path:e,locale:n,args:i,choice:r,plural:a}=t,u={},l=i||{};return M(n)&&(u.locale=n),Oe(r)&&(u.plural=r),Oe(a)&&(u.plural=a),[e,l,u]}function EN(t,e,...n){const i=j(n[0])?n[0]:{},r=!!i.useI18nComponentName,a=q(i.globalInstall)?i.globalInstall:!0;process.env.NODE_ENV!=="production"&&a&&r&&Re(pe(de.COMPONENT_NAME_LEGACY_COMPATIBLE,{name:Ko.name})),a&&([r?"i18n":Ko.name,"I18nT"].forEach(u=>t.component(u,Ko)),[Oh.name,"I18nN"].forEach(u=>t.component(u,Oh)),[Ah.name,"I18nD"].forEach(u=>t.component(u,Ah))),t.directive("t",bN(e))}const zo={["vue-devtools-plugin-vue-i18n"]:"Vue I18n devtools",["vue-i18n-resource-inspector"]:"I18n Resources",["vue-i18n-timeline"]:"Vue I18n"},CN={["vue-i18n-resource-inspector"]:"Search for scopes ..."},wN={["vue-i18n-timeline"]:16764185},Nh="vue-i18n: composer properties";let Xo;function IN(t,e){return Qn(this,null,function*(){return new Promise((n,i)=>{try{oN({id:"vue-devtools-plugin-vue-i18n",label:zo["vue-devtools-plugin-vue-i18n"],packageName:"vue-i18n",homepage:"https://vue-i18n.intlify.dev",logo:"https://vue-i18n.intlify.dev/vue-i18n-devtools-logo.png",componentStateTypes:[Nh],app:t},r=>{Xo=r,r.on.visitComponentTree(({componentInstance:u,treeNode:l})=>{TN(u,l,e)}),r.on.inspectComponent(({componentInstance:u,instanceData:l})=>{u.vnode.el&&u.vnode.el.__VUE_I18N__&&l&&(e.mode==="legacy"?u.vnode.el.__VUE_I18N__!==e.global.__composer&&Fh(l,u.vnode.el.__VUE_I18N__):Fh(l,u.vnode.el.__VUE_I18N__))}),r.addInspector({id:"vue-i18n-resource-inspector",label:zo["vue-i18n-resource-inspector"],icon:"language",treeFilterPlaceholder:CN["vue-i18n-resource-inspector"]}),r.on.getInspectorTree(u=>{u.app===t&&u.inspectorId==="vue-i18n-resource-inspector"&&DN(u,e)});const a=new Map;r.on.getInspectorState(u=>Qn(this,null,function*(){if(u.app===t&&u.inspectorId==="vue-i18n-resource-inspector")if(r.unhighlightElement(),PN(u,e),u.nodeId==="global"){if(!a.has(u.app)){const[l]=yield r.getComponentInstances(u.app);a.set(u.app,l)}r.highlightElement(a.get(u.app))}else{const l=NN(u.nodeId,e);l&&r.highlightElement(l)}})),r.on.editInspectorState(u=>{u.app===t&&u.inspectorId==="vue-i18n-resource-inspector"&&BN(u,e)}),r.addTimelineLayer({id:"vue-i18n-timeline",label:zo["vue-i18n-timeline"],color:wN["vue-i18n-timeline"]}),n(!0)})}catch(r){console.error(r),i(!1)}})})}function Ph(t){return t.type.name||t.type.displayName||t.type.__file||"Anonymous"}function TN(t,e,n){const i=n.mode==="composition"?n.global:n.global.__composer;if(t&&t.vnode.el&&t.vnode.el.__VUE_I18N__&&t.vnode.el.__VUE_I18N__!==i){const r={label:`i18n (${Ph(t)} Scope)`,textColor:0,backgroundColor:16764185};e.tags.push(r)}}function Fh(t,e){const n=Nh;t.state.push({type:n,key:"locale",editable:!0,value:e.locale.value}),t.state.push({type:n,key:"availableLocales",editable:!1,value:e.availableLocales}),t.state.push({type:n,key:"fallbackLocale",editable:!0,value:e.fallbackLocale.value}),t.state.push({type:n,key:"inheritLocale",editable:!0,value:e.inheritLocale}),t.state.push({type:n,key:"messages",editable:!1,value:Jo(e.messages.value)}),t.state.push({type:n,key:"datetimeFormats",editable:!1,value:e.datetimeFormats.value}),t.state.push({type:n,key:"numberFormats",editable:!1,value:e.numberFormats.value})}function Jo(t){const e={};return Object.keys(t).forEach(n=>{const i=t[n];re(i)&&"source"in i?e[n]=RN(i):Jt(i)&&i.loc&&i.loc.source?e[n]=i.loc.source:J(i)?e[n]=Jo(i):e[n]=i}),e}const SN={"<":"<",">":">",'"':""","&":"&"};function ON(t){return t.replace(/[<>"&]/g,AN)}function AN(t){return SN[t]||t}function RN(t){const e=t.source?`("${ON(t.source)}")`:"(?)";return{_custom:{type:"function",display:`<span>\u0192</span> ${e}`}}}function DN(t,e){t.rootNodes.push({id:"global",label:"Global Scope"});const n=e.mode==="composition"?e.global:e.global.__composer;for(const[i,r]of e.__instances){const a=e.mode==="composition"?r:r.__composer;n!==a&&t.rootNodes.push({id:a.id.toString(),label:`${Ph(i)} Scope`})}}function NN(t,e){let n=null;if(t!=="global"){for(const[i,r]of e.__instances.entries())if(r.id.toString()===t){n=i;break}}return n}function Bh(t,e){if(t==="global")return e.mode==="composition"?e.global:e.global.__composer;{const n=Array.from(e.__instances.values()).find(i=>i.id.toString()===t);return n?e.mode==="composition"?n:n.__composer:null}}function PN(t,e){const n=Bh(t.nodeId,e);return n&&(t.state=FN(n)),null}function FN(t){const e={},n="Locale related info",i=[{type:n,key:"locale",editable:!0,value:t.locale.value},{type:n,key:"fallbackLocale",editable:!0,value:t.fallbackLocale.value},{type:n,key:"availableLocales",editable:!1,value:t.availableLocales},{type:n,key:"inheritLocale",editable:!0,value:t.inheritLocale}];e[n]=i;const r="Locale messages info",a=[{type:r,key:"messages",editable:!1,value:Jo(t.messages.value)}];e[r]=a;{const u="Datetime formats info",l=[{type:u,key:"datetimeFormats",editable:!1,value:t.datetimeFormats.value}];e[u]=l;const o="Datetime formats info",s=[{type:o,key:"numberFormats",editable:!1,value:t.numberFormats.value}];e[o]=s}return e}function dr(t,e){if(Xo){let n;e&&"groupId"in e&&(n=e.groupId,delete e.groupId),Xo.addTimelineEvent({layerId:"vue-i18n-timeline",event:{title:t,groupId:n,time:Date.now(),meta:{},data:e||{},logType:t==="compile-error"?"error":t==="fallback"||t==="missing"?"warning":"default"}})}}function BN(t,e){const n=Bh(t.nodeId,e);if(n){const[i]=t.path;i==="locale"&&M(t.state.value)?n.locale.value=t.state.value:i==="fallbackLocale"&&(M(t.state.value)||le(t.state.value)||J(t.state.value))?n.fallbackLocale.value=t.state.value:i==="inheritLocale"&&q(t.state.value)&&(n.inheritLocale=t.state.value)}}function LN(t,e,n){return{beforeCreate(){const i=fi();if(!i)throw De(X.UNEXPECTED_ERROR);const r=this.$options;if(r.i18n){const a=r.i18n;if(r.__i18n&&(a.__i18n=r.__i18n),a.__root=e,this===this.$root)this.$i18n=Lh(t,a);else{a.__injectWithOption=!0,a.__extender=n.__vueI18nExtend,this.$i18n=qo(a);const u=this.$i18n;u.__extender&&(u.__disposer=u.__extender(this.$i18n))}}else if(r.__i18n)if(this===this.$root)this.$i18n=Lh(t,r);else{this.$i18n=qo({__i18n:r.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:e});const a=this.$i18n;a.__extender&&(a.__disposer=a.__extender(this.$i18n))}else this.$i18n=t;r.__i18nGlobal&&_h(e,r,r),this.$t=(...a)=>this.$i18n.t(...a),this.$rt=(...a)=>this.$i18n.rt(...a),this.$tc=(...a)=>this.$i18n.tc(...a),this.$te=(a,u)=>this.$i18n.te(a,u),this.$d=(...a)=>this.$i18n.d(...a),this.$n=(...a)=>this.$i18n.n(...a),this.$tm=a=>this.$i18n.tm(a),n.__setInstance(i,this.$i18n)},mounted(){if((process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&!0&&this.$el&&this.$i18n){const i=this.$i18n;this.$el.__VUE_I18N__=i.__composer;const r=this.__v_emitter=Gl();i.__enableEmitter&&i.__enableEmitter(r),r.on("*",dr)}},unmounted(){const i=fi();if(!i)throw De(X.UNEXPECTED_ERROR);const r=this.$i18n;(process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&!0&&this.$el&&this.$el.__VUE_I18N__&&(this.__v_emitter&&(this.__v_emitter.off("*",dr),delete this.__v_emitter),this.$i18n&&(r.__disableEmitter&&r.__disableEmitter(),delete this.$el.__VUE_I18N__)),delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,r.__disposer&&(r.__disposer(),delete r.__disposer,delete r.__extender),n.__deleteInstance(i),delete this.$i18n}}}function Lh(t,e){t.locale=e.locale||t.locale,t.fallbackLocale=e.fallbackLocale||t.fallbackLocale,t.missing=e.missing||t.missing,t.silentTranslationWarn=e.silentTranslationWarn||t.silentFallbackWarn,t.silentFallbackWarn=e.silentFallbackWarn||t.silentFallbackWarn,t.formatFallbackMessages=e.formatFallbackMessages||t.formatFallbackMessages,t.postTranslation=e.postTranslation||t.postTranslation,t.warnHtmlInMessage=e.warnHtmlInMessage||t.warnHtmlInMessage,t.escapeParameterHtml=e.escapeParameterHtml||t.escapeParameterHtml,t.sync=e.sync||t.sync,t.__composer[vh](e.pluralizationRules||t.pluralizationRules);const n=pa(t.locale,{messages:e.messages,__i18n:e.__i18n});return Object.keys(n).forEach(i=>t.mergeLocaleMessage(i,n[i])),e.datetimeFormats&&Object.keys(e.datetimeFormats).forEach(i=>t.mergeDateTimeFormat(i,e.datetimeFormats[i])),e.numberFormats&&Object.keys(e.numberFormats).forEach(i=>t.mergeNumberFormat(i,e.numberFormats[i])),t}const kN=mt("global-vue-i18n");function xN(t={},e){const n=__VUE_I18N_LEGACY_API__&&q(t.legacy)?t.legacy:__VUE_I18N_LEGACY_API__,i=q(t.globalInjection)?t.globalInjection:!0,r=__VUE_I18N_LEGACY_API__&&n?!!t.allowComposition:!0,a=new Map,[u,l]=MN(t,n),o=mt(process.env.NODE_ENV!=="production"?"vue-i18n":"");process.env.NODE_ENV!=="production"&&n&&r&&Re(pe(de.NOTICE_DROP_ALLOW_COMPOSITION));function s(h){return a.get(h)||null}function f(h,b){a.set(h,b)}function c(h){a.delete(h)}{let b;const h={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return r},install(S,...I){return Qn(this,null,function*(){if((process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&(S.__VUE_I18N__=h),S.__VUE_I18N_SYMBOL__=o,S.provide(S.__VUE_I18N_SYMBOL__,h),j(I[0])){const O=I[0];h.__composerExtend=O.__composerExtend,h.__vueI18nExtend=O.__vueI18nExtend}let D=null;!n&&i&&(D=KN(S,h.global)),__VUE_I18N_FULL_INSTALL__&&EN(S,h,...I),__VUE_I18N_LEGACY_API__&&n&&S.mixin(LN(l,l.__composer,h));const y=S.unmount;if(S.unmount=()=>{D&&D(),h.dispose(),y()},process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__){if(!(yield IN(S,h)))throw De(X.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);const _=Gl();if(n){const C=l;C.__enableEmitter&&C.__enableEmitter(_)}else{const C=l;C[On]&&C[On](_)}_.on("*",dr)}})},get global(){return l},dispose(){u.stop()},__instances:a,__getInstance:s,__setInstance:f,__deleteInstance:c};return h}}function Qo(t={}){const e=fi();if(e==null)throw De(X.MUST_BE_CALL_SETUP_TOP);if(!e.isCE&&e.appContext.app!=null&&!e.appContext.app.__VUE_I18N_SYMBOL__)throw De(X.NOT_INSTALLED);const n=$N(e),i=UN(n),r=yh(e),a=VN(t,r);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!t.__useComponent){if(!n.allowComposition)throw De(X.NOT_AVAILABLE_IN_LEGACY_MODE);return qN(e,a,i,t)}if(a==="global")return _h(i,t,r),i;if(a==="parent"){let o=HN(n,e,t.__useComponent);return o==null&&(process.env.NODE_ENV!=="production"&&Re(pe(de.NOT_FOUND_PARENT_SCOPE)),o=i),o}const u=n;let l=u.__getInstance(e);if(l==null){const o=Ae({},t);"__i18n"in r&&(o.__i18n=r.__i18n),i&&(o.__root=i),l=Wo(o),u.__composerExtend&&(l[jo]=u.__composerExtend(l)),WN(u,e,l),u.__setInstance(e,l)}return l}function MN(t,e,n){const i=AR();{const r=__VUE_I18N_LEGACY_API__&&e?i.run(()=>qo(t)):i.run(()=>Wo(t));if(r==null)throw De(X.UNEXPECTED_ERROR);return[i,r]}}function $N(t){{const e=eh(t.isCE?kN:t.appContext.app.__VUE_I18N_SYMBOL__);if(!e)throw De(t.isCE?X.NOT_INSTALLED_WITH_PROVIDE:X.UNEXPECTED_ERROR);return e}}function VN(t,e){return wa(t)?"__i18n"in e?"local":"global":t.useScope?t.useScope:"local"}function UN(t){return t.mode==="composition"?t.global:t.global.__composer}function HN(t,e,n=!1){let i=null;const r=e.root;let a=jN(e,n);for(;a!=null;){const u=t;if(t.mode==="composition")i=u.__getInstance(a);else if(__VUE_I18N_LEGACY_API__){const l=u.__getInstance(a);l!=null&&(i=l.__composer,n&&i&&!i[gh]&&(i=null))}if(i!=null||r===a)break;a=a.parent}return i}function jN(t,e=!1){return t==null?null:e&&t.vnode.ctx||t.parent}function WN(t,e,n){let i=null;TD(()=>{if((process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&!0&&e.vnode.el){e.vnode.el.__VUE_I18N__=n,i=Gl();const r=n;r[On]&&r[On](i),i.on("*",dr)}},e),SD(()=>{const r=n;(process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&!0&&e.vnode.el&&e.vnode.el.__VUE_I18N__&&(i&&i.off("*",dr),r[sr]&&r[sr](),delete e.vnode.el.__VUE_I18N__),t.__deleteInstance(e);const a=r[jo];a&&(a(),delete r[jo])},e)}function qN(t,e,n,i={}){const r=e==="local",a=Vf(null);if(r&&t.proxy&&!(t.proxy.$options.i18n||t.proxy.$options.__i18n))throw De(X.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const u=q(i.inheritLocale)?i.inheritLocale:!M(i.locale),l=ui(!r||u?n.locale.value:M(i.locale)?i.locale:ti),o=ui(!r||u?n.fallbackLocale.value:M(i.fallbackLocale)||le(i.fallbackLocale)||j(i.fallbackLocale)||i.fallbackLocale===!1?i.fallbackLocale:l.value),s=ui(pa(l.value,i)),f=ui(j(i.datetimeFormats)?i.datetimeFormats:{[l.value]:{}}),c=ui(j(i.numberFormats)?i.numberFormats:{[l.value]:{}}),h=r?n.missingWarn:q(i.missingWarn)||Kt(i.missingWarn)?i.missingWarn:!0,b=r?n.fallbackWarn:q(i.fallbackWarn)||Kt(i.fallbackWarn)?i.fallbackWarn:!0,S=r?n.fallbackRoot:q(i.fallbackRoot)?i.fallbackRoot:!0,I=!!i.fallbackFormat,D=re(i.missing)?i.missing:null,y=re(i.postTranslation)?i.postTranslation:null,O=r?n.warnHtmlMessage:q(i.warnHtmlMessage)?i.warnHtmlMessage:!0,_=!!i.escapeParameter,C=r?n.modifiers:j(i.modifiers)?i.modifiers:{},w=i.pluralRules||r&&n.pluralRules;function A(){return[l.value,o.value,s.value,f.value,c.value]}const N=Ot({get:()=>a.value?a.value.locale.value:l.value,set:x=>{a.value&&(a.value.locale.value=x),l.value=x}}),B=Ot({get:()=>a.value?a.value.fallbackLocale.value:o.value,set:x=>{a.value&&(a.value.fallbackLocale.value=x),o.value=x}}),L=Ot(()=>a.value?a.value.messages.value:s.value),K=Ot(()=>f.value),Me=Ot(()=>c.value);function W(){return a.value?a.value.getPostTranslationHandler():y}function ye(x){a.value&&a.value.setPostTranslationHandler(x)}function Ze(){return a.value?a.value.getMissingHandler():D}function hn(x){a.value&&a.value.setMissingHandler(x)}function ot(x){return A(),x()}function mn(...x){return a.value?ot(()=>Reflect.apply(a.value.t,null,[...x])):ot(()=>"")}function vn(...x){return a.value?Reflect.apply(a.value.rt,null,[...x]):""}function la(...x){return a.value?ot(()=>Reflect.apply(a.value.d,null,[...x])):ot(()=>"")}function oa(...x){return a.value?ot(()=>Reflect.apply(a.value.n,null,[...x])):ot(()=>"")}function sa(x){return a.value?a.value.tm(x):{}}function ft(x,p){return a.value?a.value.te(x,p):!1}function Hi(x){return a.value?a.value.getLocaleMessage(x):{}}function ji(x,p){a.value&&(a.value.setLocaleMessage(x,p),s.value[x]=p)}function ca(x,p){a.value&&a.value.mergeLocaleMessage(x,p)}function da(x){return a.value?a.value.getDateTimeFormat(x):{}}function fa(x,p){a.value&&(a.value.setDateTimeFormat(x,p),f.value[x]=p)}function Bl(x,p){a.value&&a.value.mergeDateTimeFormat(x,p)}function ha(x){return a.value?a.value.getNumberFormat(x):{}}function Wi(x,p){a.value&&(a.value.setNumberFormat(x,p),c.value[x]=p)}function ma(x,p){a.value&&a.value.mergeNumberFormat(x,p)}const va={get id(){return a.value?a.value.id:-1},locale:N,fallbackLocale:B,messages:L,datetimeFormats:K,numberFormats:Me,get inheritLocale(){return a.value?a.value.inheritLocale:u},set inheritLocale(x){a.value&&(a.value.inheritLocale=x)},get availableLocales(){return a.value?a.value.availableLocales:Object.keys(s.value)},get modifiers(){return a.value?a.value.modifiers:C},get pluralRules(){return a.value?a.value.pluralRules:w},get isGlobal(){return a.value?a.value.isGlobal:!1},get missingWarn(){return a.value?a.value.missingWarn:h},set missingWarn(x){a.value&&(a.value.missingWarn=x)},get fallbackWarn(){return a.value?a.value.fallbackWarn:b},set fallbackWarn(x){a.value&&(a.value.missingWarn=x)},get fallbackRoot(){return a.value?a.value.fallbackRoot:S},set fallbackRoot(x){a.value&&(a.value.fallbackRoot=x)},get fallbackFormat(){return a.value?a.value.fallbackFormat:I},set fallbackFormat(x){a.value&&(a.value.fallbackFormat=x)},get warnHtmlMessage(){return a.value?a.value.warnHtmlMessage:O},set warnHtmlMessage(x){a.value&&(a.value.warnHtmlMessage=x)},get escapeParameter(){return a.value?a.value.escapeParameter:_},set escapeParameter(x){a.value&&(a.value.escapeParameter=x)},t:mn,getPostTranslationHandler:W,setPostTranslationHandler:ye,getMissingHandler:Ze,setMissingHandler:hn,rt:vn,d:la,n:oa,tm:sa,te:ft,getLocaleMessage:Hi,setLocaleMessage:ji,mergeLocaleMessage:ca,getDateTimeFormat:da,setDateTimeFormat:fa,mergeDateTimeFormat:Bl,getNumberFormat:ha,setNumberFormat:Wi,mergeNumberFormat:ma};function ga(x){x.locale.value=l.value,x.fallbackLocale.value=o.value,Object.keys(s.value).forEach(p=>{x.mergeLocaleMessage(p,s.value[p])}),Object.keys(f.value).forEach(p=>{x.mergeDateTimeFormat(p,f.value[p])}),Object.keys(c.value).forEach(p=>{x.mergeNumberFormat(p,c.value[p])}),x.escapeParameter=_,x.fallbackFormat=I,x.fallbackRoot=S,x.fallbackWarn=b,x.missingWarn=h,x.warnHtmlMessage=O}return ID(()=>{if(t.proxy==null||t.proxy.$i18n==null)throw De(X.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const x=a.value=t.proxy.$i18n.__composer;e==="global"?(l.value=x.locale.value,o.value=x.fallbackLocale.value,s.value=x.messages.value,f.value=x.datetimeFormats.value,c.value=x.numberFormats.value):r&&ga(x)}),va}const GN=["locale","fallbackLocale","availableLocales"],kh=["t","rt","d","n","tm","te"];function KN(t,e){const n=Object.create(null);return GN.forEach(r=>{const a=Object.getOwnPropertyDescriptor(e,r);if(!a)throw De(X.UNEXPECTED_ERROR);const u=je(a.value)?{get(){return a.value.value},set(l){a.value.value=l}}:{get(){return a.get&&a.get()}};Object.defineProperty(n,r,u)}),t.config.globalProperties.$i18n=n,kh.forEach(r=>{const a=Object.getOwnPropertyDescriptor(e,r);if(!a||!a.value)throw De(X.UNEXPECTED_ERROR);Object.defineProperty(t.config.globalProperties,`$${r}`,a)}),()=>{delete t.config.globalProperties.$i18n,kh.forEach(r=>{delete t.config.globalProperties[`$${r}`]})}}if(cN(),__INTLIFY_JIT_COMPILATION__?Vd(aR):Vd(rR),QA(NA),ZA(kd),process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const t=Ft();t.__INTLIFY__=!0,VA(t.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;const xh=(t,e)=>{var u;const n=t.split(".");let i;const r=((u=window.baitedaWorkers)==null?void 0:u.languageMessages)||{};n.forEach((l,o)=>{o===0?i=r[l]:i&&(i=i[l])});let a="";return i&&(a=i),e&&Object.keys(e).forEach(l=>{const o=e[l];a=a.replace(new RegExp(`\\{\\s*${l}\\s*\\}`),o)}),a||(a=t),a};function zN(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Mh(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 XN(t,e,n){return e&&Mh(t.prototype,e),n&&Mh(t,n),t}function JN(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var d=function(){function t(){zN(this,t)}return XN(t,null,[{key:"getMessage",value:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r;return(r=xh("engine."+n))!==null&&r!==void 0?r:this.$i18n.global.t(n,i)}},{key:"resetI18n",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:SO;return xN({locale:n,globalInjection:!0,silentFallbackWarn:!0,missingWarn:!1,fallbackWarn:!1,silentTranslationWarn:!0})}},{key:"setLocale",value:function(n,i){var r=i;i||(r=TO.zhCN),this.$i18n.global.setLocaleMessage(n,r)}}]),t}();JN(d,"$i18n",d.resetI18n());function QN(t,e,n){var i=e.replace(/\[(\d)]/g,function(a,u){return"."+u}).split("."),r=!1;return i.reduce(function(a,u,l,o){var s=a;if(!!a){if(!Object.prototype.hasOwnProperty.call(a,u)){jl("Can not set ".concat(e,"'s ").concat(u," property in current %o, Because there is no ").concat(u," property on the %o"),a,a);return}return l===o.length-1&&!Object.is(s[u],n)&&(s[u]=n,r=!0),s[u]}},t),r}var ZN=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},YN={exports:{}};(function(t){(function(e){var n=function(y,O,_){if(!s(O)||c(O)||h(O)||b(O)||o(O))return O;var C,w=0,A=0;if(f(O))for(C=[],A=O.length;w<A;w++)C.push(n(y,O[w],_));else{C={};for(var N in O)Object.prototype.hasOwnProperty.call(O,N)&&(C[y(N,_)]=n(y,O[N],_))}return C},i=function(y,O){O=O||{};var _=O.separator||"_",C=O.split||/(?=[A-Z])/;return y.split(C).join(_)},r=function(y){return S(y)?y:(y=y.replace(/[\-_\s]+(.)?/g,function(O,_){return _?_.toUpperCase():""}),y.substr(0,1).toLowerCase()+y.substr(1))},a=function(y){var O=r(y);return O.substr(0,1).toUpperCase()+O.substr(1)},u=function(y,O){return i(y,O).toLowerCase()},l=Object.prototype.toString,o=function(y){return typeof y=="function"},s=function(y){return y===Object(y)},f=function(y){return l.call(y)=="[object Array]"},c=function(y){return l.call(y)=="[object Date]"},h=function(y){return l.call(y)=="[object RegExp]"},b=function(y){return l.call(y)=="[object Boolean]"},S=function(y){return y=y-0,y===y},I=function(y,O){var _=O&&"process"in O?O.process:O;return typeof _!="function"?y:function(C,w){return _(C,y,w)}},D={camelize:r,decamelize:u,pascalize:a,depascalize:u,camelizeKeys:function(y,O){return n(I(r,O),y)},decamelizeKeys:function(y,O){return n(I(u,O),y,O)},pascalizeKeys:function(y,O){return n(I(a,O),y)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=D:e.humps=D})(ZN)})(YN);var $h={};Object.defineProperty($h,"__esModule",{value:!0});function Zo(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:Zo(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:Zo(i)}return e}}var pN=$h.default=Zo;function eP(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function _t(t){if(t!==void 0)return(typeof t=="undefined"?"undefined":eP(t))==="object"?pN(t):t}function tP(t){return Object.prototype.toString.call(t)==="[object Object]"}function Yo(t){return Array.isArray(t)}function nP(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function po(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 iP(t){if(Array.isArray(t))return po(t)}function Vh(t,e,n,i,r,a,u){try{var l=t[a](u),o=l.value}catch(s){n(s);return}l.done?e(o):Promise.resolve(o).then(i,r)}function rP(t){return function(){var e=this,n=arguments;return new Promise(function(i,r){var a=t.apply(e,n);function u(o){Vh(a,i,r,u,l,"next",o)}function l(o){Vh(a,i,r,u,l,"throw",o)}u(void 0)})}}function aP(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Uh(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 uP(t,e,n){return e&&Uh(t.prototype,e),n&&Uh(t,n),t}function Hh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function lP(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function oP(){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 es(t){return iP(t)||lP(t)||sP(t)||oP()}function sP(t,e){if(!!t){if(typeof t=="string")return po(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 po(t,e)}}function cP(t,e){var n,i,r,a,u={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(s){return function(f){return o([s,f])}}function o(s){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,i&&(r=s[0]&2?i.return:s[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,s[1])).done)return r;switch(i=0,r&&(s=[s[0]&2,r.value]),s[0]){case 0:case 1:r=s;break;case 4:return u.label++,{value:s[1],done:!1};case 5:u.label++,i=s[1],s=[0];continue;case 7:s=u.ops.pop(),u.trys.pop();continue;default:if(r=u.trys,!(r=r.length>0&&r[r.length-1])&&(s[0]===6||s[0]===2)){u=0;continue}if(s[0]===3&&(!r||s[1]>r[0]&&s[1]<r[3])){u.label=s[1];break}if(s[0]===6&&u.label<r[1]){u.label=r[1],r=s;break}if(r&&u.label<r[2]){u.label=r[2],u.ops.push(s);break}r[2]&&u.ops.pop(),u.trys.pop();continue}s=e.call(t,u)}catch(f){s=[6,f],i=0}finally{n=r=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}var dP=function(){function t(){aP(this,t),Hh(this,"_events",new Map),Hh(this,"debug",!1)}return uP(t,[{key:"emit",value:function(n){for(var i=arguments.length,r=new Array(i>1?i-1:0),a=1;a<i;a++)r[a-1]=arguments[a];var u=this;return rP(function(){var l,o,s,f,c,h,b,S,I,D,y,O;return cP(this,function(_){switch(_.label){case 0:if(l=u._events.get(n),o=[],!l)return[3,10];s=l.slice(),f=!0,c=!1,h=void 0,_.label=1;case 1:_.trys.push([1,8,9,10]),b=s[Symbol.iterator](),_.label=2;case 2:if(f=(S=b.next()).done)return[3,7];if(I=S.value,!l.includes(I))return[3,6];_.label=3;case 3:return _.trys.push([3,5,,6]),u.debug&&_d.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(I.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+I.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(r.map(function(){return"%o"}).join(","),"\u3002")].concat(es(r))),[4,I.apply(null,es(r))];case 4:return D=_.sent(),u.debug&&_d.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(I.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+I.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(r.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(es(r),[D])),o.push(D),D===!1?[3,7]:[3,6];case 5:return y=_.sent(),MO(String(y)+":"+String(y.stack)),[3,6];case 6:return f=!0,[3,2];case 7:return[3,10];case 8:return O=_.sent(),c=!0,h=O,[3,10];case 9:try{!f&&b.return!=null&&b.return()}finally{if(c)throw h}return[7];case 10:return[2,o]}})})()}},{key:"on",value:function(n,i){if(this._events.has(n)){var r;(r=this._events.get(n))===null||r===void 0||r.push(i)}else this._events.set(n,[i])}},{key:"off",value:function(n,i){if(this._events.has(n)){var r=this._events.get(n),a=r==null?void 0:r.indexOf(i);r==null||r.splice(a,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),t}();function fP(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function jh(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 hP(t,e,n){return e&&jh(t.prototype,e),n&&jh(t,n),t}function mP(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var vP=[{key:"on_click",name:d.getMessage("click"),code:"click"},{key:"on_click_finish",name:d.getMessage("finished"),code:"click-finish"},{key:"on_change",name:d.getMessage("valueChange"),code:"change"},{key:"on_search",name:d.getMessage("search"),code:"search"},{key:"on_list_change",name:d.getMessage("listDataChange"),code:"list-change"},{key:"on_list_search",name:d.getMessage("listDataCreate"),code:"list-search"},{key:"on_list_mounted",name:d.getMessage("listDataBack"),code:"list-mounted"},{key:"on_list_delete",name:d.getMessage("listDataDelete"),code:"list-delete"},{key:"on_list_before_insert",name:d.getMessage("listDataAdd"),code:"list-before-insert"},{key:"on_input",name:d.getMessage("onInput"),code:"input"},{key:"on_blur",name:d.getMessage("onBlur"),code:"blur"},{key:"on_focus",name:d.getMessage("onFocus"),code:"focus"},{key:"on_wps_open",name:d.getMessage("onOpenFile"),code:"wps-open"},{key:"on_wps_save",name:d.getMessage("onSaveFile"),code:"wps-save"},{key:"on_wps_rename",name:d.getMessage("rename"),code:"wps-rename"},{key:"on_list_actions",name:d.getMessage("onClickBtn"),code:"list-actions"},{key:"on_list_render_operation",name:d.getMessage("cellRender"),code:"list-render-operation"},{key:"on_list_rowclick",name:d.getMessage("rowClick"),code:"list-rowclick"},{key:"on_list_before_rowdelete",name:d.getMessage("rowDelete"),code:"list-before-rowdelete"},{key:"on_list_before_import",name:d.getMessage("listDataImport"),code:"list-before-import"},{key:"on_list_rows_checked",name:d.getMessage("rowSelected"),code:"list-rows-checked"},{key:"on_change_tab",name:d.getMessage("tabChange"),code:"change-tab"},{key:"on_modal_ok",name:d.getMessage("modalConfirm"),code:"modal-ok"}],gP=function(){function t(){fP(this,t)}return hP(t,null,[{key:"getEventsFromKeys",value:function(n){var i=typeof n=="string"?[n]:n;return t.events.filter(function(r){return i.includes(r.key)})}},{key:"getEventsFromControl",value:function(n){var i=[],r=n.eventKeys;i=i.concat(t.events.filter(function(u){return r.includes(u.key)}));var a=n.customEvents.map(function(u){var l=u.key;return u.namespace!==void 0&&u.namespace!==null&&u.namespace!==""&&(l=u.namespace+":"+u.key),{key:l,code:u.key,name:u.name}});return i=i.concat(a),i}}]),t}();mP(gP,"events",vP);function ts(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 yP(t){if(Array.isArray(t))return ts(t)}function _P(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function bP(){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 Wh(t){return yP(t)||_P(t)||EP(t)||bP()}function EP(t,e){if(!!t){if(typeof t=="string")return ts(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 ts(t,e)}}function ns(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function qh(t,e,n){n!=="Runtime"&&(t.parent=e,ns(t,"parent"))}function CP(t,e,n){t.forEach(function(i){qh(i,e,n)})}var Gh=Symbol("targetKey");function Kh(t){var e;return(e=t[Gh])!==null&&e!==void 0?e:t}function zh(t,e,n){return CP(t,e,n),new Proxy(t,{get:function(r,a){for(var u=arguments.length,l=new Array(u>2?u-2:0),o=2;o<u;o++)l[o-2]=arguments[o];var s;return a===Gh?r:(s=Reflect).get.apply(s,[r,a].concat(Wh(l)))},set:function(r,a,u){for(var l=arguments.length,o=new Array(l>3?l-3:0),s=3;s<l;s++)o[s-3]=arguments[s];var f;if(Yo(t)&&a==="length"&&u===t.length)return!0;var c=(f=Reflect).set.apply(f,[r,a,u].concat(Wh(o)));return tP(u)&&qh(u,e,n),c}})}function At(t,e,n,i,r){var a=i!=null?i:t,u=zh(Kh(n!=null?n:[]),a,r);Object.defineProperty(t,e,{get:function(){return u},set:function(o){u=zh(Kh(o),a,r)},enumerable:!0})}function wP(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Xh(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 IP(t,e,n){return e&&Xh(t.prototype,e),n&&Xh(t,n),t}function tn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Jh=[],eu=function(){function t(e){wP(this,t),tn(this,"registeredControlTypes",new Set),tn(this,"controlConfigMap",new Map),tn(this,"_controls",[]),tn(this,"_type",void 0),this._type=e,this._initControls(e)}return IP(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__||Ji("".concat(n.name," is not a Control"));var i=this._controls.findIndex(function(r){return r.controlType===n.controlType});return i>-1&&(jl("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===Zn.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===Zn.FORM}},{key:"isListControl",value:function(n){return n.controlType===Zn.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===Zn.COLUMN}},{key:"createControl",value:function(n,i){var r=this;if(Array.isArray(n))return n.map(function(f){return r.createControl(f,i)});if(n.children&&(n.children=n.children.map(function(f){return r.createControl(f,i)})),this.isListControl(n)){var a=n.props;a.headers&&(a.headers=a.headers.map(function(f){return r.createControl(f,i)}))}var u=this.getControlFormType(n.type);if(u){var l=n;if(typeof i=="function"){var o=i(l);o&&(l=o)}var s;return u.mode==="Runtime"?(s=l,s.fieldType=u.controlFieldType,this._setParentPrototypeToSchema(s,this)):s=new u(l),s}else Ji("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}}),ns(n,"parent")}},{key:"_setParentPrototypeToSchema",value:function(n,i){i._type==="Runtime"&&(Object.defineProperty(n,"parent",{configurable:!0,get:function(){var a=n.id,u=i._controlParentIdMap,l=i.instanceMap;if(!(!u||!l)){var o=u[a],s=l[a];if(!(!o&&!s)){var f=s.findIndex(function(b){return b==n}),c=l[o]||[],h;return c.length!==s.length?h=c[0]:h=c[f],h}}}}),ns(n,"parent"))}},{key:"createControlInstance",value:function(n,i){var r=this.getControlFormType(n);if(r)return new r(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(r){i.register(r[n]),t.staticControlsRuntimeRules.set(r.Runtime.controlType,r.Property.RuntimeRules),r.Property.mode=n})}}],[{key:"staticGetRules",value:function(n,i){var r=t.staticControlsRuntimeRules.get(n),a=[];if(r){var u=new r(i);a=Array.from(u)}return a}},{key:"register",value:function(n,i){var r=n.Designer,a=n.Runtime,u=n.Property;(!r||!a||!r.__is_control__||!a.__is_control__)&&Ji("".concat(n," is can't register as a Control"));var l=this.staticControls.findIndex(function(o){return o.Designer.controlType===r.controlType});return l>-1&&(jl("The ".concat(r.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(l,1)),this.staticRegisteredTypes.add(r.controlType),this.staticControls.push(n),u.mode=i,this}}]),t}();tn(eu,"staticControlsRuntimeRules",new Map),tn(eu,"staticControls",Jh),tn(eu,"staticRegisteredTypes",new Set(Jh.map(function(t){return t.Designer.controlType}))),tn(eu,"staticRegisteredConfigs",new Map);function se(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function U(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function E(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function tu(t){return tu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tu(t)}function bt(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&&is(t,e)}function TP(t,e){return e&&(SP(e)==="object"||typeof e=="function")?e:se(t)}function is(t,e){return is=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},is(t,e)}function SP(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function OP(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Et(t){var e=OP();return function(){var i=tu(t),r;if(e){var a=tu(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return TP(this,r)}}var Rt=function t(e){U(this,t),E(this,"dataCode",void 0),E(this,"fieldCode",void 0),E(this,"fieldType",void 0),E(this,"aliasCode",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var r;this.fieldType=(r=e==null?void 0:e.fieldType)!==null&&r!==void 0?r:"",this.aliasCode=e==null?void 0:e.aliasCode},Qh=function t(e){U(this,t),E(this,"minWidth",void 0),E(this,"maxWidth",void 0),E(this,"flex",void 0);var n;this.minWidth=(n=e==null?void 0:e.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=e==null?void 0:e.maxWidth;var i;this.flex=(i=e==null?void 0:e.flex)!==null&&i!==void 0?i:1},Zh=function t(e){U(this,t),E(this,"rowHeightType",void 0),E(this,"minRows",void 0),E(this,"maxRows",void 0),E(this,"fiexdRow",void 0);var n;this.rowHeightType=(n=e==null?void 0:e.rowHeightType)!==null&&n!==void 0?n:"fixed";var i;this.minRows=(i=e==null?void 0:e.minRows)!==null&&i!==void 0?i:4;var r;this.maxRows=(r=e==null?void 0:e.maxRows)!==null&&r!==void 0?r:20;var a;this.fiexdRow=(a=e==null?void 0:e.fiexdRow)!==null&&a!==void 0?a:4},AP=function t(e){U(this,t),E(this,"pc",void 0),E(this,"mobile",void 0),this.pc=new Zh(e==null?void 0:e.pc),this.mobile=new Zh(e==null?void 0:e.mobile)},rs=function(t){bt(n,t);var e=Et(n);function n(i){U(this,n);var r;r=e.call(this,i),E(se(r),"width",void 0),E(se(r),"widthType",void 0);var a;r.width=(a=i==null?void 0:i.width)!==null&&a!==void 0?a:240;var u;return r.widthType=(u=i==null?void 0:i.widthType)!==null&&u!==void 0?u:"auto",r}return n}(Qh),RP=function t(e){U(this,t),E(this,"pc",void 0),E(this,"mobile",void 0),this.pc=new rs(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new rs(e==null?void 0:e.mobile):new rs({width:130,minWidth:180})},DP=function t(e){U(this,t),E(this,"type",void 0),E(this,"customOptions",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"firstThree";var i;this.customOptions=(i=e==null?void 0:e.customOptions)!==null&&i!==void 0?i:[]},mi=function t(e){U(this,t),E(this,"dataCode",void 0),E(this,"formKey",void 0),E(this,"appId",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.formKey=(i=e==null?void 0:e.formKey)!==null&&i!==void 0?i:"";var r;this.appId=(r=e==null?void 0:e.appId)!==null&&r!==void 0?r:""},NP=function(t){bt(n,t);var e=Et(n);function n(i){U(this,n);var r;r=e.call(this,i),E(se(r),"primaryControlId",void 0);var a;return r.primaryControlId=(a=i==null?void 0:i.primaryControlId)!==null&&a!==void 0?a:"",r}return n}(mi),Yh=function t(e){U(this,t),E(this,"fieldCode",void 0),E(this,"dataCode",void 0);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:"";var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:""},as=function t(e){U(this,t);var n;E(this,"appId",void 0),E(this,"formKey",void 0),E(this,"headers",void 0);var i;this.appId=(i=e==null?void 0:e.appId)!==null&&i!==void 0?i:"";var r;this.formKey=(r=e==null?void 0:e.formKey)!==null&&r!==void 0?r:"";var a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(u){return new Yh(u)}))!==null&&a!==void 0?a:[]},PP=function t(e){U(this,t),E(this,"fieldName",void 0),E(this,"fieldCode",void 0),E(this,"fieldType",void 0);var n;this.fieldName=(n=e==null?void 0:e.fieldName)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var r;this.fieldType=(r=e==null?void 0:e.fieldType)!==null&&r!==void 0?r:F.VARCHAR},FP=function(t){bt(n,t);var e=Et(n);function n(i){U(this,n);var r;r=e.call(this,i),E(se(r),"title",void 0),E(se(r),"svcCode",void 0),E(se(r),"isOpenFilter",void 0),E(se(r),"filters",void 0);var a;r.title=(a=i==null?void 0:i.title)!==null&&a!==void 0?a:"";var u;r.svcCode=(u=i==null?void 0:i.svcCode)!==null&&u!==void 0?u:"";var l;r.isOpenFilter=(l=i==null?void 0:i.isOpenFilter)!==null&&l!==void 0?l:!1;var o;return r.filters=(o=i==null?void 0:i.filters)!==null&&o!==void 0?o:[],r}return n}(mi),BP=function t(e){U(this,t);var n,i;E(this,"type","sublist-page"),E(this,"formBind",void 0),E(this,"displayFields",void 0),E(this,"sublists",void 0),this.formBind=new mi(e==null?void 0:e.formBind);var r;this.displayFields=(r=e==null||(n=e.displayFields)===null||n===void 0?void 0:n.map(function(u){return new PP(u)}))!==null&&r!==void 0?r:[];var a;this.sublists=(a=e==null||(i=e.sublists)===null||i===void 0?void 0:i.map(function(u){return new FP(u)}))!==null&&a!==void 0?a:[]},LP=function t(e){U(this,t),E(this,"type",void 0),E(this,"value",void 0),E(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},fr=function t(e){U(this,t),E(this,"type",void 0),E(this,"value",void 0),E(this,"displayBos",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"custom";var i;this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:[];var r;this.displayBos=(r=e==null?void 0:e.displayBos)!==null&&r!==void 0?r:[]},us=function t(e){var n=this;U(this,t),E(this,"id",void 0),E(this,"ruleId",void 0),E(this,"type","conditions"),E(this,"level",void 0),E(this,"value",void 0),E(this,"children",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:wt();var r;this.ruleId=(r=e==null?void 0:e.ruleId)!==null&&r!==void 0?r:new Date().valueOf();var a;this.level=(a=e==null?void 0:e.level)!==null&&a!==void 0?a:0;var u;this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(function(l){if(l.children!==void 0){var o,s=new t(l);(o=n.children)===null||o===void 0||o.push(s)}else{var f,c=new nu(l);(f=n.children)===null||f===void 0||f.push(c)}}))},nu=function t(e){U(this,t),E(this,"id",void 0),E(this,"ruleId",void 0),E(this,"type","condition"),E(this,"symbol",void 0),E(this,"checked",void 0),E(this,"describe",void 0),E(this,"leftVariableBo",void 0),E(this,"rightVariableBo",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:wt();var i;this.ruleId=(i=e==null?void 0:e.ruleId)!==null&&i!==void 0?i:new Date().valueOf();var r;this.symbol=(r=e==null?void 0:e.symbol)!==null&&r!==void 0?r:"";var a;this.checked=(a=e==null?void 0:e.checked)!==null&&a!==void 0?a:!1;var u;this.describe=(u=e==null?void 0:e.describe)!==null&&u!==void 0?u:"",this.leftVariableBo=new LP(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new fr(e==null?void 0:e.rightVariableBo)},kP=function t(e){U(this,t),E(this,"aliasCode",void 0),E(this,"datasourceBind",void 0),E(this,"relationFields",void 0);var n;this.aliasCode=(n=e==null?void 0:e.aliasCode)!==null&&n!==void 0?n:"",this.datasourceBind=new We(e==null?void 0:e.datasourceBind);var i;this.relationFields=(i=e==null?void 0:e.relationFields)!==null&&i!==void 0?i:[]},tt=function t(e){U(this,t),E(this,"controlId",void 0),E(this,"fieldCode",void 0),E(this,"fieldType",void 0),E(this,"propName",void 0);var n;this.controlId=(n=e==null?void 0:e.controlId)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var r;this.fieldType=(r=e==null?void 0:e.fieldType)!==null&&r!==void 0?r:"";var a;this.propName=(a=e==null?void 0:e.propName)!==null&&a!==void 0?a:""},ls=function t(e){U(this,t),E(this,"type",void 0),E(this,"value",void 0),E(this,"fieldType",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"FIELD";var i;this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:"",this.fieldType=e==null?void 0:e.fieldType},xP=function t(e){U(this,t),E(this,"columnName",void 0),E(this,"desc",void 0);var n;this.columnName=(n=e.columnName)!==null&&n!==void 0?n:"";var i;this.desc=(i=e.desc)!==null&&i!==void 0?i:!1};function os(t){var e,n,i,r;this.filters=(r=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(l){return l.children!==void 0?new us(l):new nu(l)}))!==null&&r!==void 0?r:[];var a;this.viewFilters=(a=t==null||(n=t.viewFilters)===null||n===void 0?void 0:n.map(function(l){return l.children!==void 0?new us(l):new nu(l)}))!==null&&a!==void 0?a:[];var u;this.orders=(u=t==null||(i=t.orders)===null||i===void 0?void 0:i.map(function(l){return new xP(l)}))!==null&&u!==void 0?u:[]}var We=function t(e){var n=this;U(this,t),E(this,"dataCode",void 0),E(this,"valueFieldCode",void 0),E(this,"displayBoList",void 0),E(this,"keywordMapping",void 0),E(this,"svcCode",void 0),E(this,"appId",void 0),E(this,"filters",void 0),E(this,"viewFilters",void 0),E(this,"isOpenViewFilters",void 0),E(this,"orders",void 0),E(this,"showOrder",void 0);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var r;this.appId=(r=e==null?void 0:e.appId)!==null&&r!==void 0?r:"";var a;this.valueFieldCode=(a=e==null?void 0:e.valueFieldCode)!==null&&a!==void 0?a:"",this.displayBoList=[];var u;this.isOpenViewFilters=(u=e==null?void 0:e.isOpenViewFilters)!==null&&u!==void 0?u:0,Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(function(f){var c;(c=n.displayBoList)===null||c===void 0||c.push(new ls(f))}));var l;this.keywordMapping=(l=e==null?void 0:e.keywordMapping)!==null&&l!==void 0?l:"";var o;this.showOrder=(o=e==null?void 0:e.showOrder)!==null&&o!==void 0?o:!0;var s;this.svcCode=(s=e==null?void 0:e.svcCode)!==null&&s!==void 0?s:"",os.call(this,e)},ss=function t(e){U(this,t),E(this,"dataCode",void 0),E(this,"displayBoList",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.displayBoList=(i=e==null?void 0:e.displayBoList)!==null&&i!==void 0?i:[]},$t=function t(e){U(this,t),E(this,"code",void 0),E(this,"color",void 0),E(this,"command",void 0),E(this,"confirmMessage",void 0),E(this,"defaultState",void 0),E(this,"formKey",void 0),E(this,"formType",void 0),E(this,"icon",void 0),E(this,"needConfirm",void 0),E(this,"openType",void 0),E(this,"priorityProcess",void 0);var n;this.code=(n=e==null?void 0:e.code)!==null&&n!==void 0?n:"view";var i;this.color=(i=e==null?void 0:e.color)!==null&&i!==void 0?i:"primary";var r;this.command=(r=e==null?void 0:e.command)!==null&&r!==void 0?r:"view";var a;this.confirmMessage=(a=e==null?void 0:e.confirmMessage)!==null&&a!==void 0?a:void 0;var u;this.defaultState=(u=e==null?void 0:e.defaultState)!==null&&u!==void 0?u:"default";var l;this.formKey=(l=e==null?void 0:e.formKey)!==null&&l!==void 0?l:void 0,this.formType=e==null?void 0:e.formType;var o;this.icon=(o=e==null?void 0:e.icon)!==null&&o!==void 0?o:"iconliulan1";var s;this.needConfirm=(s=e==null?void 0:e.needConfirm)!==null&&s!==void 0?s:!1;var f;this.openType=(f=e==null?void 0:e.openType)!==null&&f!==void 0?f:"modal";var c;this.priorityProcess=(c=e==null?void 0:e.priorityProcess)!==null&&c!==void 0?c:!0},ph=function t(e){U(this,t);var n;E(this,"name",void 0),E(this,"key",void 0),E(this,"value",void 0);var i;this.name=(i=e==null?void 0:e.name)!==null&&i!==void 0?i:"";var r;this.key=(r=e==null?void 0:e.key)!==null&&r!==void 0?r:"";var a;this.value=(a=e==null||(n=e.value)===null||n===void 0?void 0:n.map(function(u){return new ls(u)}))!==null&&a!==void 0?a:[]},iu=function(t){bt(n,t);var e=Et(n);function n(i){U(this,n);var r,a;r=e.call(this,i),E(se(r),"attributes",void 0);var u;return r.attributes=(u=i==null||(a=i.attributes)===null||a===void 0?void 0:a.map(function(l){return new ph(l)}))!==null&&u!==void 0?u:[],r}return n}(We),MP=function(t){bt(n,t);var e=Et(n);function n(i){U(this,n);var r,a;r=e.call(this,i),E(se(r),"attributes",void 0),E(se(r),"formCode",void 0);var u;r.attributes=(u=i==null||(a=i.attributes)===null||a===void 0?void 0:a.map(function(o){return new ph(o)}))!==null&&u!==void 0?u:[];var l;return r.formCode=(l=i==null?void 0:i.formCode)!==null&&l!==void 0?l:"",r}return n}(We),em=function(t){bt(n,t);var e=Et(n);function n(i){U(this,n);var r;r=e.call(this,i),E(se(r),"rootNode",void 0),E(se(r),"filterCode",void 0),r.rootNode=new fr(i==null?void 0:i.rootNode);var a;return r.filterCode=(a=i==null?void 0:i.filterCode)!==null&&a!==void 0?a:"",r}return n}(iu),tm=function t(e){U(this,t);var n;E(this,"dataCode",void 0),E(this,"appId",void 0),E(this,"fillList",void 0);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var r;this.appId=(r=e==null?void 0:e.appId)!==null&&r!==void 0?r:"";var a;this.fillList=(a=e==null||(n=e.fillList)===null||n===void 0?void 0:n.map(function(u){return new tt(u)}))!==null&&a!==void 0?a:[]},nm=function(t){bt(n,t);var e=Et(n);function n(i){U(this,n);var r;return r=e.call(this,i),E(se(r),"filters",void 0),E(se(r),"viewFilters",void 0),E(se(r),"orders",void 0),os.call(se(r),i),r}return n}(tm),im=function(t){bt(n,t);var e=Et(n);function n(i){U(this,n);var r;r=e.call(this,i),E(se(r),"mode",void 0),E(se(r),"multiple",void 0);var a;r.mode=(a=i==null?void 0:i.mode)!==null&&a!==void 0?a:"current";var u;return r.multiple=(u=i==null?void 0:i.multiple)!==null&&u!==void 0?u:!1,r}return n}(tm),rm=function t(e){U(this,t),E(this,"stencilName",void 0),E(this,"expression",void 0),E(this,"errMessage",void 0);var n;this.stencilName=(n=e==null?void 0:e.stencilName)!==null&&n!==void 0?n:"";var i;this.expression=(i=e==null?void 0:e.expression)!==null&&i!==void 0?i:"";var r;this.errMessage=(r=e==null?void 0:e.errMessage)!==null&&r!==void 0?r:""},$P=function t(e){U(this,t),E(this,"id",void 0),E(this,"label",void 0),E(this,"value",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:wt(8);var i;this.label=(i=e==null?void 0:e.label)!==null&&i!==void 0?i:"";var r;this.value=(r=e==null?void 0:e.value)!==null&&r!==void 0?r:this.label};function Vt(t){var e;return(e=t==null?void 0:t.map(function(n){return new $P(n)}))!==null&&e!==void 0?e:[]}var cs=function t(){U(this,t)},VP=function(t){bt(n,t);var e=Et(n);function n(i){U(this,n);var r;return r=e.call(this),E(se(r),"amount",void 0),E(se(r),"currency",void 0),r.amount=new Rt(i==null?void 0:i.amount),r.currency=new Rt(i==null?void 0:i.currency),r}return n}(cs),UP=function t(e){U(this,t),E(this,"amount",void 0),E(this,"currency",void 0);var n;this.amount=(n=e==null?void 0:e.amount)!==null&&n!==void 0?n:"";var i;this.currency=(i=e==null?void 0:e.currency)!==null&&i!==void 0?i:"CNY"},HP=function(t){bt(n,t);var e=Et(n);function n(i){U(this,n);var r;return r=e.call(this),E(se(r),"min",void 0),E(se(r),"max",void 0),r.min=new Rt(i==null?void 0:i.min),r.max=new Rt(i==null?void 0:i.max),r}return n}(cs),jP=function t(e){U(this,t),E(this,"min",void 0),E(this,"max",void 0);var n;this.min=(n=e==null?void 0:e.min)!==null&&n!==void 0?n:"";var i;this.max=(i=e==null?void 0:e.max)!==null&&i!==void 0?i:""},WP=function t(e){U(this,t),E(this,"city",void 0),E(this,"cityDisplay",void 0),E(this,"district",void 0),E(this,"districtDisplay",void 0),E(this,"province",void 0),E(this,"provinceDisplay",void 0);var n;this.city=(n=e==null?void 0:e.city)!==null&&n!==void 0?n:"";var i;this.cityDisplay=(i=e==null?void 0:e.cityDisplay)!==null&&i!==void 0?i:"";var r;this.district=(r=e==null?void 0:e.district)!==null&&r!==void 0?r:"";var a;this.districtDisplay=(a=e==null?void 0:e.districtDisplay)!==null&&a!==void 0?a:"";var u;this.province=(u=e==null?void 0:e.province)!==null&&u!==void 0?u:"";var l;this.provinceDisplay=(l=e==null?void 0:e.provinceDisplay)!==null&&l!==void 0?l:""},qP=function(t){bt(n,t);var e=Et(n);function n(i){U(this,n);var r;return r=e.call(this),E(se(r),"result",void 0),E(se(r),"unit",void 0),r.result=new Rt(i==null?void 0:i.result),r.unit=new Rt(i==null?void 0:i.unit),r}return n}(cs),GP=function t(e){U(this,t),E(this,"result",void 0),E(this,"unit",void 0);var n;this.result=(n=e==null?void 0:e.result)!==null&&n!==void 0?n:0;var i;this.unit=(i=e==null?void 0:e.unit)!==null&&i!==void 0?i:""},ds;(function(t){t.CNY="CNY",t.USD="USD",t.JPY="JPY",t.EUR="EUR",t.INR="INR",t.IDR="IDR",t.BRL="BRL",t.AED="AED",t.AUD="AUD",t.CAD="CAD",t.EGP="EGP",t.GBP="GBP",t.ZAR="ZAR",t.KRW="KRW",t.MAD="MAD",t.MXN="MXN",t.MYR="MYR",t.PHP="PHP",t.PLN="PLN",t.RUB="RUB",t.SGD="SGD",t.THB="THB",t.TRY="TRY",t.TWD="TWD",t.VND="VND",t.HKD="HKD",t.IEP="IEP"})(ds||(ds={}));var m;(function(t){t.DEFAULT_DISPLAY="defaultDisplay",t.REQUIRED="required",t.IS_HIDE="isHide",t.IS_SHOW_UNIT="isShowUnit",t.IMD_SEARCH="immediatelySearch",t.MULTIPLE="multiple",t.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",t.CAPTION="caption",t.IS_HIDE_CAPTION="isHideCaption",t.DEFAULT_SHOW_OPTIONS="defaultShowOptions",t.CAN_SEARCH="canSearch",t.CAN_CHECK="canCheck",t.CAN_EDIT="canEdit",t.CAN_DELETE="canDelete",t.SHOW_UPPER_CASE="showUpperCase",t.MICROMETER="micrometer",t.PRECISION="precision",t.PERCENTAGE="percentage",t.OPTIONAL_LEVEL="optionalLevel",t.CONTAINS_SUB_NODE="containsSubNode",t.DEFAULT_COLLAPSE="defaultCollapse",t.CAN_VIEW_FORM="canViewForm",t.VIEW_FORM_MODEL_TYPE="viewFormModelType",t.SERVER_PAGINATION="serverPagination",t.IS_SHOW_CAPTION_TIP="isShowCaptionTip",t.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"})(m||(m={}));var fs;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(fs||(fs={}));var nn=function t(e){U(this,t),E(this,"isShow",void 0),E(this,"priorityProcess",void 0),E(this,"formKey",void 0),E(this,"content",void 0),E(this,"openType",void 0),E(this,"type",void 0);var n;this.isShow=(n=e==null?void 0:e.isShow)!==null&&n!==void 0?n:!0;var i;this.content=(i=e==null?void 0:e.content)!==null&&i!==void 0?i:"";var r;this.formKey=(r=e==null?void 0:e.formKey)!==null&&r!==void 0?r:"";var a;this.openType=(a=e==null?void 0:e.openType)!==null&&a!==void 0?a:"modal";var u;this.type=(u=e==null?void 0:e.type)!==null&&u!==void 0?u:"";var l;this.priorityProcess=(l=e==null?void 0:e.priorityProcess)!==null&&l!==void 0?l:!1},KP=function t(e){U(this,t);var n;E(this,"id",void 0),E(this,"title",void 0),E(this,"filters",void 0),E(this,"viewFilters",void 0),E(this,"headers",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:wt(8);var r;this.title=(r=e==null?void 0:e.title)!==null&&r!==void 0?r:"";var a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(u){return new Yh(u)}))!==null&&a!==void 0?a:[],os.call(this,e)},zP=function t(e){U(this,t),E(this,"width",void 0),E(this,"height",void 0),E(this,"widthConfig",void 0),E(this,"heightConfig",void 0);var n;this.width=(n=e==null?void 0:e.width)!==null&&n!==void 0?n:"";var i;this.height=(i=e==null?void 0:e.height)!==null&&i!==void 0?i:"";var r;this.widthConfig=(r=e==null?void 0:e.widthConfig)!==null&&r!==void 0?r:"fill";var a;this.heightConfig=(a=e==null?void 0:e.heightConfig)!==null&&a!==void 0?a:"fill"},XP=function t(e){U(this,t),E(this,"optCode",void 0),E(this,"optType",void 0);var n;this.optCode=(n=e==null?void 0:e.optCode)!==null&&n!==void 0?n:"";var i;this.optType=(i=e==null?void 0:e.optType)!==null&&i!==void 0?i:""},JP=function t(e){U(this,t);var n,i;E(this,"id",void 0),E(this,"name",void 0),E(this,"settings",void 0),E(this,"filters",void 0),E(this,"script",void 0);var r;this.id=(r=e==null?void 0:e.id)!==null&&r!==void 0?r:wt();var a;this.name=(a=e==null?void 0:e.name)!==null&&a!==void 0?a:"";var u;this.filters=(u=e==null||(n=e.filters)===null||n===void 0?void 0:n.map(function(o){return o.children!==void 0?new us(o):new nu(o)}))!==null&&u!==void 0?u:[];var l;this.settings=(e==null?void 0:e.settings)&&Array.isArray(e==null?void 0:e.settings)?(l=e==null||(i=e.settings)===null||i===void 0?void 0:i.map(function(o){return new QP(o)}))!==null&&l!==void 0?l:[]:[],this.script=e==null?void 0:e.script},QP=function t(e){U(this,t),E(this,"color",void 0),E(this,"fieldCodes",void 0),E(this,"type",void 0),E(this,"scope",void 0);var n;this.type=(n=e.type)!==null&&n!==void 0?n:"background";var i;this.fieldCodes=(i=e.fieldCodes)!==null&&i!==void 0?i:[];var r;this.color=(r=e.color)!==null&&r!==void 0?r:"theme";var a;this.scope=(a=e.scope)!==null&&a!==void 0?a:"row"},ZP=function t(e){U(this,t);var n;E(this,"type",void 0),E(this,"interval",void 0),E(this,"rules",void 0);var i;this.type=(i=e==null?void 0:e.type)!==null&&i!==void 0?i:"none";var r;this.interval=(r=e==null?void 0:e.interval)!==null&&r!==void 0?r:{color:""};var a;this.rules=(e==null?void 0:e.rules)&&Array.isArray(e==null?void 0:e.rules)?(a=e==null||(n=e.rules)===null||n===void 0?void 0:n.map(function(u){return new JP(u)}))!==null&&a!==void 0?a:[]:[]};function YP(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function hs(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ru(t,e,n){return am()?ru=Reflect.construct:ru=function(r,a,u){var l=[null];l.push.apply(l,a);var o=Function.bind.apply(r,l),s=new o;return u&&mr(s,u.prototype),s},ru.apply(null,arguments)}function Ut(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function hr(t){return hr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hr(t)}function pP(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&&mr(t,e)}function e5(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function t5(t,e){return e&&(n5(e)==="object"||typeof e=="function")?e:YP(t)}function mr(t,e){return mr=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},mr(t,e)}function n5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ms(t){var e=typeof Map=="function"?new Map:void 0;return ms=function(i){if(i===null||!e5(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,r)}function r(){return ru(i,arguments,hr(this).constructor)}return r.prototype=Object.create(i.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),mr(r,i)},ms(t)}function am(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function i5(t){var e=am();return function(){var i=hr(t),r;if(e){var a=hr(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return t5(this,r)}}var Ne=function t(e){hs(this,t),Ut(this,"isHide",{type:"boolean"})},An=function(t){pP(n,t);var e=i5(n);function n(i){return hs(this,n),e.call(this)}return n}(ms(Array)),Pe=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";hs(this,t),Ut(this,"isHide",void 0),Ut(this,"className",void 0),Ut(this,"style",void 0),Ut(this,"caption",void 0),Ut(this,"defaultState",void 0);var i;this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new zP(e==null?void 0:e.style);var r;this.caption=(r=e==null?void 0:e.caption)!==null&&r!==void 0?r:n};Ut(Pe,"mode",void 0),Ut(Pe,"Rules",Ne),Ut(Pe,"RuntimeRules",An);function Dt(){return Dt=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},Dt.apply(this,arguments)}function r5(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function vs(t){return vs=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vs(t)}function au(t,e){return au=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},au(t,e)}function a5(){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 uu(t,e,n){return a5()?uu=Reflect.construct:uu=function(r,a,u){var l=[null];l.push.apply(l,a);var o=Function.bind.apply(r,l),s=new o;return u&&au(s,u.prototype),s},uu.apply(null,arguments)}function u5(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function gs(t){var e=typeof Map=="function"?new Map:void 0;return gs=function(i){if(i===null||!u5(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,r)}function r(){return uu(i,arguments,vs(this).constructor)}return r.prototype=Object.create(i.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),au(r,i)},gs(t)}var l5=/%[sdj%]/g,um=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(um=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function ys(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 at(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=1,r=e[0],a=e.length;if(typeof r=="function")return r.apply(null,e.slice(1));if(typeof r=="string"){var u=String(r).replace(l5,function(l){if(l==="%%")return"%";if(i>=a)return l;switch(l){case"%s":return String(e[i++]);case"%d":return Number(e[i++]);case"%j":try{return JSON.stringify(e[i++])}catch(o){return"[Circular]"}break;default:return l}});return u}return r}function o5(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function Fe(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||o5(e)&&typeof t=="string"&&!t)}function s5(t,e,n){var i=[],r=0,a=t.length;function u(l){i.push.apply(i,l),r++,r===a&&n(i)}t.forEach(function(l){e(l,u)})}function lm(t,e,n){var i=0,r=t.length;function a(u){if(u&&u.length){n(u);return}var l=i;i=i+1,l<r?e(t[l],a):n([])}a([])}function c5(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var om=function(t){r5(e,t);function e(n,i){var r;return r=t.call(this,"Async Validation Error")||this,r.errors=n,r.fields=i,r}return e}(gs(Error));function d5(t,e,n,i){if(e.first){var r=new Promise(function(c,h){var b=function(D){return i(D),D.length?h(new om(D,ys(D))):c()},S=c5(t);lm(S,n,b)});return r.catch(function(c){return c}),r}var a=e.firstFields||[];a===!0&&(a=Object.keys(t));var u=Object.keys(t),l=u.length,o=0,s=[],f=new Promise(function(c,h){var b=function(I){if(s.push.apply(s,I),o++,o===l)return i(s),s.length?h(new om(s,ys(s))):c()};u.length||(i(s),c()),u.forEach(function(S){var I=t[S];a.indexOf(S)!==-1?lm(I,n,b):s5(I,n,b)})});return f.catch(function(c){return c}),f}function sm(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 cm(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]=Dt(Dt({},t[n]),i):t[n]=i}}return t}function dm(t,e,n,i,r,a){t.required&&(!n.hasOwnProperty(t.field)||Fe(e,a||t.type))&&i.push(at(r.messages.required,t.fullField))}function f5(t,e,n,i,r){(/^\s+$/.test(e)||e==="")&&i.push(at(r.messages.whitespace,t.fullField))}var _s={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},vr={integer:function(e){return vr.number(e)&&parseInt(e,10)===e},float:function(e){return vr.number(e)&&!vr.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"&&!vr.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(_s.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(_s.url)},hex:function(e){return typeof e=="string"&&!!e.match(_s.hex)}};function h5(t,e,n,i,r){if(t.required&&e===void 0){dm(t,e,n,i,r);return}var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],u=t.type;a.indexOf(u)>-1?vr[u](e)||i.push(at(r.messages.types[u],t.fullField,t.type)):u&&typeof e!==t.type&&i.push(at(r.messages.types[u],t.fullField,t.type))}function m5(t,e,n,i,r){var a=typeof t.len=="number",u=typeof t.min=="number",l=typeof t.max=="number",o=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,s=e,f=null,c=typeof e=="number",h=typeof e=="string",b=Array.isArray(e);if(c?f="number":h?f="string":b&&(f="array"),!f)return!1;b&&(s=e.length),h&&(s=e.replace(o,"_").length),a?s!==t.len&&i.push(at(r.messages[f].len,t.fullField,t.len)):u&&!l&&s<t.min?i.push(at(r.messages[f].min,t.fullField,t.min)):l&&!u&&s>t.max?i.push(at(r.messages[f].max,t.fullField,t.max)):u&&l&&(s<t.min||s>t.max)&&i.push(at(r.messages[f].range,t.fullField,t.min,t.max))}var vi="enum";function v5(t,e,n,i,r){t[vi]=Array.isArray(t[vi])?t[vi]:[],t[vi].indexOf(e)===-1&&i.push(at(r.messages[vi],t.fullField,t[vi].join(", ")))}function g5(t,e,n,i,r){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(at(r.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var a=new RegExp(t.pattern);a.test(e)||i.push(at(r.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var G={required:dm,whitespace:f5,type:h5,range:m5,enum:v5,pattern:g5};function y5(t,e,n,i,r){var a=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(Fe(e,"string")&&!t.required)return n();G.required(t,e,i,a,r,"string"),Fe(e,"string")||(G.type(t,e,i,a,r),G.range(t,e,i,a,r),G.pattern(t,e,i,a,r),t.whitespace===!0&&G.whitespace(t,e,i,a,r))}n(a)}function _5(t,e,n,i,r){var a=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(Fe(e)&&!t.required)return n();G.required(t,e,i,a,r),e!==void 0&&G.type(t,e,i,a,r)}n(a)}function b5(t,e,n,i,r){var a=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(e===""&&(e=void 0),Fe(e)&&!t.required)return n();G.required(t,e,i,a,r),e!==void 0&&(G.type(t,e,i,a,r),G.range(t,e,i,a,r))}n(a)}function E5(t,e,n,i,r){var a=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(Fe(e)&&!t.required)return n();G.required(t,e,i,a,r),e!==void 0&&G.type(t,e,i,a,r)}n(a)}function C5(t,e,n,i,r){var a=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(Fe(e)&&!t.required)return n();G.required(t,e,i,a,r),Fe(e)||G.type(t,e,i,a,r)}n(a)}function w5(t,e,n,i,r){var a=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(Fe(e)&&!t.required)return n();G.required(t,e,i,a,r),e!==void 0&&(G.type(t,e,i,a,r),G.range(t,e,i,a,r))}n(a)}function I5(t,e,n,i,r){var a=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(Fe(e)&&!t.required)return n();G.required(t,e,i,a,r),e!==void 0&&(G.type(t,e,i,a,r),G.range(t,e,i,a,r))}n(a)}function T5(t,e,n,i,r){var a=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(e==null&&!t.required)return n();G.required(t,e,i,a,r,"array"),e!=null&&(G.type(t,e,i,a,r),G.range(t,e,i,a,r))}n(a)}function S5(t,e,n,i,r){var a=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(Fe(e)&&!t.required)return n();G.required(t,e,i,a,r),e!==void 0&&G.type(t,e,i,a,r)}n(a)}var O5="enum";function A5(t,e,n,i,r){var a=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(Fe(e)&&!t.required)return n();G.required(t,e,i,a,r),e!==void 0&&G[O5](t,e,i,a,r)}n(a)}function R5(t,e,n,i,r){var a=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(Fe(e,"string")&&!t.required)return n();G.required(t,e,i,a,r),Fe(e,"string")||G.pattern(t,e,i,a,r)}n(a)}function D5(t,e,n,i,r){var a=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(Fe(e,"date")&&!t.required)return n();if(G.required(t,e,i,a,r),!Fe(e,"date")){var l;e instanceof Date?l=e:l=new Date(e),G.type(t,l,i,a,r),l&&G.range(t,l.getTime(),i,a,r)}}n(a)}function N5(t,e,n,i,r){var a=[],u=Array.isArray(e)?"array":typeof e;G.required(t,e,i,a,r,u),n(a)}function bs(t,e,n,i,r){var a=t.type,u=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(Fe(e,a)&&!t.required)return n();G.required(t,e,i,u,r,a),Fe(e,a)||G.type(t,e,i,u,r)}n(u)}function P5(t,e,n,i,r){var a=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(Fe(e)&&!t.required)return n();G.required(t,e,i,a,r)}n(a)}var gr={string:y5,method:_5,number:b5,boolean:E5,regexp:C5,integer:w5,float:I5,array:T5,object:S5,enum:A5,pattern:R5,date:D5,url:bs,hex:bs,email:bs,required:N5,any:P5};function Es(){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 Cs=Es();function rn(t){this.rules=null,this._messages=Cs,this.define(t)}rn.prototype={messages:function(e){return e&&(this._messages=cm(Es(),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 r=this;n===void 0&&(n={}),i===void 0&&(i=function(){});var a=e,u=n,l=i;if(typeof u=="function"&&(l=u,u={}),!this.rules||Object.keys(this.rules).length===0)return l&&l(),Promise.resolve();function o(I){var D,y=[],O={};function _(C){if(Array.isArray(C)){var w;y=(w=y).concat.apply(w,C)}else y.push(C)}for(D=0;D<I.length;D++)_(I[D]);y.length?O=ys(y):(y=null,O=null),l(y,O)}if(u.messages){var s=this.messages();s===Cs&&(s=Es()),cm(s,u.messages),u.messages=s}else u.messages=this.messages();var f,c,h={},b=u.keys||Object.keys(this.rules);b.forEach(function(I){f=r.rules[I],c=a[I],f.forEach(function(D){var y=D;typeof y.transform=="function"&&(a===e&&(a=Dt({},a)),c=a[I]=y.transform(c)),typeof y=="function"?y={validator:y}:y=Dt({},y),y.validator=r.getValidationMethod(y),y.field=I,y.fullField=y.fullField||I,y.type=r.getType(y),y.validator&&(h[I]=h[I]||[],h[I].push({rule:y,value:c,source:a,field:I}))})});var S={};return d5(h,u,function(I,D){var y=I.rule,O=(y.type==="object"||y.type==="array")&&(typeof y.fields=="object"||typeof y.defaultField=="object");O=O&&(y.required||!y.required&&I.value),y.field=I.field;function _(A,N){return Dt(Dt({},N),{},{fullField:y.fullField+"."+A})}function C(A){A===void 0&&(A=[]);var N=A;if(Array.isArray(N)||(N=[N]),!u.suppressWarning&&N.length&&rn.warning("async-validator:",N),N.length&&y.message!==void 0&&(N=[].concat(y.message)),N=N.map(sm(y)),u.first&&N.length)return S[y.field]=1,D(N);if(!O)D(N);else{if(y.required&&!I.value)return y.message!==void 0?N=[].concat(y.message).map(sm(y)):u.error&&(N=[u.error(y,at(u.messages.required,y.field))]),D(N);var B={};if(y.defaultField)for(var L in I.value)I.value.hasOwnProperty(L)&&(B[L]=y.defaultField);B=Dt(Dt({},B),I.rule.fields);for(var K in B)if(B.hasOwnProperty(K)){var Me=Array.isArray(B[K])?B[K]:[B[K]];B[K]=Me.map(_.bind(null,K))}var W=new rn(B);W.messages(u.messages),I.rule.options&&(I.rule.options.messages=u.messages,I.rule.options.error=u.error),W.validate(I.value,I.rule.options||u,function(ye){var Ze=[];N&&N.length&&Ze.push.apply(Ze,N),ye&&ye.length&&Ze.push.apply(Ze,ye),D(Ze.length?Ze:null)})}}var w;y.asyncValidator?w=y.asyncValidator(y,I.value,C,I.source,u):y.validator&&(w=y.validator(y,I.value,C,I.source,u),w===!0?C():w===!1?C(y.message||y.field+" fails"):w instanceof Array?C(w):w instanceof Error&&C(w.message)),w&&w.then&&w.then(function(){return C()},function(A){return C(A)})},function(I){o(I)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!gr.hasOwnProperty(e.type))throw new Error(at("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"?gr.required:gr[this.getType(e)]||!1}},rn.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");gr[e]=n},rn.warning=um,rn.messages=Cs,rn.validators=gr;var F5={required:"%s \u5FC5\u586B",maxLength:"%s \u8D85\u51FA\u6700\u5927\u957F\u5EA6\u9650\u5236",minLength:"%s \u5C0F\u4E8E\u6700\u5C0F\u957F\u5EA6\u9650\u5236",string:{range:"%s \u4E0D\u5728\u6307\u5B9A\u957F\u5EA6\u5185"}};function B5(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new rn(t);return n.messages(Object.assign(F5,e)),n}var L5=new dP;function ws(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 k5(t){if(Array.isArray(t))return t}function x5(t){if(Array.isArray(t))return ws(t)}function fm(t,e,n,i,r,a,u){try{var l=t[a](u),o=l.value}catch(s){n(s);return}l.done?e(o):Promise.resolve(o).then(i,r)}function hm(t){return function(){var e=this,n=arguments;return new Promise(function(i,r){var a=t.apply(e,n);function u(o){fm(a,i,r,u,l,"next",o)}function l(o){fm(a,i,r,u,l,"throw",o)}u(void 0)})}}function M5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function mm(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 $5(t,e,n){return e&&mm(t.prototype,e),n&&mm(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 vm(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function gm(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function V5(){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 U5(){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 ym(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(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),i.forEach(function(r){ne(t,r,n[r])})}return t}function H5(t){return k5(t)||gm(t)||_m(t)||V5()}function Is(t){return x5(t)||gm(t)||_m(t)||U5()}function j5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function _m(t,e){if(!!t){if(typeof t=="string")return ws(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 ws(t,e)}}function bm(t,e){var n,i,r,a,u={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(s){return function(f){return o([s,f])}}function o(s){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,i&&(r=s[0]&2?i.return:s[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,s[1])).done)return r;switch(i=0,r&&(s=[s[0]&2,r.value]),s[0]){case 0:case 1:r=s;break;case 4:return u.label++,{value:s[1],done:!1};case 5:u.label++,i=s[1],s=[0];continue;case 7:s=u.ops.pop(),u.trys.pop();continue;default:if(r=u.trys,!(r=r.length>0&&r[r.length-1])&&(s[0]===6||s[0]===2)){u=0;continue}if(s[0]===3&&(!r||s[1]>r[0]&&s[1]<r[3])){u.label=s[1];break}if(s[0]===6&&u.label<r[1]){u.label=r[1],r=s;break}if(r&&u.label<r[2]){u.label=r[2],u.ops.push(s);break}r[2]&&u.ops.pop(),u.trys.pop();continue}s=e.call(t,u)}catch(f){s=[6,f],i=0}finally{n=r=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}var ae=function(){function e(n){var i=this;M5(this,e),ne(this,"id",void 0),ne(this,"name",void 0),ne(this,"icon",void 0),ne(this,"type",void 0),ne(this,"controlType",void 0),ne(this,"props",void 0),ne(this,"setting",[]),ne(this,"fieldType",void 0),ne(this,"eventKeys",[]),ne(this,"customEvents",[]),ne(this,"parent",null),ne(this,"slots",void 0),ne(this,"slotPosition",void 0),ne(this,"updateSetting",Cm),ne(this,"removeSetting",Em),this._callControlHooks("preInstance",n);var r=vm(this,e)?this.constructor:void 0,a=r.controlName,u=r.controlIcon,l=r.controlType,o=r.controlFieldType,s=r.controlEventKeys,f=r.controlCustomEvents,c=r.name,h=r.setting,b=r.slots,S=r.slotPosition;a&&u&&l||bd("The ".concat(c," controlName,controlIcon,controlType is not define"));var I;this.id=(I=n==null?void 0:n.id)!==null&&I!==void 0?I:wt(10),this.name=a,this.icon=u;var D;this.type=(D=n==null?void 0:n.type)!==null&&D!==void 0?D:l,this.props=new Pe(n==null?void 0:n.props,(vm(this,e)?this.constructor:void 0).controlName);var y;this.controlType=(y=n==null?void 0:n.controlType)!==null&&y!==void 0?y:"base",this.setting=_t(h);var O;this.fieldType=(O=n==null?void 0:n.fieldType)!==null&&O!==void 0?O:o,this.eventKeys=_t(s),this.customEvents=_t(f),this.slots=_t(b),this.slotPosition=_t(S),Promise.resolve().then(function(){i._callControlHooks("postInstance",n)})}return $5(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,r=new Array(i),a=0;a<i;a++)r[a]=arguments[a];var u,l=H5(r),o=l[0],s=l.slice(1);return(u=L5).emit.apply(u,[o,this].concat(Is(s)))}},{key:"preUpdate",value:function(i,r){this._callControlHooks("preUpdateProps",i,r)}},{key:"postUpdate",value:function(i,r){this._callControlHooks("postUpdateProps",i,r)}},{key:"updateProps",value:function(i,r){this.preUpdate(i,r),QN(this.props,i,r),this.postUpdate(i,r)}},{key:"preValidate",value:function(){var i=this;return hm(function(){var r,a,u;return bm(this,function(l){switch(l.label){case 0:return r=ym({},i.rules),[4,i._callControlHooks("preValidate",r)];case 1:return a=l.sent(),u=a[a.length-1],[2,u===!1?void 0:u]}})})()}},{key:"validate",value:function(i,r){var a=this;return hm(function(){var u,l,o,s;return bm(this,function(f){switch(f.label){case 0:return[4,a.preValidate()];case 1:u=f.sent(),l=u!==void 0?u:ym({},a.rules),Array.isArray(r)&&r.forEach(function(c){l.hasOwnProperty(c)&&delete l[c]}),o=B5(l,i),f.label=2;case 2:return f.trys.push([2,4,,5]),[4,o.validate(a.props)];case 3:return f.sent(),[2,!0];case 4:throw s=f.sent(),s.control||(s.control=a),s;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=this.fieldType,a=this.id,u=this.type,l=this.props,o=l.dataBind,s=l.datasourceBind,f=l.optionConfig,c=l.caption,h=l.required,b=l.maxLength,S=l.options,I=l.encrypted,D=l.encryptedMode;if(!(!r&&!o&&!s)){var y={parentId:i,fieldType:r,controlId:a,caption:c,type:u,props:{}};switch(o&&(y.dataBind=o),f){case"datasource":case void 0:s&&(y.datasourceBind=s);break;case"custom":y.props.options=S;break}return h!==void 0&&(y.required=h),b!==void 0&&(y.maxLength=b),I!==void 0&&(y.encrypted=I),D!==void 0&&(y.encryptedMode=D),y}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:_t(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(i,r){if(i==="setting"){if(r.add){var a;(a=this.setting).push.apply(a,Is(r.add))}r.remove&&this.removeSettingItem(r.remove),r.update}}}]),e}();ne(ae,"mode","Designer"),ne(ae,"slots",void 0),ne(ae,"slotPosition",void 0),ne(ae,"controlName","\u63A7\u4EF6"),ne(ae,"controlIcon","icon"),ne(ae,"controlType","control"),ne(ae,"controlFieldType",void 0),ne(ae,"controlEventKeys",[]),ne(ae,"controlCustomEvents",[]),ne(ae,"setting",[]),ne(ae,"__is_control__",!0),ne(ae,"removeSettingItem",Em),ne(ae,"updateSettingItem",Cm);function Em(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(i){var r,a=typeof i!="string",u=(r=e.setting)===null||r===void 0?void 0:r.findIndex(function(s){return s.key===(a?i.key:i)});if(u!==-1){var l,o;a?e.setting[u].showItems=(l=e.setting[u].showItems)===null||l===void 0?void 0:l.filter(function(s){return!i.hideItems.includes(s)}):e.setting.splice(u,1),a&&!(!((o=e.setting[u].showItems)===null||o===void 0)&&o.length)&&e.setting.splice(u,1)}})}function Cm(t,e){var n=this,i=typeof t=="string"?[t]:t;i.forEach(function(r){var a=n.setting.find(function(s){return s.key===r});if(a){if(typeof e=="boolean")a.visible=e;else if((typeof e=="undefined"?"undefined":j5(e))==="object"){var u,l=(u=e.type)!==null&&u!==void 0?u:"replace";if(l==="replace")a.showItems=e.showItems;else{var o;(o=a.showItems).push.apply(o,Is(e.showItems))}}}})}function W5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wm(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 q5(t,e,n){return e&&wm(t.prototype,e),n&&wm(t,n),t}function ut(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function G5(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var Be=function(){function e(n){W5(this,e),ut(this,"id",void 0),ut(this,"type",void 0),ut(this,"controlType",void 0),ut(this,"props",void 0),ut(this,"fieldType",void 0),ut(this,"customEvents",[]),ut(this,"pageStatus",void 0),ut(this,"parent",null);var i=G5(this,e)?this.constructor:void 0,r=i.controlType,a=i.controlFieldType,u=i.name,l=i.controlCustomEvents;r||bd("The ".concat(u," controlType is not define"));var o;this.id=(o=n==null?void 0:n.id)!==null&&o!==void 0?o:wt(10);var s;this.type=(s=n==null?void 0:n.type)!==null&&s!==void 0?s:r,this.props=new Pe(n==null?void 0:n.props),this.customEvents=l;var f;this.controlType=(f=n==null?void 0:n.controlType)!==null&&f!==void 0?f:"base";var c;this.fieldType=(c=n==null?void 0:n.fieldType)!==null&&c!==void 0?c:a;var h;this.pageStatus=(h=n==null?void 0:n.pageStatus)!==null&&h!==void 0?h:fs.UNKNOWN}return q5(e,[{key:"rules",get:function(){var i=this.props.constructor.RuntimeRules;if(i){var r=new i(this.props);return Array.from(r)}return[]}}]),e}();ut(Be,"mode","Runtime"),ut(Be,"controlType","control"),ut(Be,"controlFieldType",void 0),ut(Be,"__is_control__",!0),ut(Be,"controlCustomEvents",[]);function Ts(t){t.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),t.hasOwnProperty("options")||(this.options={type:"any"}),t.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),t.hasOwnProperty("options")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="custom")?this.options=[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:d.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:d.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(n,i,r){i.length===0&&r(d.getMessage("optionIsRequired")),r()}},{type:"array",validator:function(n,i,r){var a=i.map(function(l){return l.value}),u=nP(a);a.length!==u.length?r(d.getMessage("optionIdIsRepeat")):r()},message:d.getMessage("optionIdIsRepeat")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",validator:function(n,i,r){i.length===0&&r(d.getMessage("pleaseBindAtLeastOneDisplayValue")),r()},message:d.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:d.getMessage("isNotBoolean")}}}}]}}])}function lu(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:d.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:d.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:d.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:d.getMessage("isNotString")},key:{type:"string",required:!0,message:d.getMessage("isNotString")},value:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",validator:function(r,a,u){a.length===0&&u(d.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),u()},message:d.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:d.getMessage("isNotBoolean")}}}}]}}]}function K5(t){return(t==null?void 0:t.dataCode)!==void 0&&(t==null?void 0:t.fieldCode)!==void 0}function me(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ou(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ve(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function su(t){return su=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},su(t)}function cu(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&&Ss(t,e)}function z5(t,e){return e&&(X5(e)==="object"||typeof e=="function")?e:me(t)}function Ss(t,e){return Ss=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},Ss(t,e)}function X5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function J5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function du(t){var e=J5();return function(){var i=su(t),r;if(e){var a=su(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return z5(this,r)}}var $e=function(t){cu(n,t);var e=du(n);function n(i){ou(this,n);var r;r=e.call(this,i),ve(me(r),"dataBind",{}),ve(me(r),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),ve(me(r),"isHideCaption",{type:"boolean"}),ve(me(r),"labelPosition",{type:"enum",enum:["top","left"]}),ve(me(r),"defaultState",{type:"enum",enum:["default","readonly"]}),ve(me(r),"required",{type:"boolean"}),ve(me(r),"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")});var a={fieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")}};if(K5(i.dataBind))r.dataBind={type:"object",required:!0,fields:_t(a),message:d.getMessage("pleaseEnterFieldCode")};else{var u={type:"object",required:!0,fields:{},message:d.getMessage("pleaseEnterFieldCode")};Object.keys(i.dataBind).forEach(function(l){u.fields[l]={type:"object",required:!0,fields:_t(a),message:d.getMessage("pleaseEnterFieldCode")}}),r.dataBind=u}return i.isShowCaptionTip&&(r.captionTip.required=!0),r}return n}(Ne),fe=function(t){cu(n,t);var e=du(n);function n(i){ou(this,n);var r;r=e.call(this,i);var a=i.isHide?!1:i.required;return a&&r.push({type:"string",required:a,message:i.requiredMessage!==""?i.requiredMessage:d.getMessage("runtimeRequired",{caption:i.caption})}),r}return n}(An),Q=function(t){cu(n,t);var e=du(n);function n(i){ou(this,n);var r;r=e.call(this,i),ve(me(r),"caption",void 0),ve(me(r),"isHideCaption",void 0),ve(me(r),"isShowCaptionTip",void 0),ve(me(r),"captionTip",void 0),ve(me(r),"labelPosition",void 0),ve(me(r),"dataBind",void 0),ve(me(r),"defaultValue",void 0),ve(me(r),"placeholder",void 0),ve(me(r),"defaultState",void 0),ve(me(r),"required",void 0),ve(me(r),"requiredMessage",void 0);var a;r.caption=(a=i==null?void 0:i.caption)!==null&&a!==void 0?a:"";var u;r.isHideCaption=(u=i==null?void 0:i.isHideCaption)!==null&&u!==void 0?u:!1;var l;r.isShowCaptionTip=(l=i==null?void 0:i.isShowCaptionTip)!==null&&l!==void 0?l:!1;var o;r.captionTip=(o=i==null?void 0:i.captionTip)!==null&&o!==void 0?o:"";var s;r.defaultState=(s=i==null?void 0:i.defaultState)!==null&&s!==void 0?s:"default";var f;r.labelPosition=(f=i==null?void 0:i.labelPosition)!==null&&f!==void 0?f:"top";var c;r.placeholder=(c=i==null?void 0:i.placeholder)!==null&&c!==void 0?c:"";var h;r.required=(h=i==null?void 0:i.required)!==null&&h!==void 0?h:!1;var b;r.requiredMessage=(b=i==null?void 0:i.requiredMessage)!==null&&b!==void 0?b:"",r.dataBind=new Rt(i==null?void 0:i.dataBind);var S;return r.defaultValue=(S=i==null?void 0:i.defaultValue)!==null&&S!==void 0?S:"",r}return n}(Pe);ve(Q,"Rules",$e),ve(Q,"RuntimeRules",fe);var gi=function(t){cu(n,t);var e=du(n);function n(i){ou(this,n);var r;return r=e.call(this,i),ve(me(r),"optionConfig",{type:"enum",enum:["custom","datasource"],message:d.getMessage("PleaseSelectTheCorrectOptionSettings")}),ve(me(r),"options",[{type:"array",message:d.getMessage("isNotArray")}]),ve(me(r),"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),Ts.call(me(r),i),r}return n}($e);function Os(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Q5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function fu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function hu(t){return hu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hu(t)}function Z5(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&&As(t,e)}function Y5(t,e){return e&&(p5(e)==="object"||typeof e=="function")?e:Os(t)}function As(t,e){return As=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},As(t,e)}function p5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function eF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function tF(t){var e=eF();return function(){var i=hu(t),r;if(e){var a=hu(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return Y5(this,r)}}var Y=function(t){Z5(n,t);var e=tF(n);function n(i){Q5(this,n);var r;return r=e.call(this,i),fu(Os(r),"controlType","form"),fu(Os(r),"props",void 0),r.props=new Q(i==null?void 0:i.props),r}return n}(ae);fu(Y,"controlEventKeys",["on_change","on_focus","on_blur"]),fu(Y,"controlCustomAttributes",void 0);function mu(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function nF(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Rs(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function vu(t){return vu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vu(t)}function iF(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&&Ds(t,e)}function rF(t,e){return e&&(aF(e)==="object"||typeof e=="function")?e:mu(t)}function Ds(t,e){return Ds=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},Ds(t,e)}function aF(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function uF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function lF(t){var e=uF();return function(){var i=vu(t),r;if(e){var a=vu(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return rF(this,r)}}var te=function(t){iF(n,t);var e=lF(n);function n(i){nF(this,n);var r;return r=e.call(this,i),Rs(mu(r),"controlType","form"),Rs(mu(r),"props",void 0),Rs(mu(r),"value",void 0),r.props=new Q(i==null?void 0:i.props),r}return n}(Be);function oF(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function sF(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function gu(t){return gu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gu(t)}function cF(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&&Ns(t,e)}function dF(t,e){return e&&(fF(e)==="object"||typeof e=="function")?e:oF(t)}function Ns(t,e){return Ns=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},Ns(t,e)}function fF(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function hF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function mF(t){var e=hF();return function(){var i=gu(t),r;if(e){var a=gu(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return dF(this,r)}}var ge=function(t){cF(n,t);var e=mF(n);function n(i){return sF(this,n),e.call(this,i)}return n}(Pe);function Ps(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 vF(t){if(Array.isArray(t))return Ps(t)}function Rn(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Im(t,e,n,i,r,a,u){try{var l=t[a](u),o=l.value}catch(s){n(s);return}l.done?e(o):Promise.resolve(o).then(i,r)}function gF(t){return function(){var e=this,n=arguments;return new Promise(function(i,r){var a=t.apply(e,n);function u(o){Im(a,i,r,u,l,"next",o)}function l(o){Im(a,i,r,u,l,"throw",o)}u(void 0)})}}function yF(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Tm(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 _F(t,e,n){return e&&Tm(t.prototype,e),n&&Tm(t,n),t}function an(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function yi(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?yi=Reflect.get:yi=function(r,a,u){var l=AF(r,a);if(!!l){var o=Object.getOwnPropertyDescriptor(l,a);return o.get?o.get.call(u||r):o.value}},yi(t,e,n||t)}function un(t){return un=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},un(t)}function bF(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&&Fs(t,e)}function EF(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function CF(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function wF(){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 IF(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(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),i.forEach(function(r){an(t,r,n[r])})}return t}function TF(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,i)}return n}function SF(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):TF(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function OF(t,e){return e&&(RF(e)==="object"||typeof e=="function")?e:Rn(t)}function Fs(t,e){return Fs=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},Fs(t,e)}function AF(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=un(t),t!==null););return t}function Sm(t){return vF(t)||CF(t)||DF(t)||wF()}function RF(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function DF(t,e){if(!!t){if(typeof t=="string")return Ps(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 Ps(t,e)}}function NF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function PF(t){var e=NF();return function(){var i=un(t),r;if(e){var a=un(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return OF(this,r)}}function FF(t,e){var n,i,r,a,u={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(s){return function(f){return o([s,f])}}function o(s){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,i&&(r=s[0]&2?i.return:s[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,s[1])).done)return r;switch(i=0,r&&(s=[s[0]&2,r.value]),s[0]){case 0:case 1:r=s;break;case 4:return u.label++,{value:s[1],done:!1};case 5:u.label++,i=s[1],s=[0];continue;case 7:s=u.ops.pop(),u.trys.pop();continue;default:if(r=u.trys,!(r=r.length>0&&r[r.length-1])&&(s[0]===6||s[0]===2)){u=0;continue}if(s[0]===3&&(!r||s[1]>r[0]&&s[1]<r[3])){u.label=s[1];break}if(s[0]===6&&u.label<r[1]){u.label=r[1],r=s;break}if(r&&u.label<r[2]){u.label=r[2],u.ops.push(s);break}r[2]&&u.ops.pop(),u.trys.pop();continue}s=e.call(t,u)}catch(f){s=[6,f],i=0}finally{n=r=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}var BF=1e4,be=function(e){bF(i,e);var n=PF(i);function i(r){yF(this,i);var a;a=n.call(this,r),an(Rn(a),"controlType","layout"),an(Rn(a),"children",void 0),an(Rn(a),"excludes",void 0),an(Rn(a),"childrenMaxLength",void 0),an(Rn(a),"props",void 0);var u=EF(this,i)?this.constructor:void 0,l=u.excludes,o=u.childrenMaxLength;return a.props=new ge(r==null?void 0:r.props),At(Rn(a),"children",r==null?void 0:r.children,void 0,"Designer"),a.excludes=_t(l),a.childrenMaxLength=o,a}return _F(i,[{key:"judgeExcludesChildren",value:function(a){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(a)}},{key:"judgeJoinChildren",value:function(a){var u=this.judgeExcludesChildren(a);return u&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(a,u){var l=this,o=this,s=function(){return yi(un(i.prototype),"validate",l)};return gF(function(){return FF(this,function(f){switch(f.label){case 0:return[4,s().call(o,a,u)];case 1:return f.sent(),[4,Promise.all(o.children.map(function(c){return c.validate(a,u)}))];case 2:return f.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=yi(un(i.prototype),"toDataBindModel",this).call(this),l=u?[u]:[];return this.children.reduce(function(o,s){var f=s.toDataBindModel(a);if(Array.isArray(f)){var c=f.filter(function(h){return!!h});return Sm(o).concat(Sm(c))}return f&&o.push(f),o},l)}},{key:"toSchema",value:function(){var a=yi(un(i.prototype),"toSchema",this).call(this),u=this.children.map(function(l){var o=l.toSchema();return o});return SF(IF({},a),{children:u})}}]),i}(ae);an(be,"excludes",!1),an(be,"childrenMaxLength",BF);function yr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function LF(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Bs(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function yu(t){return yu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yu(t)}function kF(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&&Ls(t,e)}function xF(t,e){return e&&(MF(e)==="object"||typeof e=="function")?e:yr(t)}function Ls(t,e){return Ls=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},Ls(t,e)}function MF(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function $F(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function VF(t){var e=$F();return function(){var i=yu(t),r;if(e){var a=yu(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return xF(this,r)}}var Ie=function(t){kF(n,t);var e=VF(n);function n(i){LF(this,n);var r;return r=e.call(this,i),Bs(yr(r),"controlType","layout"),Bs(yr(r),"children",void 0),Bs(yr(r),"props",void 0),r.props=new ge(i==null?void 0:i.props),At(yr(r),"children",i==null?void 0:i.children,void 0,"Runtime"),r}return n}(Be);function Ht(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function UF(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function _u(t){return _u=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_u(t)}function HF(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&&ks(t,e)}function jF(t,e){return e&&(WF(e)==="object"||typeof e=="function")?e:Ht(t)}function ks(t,e){return ks=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},ks(t,e)}function WF(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function qF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function GF(t){var e=qF();return function(){var i=_u(t),r;if(e){var a=_u(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return jF(this,r)}}var bu=function(t){HF(n,t);var e=GF(n);function n(i,r,a){UF(this,n);var u;u=e.call(this,r),_i(Ht(u),"headers",void 0),_i(Ht(u),"footers",void 0),_i(Ht(u),"pageIndex",void 0),_i(Ht(u),"pageSize",void 0),_i(Ht(u),"pageSizeOptions",void 0),_i(Ht(u),"totalCount",void 0),At(Ht(u),"headers",r==null?void 0:r.headers,i,a),At(Ht(u),"footers",r==null?void 0:r.footers,i);var l;u.pageIndex=(l=r==null?void 0:r.pageIndex)!==null&&l!==void 0?l:1;var o;u.pageSize=(o=r==null?void 0:r.pageSize)!==null&&o!==void 0?o:20;var s;u.pageSizeOptions=(s=r==null?void 0:r.pageSizeOptions)!==null&&s!==void 0?s:[20];var f;return u.totalCount=(f=r==null?void 0:r.totalCount)!==null&&f!==void 0?f:0,u}return n}(Pe);function xs(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 KF(t){if(Array.isArray(t))return xs(t)}function Eu(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Om(t,e,n,i,r,a,u){try{var l=t[a](u),o=l.value}catch(s){n(s);return}l.done?e(o):Promise.resolve(o).then(i,r)}function zF(t){return function(){var e=this,n=arguments;return new Promise(function(i,r){var a=t.apply(e,n);function u(o){Om(a,i,r,u,l,"next",o)}function l(o){Om(a,i,r,u,l,"throw",o)}u(void 0)})}}function XF(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Am(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 JF(t,e,n){return e&&Am(t.prototype,e),n&&Am(t,n),t}function Cu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function bi(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?bi=Reflect.get:bi=function(r,a,u){var l=tB(r,a);if(!!l){var o=Object.getOwnPropertyDescriptor(l,a);return o.get?o.get.call(u||r):o.value}},bi(t,e,n||t)}function ln(t){return ln=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ln(t)}function QF(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&&Ms(t,e)}function ZF(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function YF(){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 Rm(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(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),i.forEach(function(r){Cu(t,r,n[r])})}return t}function pF(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,i)}return n}function Dm(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):pF(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function eB(t,e){return e&&(nB(e)==="object"||typeof e=="function")?e:Eu(t)}function Ms(t,e){return Ms=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},Ms(t,e)}function tB(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=ln(t),t!==null););return t}function Nm(t){return KF(t)||ZF(t)||iB(t)||YF()}function nB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function iB(t,e){if(!!t){if(typeof t=="string")return xs(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 xs(t,e)}}function rB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function aB(t){var e=rB();return function(){var i=ln(t),r;if(e){var a=ln(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return eB(this,r)}}function uB(t,e){var n,i,r,a,u={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(s){return function(f){return o([s,f])}}function o(s){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,i&&(r=s[0]&2?i.return:s[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,s[1])).done)return r;switch(i=0,r&&(s=[s[0]&2,r.value]),s[0]){case 0:case 1:r=s;break;case 4:return u.label++,{value:s[1],done:!1};case 5:u.label++,i=s[1],s=[0];continue;case 7:s=u.ops.pop(),u.trys.pop();continue;default:if(r=u.trys,!(r=r.length>0&&r[r.length-1])&&(s[0]===6||s[0]===2)){u=0;continue}if(s[0]===3&&(!r||s[1]>r[0]&&s[1]<r[3])){u.label=s[1];break}if(s[0]===6&&u.label<r[1]){u.label=r[1],r=s;break}if(r&&u.label<r[2]){u.label=r[2],u.ops.push(s);break}r[2]&&u.ops.pop(),u.trys.pop();continue}s=e.call(t,u)}catch(f){s=[6,f],i=0}finally{n=r=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}var $s=function(t){QF(n,t);var e=aB(n);function n(i){XF(this,n);var r;return r=e.call(this,i),Cu(Eu(r),"controlType","list"),Cu(Eu(r),"props",void 0),r.props=new bu(Eu(r),i==null?void 0:i.props,"Designer"),r}return JF(n,[{key:"validate",value:function(r,a){var u=this,l=this,o=function(){return bi(ln(n.prototype),"validate",u)};return zF(function(){return uB(this,function(s){switch(s.label){case 0:return[4,o().call(l,r)];case 1:return s.sent(),[4,Promise.all(l.props.headers.map(function(f){return f.validate(r,a)}))];case 2:return s.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var r=bi(ln(n.prototype),"toDataBindModel",this).call(this),a=r?[r]:[],u=this.id;return this.props.headers.reduce(function(l,o){var s=o.toDataBindModel(u);if(Array.isArray(s)){var f=s.filter(function(c){return!!c});return Nm(l).concat(Nm(f))}return s&&l.push(s),l},a)}},{key:"toSchema",value:function(){var r=bi(ln(n.prototype),"toSchema",this).call(this),a=this.props.headers.map(function(u){return u.toSchema()});return Dm(Rm({},r),{props:Dm(Rm({},this.props),{headers:a})})}}]),n}(ae);Cu($s,"controlFieldType",F.LIST);function Ei(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function lB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pm(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 oB(t,e,n){return e&&Pm(t.prototype,e),n&&Pm(t,n),t}function Vs(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function wu(t){return wu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wu(t)}function sB(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&&Us(t,e)}function cB(t,e){return e&&(dB(e)==="object"||typeof e=="function")?e:Ei(t)}function Us(t,e){return Us=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},Us(t,e)}function dB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function fB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function hB(t){var e=fB();return function(){var i=wu(t),r;if(e){var a=wu(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return cB(this,r)}}var Fm=function(t){sB(n,t);var e=hB(n);function n(i){lB(this,n);var r;return r=e.call(this,i),Vs(Ei(r),"controlType","list"),Vs(Ei(r),"children",void 0),Vs(Ei(r),"props",void 0),r.props=new bu(Ei(r),i==null?void 0:i.props,"Runtime"),At(Ei(r),"children",i==null?void 0:i.children,void 0,"Runtime"),r}return oB(n,[{key:"length",get:function(){return this.children.length}}]),n}(Be);function xe(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Hs(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ve(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Iu(t){return Iu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Iu(t)}function js(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&&Ws(t,e)}function mB(t,e){return e&&(vB(e)==="object"||typeof e=="function")?e:xe(t)}function Ws(t,e){return Ws=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},Ws(t,e)}function vB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function gB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function qs(t){var e=gB();return function(){var i=Iu(t),r;if(e){var a=Iu(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return mB(this,r)}}var Nt=function(t){js(n,t);var e=qs(n);function n(i){Hs(this,n);var r;return r=e.call(this,i),Ve(xe(r),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),Ve(xe(r),"width",{type:"number",required:!1,message:d.getMessage("pleaseEnterColumnWidth")}),r.width.required=i.widthType==="px",r}return n}(Ne),Te=function(t){js(n,t);var e=qs(n);function n(i){Hs(this,n);var r;r=e.call(this,i),Ve(xe(r),"widthType",void 0),Ve(xe(r),"width",void 0),Ve(xe(r),"caption",void 0),Ve(xe(r),"dataBind",void 0),Ve(xe(r),"autoWidth",void 0),Ve(xe(r),"fixed",void 0),Ve(xe(r),"sort",void 0),Ve(xe(r),"align",void 0),Ve(xe(r),"colSpan",void 0),Ve(xe(r),"autoHeight",void 0),Ve(xe(r),"children",void 0);var a;r.width=(a=i==null?void 0:i.width)!==null&&a!==void 0?a:150,r.widthType=(i==null?void 0:i.widthType)||"auto";var u;r.caption=(u=i==null?void 0:i.caption)!==null&&u!==void 0?u:"";var l;r.fixed=(l=i==null?void 0:i.fixed)!==null&&l!==void 0?l:"none",r.autoWidth=new Qh(i==null?void 0:i.autoWidth),r.dataBind=new Rt(i==null?void 0:i.dataBind);var o;r.sort=(o=i==null?void 0:i.sort)!==null&&o!==void 0?o:!0,r.align=i==null?void 0:i.align,r.colSpan=i==null?void 0:i.colSpan;var s;return r.autoHeight=(s=i==null?void 0:i.autoHeight)!==null&&s!==void 0?s:!1,r}return n}(Pe);Ve(Te,"Rules",Nt);var Bm=function(t){js(n,t);var e=qs(n);function n(i){Hs(this,n);var r;return r=e.call(this,i),Ve(xe(r),"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:d.getMessage("PleaseSelectTheCorrectOptionSettings")}),Ve(xe(r),"options",[{type:"array",message:d.getMessage("isNotArray")}]),Ve(xe(r),"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),Ts.call(xe(r),i),r}return n}(Nt);function _r(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function yB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Lm(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 _B(t,e,n){return e&&Lm(t.prototype,e),n&&Lm(t,n),t}function Tu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Su(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Su=Reflect.get:Su=function(r,a,u){var l=TB(r,a);if(!!l){var o=Object.getOwnPropertyDescriptor(l,a);return o.get?o.get.call(u||r):o.value}},Su(t,e,n||t)}function Ci(t){return Ci=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ci(t)}function bB(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&&Gs(t,e)}function EB(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(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),i.forEach(function(r){Tu(t,r,n[r])})}return t}function CB(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,i)}return n}function wB(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):CB(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function IB(t,e){return e&&(SB(e)==="object"||typeof e=="function")?e:_r(t)}function Gs(t,e){return Gs=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},Gs(t,e)}function TB(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Ci(t),t!==null););return t}function SB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function OB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function AB(t){var e=OB();return function(){var i=Ci(t),r;if(e){var a=Ci(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return IB(this,r)}}var Ue=function(t){bB(n,t);var e=AB(n);function n(i){yB(this,n);var r;return r=e.call(this,i),Tu(_r(r),"controlType","column"),Tu(_r(r),"props",void 0),Tu(_r(r),"children",void 0),r.props=new Te(i==null?void 0:i.props),At(_r(r),"children",i==null?void 0:i.children,void 0,"Designer"),r}return _B(n,[{key:"toSchema",value:function(){var r=Su(Ci(n.prototype),"toSchema",this).call(this);return wB(EB({},r),{children:this.children?this.children.map(function(a){return a.toSchema()}):[]})}}]),n}(ae);function br(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function RB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ks(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ou(t){return Ou=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ou(t)}function DB(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&&zs(t,e)}function NB(t,e){return e&&(PB(e)==="object"||typeof e=="function")?e:br(t)}function zs(t,e){return zs=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},zs(t,e)}function PB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function FB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function BB(t){var e=FB();return function(){var i=Ou(t),r;if(e){var a=Ou(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return NB(this,r)}}var He=function(t){DB(n,t);var e=BB(n);function n(i){RB(this,n);var r;return r=e.call(this,i),Ks(br(r),"controlType","column"),Ks(br(r),"props",void 0),Ks(br(r),"children",void 0),r.props=new Te(i==null?void 0:i.props),At(br(r),"children",i==null?void 0:i.children,void 0,"Runtime"),r}return n}(Be);function km(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function LB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function kB(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Au(t){return Au=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Au(t)}function xB(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&&Xs(t,e)}function MB(t,e){return e&&($B(e)==="object"||typeof e=="function")?e:km(t)}function Xs(t,e){return Xs=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},Xs(t,e)}function $B(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function VB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function UB(t){var e=VB();return function(){var i=Au(t),r;if(e){var a=Au(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return MB(this,r)}}var Js=function(t){xB(n,t);var e=UB(n);function n(i){LB(this,n);var r;return r=e.call(this,i),kB(km(r),"dataBind",void 0),r.dataBind=new Rt(i==null?void 0:i.dataBind),r}return n}(ge);function Qs(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function HB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ru(t){return Ru=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ru(t)}function jB(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&&Zs(t,e)}function WB(t,e){return e&&(qB(e)==="object"||typeof e=="function")?e:Qs(t)}function Zs(t,e){return Zs=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},Zs(t,e)}function qB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function GB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function KB(t){var e=GB();return function(){var i=Ru(t),r;if(e){var a=Ru(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return WB(this,r)}}var zB=function(t){jB(n,t);var e=KB(n);function n(i){HB(this,n);var r;return r=e.call(this,i),xm(Qs(r),"controlType","search"),xm(Qs(r),"props",void 0),r.props=new Js(i==null?void 0:i.props),r}return n}(be);function Ys(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function XB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Mm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Du(t){return Du=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Du(t)}function JB(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&&ps(t,e)}function QB(t,e){return e&&(ZB(e)==="object"||typeof e=="function")?e:Ys(t)}function ps(t,e){return ps=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},ps(t,e)}function ZB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function YB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function pB(t){var e=YB();return function(){var i=Du(t),r;if(e){var a=Du(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return QB(this,r)}}var e1=function(t){JB(n,t);var e=pB(n);function n(i){XB(this,n);var r;return r=e.call(this,i),Mm(Ys(r),"controlType","search"),Mm(Ys(r),"props",void 0),r.props=new Js(i==null?void 0:i.props),r}return n}(Ie);function t1(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function n1(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Nu(t){return Nu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nu(t)}function i1(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&&ec(t,e)}function r1(t,e){return e&&(a1(e)==="object"||typeof e=="function")?e:t1(t)}function ec(t,e){return ec=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},ec(t,e)}function a1(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function u1(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function l1(t){var e=u1();return function(){var i=Nu(t),r;if(e){var a=Nu(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return r1(this,r)}}var tc=function(t){i1(n,t);var e=l1(n);function n(i){return n1(this,n),e.call(this,i)}return n}(ge);function nc(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function o1(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $m(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Pu(t){return Pu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pu(t)}function s1(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&&ic(t,e)}function c1(t,e){return e&&(d1(e)==="object"||typeof e=="function")?e:nc(t)}function ic(t,e){return ic=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},ic(t,e)}function d1(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function f1(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function h1(t){var e=f1();return function(){var i=Pu(t),r;if(e){var a=Pu(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return c1(this,r)}}var m1=function(t){s1(n,t);var e=h1(n);function n(i){o1(this,n);var r;return r=e.call(this,i),$m(nc(r),"controlType","wrap"),$m(nc(r),"props",void 0),r.props=new tc(i==null?void 0:i.props),r}return n}(be);function rc(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function v1(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Vm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Fu(t){return Fu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fu(t)}function g1(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&&ac(t,e)}function y1(t,e){return e&&(_1(e)==="object"||typeof e=="function")?e:rc(t)}function ac(t,e){return ac=Object.setPrototypeOf||function(i,r){return i.__proto__=r,i},ac(t,e)}function _1(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function b1(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function E1(t){var e=b1();return function(){var i=Fu(t),r;if(e){var a=Fu(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return y1(this,r)}}var C1=function(t){g1(n,t);var e=E1(n);function n(i){v1(this,n);var r;return r=e.call(this,i),Vm(rc(r),"controlType","wrap"),Vm(rc(r),"props",void 0),r.props=new tc(i==null?void 0:i.props),r}return n}(Ie);function on(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterForm")}}}])}class uc extends Pe{constructor(e){var n,i,r,a,u,l;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=(r=e==null?void 0:e.icon)!=null?r:"page-hint",this.showState=(a=e==null?void 0:e.showState)!=null?a:"text",this.content=(u=e==null?void 0:e.content)!=null?u:d.getMessage("text"),this.align=(l=e==null?void 0:e.align)!=null?l:""}}class Um extends ae{constructor(e){super(e),this.props=new uc(e==null?void 0:e.props)}static get controlName(){return d.getMessage("text")}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}Um.setting=[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[m.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class w1 extends Be{constructor(e){super(e),this.props=new uc(e==null?void 0:e.props)}static get controlType(){return"text"}}var Hm={Designer:Um,Runtime:w1,Property:uc};class lc extends Pe{constructor(e){var n,i,r;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:d.getMessage("linkContent"),this.url=(i=e==null?void 0:e.url)!=null?i:"",this.openMode=(r=e==null?void 0:e.openMode)!=null?r:"new"}}class oc extends ae{constructor(e){super(e),this.props=new lc(e==null?void 0:e.props)}static get controlName(){return d.getMessage("link")}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}oc.controlEventKeys=["on_click"],oc.setting=[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[m.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];class I1 extends Be{constructor(e){super(e),this.props=new lc(e==null?void 0:e.props)}static get controlType(){return"link"}}var jm={Designer:oc,Runtime:I1,Property:lc};class Qe extends Pe{constructor(e){var n,i,r,a,u,l,o,s,f;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:d.getMessage("button"),this.buttonType=(i=e==null?void 0:e.buttonType)!=null?i:"primary",this.showType=(r=e==null?void 0:e.showType)!=null?r:"text",this.color=(a=e==null?void 0:e.color)!=null?a:"primary",this.icon=(u=e==null?void 0:e.icon)!=null?u:"iconfenlei2",this.defaultState=(l=e==null?void 0:e.defaultState)!=null?l:"default",this.command=(o=e==null?void 0:e.command)!=null?o:"custom",this.isLoading=(s=e==null?void 0:e.isLoading)!=null?s:!1,this.optObj=new XP((f=e==null?void 0:e.optObj)!=null?f:{})}}class qe extends ae{constructor(e){super(e),this.props=new Qe(e==null?void 0:e.props)}static get controlName(){return d.getMessage("button")}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}qe.slots=["grid-table-toolbar-slot","action-bar-slot",dd.DEFAULT],qe.controlEventKeys=["on_click"],qe.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:[m.IS_HIDE]},{key:"super-setting",visible:!0}];class lt extends Be{constructor(e){super(e),this.props=new Qe(e==null?void 0:e.props)}static get controlType(){return"button"}}var Wm={Designer:qe,Runtime:lt,Property:Qe},sn=(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))(sn||{}),qm=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(qm||{}),Gm=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(Gm||{});class Bu{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:wt(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var sc=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(sc||{});class Lu{constructor(e){var n,i;this.id=(n=e==null?void 0:e.id)!=null?n:wt(),this.text=(i=e==null?void 0:e.text)!=null?i:""}}var cc=(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))(cc||{});class dc{constructor(e){var n,i,r,a,u,l,o,s;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new fr((i=e==null?void 0:e.person)!=null?i:{type:"form"}),this.signatureType=(r=e==null?void 0:e.signatureType)!=null?r:[],this.telephone=(u=e==null?void 0:e.telephone)!=null?u:new fr((a=e==null?void 0:e.telephone)!=null?a:{type:"form"}),this.company=(o=e==null?void 0:e.company)!=null?o:new fr((l=e==null?void 0:e.company)!=null?l:{type:"form"}),this.remark=(s=e==null?void 0:e.remark)!=null?s:""}}class Km{constructor(e){var n,i,r,a,u,l;this.fileControl=(n=e==null?void 0:e.fileControl)!=null?n:"",this.undersignedList=(r=(i=e==null?void 0:e.undersignedList)==null?void 0:i.map(o=>new dc(o)))!=null?r:[new dc],this.statusControl=(a=e==null?void 0:e.statusControl)!=null?a:"",this.completeControl=(u=e==null?void 0:e.completeControl)!=null?u:"",this.completeTimeControl=(l=e==null?void 0:e.completeTimeControl)!=null?l:""}}class Er{constructor(e){var n,i,r,a,u,l,o;this.id=(n=e==null?void 0:e.id)!=null?n:wt(8),this.appId=(i=e==null?void 0:e.appId)!=null?i:"",this.dataCode=(r=e==null?void 0:e.dataCode)!=null?r:"",this.svcCode=(a=e==null?void 0:e.svcCode)!=null?a:"",this.name=(u=e==null?void 0:e.name)!=null?u:"",this.fieldList=(l=e==null?void 0:e.fieldList)!=null?l:[],this.active=(o=e==null?void 0:e.active)!=null?o:!1}}class fc{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 zm{constructor(e){var n,i,r,a;this.types=(n=e==null?void 0:e.types)!=null?n:["word","ppt","excel"],this.history=(i=e==null?void 0:e.history)!=null?i:!1,this.collaborativeRecord=(r=e==null?void 0:e.collaborativeRecord)!=null?r:!1,this.logicToDelete=(a=e==null?void 0:e.logicToDelete)!=null?a:!0,this.watermark=new fc(e==null?void 0:e.watermark),this.autoRename=new fc(e==null?void 0:e.autoRename)}}class Xm{constructor(e){this.dataCode=e.dataCode}}class Jm{constructor(e){var n,i,r;this.templateType=(n=e==null?void 0:e.templateType)!=null?n:"system",this.templateList=(r=(i=e==null?void 0:e.templateList)==null?void 0:i.map(a=>new Xm(a)))!=null?r:[]}}class Qm{constructor(e){var n,i,r;this.templateType=(n=e==null?void 0:e.templateType)!=null?n:"system",this.templateList=(r=(i=e==null?void 0:e.templateList)==null?void 0:i.map(a=>new Er(a)))!=null?r:[new Er({id:"default",name:d.getMessage("defaultTemplate"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}const Zm=480;function Cr(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class Ym{constructor(e){var n,i,r,a,u;this.fileId=(n=e==null?void 0:e.fileId)!=null?n:"",this.fileName=(i=e==null?void 0:e.fileName)!=null?i:"",this.ruleName=(r=e==null?void 0:e.ruleName)!=null?r:"",this.isDefault=(a=e.isDefault)!=null?a:!1,this.rules=(u=e.rules)!=null?u:[]}}class pm{constructor(e){var n,i,r;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=(r=e==null?void 0:e.alignItems)!=null?r:"flex-start"}}var ev=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(ev||{}),hc=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(hc||{}),ku=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(ku||{}),cn=(t=>(t.ALL="all",t.ASSIGN="assign",t))(cn||{}),mc=(t=>(t.ALL="all",t.ADMIN="admin",t))(mc||{});class vc extends Pe{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:cc.SOLID}}class tv extends ae{constructor(e){super(e),this.props=new vc(e==null?void 0:e.props)}static get controlName(){return d.getMessage("divider")}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}tv.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[m.IS_HIDE]}];class T1 extends Be{constructor(e){super(e),this.props=new vc(e==null?void 0:e.props)}static get controlType(){return"divider"}}var nv={Designer:tv,Runtime:T1,Property:vc};class S1 extends Ne{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.dataBind={type:"any"},this.config={type:"array"},e.config.includes(sn.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:d.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:d.getMessage("bizKeyNotBindFiled")}},message:d.getMessage("bizKeyNotBindFiled")}),!e.isHide&&e.config.length===0&&(this.config={type:"array",min:1,required:!0,message:d.getMessage("pleaseSelectOneField")})}}class xu extends Pe{constructor(e){var n,i,r,a;super(e),this.dataBind=new Rt(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[sn.ShowSubmitUser,sn.ShowSubmitDept,sn.ShowSubmitTime,sn.ShowCurrentApprovar,sn.ShowTitle],this.caption=(r=(i=e==null?void 0:e.caption)!=null?i:wi==null?void 0:wi.controlName)!=null?r:"",this.position=(a=e==null?void 0:e.position)!=null?a:"top"}}xu.Rules=S1;class wi extends ae{constructor(e){super(e),this.props=new xu(e==null?void 0:e.props)}static get controlName(){return d.getMessage("title")}static get controlIcon(){return"title"}static get controlType(){return"title"}}wi.controlFieldType=F.AUTO_NUMBER,wi.setting=[{key:"common-setting",visible:!0,showItems:[m.IS_HIDE]},{key:"caption",showItems:[m.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class O1 extends Be{constructor(e){super(e),this.props=new xu(e==null?void 0:e.props)}static get controlType(){return"title"}}var iv={Designer:wi,Runtime:O1,Property:xu};class A1 extends Ne{constructor(e){super(e),this.formKey={type:"string",required:!0,message:d.getMessage("pleaseEnterForm")}}}class Mu extends Qe{constructor(e){var n,i,r,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Ii.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Ii.controlName,this.formKey=(r=e==null?void 0:e.formKey)!=null?r:"",this.openType=(a=e==null?void 0:e.openType)!=null?a:"modal"}}Mu.Rules=A1;class Ii extends qe{constructor(e){super(e),this.props=new Mu(e==null?void 0:e.props)}static get controlName(){return d.getMessage("createFormListButton")}static get controlIcon(){return"iconchuangjiandanju"}static get controlType(){return"list-page-btn-create-form"}}Ii.slots=["grid-table-toolbar-slot"],Ii.controlEventKeys=["on_click","on_click_finish"],Ii.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 R1 extends lt{constructor(e){super(e),this.props=new Mu(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var rv={Designer:Ii,Runtime:R1,Property:Mu};class D1 extends Ne{constructor(e){super(e),this.processKey=[{type:"string",message:d.getMessage("isNotString")},{type:"string",required:!0,message:d.getMessage("pleaseEnterProcess")}]}}class $u extends Qe{constructor(e){var n,i,r,a,u,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Ti.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Ti.controlName,this.initiatorMode=(r=e==null?void 0:e.initiatorMode)!=null?r:"currentInitiator",this.processKey=(a=e==null?void 0:e.processKey)!=null?a:"",this.fieldCode=(u=e==null?void 0:e.fieldCode)!=null?u:"",this.employeeId=(l=e==null?void 0:e.employeeId)!=null?l:""}}$u.Rules=D1;class Ti extends qe{constructor(e){super(e),this.props=new $u(e==null?void 0:e.props)}static get controlName(){return d.getMessage("batchSubmissionListButton")}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-submission"}}Ti.slots=["grid-table-toolbar-slot"],Ti.controlEventKeys=["on_click","on_click_finish"],Ti.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 N1 extends lt{constructor(e){super(e),this.props=new $u(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var av={Designer:Ti,Runtime:N1,Property:$u};class gc extends Qe{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Si.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Si.controlIcon}}class Si extends qe{constructor(e){super(e),this.props=new gc(e==null?void 0:e.props)}static get controlName(){return d.getMessage("submissionRecordListButton")}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-submission-record"}}Si.slots=["grid-table-toolbar-slot"],Si.controlEventKeys=["on_click"],Si.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class P1 extends lt{constructor(e){super(e),this.props=new gc(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var uv={Designer:Si,Runtime:P1,Property:gc};class yc extends Qe{constructor(e){var n,i,r,a,u;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Oi.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Oi.controlName,this.templateType=(r=e==null?void 0:e.templateType)!=null?r:"system",this.templateList=(u=(a=e==null?void 0:e.templateList)==null?void 0:a.map(l=>new Er(l)))!=null?u:[new Er({id:"default",name:xh("engine.defaultTemplate"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class Oi extends qe{constructor(e){super(e),this.props=new yc(e==null?void 0:e.props)}static get controlName(){return d.getMessage("exportListButton")}static get controlIcon(){return"iconxiazai1"}static get controlType(){return"list-page-btn-export-list"}}Oi.slots=["grid-table-toolbar-slot"],Oi.controlEventKeys=["on_click","on_click_finish"],Oi.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 F1 extends lt{constructor(e){super(e),this.props=new yc(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var lv={Designer:Oi,Runtime:F1,Property:yc};class _c extends Qe{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Ai.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Ai.controlIcon}}class Ai extends qe{constructor(e){super(e),this.props=new _c(e==null?void 0:e.props)}static get controlName(){return d.getMessage("exportRecordListButton")}static get controlIcon(){return"icondaochujilu"}static get controlType(){return"list-page-btn-export-record"}}Ai.slots=["grid-table-toolbar-slot"],Ai.controlEventKeys=["on_click"],Ai.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 B1 extends lt{constructor(e){super(e),this.props=new _c(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var ov={Designer:Ai,Runtime:B1,Property:_c};class L1{constructor(e){this.dataCode=e.dataCode}}class bc extends Qe{constructor(e){var n,i,r,a,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Ri.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Ri.controlIcon,this.canImportList=(a=(r=e==null?void 0:e.canImportList)==null?void 0:r.map(l=>new L1(l)))!=null?a:[],this.templateType=(u=e==null?void 0:e.templateType)!=null?u:"system"}}class Ri extends qe{constructor(e){super(e),this.props=new bc(e==null?void 0:e.props)}static get controlName(){return d.getMessage("importRecordListButton")}static get controlIcon(){return"iconshangchuan3"}static get controlType(){return"list-page-btn-import-record"}}Ri.slots=["grid-table-toolbar-slot"],Ri.controlEventKeys=["on_click","on_click_finish"],Ri.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 k1 extends lt{constructor(e){super(e),this.props=new bc(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var sv={Designer:Ri,Runtime:k1,Property:bc};function Vu(){return{dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:d.getMessage("pleaseSelectControl")}}}}}}class x1 extends Ne{constructor(e){super(e),this.fillPayload={type:"object",fields:qt({},Vu())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterList")}}},this.fillBack={type:"object",fields:qt({mode:{type:"string",required:!0,message:d.getMessage("pleaseSelectFillBackMode")}},Vu())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:d.getMessage("pleaseSelectControl")})}}class Uu extends Qe{constructor(e){var n,i,r;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:wr.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:wr.controlIcon,this.command=(r=e==null?void 0:e.command)!=null?r:"create",this.fillPayload=new nm(e==null?void 0:e.fillPayload),this.formBind=new NP(e==null?void 0:e.formBind),this.fillBack=new im(e==null?void 0:e.fillBack)}}Uu.Rules=x1;class wr extends qe{constructor(e){super(e),this.props=new Uu(e==null?void 0:e.props)}static get controlName(){return d.getMessage("formSelectButton")}static get controlIcon(){return"iconbiaodancaozuo"}static get controlType(){return"form-select-button"}}wr.controlEventKeys=["on_click","on_click_finish"],wr.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:[m.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class M1 extends lt{constructor(e){super(e),this.props=new Uu(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var cv={Designer:wr,Runtime:M1,Property:Uu};class $1 extends Ne{constructor(e){super(e),this.fillPayload={type:"object",fields:qt({},Vu())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:d.getMessage("pleaseSelectAtLeastOneColumn")}}},this.fillBack={type:"object",fields:qt({mode:{type:"string",required:!0,message:d.getMessage("pleaseSelectFillBackMode")}},Vu())}}}class Hu extends Qe{constructor(e){var n,i,r,a,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Ir.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Ir.controlIcon,this.fillPayload=new nm(e==null?void 0:e.fillPayload),this.listPageBind=new as(e==null?void 0:e.listPageBind),this.fillBack=new im(e==null?void 0:e.fillBack),this.showSelectedDetail=(r=e==null?void 0:e.showSelectedDetail)!=null?r:!1,this.selectedContentConfig=new ss(e==null?void 0:e.selectedContentConfig),this.isSelectedRowFill=(a=e==null?void 0:e.isSelectedRowFill)!=null?a:!1,this.disableFilling=(u=e==null?void 0:e.disableFilling)!=null?u:!0}}Hu.Rules=$1;class Ir extends qe{constructor(e){super(e),this.props=new Hu(e==null?void 0:e.props)}static get controlName(){return d.getMessage("listSelectButton")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-select-button"}}Ir.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],Ir.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:[m.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class V1 extends lt{constructor(e){super(e),this.props=new Hu(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var dv={Designer:Ir,Runtime:V1,Property:Hu};class U1 extends Ne{constructor(e){super(e)}}class H1 extends An{constructor(e){super(e)}}class Tr extends Pe{constructor(e){super(e)}}Tr.Rules=U1,Tr.RuntimeRules=H1;class fv extends ae{constructor(e){super(e),this.props=new Tr(e==null?void 0:e.props)}static get controlName(){return d.getMessage("pagination")}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}fv.setting=[];class j1 extends Be{constructor(e){super(e),this.props=new Tr(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var hv={Designer:fv,Runtime:j1,Property:Tr};class W1 extends Ne{constructor(e){super(e),this.dashboardKey={type:"string",required:!0,message:d.getMessage("pleaseSelectDashboard")},this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class ju extends Pe{constructor(e){var n,i,r,a,u,l;super(e),this.dashboardKey=(n=e==null?void 0:e.dashboardKey)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.isHideCaption=(r=e==null?void 0:e.isHideCaption)!=null?r:!1,this.isShowCaptionTip=(a=e==null?void 0:e.isShowCaptionTip)!=null?a:!1,this.captionTip=(u=e==null?void 0:e.captionTip)!=null?u:"",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top"}}ju.Rules=W1;class mv extends ae{constructor(e){super(e),this.props=new ju(e==null?void 0:e.props)}static get controlName(){return d.getMessage("dashboard")}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}mv.setting=[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[m.CAPTION,m.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[m.IS_HIDE,m.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class q1 extends Be{constructor(e){super(e),this.props=new ju(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var vv={Designer:mv,Runtime:q1,Property:ju};class G1 extends Ne{constructor(e){super(e),this.showType={type:"enum",enum:["select","tabs"]},this.viewList={type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:d.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:d.getMessage("pleaseSelectAtLeastOneColumn")}}}}}}class Wu extends Pe{constructor(e){var n,i,r;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"select",this.viewList=(r=(i=e==null?void 0:e.viewList)==null?void 0:i.map(a=>new KP(a)))!=null?r:[]}}Wu.Rules=G1;class gv extends ae{constructor(e){super(e),this.props=new Wu(e==null?void 0:e.props)}static get controlName(){return d.getMessage("listViewSelect")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-view-select"}}gv.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class K1 extends Be{constructor(e){super(e),this.props=new Wu(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var yv={Designer:gv,Runtime:K1,Property:Wu};class z1 extends Ne{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:d.getMessage("pleaseSelectOcrType")},this.fillList={type:"array",validator(n,i,r){if(i.every(u=>!u.controlId)){r(d.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}r()}},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class qu extends Qe{constructor(e){var n,i,r,a,u,l,o,s,f,c;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Di.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(r=e==null?void 0:e.isShowCaptionTip)!=null?r:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(u=e==null?void 0:e.labelPosition)!=null?u:"top",this.content=(l=e==null?void 0:e.content)!=null?l:Di.controlName,this.icon=(o=e==null?void 0:e.icon)!=null?o:Di.controlIcon,this.ocrType=(s=e==null?void 0:e.ocrType)!=null?s:"",this.fillList=(c=(f=e==null?void 0:e.fillList)==null?void 0:f.map(h=>new tt(h)))!=null?c:[]}}qu.Rules=z1;class Di extends qe{constructor(e){super(e),this.props=new qu(e==null?void 0:e.props)}static get controlName(){return d.getMessage("textOcrButton")}static get controlIcon(){return"iconwenzishibie"}static get controlType(){return"text-ocr-button"}}Di.controlEventKeys=["on_click","on_click_finish"],Di.setting=[{key:"caption",showItems:[m.CAPTION,m.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:[m.IS_HIDE,m.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class X1 extends lt{constructor(e){super(e),this.props=new qu(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var _v={Designer:Di,Runtime:X1,Property:qu};class J1 extends Ne{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.invoiceCheck={type:"boolean"},this.fillList={type:"array",validator(n,i,r){if(i.every(u=>!u.controlId)){r(d.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}r()}},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Gu extends Qe{constructor(e){var n,i,r,a,u,l,o,s,f,c;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ni.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(r=e==null?void 0:e.isShowCaptionTip)!=null?r:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(u=e==null?void 0:e.labelPosition)!=null?u:"top",this.content=(l=e==null?void 0:e.content)!=null?l:Ni.controlName,this.icon=(o=e==null?void 0:e.icon)!=null?o:Ni.controlIcon,this.invoiceCheck=(s=e==null?void 0:e.invoiceCheck)!=null?s:!0,this.fillList=(c=(f=e==null?void 0:e.fillList)==null?void 0:f.map(h=>new tt(h)))!=null?c:[]}}Gu.Rules=J1;class Ni extends qe{constructor(e){super(e),this.props=new Gu(e==null?void 0:e.props)}static get controlName(){return d.getMessage("invoiceCheckButton")}static get controlIcon(){return"iconfabiaoshibie1"}static get controlType(){return"invoice-check-button"}}Ni.controlEventKeys=["on_click","on_click_finish"],Ni.setting=[{key:"caption",showItems:[m.CAPTION,m.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:[m.IS_HIDE,m.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Q1 extends lt{constructor(e){super(e),this.props=new Gu(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var bv={Designer:Ni,Runtime:Q1,Property:Gu};class Z1 extends Ne{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:d.getMessage("pleaseUploadAtLeastOnePrintTemplate")}}}class Ku extends Qe{constructor(e){var n,i,r,a,u;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Pi.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Pi.controlName,this.printTemplates=(a=(r=e==null?void 0:e.printTemplates)==null?void 0:r.map(l=>new Ym(l)))!=null?a:[],this.autoSelectTemplate=(u=e==null?void 0:e.autoSelectTemplate)!=null?u:!1}}Ku.Rules=Z1;class Pi extends qe{constructor(e){super(e),this.props=new Ku(e==null?void 0:e.props)}static get controlName(){return d.getMessage("batchPrintListButton")}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-print"}}Pi.slots=["grid-table-toolbar-slot"],Pi.controlEventKeys=["on_click","on_click_finish"],Pi.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 Y1 extends lt{constructor(e){super(e),this.props=new Ku(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var Ev={Designer:Pi,Runtime:Y1,Property:Ku};class Ec extends Qe{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Fi.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Fi.controlIcon}}class Fi extends qe{constructor(e){super(e),this.props=new Ec(e==null?void 0:e.props)}static get controlName(){return d.getMessage("batchPrintRecordList")}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-batch-print-record"}}Fi.slots=["grid-table-toolbar-slot"],Fi.controlEventKeys=["on_click"],Fi.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 p1 extends lt{constructor(e){super(e),this.props=new Ec(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var Cv={Designer:Fi,Runtime:p1,Property:Ec};class e3 extends Ne{constructor(e){super(e),this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:d.getMessage("pleaseEnterForm")})}}class zu extends Pe{constructor(e){var n,i,r,a,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:d.getMessage("button"),this.code=e==null?void 0:e.code,this.command=(i=e==null?void 0:e.command)!=null?i:"custom",this.color=(r=e==null?void 0:e.color)!=null?r:"primary",this.icon=e==null?void 0:e.icon,this.formKey=e==null?void 0:e.formKey,this.openType=e==null?void 0:e.openType,this.needConfirm=e==null?void 0:e.needConfirm,this.confirmMessage=e==null?void 0:e.confirmMessage,this.options=e==null?void 0:e.options,this.defaultState=(a=e==null?void 0:e.defaultState)!=null?a:"default",this.priorityProcess=e==null?void 0:e.priorityProcess,this.isLoading=(u=e==null?void 0:e.isLoading)!=null?u:!1}}zu.Rules=e3;class Xu extends ae{constructor(e){super(e),this.props=new zu(e==null?void 0:e.props)}static get controlName(){return d.getMessage("operationButton")}static get controlIcon(){return"iconbtn"}static get controlType(){return"operation-button"}}Xu.controlEventKeys=["on_click"],Xu.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:[m.IS_HIDE]},{key:"super-setting",visible:!0}];class t3 extends Be{constructor(e){super(e),this.props=new zu(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var wv={Designer:Xu,Runtime:t3,Property:zu};class Cc extends Pe{constructor(e){var n,i,r,a,u,l,o,s,f;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Bi.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Bi.controlIcon,this.buttonType=(r=e==null?void 0:e.buttonType)!=null?r:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"iconText",this.color=(u=e==null?void 0:e.color)!=null?u:"danger",this.isHide=(l=e==null?void 0:e.isHide)!=null?l:!1,this.defaultState=(o=e==null?void 0:e.defaultState)!=null?o:"default",this.command=(s=e==null?void 0:e.command)!=null?s:"custom",this.isLoading=(f=e==null?void 0:e.isLoading)!=null?f:!1}}class Bi extends ae{constructor(e){super(e),this.props=new Cc(e==null?void 0:e.props)}static get controlName(){return d.getMessage("batchDeleteButton")}static get controlIcon(){return"iconlajitong"}static get controlType(){return"list-page-btn-batch-delete"}}Bi.slots=["grid-table-toolbar-slot"],Bi.controlEventKeys=["on_click"],Bi.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:[m.IS_HIDE]},{key:"super-setting",visible:!0}];class n3 extends Be{constructor(e){super(e),this.props=new Cc(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var Iv={Designer:Bi,Runtime:n3,Property:Cc},i3=Object.freeze({__proto__:null,Text:Hm,Link:jm,Button:Wm,Divider:nv,Title:iv,CreateFormListButton:rv,BatchSubmissionListButton:av,SubmissionRecordListButton:uv,ExportListButton:lv,ExportRecordListButton:ov,ImportRecordListButton:sv,FormSelectButton:cv,ListSelectButton:dv,Pagination:hv,Dashboard:vv,ListViewSelect:yv,TextOcrButton:_v,InvoiceCheckButton:bv,BatchPrintListButton:Ev,BatchPrintRecordListButton:Cv,OperationButton:wv,BatchDeleteButton:Iv});class r3 extends $e{constructor(e){super(e),this.maxLength={type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:200,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue=[{type:"string",max:200,min:0,message:d.getMessage("stringRangeError")},{pattern:"",message:""}],this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue[0].max=e.maxLength,this.defaultValue[0].min=e.minLength,this.defaultValue[0].message=d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength}),this.defaultValue[1].pattern=Cr(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class a3 extends fe{constructor(e){super(e),this.push({type:"string",message:d.getMessage("isNotString")},{max:e.maxLength,min:e.minLength,message:d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:Cr(e.regularRules.expression),message:e.regularRules.errMessage})}}class Li extends Q{constructor(e){var n,i,r,a,u,l,o;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 rm(e==null?void 0:e.regularRules),this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:ki.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:d.getMessage("pleaseEnter"),this.encrypted=(l=e==null?void 0:e.encrypted)!=null?l:!1,this.encryptedMode=(o=e==null?void 0:e.encryptedMode)!=null?o:""}}Li.Rules=r3,Li.RuntimeRules=a3;class ki extends Y{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}static get controlName(){return d.getMessage("input")}static get controlIcon(){return"iconSingleline_new1"}static get controlType(){return"input"}}ki.controlEventKeys=["on_change","on_input","on_focus","on_blur"],ki.controlFieldType=F.VARCHAR,ki.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[m.CAPTION,m.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:[m.REQUIRED,m.IS_HIDE,m.IS_HIDE_CAPTION,m.IS_SHOW_CAPTION_TIP,m.ENCRYPTED]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class Tv extends te{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}static get controlType(){return"input"}}Tv.controlFieldType=F.VARCHAR;var Sv={Designer:ki,Runtime:Tv,Property:Li};class u3 extends gi{constructor(e){super(e),this.limitMax={type:"number",min:void 0,message:d.getMessage("PleaseReselectTheOptionalQuantity")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const i=r=>r==="unlimited"?void 0:r;this.limitMax.min=i(e.limitMin)}}class l3 extends fe{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 Sr extends Q{constructor(e){var n,i,r,a,u,l,o,s,f,c,h,b,S;super(e),this.options=Vt((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.checkboxMode=(i=e==null?void 0:e.checkboxMode)!=null?i:"horizontal",this.optionConfig=(r=e==null?void 0:e.optionConfig)!=null?r:"custom",this.optionsOrder=(a=e==null?void 0:e.optionsOrder)!=null?a:!1,this.otherOption=(u=e==null?void 0:e.otherOption)!=null?u:!1,this.limitMin=(l=e==null?void 0:e.limitMin)!=null?l:"unlimited",this.limitMax=(o=e==null?void 0:e.limitMax)!=null?o:"unlimited",this.datasourceBind=new We(e==null?void 0:e.datasourceBind),this.interreaction=(s=e==null?void 0:e.interreaction)!=null?s:[],this.caption=(f=e==null?void 0:e.caption)!=null?f:Or.controlName,this.defaultValue=(c=e==null?void 0:e.defaultValue)!=null?c:[],this.optionsFormat=(h=e==null?void 0:e.optionsFormat)!=null?h:"horizontal",this.defaultShowOptions=(b=e==null?void 0:e.defaultShowOptions)!=null?b:!0,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(I=>{var D;(D=this.multistageFilling)==null||D.push(new tt(I))}))}}Sr.Rules=u3,Sr.RuntimeRules=l3;class Or extends Y{constructor(e){super(e),this.props=new Sr(e==null?void 0:e.props)}static get controlName(){return d.getMessage("checkBox")}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}Or.controlEventKeys=["on_change","on_click"],Or.controlFieldType=F.ARRAY,Or.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[m.CAPTION,m.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:[m.REQUIRED,m.IS_HIDE,m.IS_HIDE_CAPTION,m.IS_SHOW_CAPTION_TIP]},{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 Ov extends te{constructor(e){super(e),this.props=new Sr(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}Ov.controlFieldType=F.ARRAY;var Av={Designer:Or,Runtime:Ov,Property:Sr};class o3 extends gi{constructor(e){super(e)}}class Ju extends Q{constructor(e){var n,i,r,a,u,l,o,s,f,c,h;super(e),this.options=Vt((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.radioMode=(i=e==null?void 0:e.radioMode)!=null?i:"horizontal",this.optionConfig=(r=e==null?void 0:e.optionConfig)!=null?r:"custom",this.otherOption=(a=e==null?void 0:e.otherOption)!=null?a:!1,this.optionsOrder=(u=e==null?void 0:e.optionsOrder)!=null?u:!1,this.defaultShowOptions=(l=e==null?void 0:e.defaultShowOptions)!=null?l:!0,this.optionsFormat=(o=e==null?void 0:e.optionsFormat)!=null?o:"horizontal",this.datasourceBind=new We(e==null?void 0:e.datasourceBind),this.interreaction=(s=e==null?void 0:e.interreaction)!=null?s:[],this.caption=(f=e==null?void 0:e.caption)!=null?f:Ar.controlName,this.defaultValue=(c=e==null?void 0:e.defaultValue)!=null?c:"",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(b=>{var S;(S=this.multistageFilling)==null||S.push(new tt(b))}))}}Ju.Rules=o3;class Ar extends Y{constructor(e){super(e),this.props=new Ju(e==null?void 0:e.props)}static get controlName(){return d.getMessage("radio")}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}Ar.controlEventKeys=["on_change","on_click"],Ar.controlFieldType=F.VARCHAR,Ar.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[m.CAPTION,m.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:[m.REQUIRED,m.IS_HIDE,m.IS_HIDE_CAPTION,m.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Rv extends te{constructor(e){super(e),this.props=new Ju(e==null?void 0:e.props)}static get controlType(){return"radio"}}Rv.controlFieldType=F.VARCHAR;var Dv={Designer:Ar,Runtime:Rv,Property:Ju};class s3 extends $e{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:200,message:d.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}],this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue[0].max=n,this.defaultValue[0].min=i,this.defaultValue[0].message=d.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:d.getMessage("numberRangeSetError")}),this.defaultValue[1].pattern=Cr(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class c3 extends fe{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:d.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:Cr(e.regularRules.expression),message:e.regularRules.errMessage})}}class Rr extends Q{constructor(e){var n,i,r,a,u,l,o,s,f,c,h,b,S;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=(r=e==null?void 0:e.numberType)!=null?r:"number",this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.micrometer=(u=e==null?void 0:e.micrometer)!=null?u:!1,this.precision=(l=e==null?void 0:e.precision)!=null?l:0,this.showUpperCase=(o=e==null?void 0:e.showUpperCase)!=null?o:!1,this.isShowUnit=(s=e==null?void 0:e.isShowUnit)!=null?s:!1,this.unitPosition=(f=e==null?void 0:e.unitPosition)!=null?f:"right",this.unit=(c=e==null?void 0:e.unit)!=null?c:"",this.caption=(h=e==null?void 0:e.caption)!=null?h:Dr.controlName,this.placeholder=(b=e==null?void 0:e.placeholder)!=null?b:d.getMessage("pleaseEnter"),this.defaultValue=(S=e==null?void 0:e.defaultValue)!=null?S:"",this.regularRules=new rm(e==null?void 0:e.regularRules)}}Rr.Rules=s3,Rr.RuntimeRules=c3;class Dr extends Y{constructor(e){super(e),this.props=new Rr(e==null?void 0:e.props)}static get controlName(){return d.getMessage("number")}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:r}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=r}return n}}Dr.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Dr.controlFieldType=F.DECIMAL,Dr.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[m.CAPTION,m.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:[m.REQUIRED,m.IS_HIDE,m.IS_HIDE_CAPTION,m.IS_SHOW_UNIT,m.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:[m.SHOW_UPPER_CASE,m.MICROMETER,m.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class Nv extends te{constructor(e){super(e),this.props=new Rr(e==null?void 0:e.props)}static get controlType(){return"number"}}Nv.controlFieldType=F.DECIMAL;var Pv={Designer:Dr,Runtime:Nv,Property:Rr};class wc extends Q{constructor(e){var n,i,r,a,u,l,o,s,f,c,h;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Gt.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(r=e==null?void 0:e.commonTimeSetting)!=null?r:[],this.setValueType=(a=e==null?void 0:e.setValueType)!=null?a:"custom",this.caption=(u=e==null?void 0:e.caption)!=null?u:Qu.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:d.getMessage("pleaseEnterDate"),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:"",this.limitDateList=(f=(s=e==null?void 0:e.limitDateList)==null?void 0:s.map(b=>new Bu(b)))!=null?f:[],this.allowDateRange=(c=e==null?void 0:e.allowDateRange)!=null?c:["",""],this.filterWeekend=(h=e==null?void 0:e.filterWeekend)!=null?h:!1}}class Qu extends Y{constructor(e){super(e),this.props=new wc(e==null?void 0:e.props)}static get controlName(){return d.getMessage("timestamp")}static get controlIcon(){return"iconriqi1"}static get controlType(){return"date-picker"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:i}=this.props;n.props.dateType=i}return n}}Qu.controlFieldType=F.TIMESTAMP,Qu.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[m.CAPTION,m.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:[m.REQUIRED,m.IS_HIDE,m.IS_HIDE_CAPTION,m.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Fv extends te{constructor(e){super(e),this.props=new wc(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}Fv.controlFieldType=F.TIMESTAMP;var Bv={Designer:Qu,Runtime:Fv,Property:wc};class d3 extends fe{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 Zu extends Q{constructor(e){var n,i,r,a,u,l,o,s,f,c,h;super(e),this.dataBind=new HP(e==null?void 0:e.dataBind),this.defaultValue=new jP(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Gt.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(r=e==null?void 0:e.commonTimeSetting)!=null?r:[],this.setValueType=(a=e==null?void 0:e.setValueType)!=null?a:"custom",this.rangeMin=(u=e==null?void 0:e.rangeMin)!=null?u:"",this.rangeMax=(l=e==null?void 0:e.rangeMax)!=null?l:"",this.placeholderStart=(o=e==null?void 0:e.placeholderStart)!=null?o:d.getMessage("pleaseSelectStartDate"),this.placeholderEnd=(s=e==null?void 0:e.placeholderEnd)!=null?s:d.getMessage("pleaseSelectEndDate"),this.caption=(f=e==null?void 0:e.caption)!=null?f:Yu.controlName,this.limitDateList=(h=(c=e==null?void 0:e.limitDateList)==null?void 0:c.map(b=>new Bu(b)))!=null?h:[]}}Zu.RuntimeRules=d3;class Yu extends Y{constructor(e){super(e),this.props=new Zu(e==null?void 0:e.props)}static get controlName(){return d.getMessage("timescope")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"date-range"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:i}=this.props;n.props.dateType=i}return n}}Yu.controlFieldType=F.TIMESCOPE,Yu.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[m.CAPTION,m.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:[m.REQUIRED,m.IS_HIDE,m.IS_HIDE_CAPTION,m.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Lv extends te{constructor(e){super(e),this.props=new Zu(e==null?void 0:e.props)}static get controlType(){return"date-range"}}Lv.controlFieldType=F.TIMESCOPE;var kv={Designer:Yu,Runtime:Lv,Property:Zu};class f3 extends $e{constructor(e){super(e),this.maxLength={type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:d.getMessage("stringRangeError")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class h3 extends fe{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class Nr extends Q{constructor(e){var n,i,r,a,u;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=(r=e==null?void 0:e.defaultValue)!=null?r:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:Pr.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:d.getMessage("pleaseEnter"),this.rowHeightSetting=new AP(e==null?void 0:e.rowHeightSetting)}}Nr.Rules=f3,Nr.RuntimeRules=h3;class Pr extends Y{constructor(e){super(e),this.props=new Nr(e==null?void 0:e.props)}static get controlName(){return d.getMessage("textarea")}static get controlIcon(){return"iconMultilineline_new1"}static get controlType(){return"textarea"}}Pr.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Pr.controlFieldType=F.TEXT,Pr.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[m.CAPTION,m.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:[m.REQUIRED,m.IS_HIDE,m.IS_HIDE_CAPTION,m.IS_SHOW_CAPTION_TIP]},{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 xv extends te{constructor(e){super(e),this.props=new Nr(e==null?void 0:e.props)}static get controlType(){return"textarea"}}xv.controlFieldType=F.TEXT;var Mv={Designer:Pr,Runtime:xv,Property:Nr};class m3 extends $e{constructor(e){super(e),this.maxLength={type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:d.getMessage("stringRangeError")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class v3 extends fe{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class Fr extends Q{constructor(e){var n,i,r,a,u;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=(r=e==null?void 0:e.defaultValue)!=null?r:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:Br.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:d.getMessage("pleaseEnter")}}Fr.Rules=m3,Fr.RuntimeRules=v3;class Br extends Y{constructor(e){super(e),this.props=new Fr(e==null?void 0:e.props)}static get controlName(){return d.getMessage("richText")}static get controlIcon(){return"iconRichtextbox_new"}static get controlType(){return"rich-text"}}Br.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Br.controlFieldType=F.TEXT,Br.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[m.CAPTION,m.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:[m.REQUIRED,m.IS_HIDE,m.IS_HIDE_CAPTION,m.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}];class $v extends te{constructor(e){super(e),this.props=new Fr(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}$v.controlFieldType=F.TEXT;var Vv={Designer:Br,Runtime:$v,Property:Fr};class g3 extends gi{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:d.getMessage("pleaseEnterForm")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class pu extends Q{constructor(e){var n,i,r,a,u,l,o,s,f,c;super(e),this.options=Vt((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(r=e==null?void 0:e.optionConfig)!=null?r:"custom",this.datasourceBind=new We(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:el.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:d.getMessage("pleaseSelect"),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:"",this.allowCopyOptions=(o=e==null?void 0:e.allowCopyOptions)!=null?o:!1,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(h=>{var b;(b=this.multistageFilling)==null||b.push(new tt(h))})),this.canViewForm=(f=e==null?void 0:e.canViewForm)!=null?f:!1,this.viewFormModelType=(c=e==null?void 0:e.viewFormModelType)!=null?c:"window",this.formBind=new mi(e==null?void 0:e.formBind)}}pu.Rules=g3;class el extends Y{constructor(e){super(e),this.props=new pu(e==null?void 0:e.props)}static get controlName(){return d.getMessage("select")}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}el.controlFieldType=F.VARCHAR,el.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[m.CAPTION,m.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:[m.REQUIRED,m.IS_HIDE,m.IS_HIDE_CAPTION,m.DEFAULT_SHOW_OPTIONS,m.IS_SHOW_CAPTION_TIP,m.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0,showItems:[m.CAN_VIEW_FORM,m.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Uv extends te{constructor(e){super(e),this.props=new pu(e==null?void 0:e.props)}static get controlType(){return"select"}}Uv.controlFieldType=F.VARCHAR;var Hv={Designer:el,Runtime:Uv,Property:pu};class y3 extends gi{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:d.getMessage("pleaseEnterForm")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class _3 extends fe{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Lr extends Q{constructor(e){var n,i,r,a,u,l,o,s,f;super(e),this.options=Vt((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(r=e==null?void 0:e.optionConfig)!=null?r:"custom",this.datasourceBind=new We(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:tl.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:d.getMessage("pleaseSelect"),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.openMultistageFilling=(o=e==null?void 0:e.openMultistageFilling)!=null?o:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(c=>{var h;(h=this.multistageFilling)==null||h.push(new tt(c))})),this.canViewForm=(s=e==null?void 0:e.canViewForm)!=null?s:!1,this.viewFormModelType=(f=e==null?void 0:e.viewFormModelType)!=null?f:"window",this.formBind=new mi(e==null?void 0:e.formBind)}}Lr.Rules=y3,Lr.RuntimeRules=_3;class tl extends Y{constructor(e){super(e),this.props=new Lr(e==null?void 0:e.props)}static get controlName(){return d.getMessage("selectMultiple")}static get controlIcon(){return"iconxialaduoxuan"}static get controlType(){return"select-multiple"}}tl.controlFieldType=F.ARRAY,tl.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[m.CAPTION,m.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:[m.REQUIRED,m.IS_HIDE,m.IS_HIDE_CAPTION,m.DEFAULT_SHOW_OPTIONS,m.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0,showItems:[m.CAN_VIEW_FORM,m.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class jv extends te{constructor(e){super(e),this.props=new Lr(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}jv.controlFieldType=F.ARRAY;var Wv={Designer:tl,Runtime:jv,Property:Lr};class b3 extends fe{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class nl extends Q{constructor(e){var n,i,r,a,u,l,o,s,f;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(u=e==null?void 0:e.defaultValueType)!=null?u:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(o=e==null?void 0:e.caption)!=null?o:il.controlName,this.placeholder=(s=e==null?void 0:e.placeholder)!=null?s:d.getMessage("pleaseEnterNameorEmail"),this.openMultistageFilling=(f=e==null?void 0:e.openMultistageFilling)!=null?f:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(c=>{var h;(h=this.multistageFilling)==null||h.push(new tt(c))}))}}nl.RuntimeRules=b3;class il extends Y{constructor(e){super(e),this.props=new nl(e==null?void 0:e.props)}static get controlName(){return d.getMessage("people")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}il.controlFieldType=F.EMPLOYEES,il.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[m.CAPTION,m.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:[m.REQUIRED,m.IS_HIDE,m.MULTIPLE,m.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 qv extends te{constructor(e){super(e),this.props=new nl(e==null?void 0:e.props)}static get controlType(){return"employee"}}qv.controlFieldType=F.EMPLOYEES;var Gv={Designer:il,Runtime:qv,Property:nl};const E3=10485760,C3=104857600,w3=1048576e3;class I3 extends $e{constructor(e){super(e),this.maxSize={type:"number",min:0,max:w3,message:d.getMessage("attachmentMaxSize")}}}class T3 extends fe{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:d.getMessage("attachmentLimitError",{max:e.maxLimit,min:e.minLimit})})}}class xi extends Q{constructor(e){var n,i,r,a,u,l,o,s,f,c,h;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=(r=e==null?void 0:e.resultShowType)!=null?r:"simple",this.attachmentAccept=(a=e==null?void 0:e.attachmentAccept)!=null?a:[],this.maxLimit=(u=e==null?void 0:e.maxLimit)!=null?u:10,this.minLimit=(l=e==null?void 0:e.minLimit)!=null?l:0,this.maxSize=(o=e==null?void 0:e.maxSize)!=null?o:C3,this.caption=(s=e==null?void 0:e.caption)!=null?s:Mi.controlName,this.placeholder=(f=e==null?void 0:e.placeholder)!=null?f:d.getMessage("uploadFile"),this.isShowWatermark=(c=e==null?void 0:e.isShowWatermark)!=null?c:!1,this.watermarkFx=(h=e==null?void 0:e.watermarkFx)!=null?h:{}}}xi.Rules=I3,xi.RuntimeRules=T3;class Mi extends Y{constructor(e){super(e),this.props=new xi(e==null?void 0:e.props)}static get controlName(){return d.getMessage("file")}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}Mi.controlEventKeys=["on_change"],Mi.controlFieldType=F.FILE,Mi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[m.CAPTION,m.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:[m.REQUIRED,m.IS_HIDE,m.IS_HIDE_CAPTION,m.IS_SHOW_CAPTION_TIP]},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Ic extends te{constructor(e){super(e),this.props=new xi(e==null?void 0:e.props)}static get controlType(){return"attachment"}}Ic.controlFieldType=F.FILE;var Kv={Designer:Mi,Runtime:Ic,Property:xi};const zv=class extends Mi{static get controlName(){return d.getMessage("image")}static get controlIcon(){return"iconpic_new"}static get controlType(){return"image"}constructor(t){var e,n,i,r;super(t),this.props.showType="image",this.props.caption=(n=(e=t==null?void 0:t.props)==null?void 0:e.caption)!=null?n:zv.controlName,this.props.placeholder=(r=(i=t==null?void 0:t.props)==null?void 0:i.placeholder)!=null?r:d.getMessage("uploadImg")}};let Tc=zv;Tc.controlFieldType=F.IMAGE,Tc.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[m.CAPTION,m.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:[m.REQUIRED,m.IS_HIDE,m.IS_HIDE_CAPTION,m.IS_SHOW_CAPTION_TIP,m.IS_SHOW_WATERMARK]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class S3 extends Ic{static get controlType(){return"image"}constructor(e){var n,i,r,a,u,l;super(e),this.props.showType="image",this.props.maxLimit=(i=(n=e==null?void 0:e.props)==null?void 0:n.maxLimit)!=null?i:9,this.props.caption=(a=(r=e==null?void 0:e.props)==null?void 0:r.caption)!=null?a:d.getMessage("image"),this.props.placeholder=(l=(u=e==null?void 0:e.props)==null?void 0:u.placeholder)!=null?l:d.getMessage("uploadImg")}}class O3 extends xi{constructor(e){super(e)}}var Xv={Designer:Tc,Runtime:S3,Property:O3};class A3 extends gi{constructor(e){super(e),this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:d.getMessage("pleaseEnterNumberRange")}]}},this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue.fields.amount[0].max=n,this.defaultValue.fields.amount[0].min=i,this.defaultValue.fields.amount[0].message=d.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:d.getMessage("numberRangeSetError")})}}class R3 extends fe{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:[ba(qt({},this[0]),{type:"number"}),{type:"number",min:i,max:n,message:d.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}],currency:{type:"string"}}})}}class kr extends Q{constructor(e){var n,i,r,a,u,l,o,s,f,c,h,b;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.optionConfig=(r=e==null?void 0:e.optionConfig)!=null?r:"datasource",this.micrometer=(a=e==null?void 0:e.micrometer)!=null?a:!1,this.precision=(u=e==null?void 0:e.precision)!=null?u:2,this.dataBind=new VP(e==null?void 0:e.dataBind),this.datasourceBind=new We((l=e==null?void 0:e.datasourceBind)!=null?l:{displayBoList:[new ls({value:"name"})]}),this.defaultValue=new UP((o=e==null?void 0:e.defaultValue)!=null?o:{amount:"",currency:ds.CNY}),this.unitPosition=(s=e==null?void 0:e.unitPosition)!=null?s:"right",this.options=Vt(e==null?void 0:e.options),this.caption=(f=e==null?void 0:e.caption)!=null?f:xr.controlName,this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c:d.getMessage("pleaseEnter"),this.submitSelectCurrency=(h=e==null?void 0:e.submitSelectCurrency)!=null?h:!1,this.showUpperCase=(b=e==null?void 0:e.showUpperCase)!=null?b:!1}}kr.Rules=A3,kr.RuntimeRules=R3;class xr extends Y{constructor(e){super(e),this.props=new kr(e==null?void 0:e.props)}static get controlName(){return d.getMessage("amount")}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:r}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=r}return n}}xr.controlEventKeys=["on_change","on_input","on_focus","on_blur"],xr.controlFieldType=F.MONEY,xr.setting=[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[m.CAPTION,m.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:[m.REQUIRED,m.IS_HIDE,m.IS_HIDE_CAPTION,m.SUBMIT_SELECT_CURRENCY,m.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:[m.SHOW_UPPER_CASE,m.MICROMETER,m.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class Jv extends te{constructor(e){super(e),this.props=new kr(e==null?void 0:e.props)}static get controlType(){return"amount"}}Jv.controlFieldType=F.MONEY;var Qv={Designer:xr,Runtime:Jv,Property:kr};class D3 extends $e{constructor(e){super(e),this.totalScore=[{type:"number",required:!0,message:d.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:d.getMessage("theTotalScoreMustNotBeLessThan1")}],this.defaultValue={type:"number",min:0,max:5,message:d.getMessage("scoreDefaultValueRange")},this.defaultValue.max=e.totalScore,this.defaultValue.message=d.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:0})}}class N3 extends fe{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:d.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:n})})}}class Mr extends Q{constructor(e){var n,i,r,a,u,l,o;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:sc.STAR,this.isShowExplain=(r=e==null?void 0:e.isShowExplain)!=null?r:!0,this.explain=(u=(a=e==null?void 0:e.explain)==null?void 0:a.map(s=>new Lu(s)))!=null?u:Array(this.totalScore).fill(void 0).map(()=>new Lu),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:0,this.caption=(o=e==null?void 0:e.caption)!=null?o:$r.controlName}}Mr.Rules=D3,Mr.RuntimeRules=N3;class $r extends Y{constructor(e){super(e),this.props=new Mr(e==null?void 0:e.props)}static get controlName(){return d.getMessage("score")}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,r=Array(i).fill(void 0).map(()=>new Lu);this.props.explain.push(...r)}}super.postUpdate(e,n)}}$r.controlEventKeys=["on_change","on_click"],$r.controlFieldType=F.DECIMAL,$r.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[m.CAPTION,m.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[m.REQUIRED,m.IS_HIDE,m.IS_HIDE_CAPTION,m.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 Zv extends te{constructor(e){super(e),this.props=new Mr(e==null?void 0:e.props)}static get controlType(){return"score"}}Zv.controlFieldType=F.DECIMAL;var Yv={Designer:$r,Runtime:Zv,Property:Mr};class P3 extends fe{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:d.getMessage("pleaseSelectProvince")}}};e.addressType.includes("city")&&(n.fields.city={type:"string",required:e.required,message:d.getMessage("pleaseSelectCity")}),e.addressType.includes("district")&&(n.fields.district={type:"string",required:e.required,message:d.getMessage("pleaseSelectDistrict")}),this.push(n)}}}class rl extends Q{constructor(e){var n,i,r,a,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:al.controlName,this.defaultValueType=(i=e==null?void 0:e.defaultValueType)!=null?i:"default",this.addressType=(r=e==null?void 0:e.addressType)!=null?r:["province","city","district"],this.defaultValue=new WP((a=e==null?void 0:e.defaultValue)!=null?a:{}),this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:d.getMessage("pleaseChooseAddress")}}rl.RuntimeRules=P3;class al extends Y{constructor(e){super(e),this.props=new rl(e==null?void 0:e.props)}static get controlName(){return d.getMessage("address")}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}al.controlFieldType=F.ADDRESS,al.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[m.CAPTION,m.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:[m.REQUIRED,m.IS_HIDE,m.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class pv extends te{constructor(e){super(e),this.props=new rl(e==null?void 0:e.props)}static get controlName(){return"\u7701\u5E02\u533A"}static get controlIcon(){return"iconicon_site_management11"}static get controlType(){return"address"}}pv.controlFieldType=F.ADDRESS;var eg={Designer:al,Runtime:pv,Property:rl};class F3 extends fe{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class ul extends Q{constructor(e){var n,i,r,a,u,l,o,s,f,c,h;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=(r=e==null?void 0:e.range)!=null?r:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(o=e==null?void 0:e.displayLevel)!=null?o:1,this.showSubDept=(s=e==null?void 0:e.showSubDept)!=null?s:!0,this.caption=(f=e==null?void 0:e.caption)!=null?f:Vr.controlName,this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c:d.getMessage("pleaseSelectDept"),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(b=>{var S;(S=this.multistageFilling)==null||S.push(new tt(b))}))}}ul.RuntimeRules=F3;class Vr extends Y{constructor(e){super(e),this.props=new ul(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:r}=this.props;n.props.displayLevel=i,n.props.showSubDept=r}return n}}Vr.controlName=d.getMessage("department"),Vr.controlFieldType=F.DEPARTMENTS,Vr.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[m.CAPTION,m.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:[m.REQUIRED,m.IS_HIDE,m.IS_HIDE_CAPTION,m.MULTIPLE,m.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 tg extends te{constructor(e){super(e),this.props=new ul(e==null?void 0:e.props)}static get controlType(){return"department"}}tg.controlFieldType=F.DEPARTMENTS;var ng={Designer:Vr,Runtime:tg,Property:ul};class Sc extends Q{constructor(e){var n,i,r;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:Ur.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:d.getMessage("pleaseEnterAutonumber")}}class Ur extends Y{constructor(e){super(e),this.props=new Sc(e==null?void 0:e.props)}static get controlName(){return d.getMessage("autoNumber")}static get controlIcon(){return"iconnumber_new"}static get controlType(){return"auto-number"}}Ur.controlEventKeys=["on_change"],Ur.controlFieldType=F.AUTO_NUMBER,Ur.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[m.CAPTION,m.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[m.IS_HIDE,m.IS_HIDE_CAPTION,m.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class ig extends te{constructor(e){super(e),this.props=new Sc(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}ig.controlFieldType=F.AUTO_NUMBER;var rg={Designer:Ur,Runtime:ig,Property:Sc};class B3 extends $e{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 L3 extends fe{constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),this.push({type:"object",message:d.getMessage("isNotObject"),fields:{result:[{type:"number",message:d.getMessage("isNotNumber")}],unit:{type:"string",message:d.getMessage("isNotString")}}})}}class Hr extends Q{constructor(e){var n,i,r,a,u,l,o,s,f;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=(r=e==null?void 0:e.showUpperCase)!=null?r:!1,this.dataBind=new qP(e==null?void 0:e.dataBind),this.defaultValue=new GP(e==null?void 0:e.defaultValue),this.caption=(a=e==null?void 0:e.caption)!=null?a:jr.controlName,this.unitPosition=(u=e==null?void 0:e.unitPosition)!=null?u:"right",this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:d.getMessage("pleaseEnter"),this.scriptEcho=(o=e==null?void 0:e.scriptEcho)!=null?o:[],this.scriptSrc=(s=e==null?void 0:e.scriptSrc)!=null?s:"",this.calcOnMounted=(f=e==null?void 0:e.calcOnMounted)!=null?f:!1}}Hr.Rules=B3,Hr.RuntimeRules=L3;class jr extends Y{constructor(e){super(e),this.props=new Hr(e==null?void 0:e.props)}static get controlName(){return d.getMessage("calc")}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:r}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=r}return n}}jr.controlEventKeys=["on_change"],jr.controlFieldType=F.CALC,jr.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[m.CAPTION,m.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:[m.REQUIRED,m.IS_HIDE,m.IS_HIDE_CAPTION,m.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"unit-position",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[m.SHOW_UPPER_CASE,m.MICROMETER,m.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class ag extends te{constructor(e){super(e),this.props=new Hr(e==null?void 0:e.props)}static get controlType(){return"calc"}}ag.controlFieldType=F.CALC;var ug={Designer:jr,Runtime:ag,Property:Hr};class k3 extends fe{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({validator(n,i){return e.required&&i.every(a=>!a)?Promise.reject(d.getMessage("runtimeRequired",{caption:e.caption})):Promise.resolve()}})}}class ll extends Q{constructor(e){var n,i,r,a,u,l;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.rangeMin=(i=e==null?void 0:e.rangeMin)!=null?i:"",this.rangeMax=(r=e==null?void 0:e.rangeMax)!=null?r:"",this.placeholderStart=(a=e==null?void 0:e.placeholderStart)!=null?a:d.getMessage("min"),this.placeholderEnd=(u=e==null?void 0:e.placeholderEnd)!=null?u:d.getMessage("max"),this.caption=(l=e==null?void 0:e.caption)!=null?l:ol.controlName}}ll.RuntimeRules=k3;class ol extends Y{constructor(e){super(e),this.props=new ll(e==null?void 0:e.props)}static get controlName(){return d.getMessage("searchNumberRange")}static get controlIcon(){return"iconshuziqujian"}static get controlType(){return"search-number-range"}}ol.controlFieldType=F.DECIMAL_RANGE,ol.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[m.CAPTION,m.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:[m.REQUIRED,m.IS_HIDE,m.IS_HIDE_CAPTION,m.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class lg extends te{constructor(e){super(e),this.props=new ll(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}lg.controlFieldType=F.DECIMAL_RANGE;var og={Designer:ol,Runtime:lg,Property:ll};class x3 extends fe{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 sl extends Q{constructor(e){var n,i,r,a,u,l,o,s,f,c,h,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:Gt.DATE,this.dateFormat=(r=e==null?void 0:e.dateFormat)!=null?r:"",this.commonTimeSetting=(a=e==null?void 0:e.commonTimeSetting)!=null?a:[],this.setValueType=(u=e==null?void 0:e.setValueType)!=null?u:"custom",this.rangeMin=(l=e==null?void 0:e.rangeMin)!=null?l:"",this.rangeMax=(o=e==null?void 0:e.rangeMax)!=null?o:"",this.placeholderStart=(s=e==null?void 0:e.placeholderStart)!=null?s:d.getMessage("startDate"),this.placeholderEnd=(f=e==null?void 0:e.placeholderEnd)!=null?f:d.getMessage("endDate"),this.caption=(c=e==null?void 0:e.caption)!=null?c:cl.controlName,this.limitDateList=(b=(h=e==null?void 0:e.limitDateList)==null?void 0:h.map(S=>new Bu(S)))!=null?b:[]}}sl.RuntimeRules=x3;class cl extends Y{constructor(e){super(e),this.props=new sl(e==null?void 0:e.props)}static get controlName(){return d.getMessage("timescope")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"search-date-range"}}cl.controlFieldType=F.ARRAY,cl.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[m.CAPTION,m.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:[m.REQUIRED,m.IS_HIDE,m.IS_HIDE_CAPTION,m.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class sg extends te{constructor(e){super(e),this.props=new sl(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}sg.controlFieldType=F.ARRAY;var cg={Designer:cl,Runtime:sg,Property:sl};class M3 extends $e{constructor(e){super(e),this.dataBind={type:"any"}}}class $3 extends fe{constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class Wr extends Q{constructor(e){var n,i,r,a,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:$i.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(r=e==null?void 0:e.controlExportName)!=null?r:"",this.permissions=(a=e==null?void 0:e.permissions)!=null?a:[],this.isInlineEdit=(u=e==null?void 0:e.isInlineEdit)!=null?u:!1}}Wr.Rules=M3,Wr.RuntimeRules=$3;class $i extends Y{constructor(e){super(e),this.props=new Wr(e==null?void 0:e.props)}static get controlName(){return d.getMessage("vueFormItem")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return"vue-form-item"}}$i.controlFieldType=F.ANY,$i.controlEventKeys=[],$i.slots=["grid-table-toolbar-slot",dd.DEFAULT],$i.setting=[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[m.CAPTION,m.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[m.IS_HIDE,m.IS_HIDE_CAPTION,m.REQUIRED,m.IS_SHOW_CAPTION_TIP,m.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}];class dg extends te{constructor(e){super(e),this.props=new Wr(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}dg.controlFieldType=F.ANY;var fg={Designer:$i,Runtime:dg,Property:Wr};class V3 extends gi{constructor(e){super(e),this.listPageBind=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:d.getMessage("isNotString")},{type:"string",required:!0,message:d.getMessage("pleaseEnterList")}]}}],this.formBind={type:"object",fields:{formKey:{type:"string",message:d.getMessage("pleaseEnterForm")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class dl extends Q{constructor(e){var n,i,r,a,u,l,o,s,f,c,h;super(e),this.options=Vt((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new as(e==null?void 0:e.listPageBind),this.datasourceBind=new We(e==null?void 0:e.datasourceBind),this.caption=(r=e==null?void 0:e.caption)!=null?r:qr.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:d.getMessage("pleaseSelect"),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.openMultistageFilling=(l=e==null?void 0:e.openMultistageFilling)!=null?l:!1,this.showSelectedDetail=(o=e==null?void 0:e.showSelectedDetail)!=null?o:!1,this.selectedContentConfig=new ss(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(b=>{var S;(S=this.multistageFilling)==null||S.push(new tt(b))})),this.canViewForm=(s=e==null?void 0:e.canViewForm)!=null?s:!1,this.viewFormModelType=(f=e==null?void 0:e.viewFormModelType)!=null?f:"window",this.formBind=new mi(e==null?void 0:e.formBind),this.optionDisplayConfig=(c=e==null?void 0:e.optionDisplayConfig)!=null?c:[],this.canSearch=(h=e==null?void 0:e.canSearch)!=null?h:!1}}dl.Rules=V3;class qr extends Y{constructor(e){super(e),this.props=new dl(e==null?void 0:e.props)}static get controlName(){return d.getMessage("selectRelation")}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}}qr.controlFieldType=F.VARCHAR,qr.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[m.CAPTION,m.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:[m.REQUIRED,m.IS_HIDE,m.IS_SHOW_CAPTION_TIP,m.CAN_SEARCH]},{key:"relation-setting",visible:!0,showItems:[m.CAN_VIEW_FORM,m.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"option-config-setting",visible:!0},{key:"super-setting",visible:!0}],qr.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class hg extends te{constructor(e){super(e),this.props=new dl(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}hg.controlFieldType=F.VARCHAR;var mg={Designer:qr,Runtime:hg,Property:dl};class Oc extends Li{constructor(e){super(e)}}class vg extends ki{constructor(e){super(e),this.props=new Oc(e==null?void 0:e.props)}static get controlName(){return d.getMessage("input")}static get controlType(){return"search-input"}}vg.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[m.CAPTION,m.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[m.REQUIRED]},{key:"super-setting",visible:!0}];class gg extends te{constructor(e){super(e),this.props=new Oc(e==null?void 0:e.props)}static get controlType(){return"search-input"}}gg.controlFieldType=F.VARCHAR;var yg={Designer:vg,Runtime:gg,Property:Oc};class U3 extends $e{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],lu.call(this,e,dn.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:d.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:d.getMessage("rootNodeIsRequired")}}}])}}class H3 extends fe{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Gr extends Q{constructor(e){var n,i,r,a,u,l,o,s,f,c,h,b,S,I,D,y,O,_,C;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:dn.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:d.getMessage("pleaseSelect"),this.multiple=(r=e==null?void 0:e.multiple)!=null?r:!1,this.canSearch=(a=e==null?void 0:e.canSearch)!=null?a:!0,this.levelType=(u=e==null?void 0:e.levelType)!=null?u:"all",this.optionalLevel=(l=e==null?void 0:e.optionalLevel)!=null?l:1,this.containsSubNode=(o=e==null?void 0:e.containsSubNode)!=null?o:!1,this.isShowFilterItem=(s=e==null?void 0:e.isShowFilterItem)!=null?s:!1,this.isShowIncludeSub=(f=e==null?void 0:e.isShowIncludeSub)!=null?f:!1,this.isDefaultCheckSub=(c=e==null?void 0:e.isDefaultCheckSub)!=null?c:!1,this.defaultCollapse=(h=e==null?void 0:e.defaultCollapse)!=null?h:"all",this.defaultCollapseLevel=(b=e==null?void 0:e.defaultCollapseLevel)!=null?b:1,this.datasourceBind=new em((S=e==null?void 0:e.datasourceBind)!=null?S:{attributes:dn.controlCustomAttributes}),this.filterItemDatasourceBind=new em((I=e==null?void 0:e.filterItemDatasourceBind)!=null?I:{attributes:dn.controlCustomAttributes}),this.openMultistageFilling=(D=e==null?void 0:e.openMultistageFilling)!=null?D:!1,this.defaultDisplay=(y=e==null?void 0:e.defaultDisplay)!=null?y:!1,this.multistageFilling=(_=(O=e==null?void 0:e.multistageFilling)==null?void 0:O.map(w=>new tt(w)))!=null?_:[],this.defaultValue=(C=e==null?void 0:e.defaultValue)!=null?C:[]}}Gr.Rules=U3,Gr.RuntimeRules=H3;class dn extends Y{constructor(e){super(e),this.props=new Gr(e==null?void 0:e.props)}static get controlName(){return d.getMessage("tree")}static get controlIcon(){return"icontree"}static get controlType(){return"tree"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0},{key:"parentField",name:"\u7236\u7EA7\u5B57\u6BB5",required:!0}]}}dn.controlEventKeys=["on_change","on_click"],dn.controlFieldType=F.ARRAY,dn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[m.CAPTION,m.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:[m.REQUIRED,m.IS_HIDE,m.MULTIPLE,m.CAN_SEARCH,m.DEFAULT_DISPLAY,m.CONTAINS_SUB_NODE,m.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 _g extends te{constructor(e){super(e),this.props=new Gr(e==null?void 0:e.props)}static get controlType(){return"tree"}}_g.controlFieldType=F.ARRAY;var bg={Designer:dn,Runtime:_g,Property:Gr};class j3 extends $e{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],this.externalScope={type:"any"},lu.call(this,e,Vi.controlCustomAttributes),e.externalType===cn.ASSIGN&&(this.externalScope={type:"array",required:!0,message:d.getMessage("pleaseAssignExternal")})}}class W3 extends fe{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Kr extends Q{constructor(e){var n,i,r,a,u,l,o,s,f,c,h,b,S,I;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(u=e==null?void 0:e.defaultValueType)!=null?u:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(o=e==null?void 0:e.caption)!=null?o:Vi.controlName,this.placeholder=(s=e==null?void 0:e.placeholder)!=null?s:d.getMessage("pleaseEnterNameorEmail"),this.datasourceBind=new iu((f=e==null?void 0:e.datasourceBind)!=null?f:{attributes:Vi.controlCustomAttributes}),this.datasourceType=(c=e==null?void 0:e.datasourceType)!=null?c:hc.INTERNAL,this.insideType=(h=e==null?void 0:e.insideType)!=null?h:mc.ADMIN,this.externalType=(b=e==null?void 0:e.externalType)!=null?b:cn.ALL,this.externalScope=(S=e==null?void 0:e.externalScope)!=null?S:[],this.openMultistageFilling=(I=e==null?void 0:e.openMultistageFilling)!=null?I:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(D=>{var y;(y=this.multistageFilling)==null||y.push(new tt(D))}))}}Kr.Rules=j3,Kr.RuntimeRules=W3;class Vi extends Y{constructor(e){super(e),this.props=new Kr(e==null?void 0:e.props)}static get controlName(){return d.getMessage("people")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}Vi.controlFieldType=F.EMPLOYEES,Vi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[m.CAPTION,m.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:[m.REQUIRED,m.IS_HIDE,m.MULTIPLE,m.IS_SHOW_CAPTION_TIP]},{key:"employee-datasource-setting",visible:!0},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class Eg extends te{constructor(e){super(e),this.props=new Kr(e==null?void 0:e.props)}static get controlType(){return"employee2"}}Eg.controlFieldType=F.EMPLOYEES;var Cg={Designer:Vi,Runtime:Eg,Property:Kr};class q3 extends $e{constructor(e){super(e),this.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:d.getMessage("pleaseSelectSignFile")},undersignedList:{type:"array",required:!0,min:1,message:d.getMessage("pleaseSelectOnlyOne"),fields:e.signatureConfig.undersignedList.reduce((n,i,r)=>(n[r]={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:d.getMessage("pleaseSelectSigner")}}},signatureType:{type:"array",required:!0,min:1,message:d.getMessage("pleaseSelectSignType")},telephone:{type:"object",required:!0,validator(a,u,l){if(i.type==="public"&&Yo(u.value)&&u.value.length===0){l(d.getMessage("pleaseSelectPhoneOrEmail"));return}l()}},company:{type:"object",required:!0,validator(a,u,l){if(i.type==="public"&&i.signatureType.includes("company")&&Yo(u.value)&&u.value.length===0){l(d.getMessage("pleaseSelectCompanyName"));return}l()}}}},n),{})}}}}}class fl extends Q{constructor(e){var n,i,r,a,u,l;super(e),this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:zr.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:d.getMessage("signature"),this.buttonType=(r=e==null?void 0:e.buttonType)!=null?r:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"text",this.color=(u=e==null?void 0:e.color)!=null?u:"primary",this.icon=(l=e==null?void 0:e.icon)!=null?l:"iconfenlei2",this.signatureConfig=new Km(e==null?void 0:e.signatureConfig)}}fl.Rules=q3;class zr extends Y{constructor(e){super(e),this.props=new fl(e==null?void 0:e.props)}static get controlName(){return d.getMessage("electronicSignature")}static get controlIcon(){return"icondianziqianzhang"}static get controlType(){return"electronic-signature"}}zr.controlEventKeys=["on_click","on_click_finish"],zr.controlFieldType=F.VARCHAR,zr.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[m.CAPTION,m.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[m.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 wg extends te{constructor(e){super(e),this.props=new fl(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}wg.controlFieldType=F.VARCHAR;var Ig={Designer:zr,Runtime:wg,Property:fl};class G3 extends $e{constructor(e){super(e),this.content={type:"string",required:!0,message:d.getMessage("pleaseEnterButtonContent")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(n,i,r){if(i.active&&!i.text){r(d.getMessage("pleaseEnterWatermark"));return}r()}},autoRename:{type:"object",validator(n,i,r){if(i.active&&!i.text){r(d.getMessage("pleaseEnterFileName"));return}r()}}}},this.canAdd={type:"boolean",validator(n,i,r){if(e.canAdd&&!e.addLocal&&!e.addOnline){r(d.getMessage("pleaseChooseAtLeastOne"));return}r()}}}}class K3 extends fe{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Xr extends Q{constructor(e){var n,i,r,a,u,l,o,s,f,c,h,b;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Jr.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:d.getMessage("createWPS"),this.canAdd=(r=e==null?void 0:e.canAdd)!=null?r:!0,this.addLocal=(a=e==null?void 0:e.addLocal)!=null?a:!0,this.addOnline=(u=e==null?void 0:e.addOnline)!=null?u:!0,this.canEdit=(l=e==null?void 0:e.canEdit)!=null?l:!0,this.canDownload=(o=e==null?void 0:e.canDownload)!=null?o:!0,this.canExport=(s=e==null?void 0:e.canExport)!=null?s:!0,this.canDelete=(f=e==null?void 0:e.canDelete)!=null?f:!1,this.maxSize=(c=e==null?void 0:e.maxSize)!=null?c:E3,this.defaultValue=(h=e==null?void 0:e.defaultValue)!=null?h:[],this.wpsSetting=new zm(e==null?void 0:e.wpsSetting),this.revisionsMode=(b=e==null?void 0:e.revisionsMode)!=null?b:!1}}Xr.Rules=G3,Xr.RuntimeRules=K3;class Jr extends Y{constructor(e){super(e),this.props=new Xr(e==null?void 0:e.props)}static get controlName(){return d.getMessage("WPS")}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}Jr.controlEventKeys=["on_change","on_wps_open"],Jr.controlFieldType=F.FILE,Jr.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[m.CAPTION,m.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[m.REQUIRED,m.IS_HIDE,m.IS_SHOW_CAPTION_TIP,m.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 Tg extends te{constructor(e){super(e),this.props=new Xr(e==null?void 0:e.props)}static get controlType(){return"wps"}}Tg.controlFieldType=F.FILE;var Sg={Designer:Jr,Runtime:Tg,Property:Xr};class z3 extends $e{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],this.businessScope={type:"any"},lu.call(this,e,Dn.controlCustomAttributes),e.businessType===cn.ASSIGN&&(this.businessScope={type:"array",required:!0,message:d.getMessage("pleaseAssignBusiness")})}}class X3 extends fe{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Qr extends Q{constructor(e){var n,i,r,a,u,l,o,s,f,c,h,b,S,I,D;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=(r=e==null?void 0:e.range)!=null?r:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(o=e==null?void 0:e.displayLevel)!=null?o:1,this.showSubDept=(s=e==null?void 0:e.showSubDept)!=null?s:!0,this.caption=(f=e==null?void 0:e.caption)!=null?f:Dn.controlName,this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c:d.getMessage("pleaseSelectDept"),this.datasourceBind=new iu((h=e==null?void 0:e.datasourceBind)!=null?h:{attributes:Dn.controlCustomAttributes}),this.datasourceType=(b=e==null?void 0:e.datasourceType)!=null?b:ku.INTERNAL,this.businessScope=(S=e==null?void 0:e.businessScope)!=null?S:[],this.businessType=(I=e==null?void 0:e.businessType)!=null?I:cn.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(y=>{var O;(O=this.multistageFilling)==null||O.push(new tt(y))}))}}Qr.Rules=z3,Qr.RuntimeRules=X3;class Dn extends Y{constructor(e){super(e),this.props=new Qr(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:r}=this.props;n.props.displayLevel=i,n.props.showSubDept=r}return n}}Dn.controlName=d.getMessage("department"),Dn.controlFieldType=F.DEPARTMENTS,Dn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[m.CAPTION,m.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:[m.REQUIRED,m.IS_HIDE,m.IS_HIDE_CAPTION,m.MULTIPLE,m.IS_SHOW_CAPTION_TIP]},{key:"department-datasource-setting",visible:!0},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class Og extends te{constructor(e){super(e),this.props=new Qr(e==null?void 0:e.props)}static get controlType(){return"department2"}}Og.controlFieldType=F.DEPARTMENTS;var Ag={Designer:Dn,Runtime:Og,Property:Qr};class J3 extends $e{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],this.businessScope={type:"any"},lu.call(this,e,Ui.controlCustomAttributes),e.businessType===cn.ASSIGN&&(this.businessScope={type:"array",required:!0,message:d.getMessage("pleaseAssignBusiness")})}}class Q3 extends fe{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Zr extends Q{constructor(e){var n,i,r,a,u,l,o,s,f,c,h,b,S,I,D,y,O,_;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=(r=e==null?void 0:e.range)!=null?r:"all",this.listPageBind=new as(e==null?void 0:e.listPageBind),this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(o=e==null?void 0:e.displayLevel)!=null?o:1,this.showSubDept=(s=e==null?void 0:e.showSubDept)!=null?s:!0,this.caption=(f=e==null?void 0:e.caption)!=null?f:Ui.controlName,this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c:d.getMessage("pleaseSelectOrg"),this.datasourceBind=new MP((h=e==null?void 0:e.datasourceBind)!=null?h:{attributes:Ui.controlCustomAttributes}),this.datasourceType=(b=e==null?void 0:e.datasourceType)!=null?b:ku.INTERNAL,this.businessScope=(S=e==null?void 0:e.businessScope)!=null?S:[],this.businessType=(I=e==null?void 0:e.businessType)!=null?I:cn.ALL,this.organizingFunction=(D=e==null?void 0:e.organizingFunction)!=null?D:void 0,this.organizationView=(y=e==null?void 0:e.organizationView)!=null?y:void 0,this.showSelectedDetail=(O=e==null?void 0:e.showSelectedDetail)!=null?O:!1,this.selectedContentConfig=new ss(e==null?void 0:e.selectedContentConfig),this.openMultistageFilling=(_=e==null?void 0:e.openMultistageFilling)!=null?_:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(C=>{var w;(w=this.multistageFilling)==null||w.push(new tt(C))}))}}Zr.Rules=J3,Zr.RuntimeRules=Q3;class Ui extends Y{constructor(e){super(e),this.props=new Zr(e==null?void 0:e.props)}static get controlName(){return d.getMessage("organizationSelection")}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"organization-selection"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:r}=this.props;n.props.displayLevel=i,n.props.showSubDept=r}return n}}Ui.controlFieldType=F.DEPARTMENTS,Ui.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[m.CAPTION,m.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:[m.REQUIRED,m.IS_HIDE,m.IS_HIDE_CAPTION,m.MULTIPLE,m.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 Rg extends te{constructor(e){super(e),this.props=new Zr(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}Rg.controlFieldType=F.DEPARTMENTS;var Dg={Designer:Ui,Runtime:Rg,Property:Zr};class Z3 extends $e{constructor(e){super(e),this.dataBind={type:"any"}}}class Y3 extends fe{constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class Yr extends Q{constructor(e){var n,i,r,a,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:pr.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(r=e==null?void 0:e.controlExportName)!=null?r:"",this.permissions=(a=e==null?void 0:e.permissions)!=null?a:[],this.isInlineEdit=(u=e==null?void 0:e.isInlineEdit)!=null?u:!1}}Yr.Rules=Z3,Yr.RuntimeRules=Y3;class pr extends Y{constructor(e){super(e),this.props=new Yr(e==null?void 0:e.props)}static get controlName(){return d.getMessage("vuePage")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return H.VUE_PAGE}}pr.controlFieldType=F.ANY,pr.controlEventKeys=[],pr.setting=[];class Ng extends te{constructor(e){super(e),this.props=new Yr(e==null?void 0:e.props)}static get controlType(){return H.VUE_PAGE}}Ng.controlFieldType=F.ANY;var Pg={Designer:pr,Runtime:Ng,Property:Yr},p3=Object.freeze({__proto__:null,Input:Sv,Checkbox:Av,Radio:Dv,Number:Pv,DatePicker:Bv,DateRange:kv,Textarea:Mv,RichText:Vv,Select:Hv,SelectMultiple:Wv,Employee:Gv,Image:Xv,Attachment:Kv,Amount:Qv,Score:Yv,Address:eg,Department:ng,AutoNumber:rg,Calc:ug,SearchNumberRange:og,SearchDateRange:cg,VueFormItem:fg,SelectRelation:mg,SearchInput:yg,Tree:bg,Employee2:Cg,ElectronicSignature:Ig,WPS:Sg,Department2:Ag,OrganizationSelection:Dg,VuePage:Pg});class Fg extends be{static get controlName(){return d.getMessage("grid")}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}Fg.excludes=[H.GRID];class eL extends Ie{static get controlType(){return"grid"}constructor(e){super(e)}}var Bg={Designer:Fg,Runtime:eL,Property:ge};const tL=24;class Nn extends ge{constructor(e){var n,i;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:tL,this.offset=(i=e==null?void 0:e.offset)!=null?i:0}}class ea extends be{constructor(e){super(e),this.props=new Nn(e==null?void 0:e.props)}static get controlName(){return d.getMessage("col")}static get controlType(){return"col"}static get controlIcon(){return"col"}}ea.excludes=[H.COL,H.SUBTABLE,H.SUBTABLE_COLUMN,H.GRID_LAYOUT_CONTAINER,H.DIVIDER],ea.childrenMaxLength=1;class Ac extends Ie{constructor(e){super(e),this.props=new Nn(e==null?void 0:e.props)}static get controlType(){return"col"}}var Lg={Designer:ea,Runtime:Ac,Property:Nn};class hl extends ge{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 ml extends be{constructor(e){super(e),this.props=new hl(e==null?void 0:e.props)}static get controlName(){return d.getMessage("row")}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}ml.excludes=[H.ROW],ml.setting=[{key:"col-setting",visible:!0}];class kg extends Ie{constructor(e){super(e),this.props=new hl(e==null?void 0:e.props)}static get controlType(){return"row"}}var xg={Designer:ml,Runtime:kg,Property:hl};const nL=4;class vl extends ml{static get controlName(){return d.getMessage("gridRow")}static get controlType(){return"grid-row"}static get controlIcon(){return"grid-row"}constructor(e){super(e)}}vl.excludes=[H.GRID_ROW],vl.setting=[],vl.childrenMaxLength=nL;class iL extends kg{static get controlType(){return"grid-row"}constructor(e){super(e)}}class rL extends hl{constructor(e){super(e)}}var Mg={Designer:vl,Runtime:iL,Property:rL};class aL extends ge.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}}}class gl extends ge{constructor(e){var n,i,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:d.getMessage("cardGroup"),this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.collapse=(r=e==null?void 0:e.collapse)!=null?r:"none"}}gl.Rules=aL;class Rc extends be{constructor(e){super(e),this.props=new gl(e==null?void 0:e.props)}static get controlName(){return d.getMessage("cardGroup")}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}Rc.setting=[{key:"caption",showItems:[m.CAPTION,m.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[m.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}],Rc.excludes=[H.CARD_GROUP];class uL extends Ie{constructor(e){super(e),this.props=new gl(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var $g={Designer:Rc,Runtime:uL,Property:gl};class lL extends Ne{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.width={type:"number",required:!1,message:d.getMessage("pleaseEnterColumnWidth")},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class yl extends ge{constructor(e){var n,i,r,a,u;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=(r=e==null?void 0:e.isShowCaptionTip)!=null?r:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.isHideCaption=(u=e==null?void 0:e.isHideCaption)!=null?u:!1,this.metaAutoWidth=new RP(e==null?void 0:e.metaAutoWidth)}}yl.Rules=lL;class Ct extends be{constructor(e){super(e),this.props=new yl(e==null?void 0:e.props)}}Ct.controlName=d.getMessage("subtableColumn"),Ct.controlType="subtable-column",Ct.controlIcon="subtable-column",Ct.childrenMaxLength=1,Ct.excludes=[H.SUBTABLE,H.SUBTABLE_COLUMN,H.ROW,H.COL,H.CARD_GROUP,H.DIVIDER,H.TEXT,H.GRID_LAYOUT_CONTAINER],Ct.setting=[{key:"caption",showItems:[m.CAPTION],visible:!0},{key:"common-setting",showItems:[m.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class Vg extends Ie{constructor(e){super(e),this.props=new yl(e==null?void 0:e.props)}}Vg.controlType="subtable-column";var Ug={Designer:Ct,Runtime:Vg,Property:yl};class Dc extends ge{constructor(e){super(e)}}class Pn extends be{constructor(e){super(e),this.props=new Dc(e==null?void 0:e.props)}}Pn.controlName=d.getMessage("subtableRow"),Pn.controlType="subtable-row",Pn.controlIcon="subtable-row",Pn.childrenMaxLength=1,Pn.excludes=[H.SUBTABLE,H.SUBTABLE_COLUMN,H.SUBTABLE_ROW,H.ROW,H.COL,H.CARD_GROUP,H.DIVIDER,H.TEXT],Pn.setting=[{key:"caption",showItems:[m.CAPTION],visible:!0}];class oL extends Ie{constructor(e){super(e),this.props=new Dc(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var Hg={Designer:Pn,Runtime:oL,Property:Dc};class Nc extends ge{constructor(e){var n,i,r,a,u,l,o,s,f,c;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=(r=e==null?void 0:e.fixed)!=null?r:!1,this.fieldCode=(a=e==null?void 0:e.fieldCode)!=null?a:"",this.fieldType=(u=e==null?void 0:e.fieldType)!=null?u:F.VARCHAR,this.fieldName=(l=e==null?void 0:e.fieldName)!=null?l:"",this.datasourceBind=new We(e==null?void 0:e.datasourceBind),this.textCleanFormart=(o=e==null?void 0:e.textCleanFormart)!=null?o:!1,this.decimalKeepPrecision=(s=e==null?void 0:e.decimalKeepPrecision)!=null?s:0,this.timestampDateType=(f=e==null?void 0:e.timestampDateType)!=null?f:Gt.DATE,this.departmentDisplayLevel=(c=e==null?void 0:e.departmentDisplayLevel)!=null?c:1}}class Fn extends be{constructor(e){super(e),this.props=new Nc(e==null?void 0:e.props)}}Fn.controlName="\u5217\u8868\u5355\u5143\u683C",Fn.controlType="gridtable-column",Fn.controlIcon="gridtable-column",Fn.childrenMaxLength=1,Fn.excludes=[H.GRID_TABLE,H.GRID_TABLE_COLUMN,H.ROW,H.COL,H.CARD_GROUP,H.DIVIDER,H.TEXT],Fn.setting=[{key:"caption",showItems:[m.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class jg extends Ie{constructor(e){super(e),this.props=new Nc(e==null?void 0:e.props)}}jg.controlType="gridtable-column";var Wg={Designer:Fn,Runtime:jg,Property:Nc};class Pc extends ge{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 Fc extends be{constructor(e){super(e),this.props=new Pc(e==null?void 0:e.props)}static get controlName(){return d.getMessage("gridLayoutContainer")}static get controlType(){return"grid-layout-container"}static get controlIcon(){return"icona-huanhangrongqi1"}}Fc.excludes=[H.GRID_LAYOUT_CONTAINER,H.CARD_GROUP,H.TAB],Fc.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}];class sL extends Ie{constructor(e){super(e),this.props=new Pc(e==null?void 0:e.props)}static get controlType(){return"grid-layout-container"}}var qg={Designer:Fc,Runtime:sL,Property:Pc};class Bc extends ge{constructor(e){var n;super(e),this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical"}}class cL extends Ne{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}}}class _l extends ge{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:na.controlName}}_l.Rules=cL;class ta extends be{constructor(e){super(e),this.props=new _l(e==null?void 0:e.props)}static get controlName(){return d.getMessage("tabPane")}static get controlType(){return"tab-pane"}static get controlIcon(){return"tab-pane"}}ta.excludes=[H.TAB],ta.setting=[{key:"caption",showItems:[m.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[m.IS_HIDE]},{key:"super-setting",visible:!0}];class dL extends Ie{constructor(e){super(e),this.props=new _l(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var Gg={Designer:ta,Runtime:dL,Property:_l};class na extends be{constructor(e){var n;super(e),this.props=new Bc(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new ta,new ta]}static get controlName(){return d.getMessage("tab")}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}na.excludes=[H.TAB],na.controlEventKeys=["on_change_tab"],na.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}];class fL extends Ie{constructor(e){super(e),this.props=new Bc(e==null?void 0:e.props)}static get controlType(){return"tab"}}var Kg={Designer:na,Runtime:fL,Property:Bc};class zg extends ge{constructor(e){super(e)}}class Xg extends be{constructor(e){super(e),this.props=new zg({}),this.children=(e==null?void 0:e.children)||[new ea({props:new Nn({span:12})}),new ea({props:new Nn({span:12})})]}static get controlName(){return d.getMessage("toolbox")}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}Xg.excludes=[H.GRID_ROW,H.ROW,H.GRID,H.SUBTABLE,H.TAB,H.TOOLBOX];class hL extends Ie{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new Ac({props:new Nn({span:12})}),new Ac({props:new Nn({span:12})})]}}var Jg={Designer:Xg,Runtime:hL,Property:zg};class mL extends An{constructor(e){super(e),this.push({type:"object",fields:{}})}}class vL extends Ne{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:d.getMessage("pleaseEnterFieldCode")}),e.isShowJoinRelation&&(this.joinRelation=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterAliasCode")},datasourceBind:[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:d.getMessage("pleaseSelectDataCode")},svcCode:{type:"string",required:!0,message:d.getMessage("pleaseSelectSvcCode")}}}],relationFields:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:d.getMessage("pleaseSelectJoinFieldCode")},mainFieldCode:{type:"string",required:!0,message:d.getMessage("pleaseSelectMainFieldCode")}}}}]}}]),Ts.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 ia extends ge{constructor(e){var n,i,r,a,u,l,o,s,f,c,h,b;super(e),this.datasourceBind=new We(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=(r=e==null?void 0:e.triggerType)!=null?r:1,this.triggerFieldCode=(a=e==null?void 0:e.triggerFieldCode)!=null?a:"",this.sublistPage=new BP(e==null?void 0:e.sublistPage),this.isShowJoinRelation=(u=e==null?void 0:e.isShowJoinRelation)!=null?u:!1,this.joinRelation=new kP(e==null?void 0:e.joinRelation),this.showType=(l=e==null?void 0:e.showType)!=null?l:"stretch",this.showFullScreen=(o=e==null?void 0:e.showFullScreen)!=null?o:!1,this.selectionType=(s=e==null?void 0:e.selectionType)!=null?s:"multiple",this.isFixedHeader=(f=e==null?void 0:e.isFixedHeader)!=null?f:!1,this.isShowSelection=(c=e==null?void 0:e.isShowSelection)!=null?c:!1,this.isAllLoaded=(h=e==null?void 0:e.isAllLoaded)!=null?h:!0,this.countType=e==null?void 0:e.countType,this.countLimit=(b=e==null?void 0:e.countLimit)!=null?b:1e5,this.rowStyle=new ZP(e==null?void 0:e.rowStyle)}}ia.Rules=vL,ia.RuntimeRules=mL;class ra extends be{constructor(e){super(e),this.props=new ia(e==null?void 0:e.props)}static get controlName(){return d.getMessage("listView")}static get controlType(){return"list-view"}static get controlIcon(){return"iconyihangduolie"}}ra.slotPosition={left:"list-view-left-slot"},ra.excludes=[H.ROW],ra.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"],ra.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 gL extends Ie{constructor(e){super(e),this.props=new ia(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var Qg={Designer:ra,Runtime:gL,Property:ia};class yL extends An{constructor(e){super(e),this.push({type:"object",fields:{}})}}class bl extends ge{constructor(e){var n,i,r,a,u,l;super(e),this.save=new nn((n=e==null?void 0:e.save)!=null?n:{content:d.getMessage("save"),type:"save",isShow:!1}),this.cancel=new nn((i=e==null?void 0:e.cancel)!=null?i:{content:d.getMessage("cancel"),type:"cancel",isShow:!1}),this.saveAs=new nn((r=e==null?void 0:e.saveAs)!=null?r:{content:d.getMessage("draft"),type:"saveAs",isShow:!1}),this.print=new nn((a=e==null?void 0:e.print)!=null?a:{content:d.getMessage("print"),type:"print",isShow:!1}),this.custom=((u=e==null?void 0:e.custom)!=null?u:[]).map(o=>new nn(o)),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.datasourceBind=new We(e==null?void 0:e.datasourceBind)}}bl.RuntimeRules=yL;class Zg extends be{constructor(e){super(e),this.props=new bl(e==null?void 0:e.props)}static get controlName(){return d.getMessage("dataView")}static get controlType(){return"data-view"}}Zg.excludes=[];class _L extends Ie{constructor(e){super(e),this.props=new bl(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var Yg={Designer:Zg,Runtime:_L,Property:bl};class bL extends be{static get controlName(){return d.getMessage("page")}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class EL extends Ie{static get controlType(){return"page"}constructor(e){super(e)}}class CL extends ge{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 pg={Designer:bL,Runtime:EL,Property:CL};class wL extends be{static get controlName(){return d.getMessage("advancedContainer")}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class IL extends Ie{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class TL extends ge{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new pm(e==null?void 0:e.flexConfig)}}var ey={Designer:wL,Runtime:IL,Property:TL};class SL extends be{static get controlName(){return d.getMessage("positioningContainer")}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class OL extends Ie{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class AL extends ge{constructor(e){super(e)}}var ty={Designer:SL,Runtime:OL,Property:AL};class RL extends be{static get controlName(){return d.getMessage("position")}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class DL extends Ie{static get controlType(){return"position"}constructor(e){super(e)}}class NL extends ge{constructor(e){var n,i,r,a;super(e),this.widthSpan=(n=e==null?void 0:e.widthSpan)!=null?n:12,this.heightSpan=(i=e==null?void 0:e.heightSpan)!=null?i:12,this.left=(r=e==null?void 0:e.left)!=null?r:0,this.top=(a=e==null?void 0:e.top)!=null?a:0}}var ny={Designer:RL,Runtime:DL,Property:NL};class Lc extends ge{constructor(e){var n,i,r;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=(r=e==null?void 0:e.align)!=null?r:"right"}}class El extends be{constructor(e){var n;super(e),this.props=new Lc((n=e==null?void 0:e.props)!=null?n:{})}static get controlName(){return d.getMessage("actionBar")}static get controlType(){return"action-bar"}static get controlIcon(){return"action-bar"}}El.slotPosition={default:"action-bar-slot"},El.excludes=[],El.setting=[{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0},{key:"common-setting",visible:!0,showItems:[m.IS_HIDE]},{key:"super-setting",visible:!0}];class PL extends Ie{constructor(e){var n;super(e),this.props=new Lc((n=e==null?void 0:e.props)!=null?n:{})}static get controlType(){return"action-bar"}}var iy={Designer:El,Runtime:PL,Property:Lc},FL=Object.freeze({__proto__:null,Grid:Bg,Col:Lg,Row:xg,GridRow:Mg,CardGroup:$g,SubTableColumn:Ug,SubTableRow:Hg,GridTableColumn:Wg,GridLayoutContainer:qg,Tab:Kg,TabPane:Gg,Toolbox:Jg,ListView:Qg,DataView:Yg,Page:pg,AdvancedContainer:ey,PositioningContainer:ty,Position:ny,ActionBar:iy});class BL extends Ne{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.limitRows=[{type:"number",required:!0,message:d.getMessage("isNotNumber")},{type:"number",min:0,message:d.getMessage("limitRowsCannotBeLessThan0")}],this.formKey={type:"string",required:!1,message:d.getMessage("pleaseEnterForm")},this.maxHeight={type:"number",required:!0,message:d.getMessage("pleaseEnterMaxHeight")},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},this.mobileRowCaption={type:"string",required:!1,message:d.getMessage("pleaseEnterRowCaption")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0),e.mobileShowType==="tile"&&(this.mobileRowCaption.required=!0)}}class LL extends An{constructor(e){super(e),e.isHide||this.push({type:"array",required:e.limitRows>0,message:d.getMessage("runtimeRequired",{caption:e.caption})},{type:"array",validator(n,i,r){i.length<e.limitRows&&r(d.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})),r()},message:d.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})})}}const ry=class extends bu{constructor(t,e){var n,i,r,a,u,l,o,s,f,c,h,b,S,I,D,y,O,_,C,w,A,N,B,L,K,Me,W,ye,Ze,hn,ot,mn,vn;super(t,e,ry.mode),this.caption=(n=e==null?void 0:e.caption)!=null?n:ua.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.defaultState=(r=e==null?void 0:e.defaultState)!=null?r:"default",this.labelPosition=(a=e==null?void 0:e.labelPosition)!=null?a:"top",this.openType=(u=e==null?void 0:e.openType)!=null?u:"default",this.formKey=(l=e==null?void 0:e.formKey)!=null?l:"",this.useCustomHeight=(o=e==null?void 0:e.useCustomHeight)!=null?o:!1,this.maxHeight=(s=e==null?void 0:e.maxHeight)!=null?s:Zm,this.printMode=(f=e==null?void 0:e.printMode)!=null?f:"row",this.limitRows=(c=e==null?void 0:e.limitRows)!=null?c:1,this.maxRows=(h=e==null?void 0:e.maxRows)!=null?h:null,this.defaultRows=(b=e==null?void 0:e.defaultRows)!=null?b:1,this.datasourceBind=new We(e==null?void 0:e.datasourceBind),this.canAdd=(S=e==null?void 0:e.canAdd)!=null?S:!0,this.canDelete=(I=e==null?void 0:e.canDelete)!=null?I:!0,this.canCheck=(D=e==null?void 0:e.canCheck)!=null?D:!1,this.canEdit=(y=e==null?void 0:e.canEdit)!=null?y:!1,this.canImport=(O=e==null?void 0:e.canImport)!=null?O:!1,this.canExport=(_=e==null?void 0:e.canExport)!=null?_:!1,this.canClear=(C=e==null?void 0:e.canClear)!=null?C:!0,this.serverPagination=(w=e==null?void 0:e.serverPagination)!=null?w:!1,this.isShowCaptionTip=(A=e==null?void 0:e.isShowCaptionTip)!=null?A:!1,this.captionTip=(N=e==null?void 0:e.captionTip)!=null?N:"",this.mobileShowType=(B=e==null?void 0:e.mobileShowType)!=null?B:"list",this.mobileDefaultNum=(L=e==null?void 0:e.mobileDefaultNum)!=null?L:10,this.dataStorageDoc=(K=e==null?void 0:e.dataStorageDoc)!=null?K:new DP,this.fixedColumn=(Me=e==null?void 0:e.fixedColumn)!=null?Me:[],this.mobileRowCaption=(W=e==null?void 0:e.mobileRowCaption)!=null?W:d.getMessage("detailed"),this.mobileIsTile=(ye=e==null?void 0:e.mobileIsTile)!=null?ye:!1,this.isPaste=(Ze=e==null?void 0:e.isPaste)!=null?Ze:!1,this.pageSize=(hn=e==null?void 0:e.pageSize)!=null?hn:10,this.pageSizeOptions=(ot=e==null?void 0:e.pageSizeOptions)!=null?ot:[10,20,50,100],this.importConfig=new Jm(e==null?void 0:e.importConfig),this.exportConfig=new Qm(e==null?void 0:e.exportConfig),this.sortable=(mn=e==null?void 0:e.sortable)!=null?mn:!1,this.sortKey=(vn=e==null?void 0:e.sortKey)!=null?vn:{}}};let aa=ry;aa.Rules=BL,aa.RuntimeRules=LL;class ua extends $s{constructor(e){var n;super(e),this.props=new aa(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 Ct,new Ct,new Ct])}static get controlName(){return d.getMessage("subTable")}static get controlIcon(){return"iconGroup11"}static get controlType(){return"subtable"}addColumn(e,n){const i=e!==void 0&&typeof e!="number"?e:new Ct,r=typeof e=="number"?e:n;return r===void 0?this.props.headers.push(i):this.props.headers.splice(r,0,i),i}}ua.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],ua.slotPosition={toolbar:"subtable-toolbar-slot"},ua.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[m.CAPTION,m.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[m.IS_HIDE,m.IS_SHOW_CAPTION_TIP,m.IS_PASTE,m.SERVER_PAGINATION,m.SORTABLE]},{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 kL extends Fm{constructor(e){super(e),this.props=new aa(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){Ji("Method not implemented.")}getChildrenFormControl(){return[]}}var ay={Designer:ua,Runtime:kL,Property:aa};class kc extends bu{constructor(e,n){var i,r,a,u,l;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=(r=n==null?void 0:n.isShowToolbar)!=null?r:!0,this.isShowSelection=(a=n==null?void 0:n.isShowSelection)!=null?a:!1,this.isShowCustomColumns=(u=n==null?void 0:n.isShowCustomColumns)!=null?u:!0,this.pageSizeOptions=(l=n==null?void 0:n.pageSizeOptions)!=null?l:[10,20,50,100,500]}}class xL extends Nt{constructor(e){super(e),this.caption.required=!1}}class Cl extends Te{constructor(e){var n,i,r,a,u,l,o,s;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:Bn.controlName,this.width=(r=e==null?void 0:e.width)!=null?r:60,this.autoWidth.minWidth=(u=(a=e==null?void 0:e.autoWidth)==null?void 0:a.minWidth)!=null?u:60,this.autoWidth.flex=(o=(l=e==null?void 0:e.autoWidth)==null?void 0:l.flex)!=null?o:.4,this.widthType=(s=e==null?void 0:e.widthType)!=null?s:"px"}}Cl.Rules=xL;class Bn extends Ue{constructor(e){super(e),this.props=new Cl(e==null?void 0:e.props)}}Bn.controlType="order-column",Bn.controlName=d.getMessage("order"),Bn.controlIcon="order-column",Bn.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0}];class xc extends He{constructor(e){super(e),this.props=new Cl(e==null?void 0:e.props)}}xc.controlType="order-column",xc.controlFieldType=F.DECIMAL;var uy={Designer:Bn,Runtime:xc,Property:Cl};class Mc extends Te{constructor(e){var n,i,r,a,u,l;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"right",this.widthType="auto",this.autoWidth.minWidth=(r=(i=e==null?void 0:e.autoWidth)==null?void 0:i.minWidth)!=null?r:84,this.caption=(a=e==null?void 0:e.caption)!=null?a:jt.controlName,this.showType=(u=e==null?void 0:e.showType)!=null?u:"icon",this.limit=(l=e==null?void 0:e.limit)!=null?l:3}}class jt extends Ue{constructor(e){super(e),this.props=new Mc(e==null?void 0:e.props)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===Xu.controlType){const i=n;e.props[i.props.command]=i.props}}),e}validate(e,n){return Qn(this,null,function*(){return yield ud(jt.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}jt.controlType="operation-column",jt.controlName=d.getMessage("operation"),jt.controlIcon="operation-column",jt.setting=[{key:"caption",showItems:[m.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0}];class $c extends He{constructor(e){super(e),this.props=new Mc(e==null?void 0:e.props)}}$c.controlType="operation-column",$c.controlFieldType=F.FILE;var ly={Designer:jt,Runtime:$c,Property:Mc};const ML=1e4;class Ln extends $s{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new kc(this,e==null?void 0:e.props),At(this,"children",e==null?void 0:e.children,void 0,"Designer"),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new Bn,new jt]),this.excludes=_t(n),this.childrenMaxLength=i}static get controlName(){return d.getMessage("gridTable")}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 ba(qt({},e),{children:n})}validate(e,n){return Qn(this,null,function*(){return yield ud(Ln.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Ln.slotPosition={toolbar:"grid-table-toolbar-slot"},Ln.setting=[{key:"list-fixed-header",visible:!0}],Ln.excludes=[],Ln.childrenMaxLength=ML;class $L extends Fm{constructor(e){super(e),this.props=new kc(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){Ji("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var oy={Designer:Ln,Runtime:$L,Property:kc},VL=Object.freeze({__proto__:null,SubTable:ay,GridTable:oy});class UL extends Bm{constructor(e){super(e),on.call(this,e)}}class wl extends Te{constructor(e){var n,i,r,a,u,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:kn.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new We(e==null?void 0:e.datasourceBind),this.options=Vt((r=e==null?void 0:e.options)!=null?r:[{}]),this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new $t(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1,this.dictionaryTagConfig=(l=e==null?void 0:e.dictionaryTagConfig)!=null?l:{isTag:!1}}}wl.Rules=UL;class kn extends Ue{constructor(e){super(e),this.props=new wl(e==null?void 0:e.props)}}kn.controlType="varchar-column",kn.controlName=d.getMessage("varchar"),kn.controlIcon="varchar-column",kn.controlFieldType=F.VARCHAR,kn.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[m.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}];class Vc extends He{constructor(e){super(e),this.props=new wl(e==null?void 0:e.props)}}Vc.controlType="varchar-column",Vc.controlFieldType=F.VARCHAR;var sy={Designer:kn,Runtime:Vc,Property:wl};class HL extends Nt{constructor(e){super(e),on.call(this,e)}}class Il extends Te{constructor(e){var n,i,r,a;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:xn.controlName,this.lineEllipsis=(r=e==null?void 0:e.lineEllipsis)!=null?r:1,this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new $t(e==null?void 0:e.linkOperationOption)}}Il.Rules=HL;class xn extends Ue{constructor(e){super(e),this.props=new Il(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}}xn.controlType="text-column",xn.controlName=d.getMessage("long"),xn.controlIcon="text-column",xn.controlFieldType=F.TEXT,xn.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[m.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}];class Uc extends He{constructor(e){super(e),this.props=new Il(e==null?void 0:e.props)}}Uc.controlType="text-column",Uc.controlFieldType=F.TEXT;var cy={Designer:xn,Runtime:Uc,Property:Il};class jL extends Nt{constructor(e){super(e),on.call(this,e)}}class Tl extends Te{constructor(e){var n,i,r,a,u,l,o;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Mn.controlName,this.precision=(i=e==null?void 0:e.precision)!=null?i:0,this.micrometer=(r=e==null?void 0:e.micrometer)!=null?r:!1,this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"none",this.datasourceBind=new We(e==null?void 0:e.datasourceBind),this.options=Vt((l=e==null?void 0:e.options)!=null?l:[{}]),this.showLinkOperation=(o=e==null?void 0:e.showLinkOperation)!=null?o:!1,this.linkOperationOption=new $t(e==null?void 0:e.linkOperationOption)}}Tl.Rules=jL;class Mn extends Ue{constructor(e){super(e),this.props=new Tl(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{precision:i,micrometer:r}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=r}return n}}Mn.controlType="decimal-column",Mn.controlName=d.getMessage("decimal"),Mn.controlIcon="decimal-column",Mn.controlFieldType=F.DECIMAL,Mn.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[m.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:[m.MICROMETER,m.PRECISION,m.PERCENTAGE],visible:!0},{key:"column-align-content",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}];class Hc extends He{constructor(e){super(e),this.props=new Tl(e==null?void 0:e.props)}}Hc.controlType="decimal-column",Hc.controlFieldType=F.DECIMAL;var dy={Designer:Mn,Runtime:Hc,Property:Tl};class WL extends Nt{constructor(e){super(e),on.call(this,e)}}class Sl extends Te{constructor(e){var n,i,r;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Gt.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new $t(e==null?void 0:e.linkOperationOption),this.caption=(r=e==null?void 0:e.caption)!=null?r:$n.controlName}}Sl.Rules=WL;class $n extends Ue{constructor(e){super(e),this.props=new Sl(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i}=this.props;n.props.dateType=i}return n}}$n.controlType="timescope-column",$n.controlName=d.getMessage("timescope"),$n.controlIcon="timescope-column",$n.controlFieldType=F.TIMESCOPE,$n.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[m.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}];class jc extends He{constructor(e){super(e),this.props=new Sl(e==null?void 0:e.props)}}jc.controlType="timescope-column",jc.controlFieldType=F.TIMESCOPE;var fy={Designer:$n,Runtime:jc,Property:Sl};class qL extends Nt{constructor(e){super(e),on.call(this,e)}}class Ol extends Te{constructor(e){var n,i,r;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Gt.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new $t(e==null?void 0:e.linkOperationOption),this.caption=(r=e==null?void 0:e.caption)!=null?r:Vn.controlName}}Ol.Rules=qL;class Vn extends Ue{constructor(e){super(e),this.props=new Ol(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i}=this.props;n.props.dateType=i}return n}}Vn.controlType="timestamp-column",Vn.controlName=d.getMessage("timestamp"),Vn.controlIcon="timestamp-column",Vn.controlFieldType=F.TIMESTAMP,Vn.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[m.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}];class Wc extends He{constructor(e){super(e),this.props=new Ol(e==null?void 0:e.props)}}Wc.controlType="timestamp-column",Wc.controlFieldType=F.TIMESTAMP;var hy={Designer:Vn,Runtime:Wc,Property:Ol};class GL extends Bm{constructor(e){super(e),on.call(this,e)}}class Al extends Te{constructor(e){var n,i,r,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Un.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new We(e==null?void 0:e.datasourceBind),this.showLinkOperation=(r=e==null?void 0:e.showLinkOperation)!=null?r:!1,this.linkOperationOption=new $t(e==null?void 0:e.linkOperationOption),this.options=Vt((a=e==null?void 0:e.options)!=null?a:[{}])}}Al.Rules=GL;class Un extends Ue{constructor(e){super(e),this.props=new Al(e==null?void 0:e.props)}}Un.controlType="array-column",Un.controlName=d.getMessage("array"),Un.controlIcon="array-column",Un.controlFieldType=F.ARRAY,Un.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[m.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}];class qc extends He{constructor(e){super(e),this.props=new Al(e==null?void 0:e.props)}}qc.controlType="array-column",qc.controlFieldType=F.ARRAY;var my={Designer:Un,Runtime:qc,Property:Al};class Gc extends Te{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Hn.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class Hn extends Ue{constructor(e){super(e),this.props=new Gc(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}}Hn.controlType="department-column",Hn.controlName=d.getMessage("department"),Hn.controlIcon="department-column",Hn.controlFieldType=F.DEPARTMENTS,Hn.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[m.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}];class Kc extends He{constructor(e){super(e),this.props=new Gc(e==null?void 0:e.props)}}Kc.controlType="department-column",Kc.controlFieldType=F.DEPARTMENTS;var vy={Designer:Hn,Runtime:Kc,Property:Gc};class KL extends Nt{constructor(e){super(e),on.call(this,e)}}class Rl extends Te{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:jn.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new $t(e==null?void 0:e.linkOperationOption)}}Rl.Rules=KL;class jn extends Ue{constructor(e){super(e),this.props=new Rl(e==null?void 0:e.props)}}jn.controlType="auto-number-column",jn.controlName=d.getMessage("autoNumber"),jn.controlIcon="auto-number-column",jn.controlFieldType=F.AUTO_NUMBER,jn.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[m.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}];class zc extends He{constructor(e){super(e),this.props=new Rl(e==null?void 0:e.props)}}zc.controlType="auto-number-column",zc.controlFieldType=F.AUTO_NUMBER;var gy={Designer:jn,Runtime:zc,Property:Rl};class Xc extends Te{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Wn.controlName}}class Wn extends Ue{constructor(e){super(e),this.props=new Xc(e==null?void 0:e.props)}}Wn.controlType="file-column",Wn.controlName=d.getMessage("file"),Wn.controlIcon="file-column",Wn.controlFieldType=F.FILE,Wn.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[m.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Jc extends He{constructor(e){super(e),this.props=new Xc(e==null?void 0:e.props)}}Jc.controlType="file-column",Jc.controlFieldType=F.FILE;var yy={Designer:Wn,Runtime:Jc,Property:Xc};class Qc extends Te{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:qn.controlName}}class qn extends Ue{constructor(e){super(e),this.props=new Qc(e==null?void 0:e.props)}}qn.controlType="image-column",qn.controlName=d.getMessage("image"),qn.controlIcon="image-column",qn.controlFieldType=F.IMAGE,qn.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[m.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Zc extends He{constructor(e){super(e),this.props=new Qc(e==null?void 0:e.props)}}Zc.controlType="image-column",Zc.controlFieldType=F.IMAGE;var _y={Designer:qn,Runtime:Zc,Property:Qc};class Yc extends Te{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Gn.controlName}}class Gn extends Ue{constructor(e){super(e),this.props=new Yc(e==null?void 0:e.props)}}Gn.controlType="people-column",Gn.controlName=d.getMessage("people"),Gn.controlIcon="people-column",Gn.controlFieldType=F.EMPLOYEES,Gn.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[m.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class pc extends He{constructor(e){super(e),this.props=new Yc(e==null?void 0:e.props)}}pc.controlType="people-column",pc.controlFieldType=F.EMPLOYEES;var by={Designer:Gn,Runtime:pc,Property:Yc};class zL extends Nt{constructor(e){super(e),on.call(this,e)}}class Dl extends Te{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Kn.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new $t(e==null?void 0:e.linkOperationOption)}}Dl.Rules=zL;class Kn extends Ue{constructor(e){super(e),this.props=new Dl(e==null?void 0:e.props)}}Kn.controlType="location-column",Kn.controlName=d.getMessage("location"),Kn.controlIcon="location-column",Kn.controlFieldType=F.ADDRESS,Kn.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[m.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}];class ed extends He{constructor(e){super(e),this.props=new Dl(e==null?void 0:e.props)}}ed.controlType="location-column",ed.controlFieldType=F.ADDRESS;var Ey={Designer:Kn,Runtime:ed,Property:Dl};class XL extends Nt{constructor(e){super(e),this.sortFieldCode={type:"string",message:d.getMessage("pleaseSelectSortFieldCode")},e.sort===!0&&(this.sortFieldCode.required=!0)}}class Nl extends Te{constructor(e){var n,i,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Wt.controlName,this.fieldCodeList=(i=e==null?void 0:e.fieldCodeList)!=null?i:[],this.sortFieldCode=(r=e==null?void 0:e.sortFieldCode)!=null?r:""}}Nl.Rules=XL;const JL=1;class Wt extends Ue{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new Nl(e==null?void 0:e.props),At(this,"children",e==null?void 0:e.children,void 0,"Designer"),this.excludes=_t(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}}Wt.controlType="custom-column",Wt.controlName=d.getMessage("custom"),Wt.controlIcon="custom-column",Wt.slots=["column-column-slot"],Wt.excludes=[],Wt.childrenMaxLength=JL,Wt.setting=[{key:"caption",showItems:[m.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}];class Cy extends He{constructor(e){super(e),this.props=new Nl(e==null?void 0:e.props),At(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}Cy.controlType="custom-column";var wy={Designer:Wt,Runtime:Cy,Property:Nl};class td extends Te{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:fn.controlName,this.datasourceBind=new iu((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:fn.controlCustomAttributes})}}class fn extends Ue{constructor(e){super(e),this.props=new td(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}fn.controlType="employee-column",fn.controlName=d.getMessage("employee"),fn.controlIcon="employee-column",fn.controlFieldType=F.EMPLOYEES,fn.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[m.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class nd extends He{constructor(e){super(e),this.props=new td(e==null?void 0:e.props)}}nd.controlType="employee-column",nd.controlFieldType=F.EMPLOYEES;var Iy={Designer:fn,Runtime:nd,Property:td};class id extends Te{constructor(e){var n,i,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:zn.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new $t(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(r=e==null?void 0:e.lineEllipsis)!=null?r:1}}class zn extends Ue{constructor(e){super(e),this.props=new id(e==null?void 0:e.props)}}zn.controlType="approval-status-column",zn.controlName=d.getMessage("approvalStatusColumn"),zn.controlIcon="approval-status-column",zn.excludes=[],zn.setting=[{key:"caption",showItems:[m.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}];class Ty extends He{constructor(e){super(e),this.props=new id(e==null?void 0:e.props)}}Ty.controlType="approval-status-column";var Sy={Designer:zn,Runtime:Ty,Property:id},QL=Object.freeze({__proto__:null,VarcharColumn:sy,TextColumn:cy,DecimalColumn:dy,TimescopeColumn:fy,TimestampColumn:hy,ArrayColumn:my,DepartmentColumn:vy,AutoNumberColumn:gy,FileColumn:yy,ImageColumn:_y,PeopleColumn:by,LocationColumn:Ey,CustomColumn:wy,OrderColumn:uy,OperationColumn:ly,EmployeeColumn:Iy,ApprovalStatusColumn:Sy});class ZL extends An{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Pl extends Js{constructor(e){var n,i,r,a,u,l,o,s,f,c,h,b;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=(r=e==null?void 0:e.viewType)!=null?r:"mini",this.search=new nn((a=e==null?void 0:e.search)!=null?a:{content:d.getMessage("query"),isShow:!0}),this.cancel=new nn((u=e==null?void 0:e.cancel)!=null?u:{content:d.getMessage("reset"),isShow:!0}),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.custom=((o=e==null?void 0:e.custom)!=null?o:[]).map(S=>new nn(S)),this.queryTypeMap=(s=e==null?void 0:e.queryTypeMap)!=null?s:[],this.childMinWidth=(f=e==null?void 0:e.childMinWidth)!=null?f:230,this.colGap=(c=e==null?void 0:e.colGap)!=null?c:24,this.viewConfig=(h=e==null?void 0:e.viewConfig)!=null?h:[],this.simpleConfig=(b=e==null?void 0:e.simpleConfig)!=null?b:[]}}Pl.RuntimeRules=ZL;class Fl extends zB{constructor(e){super(e),this.props=new Pl(e==null?void 0:e.props)}}Fl.controlType="simple-search",Fl.slotPosition={default:"search"},Fl.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:[m.IS_HIDE]},{key:"search-view-type",visible:!0}];class Oy extends e1{constructor(e){var n;super(e),this.props=new Pl(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}Oy.controlType="simple-search";var Ay={Designer:Fl,Runtime:Oy,Property:Pl},YL=Object.freeze({__proto__:null,SimpleSearch:Ay});class rd extends tc{constructor(e){var n;super(e),this.wholeRow=(n=e==null?void 0:e.wholeRow)!=null?n:!1}}class pL extends m1{constructor(e){super(e),this.props=new rd(e==null?void 0:e.props)}static get controlName(){return d.getMessage("gridLayoutWrap")}static get controlIcon(){return"page"}static get controlType(){return"grid-layout-wrap"}}class ek extends C1{constructor(e){super(e),this.props=new rd(e==null?void 0:e.props)}static get controlType(){return"grid-layout-wrap"}}function vk(t){return t}var tk={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:d.getMessage("fullLine"),props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},Ry={Designer:pL,Runtime:ek,Property:rd,Setting:tk},nk=Object.freeze({__proto__:null,GridLayoutWrap:Ry});T.ActionBar=iy,T.Address=eg,T.AdvancedContainer=ey,T.Amount=Qv,T.ApprovalStatusColumn=Sy,T.ArrayColumn=my,T.AssignType=cn,T.Attachment=Kv,T.AutoNumber=rg,T.AutoNumberColumn=gy,T.BatchDeleteButton=Iv,T.BatchPrintListButton=Ev,T.BatchPrintRecordListButton=Cv,T.BatchSubmissionListButton=av,T.Button=Wm,T.Calc=ug,T.CardGroup=$g,T.Checkbox=Av,T.Col=Lg,T.CreateFormListButton=rv,T.CustomColumn=wy,T.DATE_CONFIG_TYPE=qm,T.DATE_LIMIT_TYPE=Gm,T.Dashboard=vv,T.DataView=Yg,T.DatePicker=Bv,T.DateRange=kv,T.DecimalColumn=dy,T.Department=ng,T.Department2=Ag,T.DepartmentColumn=vy,T.DepartmentType=ku,T.Divider=nv,T.ElectronicSignature=Ig,T.ElectronicSignatureConfig=Km,T.Employee=Gv,T.Employee2=Cg,T.EmployeeColumn=Iy,T.EncryptTypeEnum=ev,T.Explain=Lu,T.ExportConfig=Qm,T.ExportListButton=lv,T.ExportRecordListButton=ov,T.ExportTemplate=Er,T.FileColumn=yy,T.FlexStyleConfig=pm,T.FormSelectButton=cv,T.Grid=Bg,T.GridLayoutContainer=qg,T.GridLayoutWrap=Ry,T.GridRow=Mg,T.GridTable=oy,T.GridTableColumn=Wg,T.Image=Xv,T.ImageColumn=_y,T.ImportConfig=Jm,T.ImportListBind=Xm,T.ImportRecordListButton=sv,T.Input=Sv,T.InternalType=mc,T.InvoiceCheckButton=bv,T.LINE_STYLE=cc,T.LimitDate=Bu,T.Link=jm,T.ListSelectButton=dv,T.ListView=Qg,T.ListViewSelect=yv,T.LocationColumn=Ey,T.Number=Pv,T.OperationButton=wv,T.OperationColumn=ly,T.OrderColumn=uy,T.OrganizationSelection=Dg,T.OrganizeType=hc,T.Page=pg,T.Pagination=hv,T.PeopleColumn=by,T.Position=ny,T.PositioningContainer=ty,T.PrintTemplate=Ym,T.Radio=Dv,T.RichText=Vv,T.Row=xg,T.SCORE_TYPE=sc,T.SUBTABLE_DEFAULT_MAX_HEIGHT=Zm,T.Score=Yv,T.SearchDateRange=cg,T.SearchInput=yg,T.SearchNumberRange=og,T.Select=Hv,T.SelectMultiple=Wv,T.SelectRelation=mg,T.SimpleSearch=Ay,T.SubTable=ay,T.SubTableColumn=Ug,T.SubTableRow=Hg,T.SubmissionRecordListButton=uv,T.Tab=Kg,T.TabPane=Gg,T.Text=Hm,T.TextColumn=cy,T.TextOcrButton=_v,T.Textarea=Mv,T.TimescopeColumn=fy,T.TimestampColumn=hy,T.Title=iv,T.TitleConfigEnum=sn,T.Toolbox=Jg,T.Tree=bg,T.UndersignedPerson=dc,T.VarcharColumn=sy,T.VueFormItem=fg,T.VuePage=Pg,T.WPS=Sg,T.WPSSetting=zm,T.WpsOperationItem=fc,T.baseControls=i3,T.columnControls=QL,T.formControls=p3,T.initExpression=Cr,T.layoutControls=FL,T.listControls=VL,T.searchControls=YL,T.wrapControls=nk,Object.defineProperty(T,"__esModule",{value:!0})});
|
|
1
|
+
var yb=Object.defineProperty,gb=Object.defineProperties;var mb=Object.getOwnPropertyDescriptors;var Ws=Object.getOwnPropertySymbols,vb=Object.getPrototypeOf,bb=Object.prototype.hasOwnProperty,_b=Object.prototype.propertyIsEnumerable,wb=Reflect.get;var Ks=(y,F,U)=>F in y?yb(y,F,{enumerable:!0,configurable:!0,writable:!0,value:U}):y[F]=U,ut=(y,F)=>{for(var U in F||(F={}))bb.call(F,U)&&Ks(y,U,F[U]);if(Ws)for(var U of Ws(F))_b.call(F,U)&&Ks(y,U,F[U]);return y},Bl=(y,F)=>gb(y,mb(F));var Nl=(y,F,U)=>wb(vb(y),U,F);var Ll=(y,F,U)=>new Promise(($t,we)=>{var Hn=v=>{try{ot(U.next(v))}catch(se){we(se)}},S=v=>{try{ot(U.throw(v))}catch(se){we(se)}},ot=v=>v.done?$t(v.value):Promise.resolve(v.value).then(Hn,S);ot((U=U.apply(y,F)).next())});(function(y,F){typeof exports=="object"&&typeof module!="undefined"?F(exports):typeof define=="function"&&define.amd?define(["exports"],F):(y=typeof globalThis!="undefined"?globalThis:y||self,F(y.modelDrivenControls={}))})(this,function(y){"use strict";var F;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(F||(F={}));var U;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(U||(U={}));var $t;$t=window.localStorage.getItem("locale");var we;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(we||(we={}));var Hn;(function(t){t[t.FORM=0]="FORM",t[t.LIST=1]="LIST",t[t.REPORT=2]="REPORT",t[t.DASHBOARD=3]="DASHBOARD",t[t.VUE=4]="VUE",t[t.FREE_PAGE=5]="FREE_PAGE"})(Hn||(Hn={}));var S;(function(t){t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.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"})(S||(S={}));var ot;(function(t){t.SAVE="save",t.DRAFT="draft",t.UNSUBMIT="unsubmit",t.AUDIT="audit",t.UNAUDIT="unaudit",t.CANCEL="cancel",t.FORM_SUBMIT="form_submit"})(ot||(ot={}));var v;(function(t){t.VARCHAR="varchar",t.TEXT="text",t.ARRAY="array",t.ADDRESS="location",t.DECIMAL="decimal",t.DECIMAL_RANGE="decimal_range",t.TIMESTAMP="timestamp",t.EMPLOYEES="people",t.DEPARTMENTS="department",t.MONEY="money",t.TIMESCOPE="timescope",t.FILE="file",t.IMAGE="image",t.AUTO_NUMBER="auto_number",t.CALC="calc",t.LIST="list",t.JSON="json",t.ANY="ANY"})(v||(v={}));var se;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime"})(se||(se={}));var $l={DEFAULT:"default"},Fl="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",zs=Fl+"0123456789";function ge(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?Fl:zs,a=Math.random()*i.length;e+=i[parseInt(String(a),10)]}return e}function Ia(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Gs(t){if(Array.isArray(t))return Ia(t)}function Xs(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Hl(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Vn(t,e,n){return ql()?Vn=Reflect.construct:Vn=function(a,r,l){var u=[null];u.push.apply(u,r);var s=Function.bind.apply(a,u),o=new s;return l&&Ht(o,l.prototype),o},Vn.apply(null,arguments)}function Ft(t){return Ft=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ft(t)}function Vl(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&&Ht(t,e)}function Qs(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Js(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Zs(){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 Ys(t,e){return e&&(ps(e)==="object"||typeof e=="function")?e:Xs(t)}function Ht(t,e){return Ht=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},Ht(t,e)}function jl(t){return Gs(t)||Js(t)||ed(t)||Zs()}function ps(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ed(t,e){if(!!t){if(typeof t=="string")return Ia(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ia(t,e)}}function Ca(t){var e=typeof Map=="function"?new Map:void 0;return Ca=function(i){if(i===null||!Qs(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,a)}function a(){return Vn(i,arguments,Ft(this).constructor)}return a.prototype=Object.create(i.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),Ht(a,i)},Ca(t)}function ql(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Ul(t){var e=ql();return function(){var i=Ft(t),a;if(e){var r=Ft(this).constructor;a=Reflect.construct(i,arguments,r)}else a=i.apply(this,arguments);return Ys(this,a)}}var Sa=console;function Ra(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i,a=e.slice(1);(i=Sa).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(jl(a)))}function Wl(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i,a=e.slice(1);(i=Sa).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(jl(a)))}function td(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Ta=function(t){Vl(n,t);var e=Ul(n);function n(i){Hl(this,n);var a;return a=e.call(this,i),a.name="\u{1F4A5} Driven Error",a.message=i?td(i):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",a}return n}(Ca(Error)),nd=function(t){Vl(n,t);var e=Ul(n);function n(i){Hl(this,n);var a;return a=e.call(this,i),a.name="\u{1F6A8} Driven Reference Error",a}return n}(Ta);function Vt(t){throw new Ta(t)}function Kl(t){throw new nd(t)}function id(t){Sa.error(new Ta(t))}const zl=(t,e)=>{if(!t)return console.error("getLocaleText\u7684key\u4E0D\u80FD\u4E3A\u7A7A"),"";const n=t.split(".");let i;const a=(window.baitedaWorkers||{}).languageMessages||{};n.forEach((l,u)=>{u===0?i=a[l]:i&&(i=i[l])});let r="";return i&&(r=i),e&&Object.keys(e).forEach(l=>{const u=e[l];r=r.replace(new RegExp(`\\{\\s*${l}\\s*\\}`,"g"),u)}),r||(r=t),r};function ad(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gl(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 rd(t,e,n){return e&&Gl(t.prototype,e),n&&Gl(t,n),t}var c=function(){function t(){ad(this,t)}return rd(t,null,[{key:"getMessage",value:function(n){return zl("CMD."+n)}}]),t}();function ld(t,e,n){var i=e.replace(/\[(\d)]/g,function(r,l){return"."+l}).split("."),a=!1;return i.reduce(function(r,l,u,s){var o=r;if(!!r){if(!Object.prototype.hasOwnProperty.call(r,l)){Ra("Can not set ".concat(e,"'s ").concat(l," property in current %o, Because there is no ").concat(l," property on the %o"),r,r);return}return u===s.length-1&&!Object.is(o[l],n)&&(o[l]=n,a=!0),o[l]}},t),a}var ud=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},od={exports:{}};(function(t){(function(e){var n=function(m,I,k){if(!o(I)||g(I)||b(I)||_(I)||s(I))return I;var A,D=0,oe=0;if(f(I))for(A=[],oe=I.length;D<oe;D++)A.push(n(m,I[D],k));else{A={};for(var N in I)Object.prototype.hasOwnProperty.call(I,N)&&(A[m(N,k)]=n(m,I[N],k))}return A},i=function(m,I){I=I||{};var k=I.separator||"_",A=I.split||/(?=[A-Z])/;return m.split(A).join(k)},a=function(m){return C(m)?m:(m=m.replace(/[\-_\s]+(.)?/g,function(I,k){return k?k.toUpperCase():""}),m.substr(0,1).toLowerCase()+m.substr(1))},r=function(m){var I=a(m);return I.substr(0,1).toUpperCase()+I.substr(1)},l=function(m,I){return i(m,I).toLowerCase()},u=Object.prototype.toString,s=function(m){return typeof m=="function"},o=function(m){return m===Object(m)},f=function(m){return u.call(m)=="[object Array]"},g=function(m){return u.call(m)=="[object Date]"},b=function(m){return u.call(m)=="[object RegExp]"},_=function(m){return u.call(m)=="[object Boolean]"},C=function(m){return m=m-0,m===m},w=function(m,I){var k=I&&"process"in I?I.process:I;return typeof k!="function"?m:function(A,D){return k(A,m,D)}},T={camelize:a,decamelize:l,pascalize:r,depascalize:l,camelizeKeys:function(m,I){return n(w(a,I),m)},decamelizeKeys:function(m,I){return n(w(l,I),m,I)},pascalizeKeys:function(m,I){return n(w(r,I),m)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=T:e.humps=T})(ud)})(od);var Xl={};Object.defineProperty(Xl,"__esModule",{value:!0});function xa(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:xa(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:xa(i)}return e}}var cd=Xl.default=xa;function sd(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function de(t){if(t!==void 0)return(typeof t=="undefined"?"undefined":sd(t))==="object"?cd(t):t}function dd(t){return Object.prototype.toString.call(t)==="[object Object]"}function ka(t){return Array.isArray(t)}function fd(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Pa(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 hd(t){if(Array.isArray(t))return Pa(t)}function Ql(t,e,n,i,a,r,l){try{var u=t[r](l),s=u.value}catch(o){n(o);return}u.done?e(s):Promise.resolve(s).then(i,a)}function yd(t){return function(){var e=this,n=arguments;return new Promise(function(i,a){var r=t.apply(e,n);function l(s){Ql(r,i,a,l,u,"next",s)}function u(s){Ql(r,i,a,l,u,"throw",s)}l(void 0)})}}function gd(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Jl(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 md(t,e,n){return e&&Jl(t.prototype,e),n&&Jl(t,n),t}function Zl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function vd(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function bd(){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 Oa(t){return hd(t)||vd(t)||_d(t)||bd()}function _d(t,e){if(!!t){if(typeof t=="string")return Pa(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 Pa(t,e)}}function wd(t,e){var n,i,a,r,l={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]};return r={next:u(0),throw:u(1),return:u(2)},typeof Symbol=="function"&&(r[Symbol.iterator]=function(){return this}),r;function u(o){return function(f){return s([o,f])}}function s(o){if(n)throw new TypeError("Generator is already executing.");for(;l;)try{if(n=1,i&&(a=o[0]&2?i.return:o[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,o[1])).done)return a;switch(i=0,a&&(o=[o[0]&2,a.value]),o[0]){case 0:case 1:a=o;break;case 4:return l.label++,{value:o[1],done:!1};case 5:l.label++,i=o[1],o=[0];continue;case 7:o=l.ops.pop(),l.trys.pop();continue;default:if(a=l.trys,!(a=a.length>0&&a[a.length-1])&&(o[0]===6||o[0]===2)){l=0;continue}if(o[0]===3&&(!a||o[1]>a[0]&&o[1]<a[3])){l.label=o[1];break}if(o[0]===6&&l.label<a[1]){l.label=a[1],a=o;break}if(a&&l.label<a[2]){l.label=a[2],l.ops.push(o);break}a[2]&&l.ops.pop(),l.trys.pop();continue}o=e.call(t,l)}catch(f){o=[6,f],i=0}finally{n=a=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}}var Id=function(){function t(){gd(this,t),Zl(this,"_events",new Map),Zl(this,"debug",!1)}return md(t,[{key:"emit",value:function(n){for(var i=arguments.length,a=new Array(i>1?i-1:0),r=1;r<i;r++)a[r-1]=arguments[r];var l=this;return yd(function(){var u,s,o,f,g,b,_,C,w,T,m,I;return wd(this,function(k){switch(k.label){case 0:if(u=l._events.get(n),s=[],!u)return[3,10];o=u.slice(),f=!0,g=!1,b=void 0,k.label=1;case 1:k.trys.push([1,8,9,10]),_=o[Symbol.iterator](),k.label=2;case 2:if(f=(C=_.next()).done)return[3,7];if(w=C.value,!u.includes(w))return[3,6];k.label=3;case 3:return k.trys.push([3,5,,6]),l.debug&&Wl.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(w.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+w.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(a.map(function(){return"%o"}).join(","),"\u3002")].concat(Oa(a))),[4,w.apply(null,Oa(a))];case 4:return T=k.sent(),l.debug&&Wl.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(w.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+w.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(a.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(Oa(a),[T])),s.push(T),T===!1?[3,7]:[3,6];case 5:return m=k.sent(),id(String(m)+":"+String(m.stack)),[3,6];case 6:return f=!0,[3,2];case 7:return[3,10];case 8:return I=k.sent(),g=!0,b=I,[3,10];case 9:try{!f&&_.return!=null&&_.return()}finally{if(g)throw b}return[7];case 10:return[2,s]}})})()}},{key:"on",value:function(n,i){if(this._events.has(n)){var a;(a=this._events.get(n))===null||a===void 0||a.push(i)}else this._events.set(n,[i])}},{key:"off",value:function(n,i){if(this._events.has(n)){var a=this._events.get(n),r=a==null?void 0:a.indexOf(i);a==null||a.splice(r,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),t}();function Cd(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Yl(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 Sd(t,e,n){return e&&Yl(t.prototype,e),n&&Yl(t,n),t}function Rd(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Td=[{key:"on_click",name:c.getMessage("click"),code:"click"},{key:"on_click_finish",name:c.getMessage("finished"),code:"click-finish"},{key:"on_change",name:c.getMessage("valueChange"),code:"change"},{key:"on_search",name:c.getMessage("search"),code:"search"},{key:"on_list_change",name:c.getMessage("listDataChange"),code:"list-change"},{key:"on_list_search",name:c.getMessage("listDataCreate"),code:"list-search"},{key:"on_list_mounted",name:c.getMessage("listDataBack"),code:"list-mounted"},{key:"on_list_delete",name:c.getMessage("listDataDelete"),code:"list-delete"},{key:"on_list_before_insert",name:c.getMessage("listDataAdd"),code:"list-before-insert"},{key:"on_input",name:c.getMessage("onInput"),code:"input"},{key:"on_blur",name:c.getMessage("onBlur"),code:"blur"},{key:"on_focus",name:c.getMessage("onFocus"),code:"focus"},{key:"on_wps_open",name:c.getMessage("onOpenFile"),code:"wps-open"},{key:"on_wps_save",name:c.getMessage("onSaveFile"),code:"wps-save"},{key:"on_wps_rename",name:c.getMessage("rename"),code:"wps-rename"},{key:"on_list_actions",name:c.getMessage("onClickBtn"),code:"list-actions"},{key:"on_list_render_operation",name:c.getMessage("cellRender"),code:"list-render-operation"},{key:"on_list_rowclick",name:c.getMessage("rowClick"),code:"list-rowclick"},{key:"on_list_before_rowdelete",name:c.getMessage("rowDelete"),code:"list-before-rowdelete"},{key:"on_list_before_import",name:c.getMessage("listDataImport"),code:"list-before-import"},{key:"on_list_rows_checked",name:c.getMessage("rowSelected"),code:"list-rows-checked"},{key:"on_change_tab",name:c.getMessage("tabChange"),code:"change-tab"},{key:"on_modal_ok",name:c.getMessage("modalConfirm"),code:"modal-ok"}],xd=function(){function t(){Cd(this,t)}return Sd(t,null,[{key:"getEventsFromKeys",value:function(n){var i=typeof n=="string"?[n]:n;return t.events.filter(function(a){return i.includes(a.key)})}},{key:"getEventsFromControl",value:function(n){var i=[],a=n.eventKeys;i=i.concat(t.events.filter(function(l){return a.includes(l.key)}));var r=n.customEvents.map(function(l){var u=l.key;return l.namespace!==void 0&&l.namespace!==null&&l.namespace!==""&&(u=l.namespace+":"+l.key),{key:u,code:l.key,name:l.name}});return i=i.concat(r),i}}]),t}();Rd(xd,"events",Td);function Ea(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 kd(t){if(Array.isArray(t))return Ea(t)}function Pd(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Od(){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 pl(t){return kd(t)||Pd(t)||Ed(t)||Od()}function Ed(t,e){if(!!t){if(typeof t=="string")return Ea(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 Ea(t,e)}}function Aa(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function eu(t,e,n){n!=="Runtime"&&(t.parent=e,Aa(t,"parent"))}function Ad(t,e,n){t.forEach(function(i){eu(i,e,n)})}var tu=Symbol("targetKey");function nu(t){var e;return(e=t[tu])!==null&&e!==void 0?e:t}function iu(t,e,n){return Ad(t,e,n),new Proxy(t,{get:function(a,r){for(var l=arguments.length,u=new Array(l>2?l-2:0),s=2;s<l;s++)u[s-2]=arguments[s];var o;return r===tu?a:(o=Reflect).get.apply(o,[a,r].concat(pl(u)))},set:function(a,r,l){for(var u=arguments.length,s=new Array(u>3?u-3:0),o=3;o<u;o++)s[o-3]=arguments[o];var f;if(ka(t)&&r==="length"&&l===t.length)return!0;var g=(f=Reflect).set.apply(f,[a,r,l].concat(pl(s)));return dd(l)&&eu(l,e,n),g}})}function me(t,e,n,i,a){var r=i!=null?i:t,l=iu(nu(n!=null?n:[]),r,a);Object.defineProperty(t,e,{get:function(){return l},set:function(s){l=iu(nu(s),r,a)},enumerable:!0})}function Md(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function au(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 Dd(t,e,n){return e&&au(t.prototype,e),n&&au(t,n),t}function Oe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var ru=[],jn=function(){function t(e){Md(this,t),Oe(this,"registeredControlTypes",new Set),Oe(this,"controlConfigMap",new Map),Oe(this,"_controls",[]),Oe(this,"_type",void 0),this._type=e,this._initControls(e)}return Dd(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__||Vt("".concat(n.name," is not a Control"));var i=this._controls.findIndex(function(a){return a.controlType===n.controlType});return i>-1&&(Ra("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===we.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===we.FORM}},{key:"isListControl",value:function(n){return n.controlType===we.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===we.COLUMN}},{key:"createControl",value:function(n,i){var a=this;if(Array.isArray(n))return n.map(function(f){return a.createControl(f,i)});if(n.children&&(n.children=n.children.map(function(f){return a.createControl(f,i)})),this.isListControl(n)){var r=n.props;r.headers&&(r.headers=r.headers.map(function(f){return a.createControl(f,i)}))}var l=this.getControlFormType(n.type);if(l){var u=n;if(typeof i=="function"){var s=i(u);s&&(u=s)}var o;return l.mode==="Runtime"?(o=u,o.fieldType=l.controlFieldType,this._setParentPrototypeToSchema(o,this)):o=new l(u),o}else Vt("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}}),Aa(n,"parent")}},{key:"_setParentPrototypeToSchema",value:function(n,i){i._type==="Runtime"&&(Object.defineProperty(n,"parent",{configurable:!0,get:function(){var r=n.id,l=i._controlParentIdMap,u=i.instanceMap;if(!(!l||!u)){var s=l[r],o=u[r];if(!(!s&&!o)){var f=o.findIndex(function(_){return _==n}),g=u[s]||[],b;return g.length!==o.length?b=g[0]:b=g[f],b}}}}),Aa(n,"parent"))}},{key:"createControlInstance",value:function(n,i){var a=this.getControlFormType(n);if(a)return new a(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(a){i.register(a[n]),t.staticControlsRuntimeRules.set(a.Runtime.controlType,a.Property.RuntimeRules),a.Property.mode=n})}}],[{key:"staticGetRules",value:function(n,i){var a=t.staticControlsRuntimeRules.get(n),r=[];if(a){var l=new a(i);r=Array.from(l)}return r}},{key:"register",value:function(n,i){var a=n.Designer,r=n.Runtime,l=n.Property;(!a||!r||!a.__is_control__||!r.__is_control__)&&Vt("".concat(n," is can't register as a Control"));var u=this.staticControls.findIndex(function(s){return s.Designer.controlType===a.controlType});return u>-1&&(Ra("The ".concat(a.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(u,1)),this.staticRegisteredTypes.add(a.controlType),this.staticControls.push(n),l.mode=i,this}}]),t}();Oe(jn,"staticControlsRuntimeRules",new Map),Oe(jn,"staticControls",ru),Oe(jn,"staticRegisteredTypes",new Set(ru.map(function(t){return t.Designer.controlType}))),Oe(jn,"staticRegisteredConfigs",new Map);function L(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function R(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function qn(t){return qn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qn(t)}function fe(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ma(t,e)}function Bd(t,e){return e&&(Nd(e)==="object"||typeof e=="function")?e:L(t)}function Ma(t,e){return Ma=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},Ma(t,e)}function Nd(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ld(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function he(t){var e=Ld();return function(){var i=qn(t),a;if(e){var r=qn(this).constructor;a=Reflect.construct(i,arguments,r)}else a=i.apply(this,arguments);return Bd(this,a)}}var ve=function t(e){R(this,t),h(this,"dataCode",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0),h(this,"aliasCode",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var a;this.fieldType=(a=e==null?void 0:e.fieldType)!==null&&a!==void 0?a:"",this.aliasCode=e==null?void 0:e.aliasCode},lu=function t(e){R(this,t),h(this,"minWidth",void 0),h(this,"maxWidth",void 0),h(this,"flex",void 0);var n;this.minWidth=(n=e==null?void 0:e.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=e==null?void 0:e.maxWidth;var i;this.flex=(i=e==null?void 0:e.flex)!==null&&i!==void 0?i:1},uu=function t(e){R(this,t),h(this,"rowHeightType",void 0),h(this,"minRows",void 0),h(this,"maxRows",void 0),h(this,"fiexdRow",void 0);var n;this.rowHeightType=(n=e==null?void 0:e.rowHeightType)!==null&&n!==void 0?n:"fixed";var i;this.minRows=(i=e==null?void 0:e.minRows)!==null&&i!==void 0?i:4;var a;this.maxRows=(a=e==null?void 0:e.maxRows)!==null&&a!==void 0?a:20;var r;this.fiexdRow=(r=e==null?void 0:e.fiexdRow)!==null&&r!==void 0?r:4},$d=function t(e){R(this,t),h(this,"pc",void 0),h(this,"mobile",void 0),this.pc=new uu(e==null?void 0:e.pc),this.mobile=new uu(e==null?void 0:e.mobile)},Da=function(t){fe(n,t);var e=he(n);function n(i){R(this,n);var a;a=e.call(this,i),h(L(a),"width",void 0),h(L(a),"widthType",void 0);var r;a.width=(r=i==null?void 0:i.width)!==null&&r!==void 0?r:240;var l;return a.widthType=(l=i==null?void 0:i.widthType)!==null&&l!==void 0?l:"auto",a}return n}(lu),Fd=function t(e){R(this,t),h(this,"pc",void 0),h(this,"mobile",void 0),this.pc=new Da(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new Da(e==null?void 0:e.mobile):new Da({width:130,minWidth:180})},Hd=function t(e){R(this,t),h(this,"type",void 0),h(this,"customOptions",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"firstThree";var i;this.customOptions=(i=e==null?void 0:e.customOptions)!==null&&i!==void 0?i:[]},ct=function t(e){R(this,t),h(this,"dataCode",void 0),h(this,"formKey",void 0),h(this,"appId",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.formKey=(i=e==null?void 0:e.formKey)!==null&&i!==void 0?i:"";var a;this.appId=(a=e==null?void 0:e.appId)!==null&&a!==void 0?a:""},Vd=function(t){fe(n,t);var e=he(n);function n(i){R(this,n);var a;a=e.call(this,i),h(L(a),"primaryControlId",void 0);var r;return a.primaryControlId=(r=i==null?void 0:i.primaryControlId)!==null&&r!==void 0?r:"",a}return n}(ct),ou=function t(e){R(this,t),h(this,"fieldCode",void 0),h(this,"dataCode",void 0);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:"";var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:""},Ba=function t(e){R(this,t);var n;h(this,"appId",void 0),h(this,"formKey",void 0),h(this,"headers",void 0);var i;this.appId=(i=e==null?void 0:e.appId)!==null&&i!==void 0?i:"";var a;this.formKey=(a=e==null?void 0:e.formKey)!==null&&a!==void 0?a:"";var r;this.headers=(r=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(l){return new ou(l)}))!==null&&r!==void 0?r:[]},jd=function t(e){R(this,t),h(this,"fieldName",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0);var n;this.fieldName=(n=e==null?void 0:e.fieldName)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var a;this.fieldType=(a=e==null?void 0:e.fieldType)!==null&&a!==void 0?a:v.VARCHAR},qd=function(t){fe(n,t);var e=he(n);function n(i){R(this,n);var a;a=e.call(this,i),h(L(a),"title",void 0),h(L(a),"svcCode",void 0),h(L(a),"isOpenFilter",void 0),h(L(a),"filters",void 0);var r;a.title=(r=i==null?void 0:i.title)!==null&&r!==void 0?r:"";var l;a.svcCode=(l=i==null?void 0:i.svcCode)!==null&&l!==void 0?l:"";var u;a.isOpenFilter=(u=i==null?void 0:i.isOpenFilter)!==null&&u!==void 0?u:!1;var s;return a.filters=(s=i==null?void 0:i.filters)!==null&&s!==void 0?s:[],a}return n}(ct),Ud=function t(e){R(this,t);var n,i;h(this,"type","sublist-page"),h(this,"formBind",void 0),h(this,"displayFields",void 0),h(this,"sublists",void 0),this.formBind=new ct(e==null?void 0:e.formBind);var a;this.displayFields=(a=e==null||(n=e.displayFields)===null||n===void 0?void 0:n.map(function(l){return new jd(l)}))!==null&&a!==void 0?a:[];var r;this.sublists=(r=e==null||(i=e.sublists)===null||i===void 0?void 0:i.map(function(l){return new qd(l)}))!==null&&r!==void 0?r:[]},Wd=function t(e){R(this,t),h(this,"type",void 0),h(this,"value",void 0),h(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},jt=function t(e){R(this,t),h(this,"type",void 0),h(this,"value",void 0),h(this,"displayBos",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"custom";var i;this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:[];var a;this.displayBos=(a=e==null?void 0:e.displayBos)!==null&&a!==void 0?a:[]},Na=function t(e){var n=this;R(this,t),h(this,"id",void 0),h(this,"ruleId",void 0),h(this,"type","conditions"),h(this,"level",void 0),h(this,"value",void 0),h(this,"children",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:ge();var a;this.ruleId=(a=e==null?void 0:e.ruleId)!==null&&a!==void 0?a:new Date().valueOf();var r;this.level=(r=e==null?void 0:e.level)!==null&&r!==void 0?r:0;var l;this.value=(l=e==null?void 0:e.value)!==null&&l!==void 0?l:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(function(u){if(u.children!==void 0){var s,o=new t(u);(s=n.children)===null||s===void 0||s.push(o)}else{var f,g=new Un(u);(f=n.children)===null||f===void 0||f.push(g)}}))},Un=function t(e){R(this,t),h(this,"id",void 0),h(this,"ruleId",void 0),h(this,"type","condition"),h(this,"symbol",void 0),h(this,"checked",void 0),h(this,"describe",void 0),h(this,"leftVariableBo",void 0),h(this,"rightVariableBo",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:ge();var i;this.ruleId=(i=e==null?void 0:e.ruleId)!==null&&i!==void 0?i:new Date().valueOf();var a;this.symbol=(a=e==null?void 0:e.symbol)!==null&&a!==void 0?a:"";var r;this.checked=(r=e==null?void 0:e.checked)!==null&&r!==void 0?r:!1;var l;this.describe=(l=e==null?void 0:e.describe)!==null&&l!==void 0?l:"",this.leftVariableBo=new Wd(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new jt(e==null?void 0:e.rightVariableBo)},Kd=function t(e){R(this,t),h(this,"aliasCode",void 0),h(this,"datasourceBind",void 0),h(this,"relationFields",void 0);var n;this.aliasCode=(n=e==null?void 0:e.aliasCode)!==null&&n!==void 0?n:"",this.datasourceBind=new te(e==null?void 0:e.datasourceBind);var i;this.relationFields=(i=e==null?void 0:e.relationFields)!==null&&i!==void 0?i:[]},ae=function t(e){R(this,t),h(this,"controlId",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0),h(this,"propName",void 0);var n;this.controlId=(n=e==null?void 0:e.controlId)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var a;this.fieldType=(a=e==null?void 0:e.fieldType)!==null&&a!==void 0?a:"";var r;this.propName=(r=e==null?void 0:e.propName)!==null&&r!==void 0?r:""},La=function t(e){R(this,t),h(this,"type",void 0),h(this,"value",void 0),h(this,"fieldType",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"FIELD";var i;this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:"",this.fieldType=e==null?void 0:e.fieldType},zd=function t(e){R(this,t),h(this,"columnName",void 0),h(this,"desc",void 0);var n;this.columnName=(n=e.columnName)!==null&&n!==void 0?n:"";var i;this.desc=(i=e.desc)!==null&&i!==void 0?i:!1};function $a(t){var e,n,i,a;this.filters=(a=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(u){return u.children!==void 0?new Na(u):new Un(u)}))!==null&&a!==void 0?a:[];var r;this.viewFilters=(r=t==null||(n=t.viewFilters)===null||n===void 0?void 0:n.map(function(u){return u.children!==void 0?new Na(u):new Un(u)}))!==null&&r!==void 0?r:[];var l;this.orders=(l=t==null||(i=t.orders)===null||i===void 0?void 0:i.map(function(u){return new zd(u)}))!==null&&l!==void 0?l:[]}var te=function t(e){var n=this;R(this,t),h(this,"dataCode",void 0),h(this,"valueFieldCode",void 0),h(this,"displayBoList",void 0),h(this,"keywordMapping",void 0),h(this,"svcCode",void 0),h(this,"appId",void 0),h(this,"filters",void 0),h(this,"viewFilters",void 0),h(this,"isOpenViewFilters",void 0),h(this,"orders",void 0),h(this,"showOrder",void 0);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var a;this.appId=(a=e==null?void 0:e.appId)!==null&&a!==void 0?a:"";var r;this.valueFieldCode=(r=e==null?void 0:e.valueFieldCode)!==null&&r!==void 0?r:"",this.displayBoList=[];var l;this.isOpenViewFilters=(l=e==null?void 0:e.isOpenViewFilters)!==null&&l!==void 0?l:0,Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(function(f){var g;(g=n.displayBoList)===null||g===void 0||g.push(new La(f))}));var u;this.keywordMapping=(u=e==null?void 0:e.keywordMapping)!==null&&u!==void 0?u:"";var s;this.showOrder=(s=e==null?void 0:e.showOrder)!==null&&s!==void 0?s:!0;var o;this.svcCode=(o=e==null?void 0:e.svcCode)!==null&&o!==void 0?o:"",$a.call(this,e)},Fa=function t(e){R(this,t),h(this,"dataCode",void 0),h(this,"displayBoList",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.displayBoList=(i=e==null?void 0:e.displayBoList)!==null&&i!==void 0?i:[]},Ie=function t(e){R(this,t),h(this,"code",void 0),h(this,"color",void 0),h(this,"command",void 0),h(this,"confirmMessage",void 0),h(this,"defaultState",void 0),h(this,"formKey",void 0),h(this,"formType",void 0),h(this,"icon",void 0),h(this,"needConfirm",void 0),h(this,"openType",void 0),h(this,"priorityProcess",void 0);var n;this.code=(n=e==null?void 0:e.code)!==null&&n!==void 0?n:"view";var i;this.color=(i=e==null?void 0:e.color)!==null&&i!==void 0?i:"primary";var a;this.command=(a=e==null?void 0:e.command)!==null&&a!==void 0?a:"view";var r;this.confirmMessage=(r=e==null?void 0:e.confirmMessage)!==null&&r!==void 0?r:void 0;var l;this.defaultState=(l=e==null?void 0:e.defaultState)!==null&&l!==void 0?l:"default";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:void 0,this.formType=e==null?void 0:e.formType;var s;this.icon=(s=e==null?void 0:e.icon)!==null&&s!==void 0?s:"iconliulan1";var o;this.needConfirm=(o=e==null?void 0:e.needConfirm)!==null&&o!==void 0?o:!1;var f;this.openType=(f=e==null?void 0:e.openType)!==null&&f!==void 0?f:"modal";var g;this.priorityProcess=(g=e==null?void 0:e.priorityProcess)!==null&&g!==void 0?g:!0},cu=function t(e){R(this,t);var n;h(this,"name",void 0),h(this,"key",void 0),h(this,"value",void 0);var i;this.name=(i=e==null?void 0:e.name)!==null&&i!==void 0?i:"";var a;this.key=(a=e==null?void 0:e.key)!==null&&a!==void 0?a:"";var r;this.value=(r=e==null||(n=e.value)===null||n===void 0?void 0:n.map(function(l){return new La(l)}))!==null&&r!==void 0?r:[]},Wn=function(t){fe(n,t);var e=he(n);function n(i){R(this,n);var a,r;a=e.call(this,i),h(L(a),"attributes",void 0);var l;return a.attributes=(l=i==null||(r=i.attributes)===null||r===void 0?void 0:r.map(function(u){return new cu(u)}))!==null&&l!==void 0?l:[],a}return n}(te),Gd=function(t){fe(n,t);var e=he(n);function n(i){R(this,n);var a,r;a=e.call(this,i),h(L(a),"attributes",void 0),h(L(a),"formCode",void 0);var l;a.attributes=(l=i==null||(r=i.attributes)===null||r===void 0?void 0:r.map(function(s){return new cu(s)}))!==null&&l!==void 0?l:[];var u;return a.formCode=(u=i==null?void 0:i.formCode)!==null&&u!==void 0?u:"",a}return n}(te),su=function(t){fe(n,t);var e=he(n);function n(i){R(this,n);var a;a=e.call(this,i),h(L(a),"rootNode",void 0),h(L(a),"filterCode",void 0),a.rootNode=new jt(i==null?void 0:i.rootNode);var r;return a.filterCode=(r=i==null?void 0:i.filterCode)!==null&&r!==void 0?r:"",a}return n}(Wn),du=function t(e){R(this,t);var n;h(this,"dataCode",void 0),h(this,"appId",void 0),h(this,"fillList",void 0);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var a;this.appId=(a=e==null?void 0:e.appId)!==null&&a!==void 0?a:"";var r;this.fillList=(r=e==null||(n=e.fillList)===null||n===void 0?void 0:n.map(function(l){return new ae(l)}))!==null&&r!==void 0?r:[]},fu=function(t){fe(n,t);var e=he(n);function n(i){R(this,n);var a;return a=e.call(this,i),h(L(a),"filters",void 0),h(L(a),"viewFilters",void 0),h(L(a),"orders",void 0),$a.call(L(a),i),a}return n}(du),hu=function(t){fe(n,t);var e=he(n);function n(i){R(this,n);var a;a=e.call(this,i),h(L(a),"mode",void 0),h(L(a),"multiple",void 0);var r;a.mode=(r=i==null?void 0:i.mode)!==null&&r!==void 0?r:"current";var l;return a.multiple=(l=i==null?void 0:i.multiple)!==null&&l!==void 0?l:!1,a}return n}(du),yu=function t(e){R(this,t),h(this,"stencilName",void 0),h(this,"expression",void 0),h(this,"errMessage",void 0);var n;this.stencilName=(n=e==null?void 0:e.stencilName)!==null&&n!==void 0?n:"";var i;this.expression=(i=e==null?void 0:e.expression)!==null&&i!==void 0?i:"";var a;this.errMessage=(a=e==null?void 0:e.errMessage)!==null&&a!==void 0?a:""},Xd=function t(e){R(this,t),h(this,"id",void 0),h(this,"label",void 0),h(this,"value",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:ge(8);var i;this.label=(i=e==null?void 0:e.label)!==null&&i!==void 0?i:"";var a;this.value=(a=e==null?void 0:e.value)!==null&&a!==void 0?a:this.label};function Ce(t){var e;return(e=t==null?void 0:t.map(function(n){return new Xd(n)}))!==null&&e!==void 0?e:[]}var Ha=function t(){R(this,t)},Qd=function(t){fe(n,t);var e=he(n);function n(i){R(this,n);var a;return a=e.call(this),h(L(a),"amount",void 0),h(L(a),"currency",void 0),a.amount=new ve(i==null?void 0:i.amount),a.currency=new ve(i==null?void 0:i.currency),a}return n}(Ha),Jd=function t(e){R(this,t),h(this,"amount",void 0),h(this,"currency",void 0);var n;this.amount=(n=e==null?void 0:e.amount)!==null&&n!==void 0?n:"";var i;this.currency=(i=e==null?void 0:e.currency)!==null&&i!==void 0?i:"CNY"},Zd=function(t){fe(n,t);var e=he(n);function n(i){R(this,n);var a;return a=e.call(this),h(L(a),"min",void 0),h(L(a),"max",void 0),a.min=new ve(i==null?void 0:i.min),a.max=new ve(i==null?void 0:i.max),a}return n}(Ha),Yd=function t(e){R(this,t),h(this,"min",void 0),h(this,"max",void 0);var n;this.min=(n=e==null?void 0:e.min)!==null&&n!==void 0?n:"";var i;this.max=(i=e==null?void 0:e.max)!==null&&i!==void 0?i:""},pd=function t(e){R(this,t),h(this,"city",void 0),h(this,"cityDisplay",void 0),h(this,"district",void 0),h(this,"districtDisplay",void 0),h(this,"province",void 0),h(this,"provinceDisplay",void 0);var n;this.city=(n=e==null?void 0:e.city)!==null&&n!==void 0?n:"";var i;this.cityDisplay=(i=e==null?void 0:e.cityDisplay)!==null&&i!==void 0?i:"";var a;this.district=(a=e==null?void 0:e.district)!==null&&a!==void 0?a:"";var r;this.districtDisplay=(r=e==null?void 0:e.districtDisplay)!==null&&r!==void 0?r:"";var l;this.province=(l=e==null?void 0:e.province)!==null&&l!==void 0?l:"";var u;this.provinceDisplay=(u=e==null?void 0:e.provinceDisplay)!==null&&u!==void 0?u:""},ef=function(t){fe(n,t);var e=he(n);function n(i){R(this,n);var a;return a=e.call(this),h(L(a),"result",void 0),h(L(a),"unit",void 0),a.result=new ve(i==null?void 0:i.result),a.unit=new ve(i==null?void 0:i.unit),a}return n}(Ha),tf=function t(e){R(this,t),h(this,"result",void 0),h(this,"unit",void 0);var n;this.result=(n=e==null?void 0:e.result)!==null&&n!==void 0?n:0;var i;this.unit=(i=e==null?void 0:e.unit)!==null&&i!==void 0?i:""},Va;(function(t){t.CNY="CNY",t.USD="USD",t.JPY="JPY",t.EUR="EUR",t.INR="INR",t.IDR="IDR",t.BRL="BRL",t.AED="AED",t.AUD="AUD",t.CAD="CAD",t.EGP="EGP",t.GBP="GBP",t.ZAR="ZAR",t.KRW="KRW",t.MAD="MAD",t.MXN="MXN",t.MYR="MYR",t.PHP="PHP",t.PLN="PLN",t.RUB="RUB",t.SGD="SGD",t.THB="THB",t.TRY="TRY",t.TWD="TWD",t.VND="VND",t.HKD="HKD",t.IEP="IEP"})(Va||(Va={}));var d;(function(t){t.DEFAULT_DISPLAY="defaultDisplay",t.REQUIRED="required",t.IS_HIDE="isHide",t.IS_SHOW_UNIT="isShowUnit",t.IMD_SEARCH="immediatelySearch",t.MULTIPLE="multiple",t.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",t.CAPTION="caption",t.IS_HIDE_CAPTION="isHideCaption",t.DEFAULT_SHOW_OPTIONS="defaultShowOptions",t.CAN_SEARCH="canSearch",t.CAN_CHECK="canCheck",t.CAN_EDIT="canEdit",t.CAN_DELETE="canDelete",t.SHOW_UPPER_CASE="showUpperCase",t.MICROMETER="micrometer",t.PRECISION="precision",t.PERCENTAGE="percentage",t.OPTIONAL_LEVEL="optionalLevel",t.CONTAINS_SUB_NODE="containsSubNode",t.DEFAULT_COLLAPSE="defaultCollapse",t.CAN_VIEW_FORM="canViewForm",t.VIEW_FORM_MODEL_TYPE="viewFormModelType",t.SERVER_PAGINATION="serverPagination",t.IS_SHOW_CAPTION_TIP="isShowCaptionTip",t.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"})(d||(d={}));var ja;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(ja||(ja={}));var Ee=function t(e){R(this,t),h(this,"isShow",void 0),h(this,"priorityProcess",void 0),h(this,"formKey",void 0),h(this,"content",void 0),h(this,"openType",void 0),h(this,"type",void 0);var n;this.isShow=(n=e==null?void 0:e.isShow)!==null&&n!==void 0?n:!0;var i;this.content=(i=e==null?void 0:e.content)!==null&&i!==void 0?i:"";var a;this.formKey=(a=e==null?void 0:e.formKey)!==null&&a!==void 0?a:"";var r;this.openType=(r=e==null?void 0:e.openType)!==null&&r!==void 0?r:"modal";var l;this.type=(l=e==null?void 0:e.type)!==null&&l!==void 0?l:"";var u;this.priorityProcess=(u=e==null?void 0:e.priorityProcess)!==null&&u!==void 0?u:!1},nf=function t(e){R(this,t);var n;h(this,"id",void 0),h(this,"title",void 0),h(this,"filters",void 0),h(this,"viewFilters",void 0),h(this,"headers",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:ge(8);var a;this.title=(a=e==null?void 0:e.title)!==null&&a!==void 0?a:"";var r;this.headers=(r=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(l){return new ou(l)}))!==null&&r!==void 0?r:[],$a.call(this,e)},af=function t(e){R(this,t),h(this,"width",void 0),h(this,"height",void 0),h(this,"widthConfig",void 0),h(this,"heightConfig",void 0);var n;this.width=(n=e==null?void 0:e.width)!==null&&n!==void 0?n:"";var i;this.height=(i=e==null?void 0:e.height)!==null&&i!==void 0?i:"";var a;this.widthConfig=(a=e==null?void 0:e.widthConfig)!==null&&a!==void 0?a:"fill";var r;this.heightConfig=(r=e==null?void 0:e.heightConfig)!==null&&r!==void 0?r:"fill"},rf=function t(e){R(this,t),h(this,"optCode",void 0),h(this,"optType",void 0);var n;this.optCode=(n=e==null?void 0:e.optCode)!==null&&n!==void 0?n:"";var i;this.optType=(i=e==null?void 0:e.optType)!==null&&i!==void 0?i:""},lf=function t(e){R(this,t);var n,i;h(this,"id",void 0),h(this,"name",void 0),h(this,"settings",void 0),h(this,"filters",void 0),h(this,"script",void 0);var a;this.id=(a=e==null?void 0:e.id)!==null&&a!==void 0?a:ge();var r;this.name=(r=e==null?void 0:e.name)!==null&&r!==void 0?r:"";var l;this.filters=(l=e==null||(n=e.filters)===null||n===void 0?void 0:n.map(function(s){return s.children!==void 0?new Na(s):new Un(s)}))!==null&&l!==void 0?l:[];var u;this.settings=(e==null?void 0:e.settings)&&Array.isArray(e==null?void 0:e.settings)?(u=e==null||(i=e.settings)===null||i===void 0?void 0:i.map(function(s){return new uf(s)}))!==null&&u!==void 0?u:[]:[],this.script=e==null?void 0:e.script},uf=function t(e){R(this,t),h(this,"color",void 0),h(this,"fieldCodes",void 0),h(this,"type",void 0),h(this,"scope",void 0);var n;this.type=(n=e.type)!==null&&n!==void 0?n:"background";var i;this.fieldCodes=(i=e.fieldCodes)!==null&&i!==void 0?i:[];var a;this.color=(a=e.color)!==null&&a!==void 0?a:"theme";var r;this.scope=(r=e.scope)!==null&&r!==void 0?r:"row"},of=function t(e){R(this,t);var n;h(this,"type",void 0),h(this,"interval",void 0),h(this,"rules",void 0);var i;this.type=(i=e==null?void 0:e.type)!==null&&i!==void 0?i:"none";var a;this.interval=(a=e==null?void 0:e.interval)!==null&&a!==void 0?a:{color:""};var r;this.rules=(e==null?void 0:e.rules)&&Array.isArray(e==null?void 0:e.rules)?(r=e==null||(n=e.rules)===null||n===void 0?void 0:n.map(function(l){return new lf(l)}))!==null&&r!==void 0?r:[]:[]};function cf(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function qa(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Kn(t,e,n){return gu()?Kn=Reflect.construct:Kn=function(a,r,l){var u=[null];u.push.apply(u,r);var s=Function.bind.apply(a,u),o=new s;return l&&Ut(o,l.prototype),o},Kn.apply(null,arguments)}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 qt(t){return qt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qt(t)}function sf(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&&Ut(t,e)}function df(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function ff(t,e){return e&&(hf(e)==="object"||typeof e=="function")?e:cf(t)}function Ut(t,e){return Ut=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},Ut(t,e)}function hf(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ua(t){var e=typeof Map=="function"?new Map:void 0;return Ua=function(i){if(i===null||!df(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,a)}function a(){return Kn(i,arguments,qt(this).constructor)}return a.prototype=Object.create(i.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),Ut(a,i)},Ua(t)}function gu(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function yf(t){var e=gu();return function(){var i=qt(t),a;if(e){var r=qt(this).constructor;a=Reflect.construct(i,arguments,r)}else a=i.apply(this,arguments);return ff(this,a)}}var z=function t(e){qa(this,t),Se(this,"isHide",{type:"boolean"})},Ve=function(t){sf(n,t);var e=yf(n);function n(i){return qa(this,n),e.call(this)}return n}(Ua(Array)),G=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";qa(this,t),Se(this,"isHide",void 0),Se(this,"className",void 0),Se(this,"style",void 0),Se(this,"caption",void 0),Se(this,"defaultState",void 0);var i;this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new af(e==null?void 0:e.style);var a;this.caption=(a=e==null?void 0:e.caption)!==null&&a!==void 0?a:n};Se(G,"mode",void 0),Se(G,"Rules",z),Se(G,"RuntimeRules",Ve);function be(){return be=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},be.apply(this,arguments)}function gf(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Wa(t){return Wa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wa(t)}function zn(t,e){return zn=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},zn(t,e)}function mf(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function Gn(t,e,n){return mf()?Gn=Reflect.construct:Gn=function(a,r,l){var u=[null];u.push.apply(u,r);var s=Function.bind.apply(a,u),o=new s;return l&&zn(o,l.prototype),o},Gn.apply(null,arguments)}function vf(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Ka(t){var e=typeof Map=="function"?new Map:void 0;return Ka=function(i){if(i===null||!vf(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,a)}function a(){return Gn(i,arguments,Wa(this).constructor)}return a.prototype=Object.create(i.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),zn(a,i)},Ka(t)}var bf=/%[sdj%]/g,mu=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(mu=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function za(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 re(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=1,a=e[0],r=e.length;if(typeof a=="function")return a.apply(null,e.slice(1));if(typeof a=="string"){var l=String(a).replace(bf,function(u){if(u==="%%")return"%";if(i>=r)return u;switch(u){case"%s":return String(e[i++]);case"%d":return Number(e[i++]);case"%j":try{return JSON.stringify(e[i++])}catch(s){return"[Circular]"}break;default:return u}});return l}return a}function _f(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function X(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||_f(e)&&typeof t=="string"&&!t)}function wf(t,e,n){var i=[],a=0,r=t.length;function l(u){i.push.apply(i,u),a++,a===r&&n(i)}t.forEach(function(u){e(u,l)})}function vu(t,e,n){var i=0,a=t.length;function r(l){if(l&&l.length){n(l);return}var u=i;i=i+1,u<a?e(t[u],r):n([])}r([])}function If(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var bu=function(t){gf(e,t);function e(n,i){var a;return a=t.call(this,"Async Validation Error")||this,a.errors=n,a.fields=i,a}return e}(Ka(Error));function Cf(t,e,n,i){if(e.first){var a=new Promise(function(g,b){var _=function(T){return i(T),T.length?b(new bu(T,za(T))):g()},C=If(t);vu(C,n,_)});return a.catch(function(g){return g}),a}var r=e.firstFields||[];r===!0&&(r=Object.keys(t));var l=Object.keys(t),u=l.length,s=0,o=[],f=new Promise(function(g,b){var _=function(w){if(o.push.apply(o,w),s++,s===u)return i(o),o.length?b(new bu(o,za(o))):g()};l.length||(i(o),g()),l.forEach(function(C){var w=t[C];r.indexOf(C)!==-1?vu(w,n,_):wf(w,n,_)})});return f.catch(function(g){return g}),f}function _u(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 wu(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]=be(be({},t[n]),i):t[n]=i}}return t}function Iu(t,e,n,i,a,r){t.required&&(!n.hasOwnProperty(t.field)||X(e,r||t.type))&&i.push(re(a.messages.required,t.fullField))}function Sf(t,e,n,i,a){(/^\s+$/.test(e)||e==="")&&i.push(re(a.messages.whitespace,t.fullField))}var Ga={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},Wt={integer:function(e){return Wt.number(e)&&parseInt(e,10)===e},float:function(e){return Wt.number(e)&&!Wt.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"&&!Wt.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(Ga.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(Ga.url)},hex:function(e){return typeof e=="string"&&!!e.match(Ga.hex)}};function Rf(t,e,n,i,a){if(t.required&&e===void 0){Iu(t,e,n,i,a);return}var r=["integer","float","array","regexp","object","method","email","number","date","url","hex"],l=t.type;r.indexOf(l)>-1?Wt[l](e)||i.push(re(a.messages.types[l],t.fullField,t.type)):l&&typeof e!==t.type&&i.push(re(a.messages.types[l],t.fullField,t.type))}function Tf(t,e,n,i,a){var r=typeof t.len=="number",l=typeof t.min=="number",u=typeof t.max=="number",s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,o=e,f=null,g=typeof e=="number",b=typeof e=="string",_=Array.isArray(e);if(g?f="number":b?f="string":_&&(f="array"),!f)return!1;_&&(o=e.length),b&&(o=e.replace(s,"_").length),r?o!==t.len&&i.push(re(a.messages[f].len,t.fullField,t.len)):l&&!u&&o<t.min?i.push(re(a.messages[f].min,t.fullField,t.min)):u&&!l&&o>t.max?i.push(re(a.messages[f].max,t.fullField,t.max)):l&&u&&(o<t.min||o>t.max)&&i.push(re(a.messages[f].range,t.fullField,t.min,t.max))}var st="enum";function xf(t,e,n,i,a){t[st]=Array.isArray(t[st])?t[st]:[],t[st].indexOf(e)===-1&&i.push(re(a.messages[st],t.fullField,t[st].join(", ")))}function kf(t,e,n,i,a){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(re(a.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var r=new RegExp(t.pattern);r.test(e)||i.push(re(a.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var x={required:Iu,whitespace:Sf,type:Rf,range:Tf,enum:xf,pattern:kf};function Pf(t,e,n,i,a){var r=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(X(e,"string")&&!t.required)return n();x.required(t,e,i,r,a,"string"),X(e,"string")||(x.type(t,e,i,r,a),x.range(t,e,i,r,a),x.pattern(t,e,i,r,a),t.whitespace===!0&&x.whitespace(t,e,i,r,a))}n(r)}function Of(t,e,n,i,a){var r=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(X(e)&&!t.required)return n();x.required(t,e,i,r,a),e!==void 0&&x.type(t,e,i,r,a)}n(r)}function Ef(t,e,n,i,a){var r=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(e===""&&(e=void 0),X(e)&&!t.required)return n();x.required(t,e,i,r,a),e!==void 0&&(x.type(t,e,i,r,a),x.range(t,e,i,r,a))}n(r)}function Af(t,e,n,i,a){var r=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(X(e)&&!t.required)return n();x.required(t,e,i,r,a),e!==void 0&&x.type(t,e,i,r,a)}n(r)}function Mf(t,e,n,i,a){var r=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(X(e)&&!t.required)return n();x.required(t,e,i,r,a),X(e)||x.type(t,e,i,r,a)}n(r)}function Df(t,e,n,i,a){var r=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(X(e)&&!t.required)return n();x.required(t,e,i,r,a),e!==void 0&&(x.type(t,e,i,r,a),x.range(t,e,i,r,a))}n(r)}function Bf(t,e,n,i,a){var r=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(X(e)&&!t.required)return n();x.required(t,e,i,r,a),e!==void 0&&(x.type(t,e,i,r,a),x.range(t,e,i,r,a))}n(r)}function Nf(t,e,n,i,a){var r=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(e==null&&!t.required)return n();x.required(t,e,i,r,a,"array"),e!=null&&(x.type(t,e,i,r,a),x.range(t,e,i,r,a))}n(r)}function Lf(t,e,n,i,a){var r=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(X(e)&&!t.required)return n();x.required(t,e,i,r,a),e!==void 0&&x.type(t,e,i,r,a)}n(r)}var $f="enum";function Ff(t,e,n,i,a){var r=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(X(e)&&!t.required)return n();x.required(t,e,i,r,a),e!==void 0&&x[$f](t,e,i,r,a)}n(r)}function Hf(t,e,n,i,a){var r=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(X(e,"string")&&!t.required)return n();x.required(t,e,i,r,a),X(e,"string")||x.pattern(t,e,i,r,a)}n(r)}function Vf(t,e,n,i,a){var r=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(X(e,"date")&&!t.required)return n();if(x.required(t,e,i,r,a),!X(e,"date")){var u;e instanceof Date?u=e:u=new Date(e),x.type(t,u,i,r,a),u&&x.range(t,u.getTime(),i,r,a)}}n(r)}function jf(t,e,n,i,a){var r=[],l=Array.isArray(e)?"array":typeof e;x.required(t,e,i,r,a,l),n(r)}function Xa(t,e,n,i,a){var r=t.type,l=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(X(e,r)&&!t.required)return n();x.required(t,e,i,l,a,r),X(e,r)||x.type(t,e,i,l,a)}n(l)}function qf(t,e,n,i,a){var r=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(X(e)&&!t.required)return n();x.required(t,e,i,r,a)}n(r)}var Kt={string:Pf,method:Of,number:Ef,boolean:Af,regexp:Mf,integer:Df,float:Bf,array:Nf,object:Lf,enum:Ff,pattern:Hf,date:Vf,url:Xa,hex:Xa,email:Xa,required:jf,any:qf};function Qa(){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 Ja=Qa();function Ae(t){this.rules=null,this._messages=Ja,this.define(t)}Ae.prototype={messages:function(e){return e&&(this._messages=wu(Qa(),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 a=this;n===void 0&&(n={}),i===void 0&&(i=function(){});var r=e,l=n,u=i;if(typeof l=="function"&&(u=l,l={}),!this.rules||Object.keys(this.rules).length===0)return u&&u(),Promise.resolve();function s(w){var T,m=[],I={};function k(A){if(Array.isArray(A)){var D;m=(D=m).concat.apply(D,A)}else m.push(A)}for(T=0;T<w.length;T++)k(w[T]);m.length?I=za(m):(m=null,I=null),u(m,I)}if(l.messages){var o=this.messages();o===Ja&&(o=Qa()),wu(o,l.messages),l.messages=o}else l.messages=this.messages();var f,g,b={},_=l.keys||Object.keys(this.rules);_.forEach(function(w){f=a.rules[w],g=r[w],f.forEach(function(T){var m=T;typeof m.transform=="function"&&(r===e&&(r=be({},r)),g=r[w]=m.transform(g)),typeof m=="function"?m={validator:m}:m=be({},m),m.validator=a.getValidationMethod(m),m.field=w,m.fullField=m.fullField||w,m.type=a.getType(m),m.validator&&(b[w]=b[w]||[],b[w].push({rule:m,value:g,source:r,field:w}))})});var C={};return Cf(b,l,function(w,T){var m=w.rule,I=(m.type==="object"||m.type==="array")&&(typeof m.fields=="object"||typeof m.defaultField=="object");I=I&&(m.required||!m.required&&w.value),m.field=w.field;function k(oe,N){return be(be({},N),{},{fullField:m.fullField+"."+oe})}function A(oe){oe===void 0&&(oe=[]);var N=oe;if(Array.isArray(N)||(N=[N]),!l.suppressWarning&&N.length&&Ae.warning("async-validator:",N),N.length&&m.message!==void 0&&(N=[].concat(m.message)),N=N.map(_u(m)),l.first&&N.length)return C[m.field]=1,T(N);if(!I)T(N);else{if(m.required&&!w.value)return m.message!==void 0?N=[].concat(m.message).map(_u(m)):l.error&&(N=[l.error(m,re(l.messages.required,m.field))]),T(N);var ce={};if(m.defaultField)for(var $n in w.value)w.value.hasOwnProperty($n)&&(ce[$n]=m.defaultField);ce=be(be({},ce),w.rule.fields);for(var ke in ce)if(ce.hasOwnProperty(ke)){var wa=Array.isArray(ce[ke])?ce[ke]:[ce[ke]];ce[ke]=wa.map(k.bind(null,ke))}var Fn=new Ae(ce);Fn.messages(l.messages),w.rule.options&&(w.rule.options.messages=l.messages,w.rule.options.error=l.error),Fn.validate(w.value,w.rule.options||l,function(Lt){var Pe=[];N&&N.length&&Pe.push.apply(Pe,N),Lt&&Lt.length&&Pe.push.apply(Pe,Lt),T(Pe.length?Pe:null)})}}var D;m.asyncValidator?D=m.asyncValidator(m,w.value,A,w.source,l):m.validator&&(D=m.validator(m,w.value,A,w.source,l),D===!0?A():D===!1?A(m.message||m.field+" fails"):D instanceof Array?A(D):D instanceof Error&&A(D.message)),D&&D.then&&D.then(function(){return A()},function(oe){return A(oe)})},function(w){s(w)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!Kt.hasOwnProperty(e.type))throw new Error(re("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"?Kt.required:Kt[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");Kt[e]=n},Ae.warning=mu,Ae.messages=Ja,Ae.validators=Kt;var Uf={required:"%s \u5FC5\u586B",maxLength:"%s \u8D85\u51FA\u6700\u5927\u957F\u5EA6\u9650\u5236",minLength:"%s \u5C0F\u4E8E\u6700\u5C0F\u957F\u5EA6\u9650\u5236",string:{range:"%s \u4E0D\u5728\u6307\u5B9A\u957F\u5EA6\u5185"}};function Wf(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new Ae(t);return n.messages(Object.assign(Uf,e)),n}var Kf=new Id;function Za(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 zf(t){if(Array.isArray(t))return t}function Gf(t){if(Array.isArray(t))return Za(t)}function Cu(t,e,n,i,a,r,l){try{var u=t[r](l),s=u.value}catch(o){n(o);return}u.done?e(s):Promise.resolve(s).then(i,a)}function Su(t){return function(){var e=this,n=arguments;return new Promise(function(i,a){var r=t.apply(e,n);function l(s){Cu(r,i,a,l,u,"next",s)}function u(s){Cu(r,i,a,l,u,"throw",s)}l(void 0)})}}function Xf(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ru(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 Qf(t,e,n){return e&&Ru(t.prototype,e),n&&Ru(t,n),t}function M(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Tu(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function xu(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Jf(){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 Zf(){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 ku(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(a){return Object.getOwnPropertyDescriptor(n,a).enumerable}))),i.forEach(function(a){M(t,a,n[a])})}return t}function Yf(t){return zf(t)||xu(t)||Pu(t)||Jf()}function Ya(t){return Gf(t)||xu(t)||Pu(t)||Zf()}function pf(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Pu(t,e){if(!!t){if(typeof t=="string")return Za(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 Za(t,e)}}function Ou(t,e){var n,i,a,r,l={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]};return r={next:u(0),throw:u(1),return:u(2)},typeof Symbol=="function"&&(r[Symbol.iterator]=function(){return this}),r;function u(o){return function(f){return s([o,f])}}function s(o){if(n)throw new TypeError("Generator is already executing.");for(;l;)try{if(n=1,i&&(a=o[0]&2?i.return:o[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,o[1])).done)return a;switch(i=0,a&&(o=[o[0]&2,a.value]),o[0]){case 0:case 1:a=o;break;case 4:return l.label++,{value:o[1],done:!1};case 5:l.label++,i=o[1],o=[0];continue;case 7:o=l.ops.pop(),l.trys.pop();continue;default:if(a=l.trys,!(a=a.length>0&&a[a.length-1])&&(o[0]===6||o[0]===2)){l=0;continue}if(o[0]===3&&(!a||o[1]>a[0]&&o[1]<a[3])){l.label=o[1];break}if(o[0]===6&&l.label<a[1]){l.label=a[1],a=o;break}if(a&&l.label<a[2]){l.label=a[2],l.ops.push(o);break}a[2]&&l.ops.pop(),l.trys.pop();continue}o=e.call(t,l)}catch(f){o=[6,f],i=0}finally{n=a=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}}var B=function(){function e(n){var i=this;Xf(this,e),M(this,"id",void 0),M(this,"name",void 0),M(this,"icon",void 0),M(this,"type",void 0),M(this,"controlType",void 0),M(this,"props",void 0),M(this,"setting",[]),M(this,"fieldType",void 0),M(this,"eventKeys",[]),M(this,"customEvents",[]),M(this,"parent",null),M(this,"slots",void 0),M(this,"slotPosition",void 0),M(this,"updateSetting",Au),M(this,"removeSetting",Eu),this._callControlHooks("preInstance",n);var a=Tu(this,e)?this.constructor:void 0,r=a.controlName,l=a.controlIcon,u=a.controlType,s=a.controlFieldType,o=a.controlEventKeys,f=a.controlCustomEvents,g=a.name,b=a.setting,_=a.slots,C=a.slotPosition;r&&l&&u||Kl("The ".concat(g," controlName,controlIcon,controlType is not define"));var w;this.id=(w=n==null?void 0:n.id)!==null&&w!==void 0?w:ge(10),this.name=r,this.icon=l;var T;this.type=(T=n==null?void 0:n.type)!==null&&T!==void 0?T:u,this.props=new G(n==null?void 0:n.props,(Tu(this,e)?this.constructor:void 0).controlName);var m;this.controlType=(m=n==null?void 0:n.controlType)!==null&&m!==void 0?m:"base",this.setting=de(b);var I;this.fieldType=(I=n==null?void 0:n.fieldType)!==null&&I!==void 0?I:s,this.eventKeys=de(o),this.customEvents=de(f),this.slots=de(_),this.slotPosition=de(C),Promise.resolve().then(function(){i._callControlHooks("postInstance",n)})}return Qf(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,a=new Array(i),r=0;r<i;r++)a[r]=arguments[r];var l,u=Yf(a),s=u[0],o=u.slice(1);return(l=Kf).emit.apply(l,[s,this].concat(Ya(o)))}},{key:"preUpdate",value:function(i,a){this._callControlHooks("preUpdateProps",i,a)}},{key:"postUpdate",value:function(i,a){this._callControlHooks("postUpdateProps",i,a)}},{key:"updateProps",value:function(i,a){this.preUpdate(i,a),ld(this.props,i,a),this.postUpdate(i,a)}},{key:"preValidate",value:function(){var i=this;return Su(function(){var a,r,l;return Ou(this,function(u){switch(u.label){case 0:return a=ku({},i.rules),[4,i._callControlHooks("preValidate",a)];case 1:return r=u.sent(),l=r[r.length-1],[2,l===!1?void 0:l]}})})()}},{key:"validate",value:function(i,a){var r=this;return Su(function(){var l,u,s,o;return Ou(this,function(f){switch(f.label){case 0:return[4,r.preValidate()];case 1:l=f.sent(),u=l!==void 0?l:ku({},r.rules),Array.isArray(a)&&a.forEach(function(g){u.hasOwnProperty(g)&&delete u[g]}),s=Wf(u,i),f.label=2;case 2:return f.trys.push([2,4,,5]),[4,s.validate(r.props)];case 3:return f.sent(),[2,!0];case 4:throw o=f.sent(),o.control||(o.control=r),o;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,a=this.fieldType,r=this.id,l=this.type,u=this.props,s=u.dataBind,o=u.datasourceBind,f=u.optionConfig,g=u.caption,b=u.required,_=u.maxLength,C=u.options,w=u.encrypted,T=u.encryptedMode;if(!(!a&&!s&&!o)){var m={parentId:i,fieldType:a,controlId:r,caption:g,type:l,props:{}};switch(s&&(m.dataBind=s),f){case"datasource":case void 0:o&&(m.datasourceBind=o);break;case"custom":m.props.options=C;break}return b!==void 0&&(m.required=b),_!==void 0&&(m.maxLength=_),w!==void 0&&(m.encrypted=w),T!==void 0&&(m.encryptedMode=T),m}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:de(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(i,a){if(i==="setting"){if(a.add){var r;(r=this.setting).push.apply(r,Ya(a.add))}a.remove&&this.removeSettingItem(a.remove),a.update}}}]),e}();M(B,"mode","Designer"),M(B,"slots",void 0),M(B,"slotPosition",void 0),M(B,"controlName","\u63A7\u4EF6"),M(B,"controlIcon","icon"),M(B,"controlType","control"),M(B,"controlFieldType",void 0),M(B,"controlEventKeys",[]),M(B,"controlCustomEvents",[]),M(B,"setting",[]),M(B,"__is_control__",!0),M(B,"removeSettingItem",Eu),M(B,"updateSettingItem",Au);function Eu(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(i){var a,r=typeof i!="string",l=(a=e.setting)===null||a===void 0?void 0:a.findIndex(function(o){return o.key===(r?i.key:i)});if(l!==-1){var u,s;r?e.setting[l].showItems=(u=e.setting[l].showItems)===null||u===void 0?void 0:u.filter(function(o){return!i.hideItems.includes(o)}):e.setting.splice(l,1),r&&!(!((s=e.setting[l].showItems)===null||s===void 0)&&s.length)&&e.setting.splice(l,1)}})}function Au(t,e){var n=this,i=typeof t=="string"?[t]:t;i.forEach(function(a){var r=n.setting.find(function(o){return o.key===a});if(r){if(typeof e=="boolean")r.visible=e;else if((typeof e=="undefined"?"undefined":pf(e))==="object"){var l,u=(l=e.type)!==null&&l!==void 0?l:"replace";if(u==="replace")r.showItems=e.showItems;else{var s;(s=r.showItems).push.apply(s,Ya(e.showItems))}}}})}function eh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Mu(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 th(t,e,n){return e&&Mu(t.prototype,e),n&&Mu(t,n),t}function le(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function nh(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var Q=function(){function e(n){eh(this,e),le(this,"id",void 0),le(this,"type",void 0),le(this,"controlType",void 0),le(this,"props",void 0),le(this,"fieldType",void 0),le(this,"customEvents",[]),le(this,"pageStatus",void 0),le(this,"parent",null);var i=nh(this,e)?this.constructor:void 0,a=i.controlType,r=i.controlFieldType,l=i.name,u=i.controlCustomEvents;a||Kl("The ".concat(l," controlType is not define"));var s;this.id=(s=n==null?void 0:n.id)!==null&&s!==void 0?s:ge(10);var o;this.type=(o=n==null?void 0:n.type)!==null&&o!==void 0?o:a,this.props=new G(n==null?void 0:n.props),this.customEvents=u;var f;this.controlType=(f=n==null?void 0:n.controlType)!==null&&f!==void 0?f:"base";var g;this.fieldType=(g=n==null?void 0:n.fieldType)!==null&&g!==void 0?g:r;var b;this.pageStatus=(b=n==null?void 0:n.pageStatus)!==null&&b!==void 0?b:ja.UNKNOWN}return th(e,[{key:"rules",get:function(){var i=this.props.constructor.RuntimeRules;if(i){var a=new i(this.props);return Array.from(a)}return[]}}]),e}();le(Q,"mode","Runtime"),le(Q,"controlType","control"),le(Q,"controlFieldType",void 0),le(Q,"__is_control__",!0),le(Q,"controlCustomEvents",[]);function pa(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:c.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:c.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:c.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(n,i,a){i.length===0&&a(c.getMessage("optionIsRequired")),a()}},{type:"array",validator:function(n,i,a){var r=i.map(function(u){return u.value}),l=fd(r);r.length!==l.length?a(c.getMessage("optionIdIsRepeat")):a()},message:c.getMessage("optionIdIsRepeat")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:c.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:c.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:c.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:c.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:c.getMessage("isNotArray")},{type:"array",validator:function(n,i,a){i.length===0&&a(c.getMessage("pleaseBindAtLeastOneDisplayValue")),a()},message:c.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:c.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:c.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:c.getMessage("isNotBoolean")}}}}]}}])}function Xn(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:c.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:c.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:c.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:c.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:c.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:c.getMessage("isNotString")},key:{type:"string",required:!0,message:c.getMessage("isNotString")},value:[{type:"array",message:c.getMessage("isNotArray")},{type:"array",validator:function(a,r,l){r.length===0&&l(c.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),l()},message:c.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:c.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:c.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:c.getMessage("isNotBoolean")}}}}]}}]}function ih(t){return(t==null?void 0:t.dataCode)!==void 0&&(t==null?void 0:t.fieldCode)!==void 0}function H(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Qn(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 Jn(t){return Jn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jn(t)}function Zn(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&&er(t,e)}function ah(t,e){return e&&(rh(e)==="object"||typeof e=="function")?e:H(t)}function er(t,e){return er=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},er(t,e)}function rh(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function lh(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Yn(t){var e=lh();return function(){var i=Jn(t),a;if(e){var r=Jn(this).constructor;a=Reflect.construct(i,arguments,r)}else a=i.apply(this,arguments);return ah(this,a)}}var Z=function(t){Zn(n,t);var e=Yn(n);function n(i){Qn(this,n);var a;a=e.call(this,i),V(H(a),"dataBind",{}),V(H(a),"caption",{type:"string",required:!0,message:c.getMessage("pleaseEnterCaption")}),V(H(a),"isHideCaption",{type:"boolean"}),V(H(a),"labelPosition",{type:"enum",enum:["top","left"]}),V(H(a),"defaultState",{type:"enum",enum:["default","readonly"]}),V(H(a),"required",{type:"boolean"}),V(H(a),"captionTip",{type:"string",required:!1,message:c.getMessage("pleaseEnterCaptionTip")});var r={fieldCode:{type:"string",required:!0,message:c.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:c.getMessage("pleaseEnterFieldCode")}};if(ih(i.dataBind))a.dataBind={type:"object",required:!0,fields:de(r),message:c.getMessage("pleaseEnterFieldCode")};else{var l={type:"object",required:!0,fields:{},message:c.getMessage("pleaseEnterFieldCode")};Object.keys(i.dataBind).forEach(function(u){l.fields[u]={type:"object",required:!0,fields:de(r),message:c.getMessage("pleaseEnterFieldCode")}}),a.dataBind=l}return i.isShowCaptionTip&&(a.captionTip.required=!0),a}return n}(z),$=function(t){Zn(n,t);var e=Yn(n);function n(i){Qn(this,n);var a;a=e.call(this,i);var r=i.isHide?!1:i.required;return r&&a.push({type:"string",required:r,message:i.requiredMessage!==""?i.requiredMessage:c.getMessage("runtimeRequired",{caption:i.caption})}),a}return n}(Ve),P=function(t){Zn(n,t);var e=Yn(n);function n(i){Qn(this,n);var a;a=e.call(this,i),V(H(a),"caption",void 0),V(H(a),"isHideCaption",void 0),V(H(a),"isShowCaptionTip",void 0),V(H(a),"captionTip",void 0),V(H(a),"labelPosition",void 0),V(H(a),"dataBind",void 0),V(H(a),"defaultValue",void 0),V(H(a),"placeholder",void 0),V(H(a),"defaultState",void 0),V(H(a),"required",void 0),V(H(a),"requiredMessage",void 0);var r;a.caption=(r=i==null?void 0:i.caption)!==null&&r!==void 0?r:"";var l;a.isHideCaption=(l=i==null?void 0:i.isHideCaption)!==null&&l!==void 0?l:!1;var u;a.isShowCaptionTip=(u=i==null?void 0:i.isShowCaptionTip)!==null&&u!==void 0?u:!1;var s;a.captionTip=(s=i==null?void 0:i.captionTip)!==null&&s!==void 0?s:"";var o;a.defaultState=(o=i==null?void 0:i.defaultState)!==null&&o!==void 0?o:"default";var f;a.labelPosition=(f=i==null?void 0:i.labelPosition)!==null&&f!==void 0?f:"top";var g;a.placeholder=(g=i==null?void 0:i.placeholder)!==null&&g!==void 0?g:"";var b;a.required=(b=i==null?void 0:i.required)!==null&&b!==void 0?b:!1;var _;a.requiredMessage=(_=i==null?void 0:i.requiredMessage)!==null&&_!==void 0?_:"",a.dataBind=new ve(i==null?void 0:i.dataBind);var C;return a.defaultValue=(C=i==null?void 0:i.defaultValue)!==null&&C!==void 0?C:"",a}return n}(G);V(P,"Rules",Z),V(P,"RuntimeRules",$);var dt=function(t){Zn(n,t);var e=Yn(n);function n(i){Qn(this,n);var a;return a=e.call(this,i),V(H(a),"optionConfig",{type:"enum",enum:["custom","datasource"],message:c.getMessage("PleaseSelectTheCorrectOptionSettings")}),V(H(a),"options",[{type:"array",message:c.getMessage("isNotArray")}]),V(H(a),"datasourceBind",[{type:"object",message:c.getMessage("isNotObject")}]),pa.call(H(a),i),a}return n}(Z);function tr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function uh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function pn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ei(t){return ei=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ei(t)}function oh(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&&nr(t,e)}function ch(t,e){return e&&(sh(e)==="object"||typeof e=="function")?e:tr(t)}function nr(t,e){return nr=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},nr(t,e)}function sh(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function dh(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function fh(t){var e=dh();return function(){var i=ei(t),a;if(e){var r=ei(this).constructor;a=Reflect.construct(i,arguments,r)}else a=i.apply(this,arguments);return ch(this,a)}}var O=function(t){oh(n,t);var e=fh(n);function n(i){uh(this,n);var a;return a=e.call(this,i),pn(tr(a),"controlType","form"),pn(tr(a),"props",void 0),a.props=new P(i==null?void 0:i.props),a}return n}(B);pn(O,"controlEventKeys",["on_change","on_focus","on_blur"]),pn(O,"controlCustomAttributes",void 0);function ti(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function hh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ir(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 yh(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&&ar(t,e)}function gh(t,e){return e&&(mh(e)==="object"||typeof e=="function")?e:ti(t)}function ar(t,e){return ar=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},ar(t,e)}function mh(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function vh(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function bh(t){var e=vh();return function(){var i=ni(t),a;if(e){var r=ni(this).constructor;a=Reflect.construct(i,arguments,r)}else a=i.apply(this,arguments);return gh(this,a)}}var E=function(t){yh(n,t);var e=bh(n);function n(i){hh(this,n);var a;return a=e.call(this,i),ir(ti(a),"controlType","form"),ir(ti(a),"props",void 0),ir(ti(a),"value",void 0),a.props=new P(i==null?void 0:i.props),a}return n}(Q);function _h(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function wh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ii(t){return ii=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ii(t)}function Ih(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&&rr(t,e)}function Ch(t,e){return e&&(Sh(e)==="object"||typeof e=="function")?e:_h(t)}function rr(t,e){return rr=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},rr(t,e)}function Sh(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Rh(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Th(t){var e=Rh();return function(){var i=ii(t),a;if(e){var r=ii(this).constructor;a=Reflect.construct(i,arguments,r)}else a=i.apply(this,arguments);return Ch(this,a)}}var j=function(t){Ih(n,t);var e=Th(n);function n(i){return wh(this,n),e.call(this,i)}return n}(G);function lr(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function xh(t){if(Array.isArray(t))return lr(t)}function je(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Du(t,e,n,i,a,r,l){try{var u=t[r](l),s=u.value}catch(o){n(o);return}u.done?e(s):Promise.resolve(s).then(i,a)}function kh(t){return function(){var e=this,n=arguments;return new Promise(function(i,a){var r=t.apply(e,n);function l(s){Du(r,i,a,l,u,"next",s)}function u(s){Du(r,i,a,l,u,"throw",s)}l(void 0)})}}function Ph(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Bu(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 Oh(t,e,n){return e&&Bu(t.prototype,e),n&&Bu(t,n),t}function Me(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ft(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ft=Reflect.get:ft=function(a,r,l){var u=Fh(a,r);if(!!u){var s=Object.getOwnPropertyDescriptor(u,r);return s.get?s.get.call(l||a):s.value}},ft(t,e,n||t)}function De(t){return De=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},De(t)}function Eh(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&&ur(t,e)}function Ah(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Mh(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Dh(){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 Bh(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(a){return Object.getOwnPropertyDescriptor(n,a).enumerable}))),i.forEach(function(a){Me(t,a,n[a])})}return t}function Nh(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),n.push.apply(n,i)}return n}function Lh(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Nh(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function $h(t,e){return e&&(Hh(e)==="object"||typeof e=="function")?e:je(t)}function ur(t,e){return ur=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},ur(t,e)}function Fh(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=De(t),t!==null););return t}function Nu(t){return xh(t)||Mh(t)||Vh(t)||Dh()}function Hh(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Vh(t,e){if(!!t){if(typeof t=="string")return lr(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 lr(t,e)}}function jh(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function qh(t){var e=jh();return function(){var i=De(t),a;if(e){var r=De(this).constructor;a=Reflect.construct(i,arguments,r)}else a=i.apply(this,arguments);return $h(this,a)}}function Uh(t,e){var n,i,a,r,l={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]};return r={next:u(0),throw:u(1),return:u(2)},typeof Symbol=="function"&&(r[Symbol.iterator]=function(){return this}),r;function u(o){return function(f){return s([o,f])}}function s(o){if(n)throw new TypeError("Generator is already executing.");for(;l;)try{if(n=1,i&&(a=o[0]&2?i.return:o[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,o[1])).done)return a;switch(i=0,a&&(o=[o[0]&2,a.value]),o[0]){case 0:case 1:a=o;break;case 4:return l.label++,{value:o[1],done:!1};case 5:l.label++,i=o[1],o=[0];continue;case 7:o=l.ops.pop(),l.trys.pop();continue;default:if(a=l.trys,!(a=a.length>0&&a[a.length-1])&&(o[0]===6||o[0]===2)){l=0;continue}if(o[0]===3&&(!a||o[1]>a[0]&&o[1]<a[3])){l.label=o[1];break}if(o[0]===6&&l.label<a[1]){l.label=a[1],a=o;break}if(a&&l.label<a[2]){l.label=a[2],l.ops.push(o);break}a[2]&&l.ops.pop(),l.trys.pop();continue}o=e.call(t,l)}catch(f){o=[6,f],i=0}finally{n=a=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}}var Wh=1e4,q=function(e){Eh(i,e);var n=qh(i);function i(a){Ph(this,i);var r;r=n.call(this,a),Me(je(r),"controlType","layout"),Me(je(r),"children",void 0),Me(je(r),"excludes",void 0),Me(je(r),"childrenMaxLength",void 0),Me(je(r),"props",void 0);var l=Ah(this,i)?this.constructor:void 0,u=l.excludes,s=l.childrenMaxLength;return r.props=new j(a==null?void 0:a.props),me(je(r),"children",a==null?void 0:a.children,void 0,"Designer"),r.excludes=de(u),r.childrenMaxLength=s,r}return Oh(i,[{key:"judgeExcludesChildren",value:function(r){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(r)}},{key:"judgeJoinChildren",value:function(r){var l=this.judgeExcludesChildren(r);return l&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(r,l){var u=this,s=this,o=function(){return ft(De(i.prototype),"validate",u)};return kh(function(){return Uh(this,function(f){switch(f.label){case 0:return[4,o().call(s,r,l)];case 1:return f.sent(),[4,Promise.all(s.children.map(function(g){return g.validate(r,l)}))];case 2:return f.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,l=ft(De(i.prototype),"toDataBindModel",this).call(this),u=l?[l]:[];return this.children.reduce(function(s,o){var f=o.toDataBindModel(r);if(Array.isArray(f)){var g=f.filter(function(b){return!!b});return Nu(s).concat(Nu(g))}return f&&s.push(f),s},u)}},{key:"toSchema",value:function(){var r=ft(De(i.prototype),"toSchema",this).call(this),l=this.children.map(function(u){var s=u.toSchema();return s});return Lh(Bh({},r),{children:l})}}]),i}(B);Me(q,"excludes",!1),Me(q,"childrenMaxLength",Wh);function zt(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Kh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function or(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 zh(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&&cr(t,e)}function Gh(t,e){return e&&(Xh(e)==="object"||typeof e=="function")?e:zt(t)}function cr(t,e){return cr=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},cr(t,e)}function Xh(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Qh(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Jh(t){var e=Qh();return function(){var i=ai(t),a;if(e){var r=ai(this).constructor;a=Reflect.construct(i,arguments,r)}else a=i.apply(this,arguments);return Gh(this,a)}}var W=function(t){zh(n,t);var e=Jh(n);function n(i){Kh(this,n);var a;return a=e.call(this,i),or(zt(a),"controlType","layout"),or(zt(a),"children",void 0),or(zt(a),"props",void 0),a.props=new j(i==null?void 0:i.props),me(zt(a),"children",i==null?void 0:i.children,void 0,"Runtime"),a}return n}(Q);function Re(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Zh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ht(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 Yh(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&&sr(t,e)}function ph(t,e){return e&&(ey(e)==="object"||typeof e=="function")?e:Re(t)}function sr(t,e){return sr=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},sr(t,e)}function ey(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ty(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function ny(t){var e=ty();return function(){var i=ri(t),a;if(e){var r=ri(this).constructor;a=Reflect.construct(i,arguments,r)}else a=i.apply(this,arguments);return ph(this,a)}}var li=function(t){Yh(n,t);var e=ny(n);function n(i,a,r){Zh(this,n);var l;l=e.call(this,a),ht(Re(l),"headers",void 0),ht(Re(l),"footers",void 0),ht(Re(l),"pageIndex",void 0),ht(Re(l),"pageSize",void 0),ht(Re(l),"pageSizeOptions",void 0),ht(Re(l),"totalCount",void 0),me(Re(l),"headers",a==null?void 0:a.headers,i,r),me(Re(l),"footers",a==null?void 0:a.footers,i);var u;l.pageIndex=(u=a==null?void 0:a.pageIndex)!==null&&u!==void 0?u:1;var s;l.pageSize=(s=a==null?void 0:a.pageSize)!==null&&s!==void 0?s:20;var o;l.pageSizeOptions=(o=a==null?void 0:a.pageSizeOptions)!==null&&o!==void 0?o:[20];var f;return l.totalCount=(f=a==null?void 0:a.totalCount)!==null&&f!==void 0?f:0,l}return n}(G);function dr(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 iy(t){if(Array.isArray(t))return dr(t)}function ui(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Lu(t,e,n,i,a,r,l){try{var u=t[r](l),s=u.value}catch(o){n(o);return}u.done?e(s):Promise.resolve(s).then(i,a)}function ay(t){return function(){var e=this,n=arguments;return new Promise(function(i,a){var r=t.apply(e,n);function l(s){Lu(r,i,a,l,u,"next",s)}function u(s){Lu(r,i,a,l,u,"throw",s)}l(void 0)})}}function ry(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $u(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function ly(t,e,n){return e&&$u(t.prototype,e),n&&$u(t,n),t}function oi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function yt(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?yt=Reflect.get:yt=function(a,r,l){var u=fy(a,r);if(!!u){var s=Object.getOwnPropertyDescriptor(u,r);return s.get?s.get.call(l||a):s.value}},yt(t,e,n||t)}function Be(t){return Be=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Be(t)}function uy(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&fr(t,e)}function oy(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function cy(){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 Fu(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(a){return Object.getOwnPropertyDescriptor(n,a).enumerable}))),i.forEach(function(a){oi(t,a,n[a])})}return t}function sy(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),n.push.apply(n,i)}return n}function Hu(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):sy(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function dy(t,e){return e&&(hy(e)==="object"||typeof e=="function")?e:ui(t)}function fr(t,e){return fr=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},fr(t,e)}function fy(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Be(t),t!==null););return t}function Vu(t){return iy(t)||oy(t)||yy(t)||cy()}function hy(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function yy(t,e){if(!!t){if(typeof t=="string")return dr(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 dr(t,e)}}function gy(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function my(t){var e=gy();return function(){var i=Be(t),a;if(e){var r=Be(this).constructor;a=Reflect.construct(i,arguments,r)}else a=i.apply(this,arguments);return dy(this,a)}}function vy(t,e){var n,i,a,r,l={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]};return r={next:u(0),throw:u(1),return:u(2)},typeof Symbol=="function"&&(r[Symbol.iterator]=function(){return this}),r;function u(o){return function(f){return s([o,f])}}function s(o){if(n)throw new TypeError("Generator is already executing.");for(;l;)try{if(n=1,i&&(a=o[0]&2?i.return:o[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,o[1])).done)return a;switch(i=0,a&&(o=[o[0]&2,a.value]),o[0]){case 0:case 1:a=o;break;case 4:return l.label++,{value:o[1],done:!1};case 5:l.label++,i=o[1],o=[0];continue;case 7:o=l.ops.pop(),l.trys.pop();continue;default:if(a=l.trys,!(a=a.length>0&&a[a.length-1])&&(o[0]===6||o[0]===2)){l=0;continue}if(o[0]===3&&(!a||o[1]>a[0]&&o[1]<a[3])){l.label=o[1];break}if(o[0]===6&&l.label<a[1]){l.label=a[1],a=o;break}if(a&&l.label<a[2]){l.label=a[2],l.ops.push(o);break}a[2]&&l.ops.pop(),l.trys.pop();continue}o=e.call(t,l)}catch(f){o=[6,f],i=0}finally{n=a=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}}var hr=function(t){uy(n,t);var e=my(n);function n(i){ry(this,n);var a;return a=e.call(this,i),oi(ui(a),"controlType","list"),oi(ui(a),"props",void 0),a.props=new li(ui(a),i==null?void 0:i.props,"Designer"),a}return ly(n,[{key:"validate",value:function(a,r){var l=this,u=this,s=function(){return yt(Be(n.prototype),"validate",l)};return ay(function(){return vy(this,function(o){switch(o.label){case 0:return[4,s().call(u,a)];case 1:return o.sent(),[4,Promise.all(u.props.headers.map(function(f){return f.validate(a,r)}))];case 2:return o.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var a=yt(Be(n.prototype),"toDataBindModel",this).call(this),r=a?[a]:[],l=this.id;return this.props.headers.reduce(function(u,s){var o=s.toDataBindModel(l);if(Array.isArray(o)){var f=o.filter(function(g){return!!g});return Vu(u).concat(Vu(f))}return o&&u.push(o),u},r)}},{key:"toSchema",value:function(){var a=yt(Be(n.prototype),"toSchema",this).call(this),r=this.props.headers.map(function(l){return l.toSchema()});return Hu(Fu({},a),{props:Hu(Fu({},this.props),{headers:r})})}}]),n}(B);oi(hr,"controlFieldType",v.LIST);function gt(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function by(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ju(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function _y(t,e,n){return e&&ju(t.prototype,e),n&&ju(t,n),t}function yr(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 wy(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&&gr(t,e)}function Iy(t,e){return e&&(Cy(e)==="object"||typeof e=="function")?e:gt(t)}function gr(t,e){return gr=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},gr(t,e)}function Cy(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Sy(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Ry(t){var e=Sy();return function(){var i=ci(t),a;if(e){var r=ci(this).constructor;a=Reflect.construct(i,arguments,r)}else a=i.apply(this,arguments);return Iy(this,a)}}var qu=function(t){wy(n,t);var e=Ry(n);function n(i){by(this,n);var a;return a=e.call(this,i),yr(gt(a),"controlType","list"),yr(gt(a),"children",void 0),yr(gt(a),"props",void 0),a.props=new li(gt(a),i==null?void 0:i.props,"Runtime"),me(gt(a),"children",i==null?void 0:i.children,void 0,"Runtime"),a}return _y(n,[{key:"length",get:function(){return this.children.length}}]),n}(Q);function J(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function mr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Y(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function si(t){return si=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},si(t)}function vr(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&&br(t,e)}function Ty(t,e){return e&&(xy(e)==="object"||typeof e=="function")?e:J(t)}function br(t,e){return br=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},br(t,e)}function xy(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ky(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function _r(t){var e=ky();return function(){var i=si(t),a;if(e){var r=si(this).constructor;a=Reflect.construct(i,arguments,r)}else a=i.apply(this,arguments);return Ty(this,a)}}var _e=function(t){vr(n,t);var e=_r(n);function n(i){mr(this,n);var a;return a=e.call(this,i),Y(J(a),"caption",{type:"string",required:!0,message:c.getMessage("pleaseEnterCaption")}),Y(J(a),"width",{type:"number",required:!1,message:c.getMessage("pleaseEnterColumnWidth")}),a.width.required=i.widthType==="px",a}return n}(z),K=function(t){vr(n,t);var e=_r(n);function n(i){mr(this,n);var a;a=e.call(this,i),Y(J(a),"widthType",void 0),Y(J(a),"width",void 0),Y(J(a),"caption",void 0),Y(J(a),"dataBind",void 0),Y(J(a),"autoWidth",void 0),Y(J(a),"fixed",void 0),Y(J(a),"sort",void 0),Y(J(a),"align",void 0),Y(J(a),"colSpan",void 0),Y(J(a),"autoHeight",void 0),Y(J(a),"children",void 0);var r;a.width=(r=i==null?void 0:i.width)!==null&&r!==void 0?r:150,a.widthType=(i==null?void 0:i.widthType)||"auto";var l;a.caption=(l=i==null?void 0:i.caption)!==null&&l!==void 0?l:"";var u;a.fixed=(u=i==null?void 0:i.fixed)!==null&&u!==void 0?u:"none",a.autoWidth=new lu(i==null?void 0:i.autoWidth),a.dataBind=new ve(i==null?void 0:i.dataBind);var s;a.sort=(s=i==null?void 0:i.sort)!==null&&s!==void 0?s:!0,a.align=i==null?void 0:i.align,a.colSpan=i==null?void 0:i.colSpan;var o;return a.autoHeight=(o=i==null?void 0:i.autoHeight)!==null&&o!==void 0?o:!1,a}return n}(G);Y(K,"Rules",_e);var Uu=function(t){vr(n,t);var e=_r(n);function n(i){mr(this,n);var a;return a=e.call(this,i),Y(J(a),"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:c.getMessage("PleaseSelectTheCorrectOptionSettings")}),Y(J(a),"options",[{type:"array",message:c.getMessage("isNotArray")}]),Y(J(a),"datasourceBind",[{type:"object",message:c.getMessage("isNotObject")}]),pa.call(J(a),i),a}return n}(_e);function Gt(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Py(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Wu(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 Oy(t,e,n){return e&&Wu(t.prototype,e),n&&Wu(t,n),t}function di(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function fi(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?fi=Reflect.get:fi=function(a,r,l){var u=Ny(a,r);if(!!u){var s=Object.getOwnPropertyDescriptor(u,r);return s.get?s.get.call(l||a):s.value}},fi(t,e,n||t)}function mt(t){return mt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mt(t)}function Ey(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&wr(t,e)}function Ay(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(a){return Object.getOwnPropertyDescriptor(n,a).enumerable}))),i.forEach(function(a){di(t,a,n[a])})}return t}function My(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),n.push.apply(n,i)}return n}function Dy(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):My(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function By(t,e){return e&&(Ly(e)==="object"||typeof e=="function")?e:Gt(t)}function wr(t,e){return wr=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},wr(t,e)}function Ny(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=mt(t),t!==null););return t}function Ly(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function $y(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Fy(t){var e=$y();return function(){var i=mt(t),a;if(e){var r=mt(this).constructor;a=Reflect.construct(i,arguments,r)}else a=i.apply(this,arguments);return By(this,a)}}var p=function(t){Ey(n,t);var e=Fy(n);function n(i){Py(this,n);var a;return a=e.call(this,i),di(Gt(a),"controlType","column"),di(Gt(a),"props",void 0),di(Gt(a),"children",void 0),a.props=new K(i==null?void 0:i.props),me(Gt(a),"children",i==null?void 0:i.children,void 0,"Designer"),a}return Oy(n,[{key:"toSchema",value:function(){var a=fi(mt(n.prototype),"toSchema",this).call(this);return Dy(Ay({},a),{children:this.children?this.children.map(function(r){return r.toSchema()}):[]})}}]),n}(B);function Xt(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Hy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ir(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 Vy(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&&Cr(t,e)}function jy(t,e){return e&&(qy(e)==="object"||typeof e=="function")?e:Xt(t)}function Cr(t,e){return Cr=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},Cr(t,e)}function qy(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Uy(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Wy(t){var e=Uy();return function(){var i=hi(t),a;if(e){var r=hi(this).constructor;a=Reflect.construct(i,arguments,r)}else a=i.apply(this,arguments);return jy(this,a)}}var ee=function(t){Vy(n,t);var e=Wy(n);function n(i){Hy(this,n);var a;return a=e.call(this,i),Ir(Xt(a),"controlType","column"),Ir(Xt(a),"props",void 0),Ir(Xt(a),"children",void 0),a.props=new K(i==null?void 0:i.props),me(Xt(a),"children",i==null?void 0:i.children,void 0,"Runtime"),a}return n}(Q);function Ku(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ky(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zy(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function yi(t){return yi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yi(t)}function Gy(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&&Sr(t,e)}function Xy(t,e){return e&&(Qy(e)==="object"||typeof e=="function")?e:Ku(t)}function Sr(t,e){return Sr=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},Sr(t,e)}function Qy(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Jy(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Zy(t){var e=Jy();return function(){var i=yi(t),a;if(e){var r=yi(this).constructor;a=Reflect.construct(i,arguments,r)}else a=i.apply(this,arguments);return Xy(this,a)}}var Rr=function(t){Gy(n,t);var e=Zy(n);function n(i){Ky(this,n);var a;return a=e.call(this,i),zy(Ku(a),"dataBind",void 0),a.dataBind=new ve(i==null?void 0:i.dataBind),a}return n}(j);function Tr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Yy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function gi(t){return gi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gi(t)}function py(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&&xr(t,e)}function eg(t,e){return e&&(tg(e)==="object"||typeof e=="function")?e:Tr(t)}function xr(t,e){return xr=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},xr(t,e)}function tg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ng(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function ig(t){var e=ng();return function(){var i=gi(t),a;if(e){var r=gi(this).constructor;a=Reflect.construct(i,arguments,r)}else a=i.apply(this,arguments);return eg(this,a)}}var ag=function(t){py(n,t);var e=ig(n);function n(i){Yy(this,n);var a;return a=e.call(this,i),zu(Tr(a),"controlType","search"),zu(Tr(a),"props",void 0),a.props=new Rr(i==null?void 0:i.props),a}return n}(q);function kr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function rg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function mi(t){return mi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mi(t)}function lg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Pr(t,e)}function ug(t,e){return e&&(og(e)==="object"||typeof e=="function")?e:kr(t)}function Pr(t,e){return Pr=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},Pr(t,e)}function og(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function cg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function sg(t){var e=cg();return function(){var i=mi(t),a;if(e){var r=mi(this).constructor;a=Reflect.construct(i,arguments,r)}else a=i.apply(this,arguments);return ug(this,a)}}var dg=function(t){lg(n,t);var e=sg(n);function n(i){rg(this,n);var a;return a=e.call(this,i),Gu(kr(a),"controlType","search"),Gu(kr(a),"props",void 0),a.props=new Rr(i==null?void 0:i.props),a}return n}(W);function fg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function hg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vi(t){return vi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vi(t)}function yg(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&&Or(t,e)}function gg(t,e){return e&&(mg(e)==="object"||typeof e=="function")?e:fg(t)}function Or(t,e){return Or=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},Or(t,e)}function mg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function vg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function bg(t){var e=vg();return function(){var i=vi(t),a;if(e){var r=vi(this).constructor;a=Reflect.construct(i,arguments,r)}else a=i.apply(this,arguments);return gg(this,a)}}var Er=function(t){yg(n,t);var e=bg(n);function n(i){return hg(this,n),e.call(this,i)}return n}(j);function Ar(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _g(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Xu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function bi(t){return bi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bi(t)}function wg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Mr(t,e)}function Ig(t,e){return e&&(Cg(e)==="object"||typeof e=="function")?e:Ar(t)}function Mr(t,e){return Mr=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},Mr(t,e)}function Cg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Sg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Rg(t){var e=Sg();return function(){var i=bi(t),a;if(e){var r=bi(this).constructor;a=Reflect.construct(i,arguments,r)}else a=i.apply(this,arguments);return Ig(this,a)}}var Tg=function(t){wg(n,t);var e=Rg(n);function n(i){_g(this,n);var a;return a=e.call(this,i),Xu(Ar(a),"controlType","wrap"),Xu(Ar(a),"props",void 0),a.props=new Er(i==null?void 0:i.props),a}return n}(q);function Dr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function xg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Qu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function _i(t){return _i=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_i(t)}function kg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Br(t,e)}function Pg(t,e){return e&&(Og(e)==="object"||typeof e=="function")?e:Dr(t)}function Br(t,e){return Br=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},Br(t,e)}function Og(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Eg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Ag(t){var e=Eg();return function(){var i=_i(t),a;if(e){var r=_i(this).constructor;a=Reflect.construct(i,arguments,r)}else a=i.apply(this,arguments);return Pg(this,a)}}var Mg=function(t){kg(n,t);var e=Ag(n);function n(i){xg(this,n);var a;return a=e.call(this,i),Qu(Dr(a),"controlType","wrap"),Qu(Dr(a),"props",void 0),a.props=new Er(i==null?void 0:i.props),a}return n}(W);function Ne(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:c.getMessage("pleaseEnterForm")}}}])}class Nr extends G{constructor(e){var n,i,a,r,l,u;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=(a=e==null?void 0:e.icon)!=null?a:"page-hint",this.showState=(r=e==null?void 0:e.showState)!=null?r:"text",this.content=(l=e==null?void 0:e.content)!=null?l:c.getMessage("text"),this.align=(u=e==null?void 0:e.align)!=null?u:""}}class Ju extends B{constructor(e){super(e),this.props=new Nr(e==null?void 0:e.props)}static get controlName(){return c.getMessage("text")}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}Ju.setting=[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class Dg extends Q{constructor(e){super(e),this.props=new Nr(e==null?void 0:e.props)}static get controlType(){return"text"}}var Zu={Designer:Ju,Runtime:Dg,Property:Nr};class Lr extends G{constructor(e){var n,i,a;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:c.getMessage("linkContent"),this.url=(i=e==null?void 0:e.url)!=null?i:"",this.openMode=(a=e==null?void 0:e.openMode)!=null?a:"new"}}class $r extends B{constructor(e){super(e),this.props=new Lr(e==null?void 0:e.props)}static get controlName(){return c.getMessage("link")}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}$r.controlEventKeys=["on_click"],$r.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 Bg extends Q{constructor(e){super(e),this.props=new Lr(e==null?void 0:e.props)}static get controlType(){return"link"}}var Yu={Designer:$r,Runtime:Bg,Property:Lr};class ie extends G{constructor(e){var n,i,a,r,l,u,s,o,f;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:c.getMessage("button"),this.buttonType=(i=e==null?void 0:e.buttonType)!=null?i:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"text",this.color=(r=e==null?void 0:e.color)!=null?r:"primary",this.icon=(l=e==null?void 0:e.icon)!=null?l:"iconfenlei2",this.defaultState=(u=e==null?void 0:e.defaultState)!=null?u:"default",this.command=(s=e==null?void 0:e.command)!=null?s:"custom",this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.optObj=new rf((f=e==null?void 0:e.optObj)!=null?f:{})}}class ne extends B{constructor(e){super(e),this.props=new ie(e==null?void 0:e.props)}static get controlName(){return c.getMessage("button")}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}ne.slots=["grid-table-toolbar-slot","action-bar-slot",$l.DEFAULT],ne.controlEventKeys=["on_click"],ne.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 ue extends Q{constructor(e){super(e),this.props=new ie(e==null?void 0:e.props)}static get controlType(){return"button"}}var pu={Designer:ne,Runtime:ue,Property:ie},Le=(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))(Le||{}),eo=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(eo||{}),to=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(to||{});class wi{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:ge(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var Fr=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(Fr||{});class Ii{constructor(e){var n,i;this.id=(n=e==null?void 0:e.id)!=null?n:ge(),this.text=(i=e==null?void 0:e.text)!=null?i:""}}var Hr=(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))(Hr||{});class Vr{constructor(e){var n,i,a,r,l,u,s,o;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new jt((i=e==null?void 0:e.person)!=null?i:{type:"form"}),this.signatureType=(a=e==null?void 0:e.signatureType)!=null?a:[],this.telephone=(l=e==null?void 0:e.telephone)!=null?l:new jt((r=e==null?void 0:e.telephone)!=null?r:{type:"form"}),this.company=(s=e==null?void 0:e.company)!=null?s:new jt((u=e==null?void 0:e.company)!=null?u:{type:"form"}),this.remark=(o=e==null?void 0:e.remark)!=null?o:""}}class no{constructor(e){var n,i,a,r,l,u;this.fileControl=(n=e==null?void 0:e.fileControl)!=null?n:"",this.undersignedList=(a=(i=e==null?void 0:e.undersignedList)==null?void 0:i.map(s=>new Vr(s)))!=null?a:[new Vr],this.statusControl=(r=e==null?void 0:e.statusControl)!=null?r:"",this.completeControl=(l=e==null?void 0:e.completeControl)!=null?l:"",this.completeTimeControl=(u=e==null?void 0:e.completeTimeControl)!=null?u:""}}class Qt{constructor(e){var n,i,a,r,l,u,s;this.id=(n=e==null?void 0:e.id)!=null?n:ge(8),this.appId=(i=e==null?void 0:e.appId)!=null?i:"",this.dataCode=(a=e==null?void 0:e.dataCode)!=null?a:"",this.svcCode=(r=e==null?void 0:e.svcCode)!=null?r:"",this.name=(l=e==null?void 0:e.name)!=null?l:"",this.fieldList=(u=e==null?void 0:e.fieldList)!=null?u:[],this.active=(s=e==null?void 0:e.active)!=null?s:!1}}class jr{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 io{constructor(e){var n,i,a,r;this.types=(n=e==null?void 0:e.types)!=null?n:["word","ppt","excel"],this.history=(i=e==null?void 0:e.history)!=null?i:!1,this.collaborativeRecord=(a=e==null?void 0:e.collaborativeRecord)!=null?a:!1,this.logicToDelete=(r=e==null?void 0:e.logicToDelete)!=null?r:!0,this.watermark=new jr(e==null?void 0:e.watermark),this.autoRename=new jr(e==null?void 0:e.autoRename)}}class ao{constructor(e){this.dataCode=e.dataCode}}class ro{constructor(e){var n,i,a;this.templateType=(n=e==null?void 0:e.templateType)!=null?n:"system",this.templateList=(a=(i=e==null?void 0:e.templateList)==null?void 0:i.map(r=>new ao(r)))!=null?a:[]}}class lo{constructor(e){var n,i,a;this.templateType=(n=e==null?void 0:e.templateType)!=null?n:"system",this.templateList=(a=(i=e==null?void 0:e.templateList)==null?void 0:i.map(r=>new Qt(r)))!=null?a:[new Qt({id:"default",name:c.getMessage("defaultTemplate"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}const uo=480;function Jt(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class oo{constructor(e){var n,i,a,r,l;this.fileId=(n=e==null?void 0:e.fileId)!=null?n:"",this.fileName=(i=e==null?void 0:e.fileName)!=null?i:"",this.ruleName=(a=e==null?void 0:e.ruleName)!=null?a:"",this.isDefault=(r=e.isDefault)!=null?r:!1,this.rules=(l=e.rules)!=null?l:[]}}class co{constructor(e){var n,i,a;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=(a=e==null?void 0:e.alignItems)!=null?a:"flex-start"}}var so=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(so||{}),qr=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(qr||{}),Ci=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(Ci||{}),$e=(t=>(t.ALL="all",t.ASSIGN="assign",t))($e||{}),Ur=(t=>(t.ALL="all",t.ADMIN="admin",t))(Ur||{});class Wr extends G{constructor(e){var n,i;super(e),this.color=(n=e==null?void 0:e.color)!=null?n:"#000",this.lineStyle=(i=e==null?void 0:e.lineStyle)!=null?i:Hr.SOLID}}class fo extends B{constructor(e){super(e),this.props=new Wr(e==null?void 0:e.props)}static get controlName(){return c.getMessage("divider")}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}fo.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]}];class Ng extends Q{constructor(e){super(e),this.props=new Wr(e==null?void 0:e.props)}static get controlType(){return"divider"}}var ho={Designer:fo,Runtime:Ng,Property:Wr};class Lg extends z{constructor(e){super(e),this.caption={type:"string",required:!0,message:c.getMessage("pleaseEnterCaption")},this.dataBind={type:"any"},this.config={type:"array"},e.config.includes(Le.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:c.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:c.getMessage("bizKeyNotBindFiled")}},message:c.getMessage("bizKeyNotBindFiled")}),!e.isHide&&e.config.length===0&&(this.config={type:"array",min:1,required:!0,message:c.getMessage("pleaseSelectOneField")})}}class Si extends G{constructor(e){var n,i,a,r;super(e),this.dataBind=new ve(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[Le.ShowSubmitUser,Le.ShowSubmitDept,Le.ShowSubmitTime,Le.ShowCurrentApprovar,Le.ShowTitle],this.caption=(a=(i=e==null?void 0:e.caption)!=null?i:vt==null?void 0:vt.controlName)!=null?a:"",this.position=(r=e==null?void 0:e.position)!=null?r:"top"}}Si.Rules=Lg;class vt extends B{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlName(){return c.getMessage("title")}static get controlIcon(){return"title"}static get controlType(){return"title"}}vt.controlFieldType=v.AUTO_NUMBER,vt.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 $g extends Q{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlType(){return"title"}}var yo={Designer:vt,Runtime:$g,Property:Si};class Fg extends z{constructor(e){super(e),this.formKey={type:"string",required:!0,message:c.getMessage("pleaseEnterForm")}}}class Ri extends ie{constructor(e){var n,i,a,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:bt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:bt.controlName,this.formKey=(a=e==null?void 0:e.formKey)!=null?a:"",this.openType=(r=e==null?void 0:e.openType)!=null?r:"modal"}}Ri.Rules=Fg;class bt extends ne{constructor(e){super(e),this.props=new Ri(e==null?void 0:e.props)}static get controlName(){return c.getMessage("createFormListButton")}static get controlIcon(){return"iconchuangjiandanju"}static get controlType(){return"list-page-btn-create-form"}}bt.slots=["grid-table-toolbar-slot"],bt.controlEventKeys=["on_click","on_click_finish"],bt.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 Hg extends ue{constructor(e){super(e),this.props=new Ri(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var go={Designer:bt,Runtime:Hg,Property:Ri};class Vg extends z{constructor(e){super(e),this.processKey=[{type:"string",message:c.getMessage("isNotString")},{type:"string",required:!0,message:c.getMessage("pleaseEnterProcess")}]}}class Ti extends ie{constructor(e){var n,i,a,r,l,u;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:_t.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:_t.controlName,this.initiatorMode=(a=e==null?void 0:e.initiatorMode)!=null?a:"currentInitiator",this.processKey=(r=e==null?void 0:e.processKey)!=null?r:"",this.fieldCode=(l=e==null?void 0:e.fieldCode)!=null?l:"",this.employeeId=(u=e==null?void 0:e.employeeId)!=null?u:""}}Ti.Rules=Vg;class _t extends ne{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlName(){return c.getMessage("batchSubmissionListButton")}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-submission"}}_t.slots=["grid-table-toolbar-slot"],_t.controlEventKeys=["on_click","on_click_finish"],_t.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 jg extends ue{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var mo={Designer:_t,Runtime:jg,Property:Ti};class Kr extends ie{constructor(e){var n,i;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}}class wt extends ne{constructor(e){super(e),this.props=new Kr(e==null?void 0:e.props)}static get controlName(){return c.getMessage("submissionRecordListButton")}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-submission-record"}}wt.slots=["grid-table-toolbar-slot"],wt.controlEventKeys=["on_click"],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:"super-setting",visible:!0}];class qg extends ue{constructor(e){super(e),this.props=new Kr(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var vo={Designer:wt,Runtime:qg,Property:Kr};class zr extends ie{constructor(e){var n,i,a,r,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:It.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:It.controlName,this.templateType=(a=e==null?void 0:e.templateType)!=null?a:"system",this.templateList=(l=(r=e==null?void 0:e.templateList)==null?void 0:r.map(u=>new Qt(u)))!=null?l:[new Qt({id:"default",name:zl("CMD.defaultTemplate"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class It extends ne{constructor(e){super(e),this.props=new zr(e==null?void 0:e.props)}static get controlName(){return c.getMessage("exportListButton")}static get controlIcon(){return"iconxiazai1"}static get controlType(){return"list-page-btn-export-list"}}It.slots=["grid-table-toolbar-slot"],It.controlEventKeys=["on_click","on_click_finish"],It.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 Ug extends ue{constructor(e){super(e),this.props=new zr(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var bo={Designer:It,Runtime:Ug,Property:zr};class Gr extends ie{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Ct.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Ct.controlIcon}}class Ct extends ne{constructor(e){super(e),this.props=new Gr(e==null?void 0:e.props)}static get controlName(){return c.getMessage("exportRecordListButton")}static get controlIcon(){return"icondaochujilu"}static get controlType(){return"list-page-btn-export-record"}}Ct.slots=["grid-table-toolbar-slot"],Ct.controlEventKeys=["on_click"],Ct.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class Wg extends ue{constructor(e){super(e),this.props=new Gr(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var _o={Designer:Ct,Runtime:Wg,Property:Gr};class Kg{constructor(e){this.dataCode=e.dataCode}}class Xr extends ie{constructor(e){var n,i,a,r,l;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:St.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:St.controlIcon,this.canImportList=(r=(a=e==null?void 0:e.canImportList)==null?void 0:a.map(u=>new Kg(u)))!=null?r:[],this.templateType=(l=e==null?void 0:e.templateType)!=null?l:"system"}}class St extends ne{constructor(e){super(e),this.props=new Xr(e==null?void 0:e.props)}static get controlName(){return c.getMessage("importRecordListButton")}static get controlIcon(){return"iconshangchuan3"}static get controlType(){return"list-page-btn-import-record"}}St.slots=["grid-table-toolbar-slot"],St.controlEventKeys=["on_click","on_click_finish"],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:"import-list-template",visible:!0},{key:"super-setting",visible:!0}];class zg extends ue{constructor(e){super(e),this.props=new Xr(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var wo={Designer:St,Runtime:zg,Property:Xr};function xi(){return{dataCode:{type:"string",required:!0,message:c.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:c.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:c.getMessage("pleaseSelectControl")}}}}}}class Gg extends z{constructor(e){super(e),this.fillPayload={type:"object",fields:ut({},xi())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:c.getMessage("pleaseEnterList")}}},this.fillBack={type:"object",fields:ut({mode:{type:"string",required:!0,message:c.getMessage("pleaseSelectFillBackMode")}},xi())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:c.getMessage("pleaseSelectControl")})}}class ki extends ie{constructor(e){var n,i,a;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Zt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Zt.controlIcon,this.command=(a=e==null?void 0:e.command)!=null?a:"create",this.fillPayload=new fu(e==null?void 0:e.fillPayload),this.formBind=new Vd(e==null?void 0:e.formBind),this.fillBack=new hu(e==null?void 0:e.fillBack)}}ki.Rules=Gg;class Zt extends ne{constructor(e){super(e),this.props=new ki(e==null?void 0:e.props)}static get controlName(){return c.getMessage("formSelectButton")}static get controlIcon(){return"iconbiaodancaozuo"}static get controlType(){return"form-select-button"}}Zt.controlEventKeys=["on_click","on_click_finish"],Zt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class Xg extends ue{constructor(e){super(e),this.props=new ki(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var Io={Designer:Zt,Runtime:Xg,Property:ki};class Qg extends z{constructor(e){super(e),this.fillPayload={type:"object",fields:ut({},xi())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:c.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:c.getMessage("pleaseSelectAtLeastOneColumn")}}},this.fillBack={type:"object",fields:ut({mode:{type:"string",required:!0,message:c.getMessage("pleaseSelectFillBackMode")}},xi())}}}class Pi extends ie{constructor(e){var n,i,a,r,l;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Yt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Yt.controlIcon,this.fillPayload=new fu(e==null?void 0:e.fillPayload),this.listPageBind=new Ba(e==null?void 0:e.listPageBind),this.fillBack=new hu(e==null?void 0:e.fillBack),this.showSelectedDetail=(a=e==null?void 0:e.showSelectedDetail)!=null?a:!1,this.selectedContentConfig=new Fa(e==null?void 0:e.selectedContentConfig),this.isSelectedRowFill=(r=e==null?void 0:e.isSelectedRowFill)!=null?r:!1,this.disableFilling=(l=e==null?void 0:e.disableFilling)!=null?l:!0}}Pi.Rules=Qg;class Yt extends ne{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlName(){return c.getMessage("listSelectButton")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-select-button"}}Yt.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],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:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class Jg extends ue{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var Co={Designer:Yt,Runtime:Jg,Property:Pi};class Zg extends z{constructor(e){super(e)}}class Yg extends Ve{constructor(e){super(e)}}class pt extends G{constructor(e){super(e)}}pt.Rules=Zg,pt.RuntimeRules=Yg;class So extends B{constructor(e){super(e),this.props=new pt(e==null?void 0:e.props)}static get controlName(){return c.getMessage("pagination")}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}So.setting=[];class pg extends Q{constructor(e){super(e),this.props=new pt(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var Ro={Designer:So,Runtime:pg,Property:pt};class em extends z{constructor(e){super(e),this.dashboardKey={type:"string",required:!0,message:c.getMessage("pleaseSelectDashboard")},this.caption={type:"string",required:!0,message:c.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.captionTip={type:"string",required:!1,message:c.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Oi extends G{constructor(e){var n,i,a,r,l,u;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=(a=e==null?void 0:e.isHideCaption)!=null?a:!1,this.isShowCaptionTip=(r=e==null?void 0:e.isShowCaptionTip)!=null?r:!1,this.captionTip=(l=e==null?void 0:e.captionTip)!=null?l:"",this.labelPosition=(u=e==null?void 0:e.labelPosition)!=null?u:"top"}}Oi.Rules=em;class To extends B{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlName(){return c.getMessage("dashboard")}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}To.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:"super-setting",visible:!0}];class tm extends Q{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var xo={Designer:To,Runtime:tm,Property:Oi};class nm extends z{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:c.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:c.getMessage("pleaseSelectAtLeastOneColumn")}}}}}}class Ei extends G{constructor(e){var n,i,a;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"select",this.viewList=(a=(i=e==null?void 0:e.viewList)==null?void 0:i.map(r=>new nf(r)))!=null?a:[]}}Ei.Rules=nm;class ko extends B{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlName(){return c.getMessage("listViewSelect")}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 im extends Q{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var Po={Designer:ko,Runtime:im,Property:Ei};class am extends z{constructor(e){super(e),this.caption={type:"string",required:!0,message:c.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:c.getMessage("pleaseSelectOcrType")},this.fillList={type:"array",validator(n,i,a){if(i.every(l=>!l.controlId)){a(c.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}a()}},this.captionTip={type:"string",required:!1,message:c.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Ai extends ie{constructor(e){var n,i,a,r,l,u,s,o,f,g;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Rt.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(a=e==null?void 0:e.isShowCaptionTip)!=null?a:!1,this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top",this.content=(u=e==null?void 0:e.content)!=null?u:Rt.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:Rt.controlIcon,this.ocrType=(o=e==null?void 0:e.ocrType)!=null?o:"",this.fillList=(g=(f=e==null?void 0:e.fillList)==null?void 0:f.map(b=>new ae(b)))!=null?g:[]}}Ai.Rules=am;class Rt extends ne{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlName(){return c.getMessage("textOcrButton")}static get controlIcon(){return"iconwenzishibie"}static get controlType(){return"text-ocr-button"}}Rt.controlEventKeys=["on_click","on_click_finish"],Rt.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 rm extends ue{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var Oo={Designer:Rt,Runtime:rm,Property:Ai};class lm extends z{constructor(e){super(e),this.caption={type:"string",required:!0,message:c.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.invoiceCheck={type:"boolean"},this.fillList={type:"array",validator(n,i,a){if(i.every(l=>!l.controlId)){a(c.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}a()}},this.captionTip={type:"string",required:!1,message:c.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Mi extends ie{constructor(e){var n,i,a,r,l,u,s,o,f,g;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Tt.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(a=e==null?void 0:e.isShowCaptionTip)!=null?a:!1,this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top",this.content=(u=e==null?void 0:e.content)!=null?u:Tt.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:Tt.controlIcon,this.invoiceCheck=(o=e==null?void 0:e.invoiceCheck)!=null?o:!0,this.fillList=(g=(f=e==null?void 0:e.fillList)==null?void 0:f.map(b=>new ae(b)))!=null?g:[]}}Mi.Rules=lm;class Tt extends ne{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}static get controlName(){return c.getMessage("invoiceCheckButton")}static get controlIcon(){return"iconfabiaoshibie1"}static get controlType(){return"invoice-check-button"}}Tt.controlEventKeys=["on_click","on_click_finish"],Tt.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 um extends ue{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var Eo={Designer:Tt,Runtime:um,Property:Mi};class om extends z{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:c.getMessage("pleaseUploadAtLeastOnePrintTemplate")}}}class Di extends ie{constructor(e){var n,i,a,r,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:xt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:xt.controlName,this.printTemplates=(r=(a=e==null?void 0:e.printTemplates)==null?void 0:a.map(u=>new oo(u)))!=null?r:[],this.autoSelectTemplate=(l=e==null?void 0:e.autoSelectTemplate)!=null?l:!1}}Di.Rules=om;class xt extends ne{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlName(){return c.getMessage("batchPrintListButton")}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-print"}}xt.slots=["grid-table-toolbar-slot"],xt.controlEventKeys=["on_click","on_click_finish"],xt.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 cm extends ue{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var Ao={Designer:xt,Runtime:cm,Property:Di};class Qr extends ie{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:kt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:kt.controlIcon}}class kt extends ne{constructor(e){super(e),this.props=new Qr(e==null?void 0:e.props)}static get controlName(){return c.getMessage("batchPrintRecordList")}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-batch-print-record"}}kt.slots=["grid-table-toolbar-slot"],kt.controlEventKeys=["on_click"],kt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class sm extends ue{constructor(e){super(e),this.props=new Qr(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var Mo={Designer:kt,Runtime:sm,Property:Qr};class dm extends z{constructor(e){super(e),this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:c.getMessage("pleaseEnterForm")})}}class Bi extends G{constructor(e){var n,i,a,r,l;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:c.getMessage("button"),this.code=e==null?void 0:e.code,this.command=(i=e==null?void 0:e.command)!=null?i:"custom",this.color=(a=e==null?void 0:e.color)!=null?a:"primary",this.icon=e==null?void 0:e.icon,this.formKey=e==null?void 0:e.formKey,this.openType=e==null?void 0:e.openType,this.needConfirm=e==null?void 0:e.needConfirm,this.confirmMessage=e==null?void 0:e.confirmMessage,this.options=e==null?void 0:e.options,this.defaultState=(r=e==null?void 0:e.defaultState)!=null?r:"default",this.priorityProcess=e==null?void 0:e.priorityProcess,this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1}}Bi.Rules=dm;class Ni extends B{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlName(){return c.getMessage("operationButton")}static get controlIcon(){return"iconbtn"}static get controlType(){return"operation-button"}}Ni.controlEventKeys=["on_click"],Ni.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 fm extends Q{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var Do={Designer:Ni,Runtime:fm,Property:Bi};class Jr extends G{constructor(e){var n,i,a,r,l,u,s,o,f;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Pt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Pt.controlIcon,this.buttonType=(a=e==null?void 0:e.buttonType)!=null?a:"primary",this.showType=(r=e==null?void 0:e.showType)!=null?r:"iconText",this.color=(l=e==null?void 0:e.color)!=null?l:"danger",this.isHide=(u=e==null?void 0:e.isHide)!=null?u:!1,this.defaultState=(s=e==null?void 0:e.defaultState)!=null?s:"default",this.command=(o=e==null?void 0:e.command)!=null?o:"custom",this.isLoading=(f=e==null?void 0:e.isLoading)!=null?f:!1}}class Pt extends B{constructor(e){super(e),this.props=new Jr(e==null?void 0:e.props)}static get controlName(){return c.getMessage("batchDeleteButton")}static get controlIcon(){return"iconlajitong"}static get controlType(){return"list-page-btn-batch-delete"}}Pt.slots=["grid-table-toolbar-slot"],Pt.controlEventKeys=["on_click"],Pt.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 hm extends Q{constructor(e){super(e),this.props=new Jr(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var Bo={Designer:Pt,Runtime:hm,Property:Jr},ym=Object.freeze({__proto__:null,Text:Zu,Link:Yu,Button:pu,Divider:ho,Title:yo,CreateFormListButton:go,BatchSubmissionListButton:mo,SubmissionRecordListButton:vo,ExportListButton:bo,ExportRecordListButton:_o,ImportRecordListButton:wo,FormSelectButton:Io,ListSelectButton:Co,Pagination:Ro,Dashboard:xo,ListViewSelect:Po,TextOcrButton:Oo,InvoiceCheckButton:Eo,BatchPrintListButton:Ao,BatchPrintRecordListButton:Mo,OperationButton:Do,BatchDeleteButton:Bo});class gm extends Z{constructor(e){super(e),this.maxLength={type:"number",min:0,message:c.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:200,message:c.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue=[{type:"string",max:200,min:0,message:c.getMessage("stringRangeError")},{pattern:"",message:""}],this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue[0].max=e.maxLength,this.defaultValue[0].min=e.minLength,this.defaultValue[0].message=c.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength}),this.defaultValue[1].pattern=Jt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class mm extends ${constructor(e){super(e),this.push({type:"string",message:c.getMessage("isNotString")},{max:e.maxLength,min:e.minLength,message:c.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:Jt(e.regularRules.expression),message:e.regularRules.errMessage})}}class Ot extends P{constructor(e){var n,i,a,r,l,u,s;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:200,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.regularRules=new yu(e==null?void 0:e.regularRules),this.defaultValue=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.caption=(r=e==null?void 0:e.caption)!=null?r:Et.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:c.getMessage("pleaseEnter"),this.encrypted=(u=e==null?void 0:e.encrypted)!=null?u:!1,this.encryptedMode=(s=e==null?void 0:e.encryptedMode)!=null?s:""}}Ot.Rules=gm,Ot.RuntimeRules=mm;class Et extends O{constructor(e){super(e),this.props=new Ot(e==null?void 0:e.props)}static get controlName(){return c.getMessage("input")}static get controlIcon(){return"iconSingleline_new1"}static get controlType(){return"input"}}Et.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Et.controlFieldType=v.VARCHAR,Et.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:"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 No extends E{constructor(e){super(e),this.props=new Ot(e==null?void 0:e.props)}static get controlType(){return"input"}}No.controlFieldType=v.VARCHAR;var Lo={Designer:Et,Runtime:No,Property:Ot};class vm extends dt{constructor(e){super(e),this.limitMax={type:"number",min:void 0,message:c.getMessage("PleaseReselectTheOptionalQuantity")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const i=a=>a==="unlimited"?void 0:a;this.limitMax.min=i(e.limitMin)}}class bm 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 en extends P{constructor(e){var n,i,a,r,l,u,s,o,f,g,b,_,C;super(e),this.options=Ce((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.checkboxMode=(i=e==null?void 0:e.checkboxMode)!=null?i:"horizontal",this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"custom",this.optionsOrder=(r=e==null?void 0:e.optionsOrder)!=null?r:!1,this.otherOption=(l=e==null?void 0:e.otherOption)!=null?l:!1,this.limitMin=(u=e==null?void 0:e.limitMin)!=null?u:"unlimited",this.limitMax=(s=e==null?void 0:e.limitMax)!=null?s:"unlimited",this.datasourceBind=new te(e==null?void 0:e.datasourceBind),this.interreaction=(o=e==null?void 0:e.interreaction)!=null?o:[],this.caption=(f=e==null?void 0:e.caption)!=null?f:tn.controlName,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:[],this.optionsFormat=(b=e==null?void 0:e.optionsFormat)!=null?b:"horizontal",this.defaultShowOptions=(_=e==null?void 0:e.defaultShowOptions)!=null?_:!0,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(w=>{var T;(T=this.multistageFilling)==null||T.push(new ae(w))}))}}en.Rules=vm,en.RuntimeRules=bm;class tn extends O{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlName(){return c.getMessage("checkBox")}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}tn.controlEventKeys=["on_change","on_click"],tn.controlFieldType=v.ARRAY,tn.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:"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 $o extends E{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}$o.controlFieldType=v.ARRAY;var Fo={Designer:tn,Runtime:$o,Property:en};class _m extends dt{constructor(e){super(e)}}class Li extends P{constructor(e){var n,i,a,r,l,u,s,o,f,g,b;super(e),this.options=Ce((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.radioMode=(i=e==null?void 0:e.radioMode)!=null?i:"horizontal",this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"custom",this.otherOption=(r=e==null?void 0:e.otherOption)!=null?r:!1,this.optionsOrder=(l=e==null?void 0:e.optionsOrder)!=null?l:!1,this.defaultShowOptions=(u=e==null?void 0:e.defaultShowOptions)!=null?u:!0,this.optionsFormat=(s=e==null?void 0:e.optionsFormat)!=null?s:"horizontal",this.datasourceBind=new te(e==null?void 0:e.datasourceBind),this.interreaction=(o=e==null?void 0:e.interreaction)!=null?o:[],this.caption=(f=e==null?void 0:e.caption)!=null?f:nn.controlName,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:"",this.openMultistageFilling=(b=e==null?void 0:e.openMultistageFilling)!=null?b:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var C;(C=this.multistageFilling)==null||C.push(new ae(_))}))}}Li.Rules=_m;class nn extends O{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}static get controlName(){return c.getMessage("radio")}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}nn.controlEventKeys=["on_change","on_click"],nn.controlFieldType=v.VARCHAR,nn.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:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Ho extends E{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}static get controlType(){return"radio"}}Ho.controlFieldType=v.VARCHAR;var Vo={Designer:nn,Runtime:Ho,Property:Li};class wm extends Z{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:200,message:c.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}],this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue[0].max=n,this.defaultValue[0].min=i,this.defaultValue[0].message=c.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:c.getMessage("numberRangeSetError")}),this.defaultValue[1].pattern=Jt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class Im 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:c.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:Jt(e.regularRules.expression),message:e.regularRules.errMessage})}}class an extends P{constructor(e){var n,i,a,r,l,u,s,o,f,g,b,_,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.numberType=(a=e==null?void 0:e.numberType)!=null?a:"number",this.percentageFormat=(r=e==null?void 0:e.percentageFormat)!=null?r:!1,this.micrometer=(l=e==null?void 0:e.micrometer)!=null?l:!1,this.precision=(u=e==null?void 0:e.precision)!=null?u:0,this.showUpperCase=(s=e==null?void 0:e.showUpperCase)!=null?s:!1,this.isShowUnit=(o=e==null?void 0:e.isShowUnit)!=null?o:!1,this.unitPosition=(f=e==null?void 0:e.unitPosition)!=null?f:"right",this.unit=(g=e==null?void 0:e.unit)!=null?g:"",this.caption=(b=e==null?void 0:e.caption)!=null?b:rn.controlName,this.placeholder=(_=e==null?void 0:e.placeholder)!=null?_:c.getMessage("pleaseEnter"),this.defaultValue=(C=e==null?void 0:e.defaultValue)!=null?C:"",this.regularRules=new yu(e==null?void 0:e.regularRules)}}an.Rules=wm,an.RuntimeRules=Im;class rn extends O{constructor(e){super(e),this.props=new an(e==null?void 0:e.props)}static get controlName(){return c.getMessage("number")}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:a}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=a}return n}}rn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],rn.controlFieldType=v.DECIMAL,rn.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 jo extends E{constructor(e){super(e),this.props=new an(e==null?void 0:e.props)}static get controlType(){return"number"}}jo.controlFieldType=v.DECIMAL;var qo={Designer:rn,Runtime:jo,Property:an};class Zr extends P{constructor(e){var n,i,a,r,l,u,s,o,f,g,b;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:se.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(a=e==null?void 0:e.commonTimeSetting)!=null?a:[],this.setValueType=(r=e==null?void 0:e.setValueType)!=null?r:"custom",this.caption=(l=e==null?void 0:e.caption)!=null?l:$i.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:c.getMessage("pleaseEnterDate"),this.defaultValue=(s=e==null?void 0:e.defaultValue)!=null?s:"",this.limitDateList=(f=(o=e==null?void 0:e.limitDateList)==null?void 0:o.map(_=>new wi(_)))!=null?f:[],this.allowDateRange=(g=e==null?void 0:e.allowDateRange)!=null?g:["",""],this.filterWeekend=(b=e==null?void 0:e.filterWeekend)!=null?b:!1}}class $i extends O{constructor(e){super(e),this.props=new Zr(e==null?void 0:e.props)}static get controlName(){return c.getMessage("timestamp")}static get controlIcon(){return"iconriqi1"}static get controlType(){return"date-picker"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:i}=this.props;n.props.dateType=i}return n}}$i.controlFieldType=v.TIMESTAMP,$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:"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 Uo extends E{constructor(e){super(e),this.props=new Zr(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}Uo.controlFieldType=v.TIMESTAMP;var Wo={Designer:$i,Runtime:Uo,Property:Zr};class Cm 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 Fi extends P{constructor(e){var n,i,a,r,l,u,s,o,f,g,b;super(e),this.dataBind=new Zd(e==null?void 0:e.dataBind),this.defaultValue=new Yd(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:se.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(a=e==null?void 0:e.commonTimeSetting)!=null?a:[],this.setValueType=(r=e==null?void 0:e.setValueType)!=null?r:"custom",this.rangeMin=(l=e==null?void 0:e.rangeMin)!=null?l:"",this.rangeMax=(u=e==null?void 0:e.rangeMax)!=null?u:"",this.placeholderStart=(s=e==null?void 0:e.placeholderStart)!=null?s:c.getMessage("pleaseSelectStartDate"),this.placeholderEnd=(o=e==null?void 0:e.placeholderEnd)!=null?o:c.getMessage("pleaseSelectEndDate"),this.caption=(f=e==null?void 0:e.caption)!=null?f:Hi.controlName,this.limitDateList=(b=(g=e==null?void 0:e.limitDateList)==null?void 0:g.map(_=>new wi(_)))!=null?b:[]}}Fi.RuntimeRules=Cm;class Hi extends O{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}static get controlName(){return c.getMessage("timescope")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"date-range"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:i}=this.props;n.props.dateType=i}return n}}Hi.controlFieldType=v.TIMESCOPE,Hi.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]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Ko extends E{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}static get controlType(){return"date-range"}}Ko.controlFieldType=v.TIMESCOPE;var zo={Designer:Hi,Runtime:Ko,Property:Fi};class Sm extends Z{constructor(e){super(e),this.maxLength={type:"number",min:0,message:c.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:c.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:c.getMessage("stringRangeError")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=c.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class Rm extends ${constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:c.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class ln extends P{constructor(e){var n,i,a,r,l;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.caption=(r=e==null?void 0:e.caption)!=null?r:un.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:c.getMessage("pleaseEnter"),this.rowHeightSetting=new $d(e==null?void 0:e.rowHeightSetting)}}ln.Rules=Sm,ln.RuntimeRules=Rm;class un extends O{constructor(e){super(e),this.props=new ln(e==null?void 0:e.props)}static get controlName(){return c.getMessage("textarea")}static get controlIcon(){return"iconMultilineline_new1"}static get controlType(){return"textarea"}}un.controlEventKeys=["on_change","on_input","on_focus","on_blur"],un.controlFieldType=v.TEXT,un.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:"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 Go extends E{constructor(e){super(e),this.props=new ln(e==null?void 0:e.props)}static get controlType(){return"textarea"}}Go.controlFieldType=v.TEXT;var Xo={Designer:un,Runtime:Go,Property:ln};class Tm extends Z{constructor(e){super(e),this.maxLength={type:"number",min:0,message:c.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:c.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:c.getMessage("stringRangeError")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=c.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class xm extends ${constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:c.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class on extends P{constructor(e){var n,i,a,r,l;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.caption=(r=e==null?void 0:e.caption)!=null?r:cn.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:c.getMessage("pleaseEnter")}}on.Rules=Tm,on.RuntimeRules=xm;class cn extends O{constructor(e){super(e),this.props=new on(e==null?void 0:e.props)}static get controlName(){return c.getMessage("richText")}static get controlIcon(){return"iconRichtextbox_new"}static get controlType(){return"rich-text"}}cn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],cn.controlFieldType=v.TEXT,cn.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:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}];class Qo extends E{constructor(e){super(e),this.props=new on(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}Qo.controlFieldType=v.TEXT;var Jo={Designer:cn,Runtime:Qo,Property:on};class km extends dt{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:c.getMessage("pleaseEnterForm")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class Vi extends P{constructor(e){var n,i,a,r,l,u,s,o,f,g;super(e),this.options=Ce((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"custom",this.datasourceBind=new te(e==null?void 0:e.datasourceBind),this.caption=(r=e==null?void 0:e.caption)!=null?r:ji.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:c.getMessage("pleaseSelect"),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.allowCopyOptions=(s=e==null?void 0:e.allowCopyOptions)!=null?s:!1,this.openMultistageFilling=(o=e==null?void 0:e.openMultistageFilling)!=null?o:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(b=>{var _;(_=this.multistageFilling)==null||_.push(new ae(b))})),this.canViewForm=(f=e==null?void 0:e.canViewForm)!=null?f:!1,this.viewFormModelType=(g=e==null?void 0:e.viewFormModelType)!=null?g:"window",this.formBind=new ct(e==null?void 0:e.formBind)}}Vi.Rules=km;class ji extends O{constructor(e){super(e),this.props=new Vi(e==null?void 0:e.props)}static get controlName(){return c.getMessage("select")}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}ji.controlFieldType=v.VARCHAR,ji.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:"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 Zo extends E{constructor(e){super(e),this.props=new Vi(e==null?void 0:e.props)}static get controlType(){return"select"}}Zo.controlFieldType=v.VARCHAR;var Yo={Designer:ji,Runtime:Zo,Property:Vi};class Pm extends dt{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:c.getMessage("pleaseEnterForm")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class Om extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class sn extends P{constructor(e){var n,i,a,r,l,u,s,o,f;super(e),this.options=Ce((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"custom",this.datasourceBind=new te(e==null?void 0:e.datasourceBind),this.caption=(r=e==null?void 0:e.caption)!=null?r:qi.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:c.getMessage("pleaseSelect"),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:[],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(g=>{var b;(b=this.multistageFilling)==null||b.push(new ae(g))})),this.canViewForm=(o=e==null?void 0:e.canViewForm)!=null?o:!1,this.viewFormModelType=(f=e==null?void 0:e.viewFormModelType)!=null?f:"window",this.formBind=new ct(e==null?void 0:e.formBind)}}sn.Rules=Pm,sn.RuntimeRules=Om;class qi extends O{constructor(e){super(e),this.props=new sn(e==null?void 0:e.props)}static get controlName(){return c.getMessage("selectMultiple")}static get controlIcon(){return"iconxialaduoxuan"}static get controlType(){return"select-multiple"}}qi.controlFieldType=v.ARRAY,qi.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:"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 po extends E{constructor(e){super(e),this.props=new sn(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}po.controlFieldType=v.ARRAY;var ec={Designer:qi,Runtime:po,Property:sn};class Em extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Ui extends P{constructor(e){var n,i,a,r,l,u,s,o,f;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(a=e==null?void 0:e.rangeOptions)!=null?a:[],this.multiple=(r=e==null?void 0:e.multiple)!=null?r:!1,this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:Wi.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:c.getMessage("pleaseEnterNameorEmail"),this.openMultistageFilling=(f=e==null?void 0:e.openMultistageFilling)!=null?f:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(g=>{var b;(b=this.multistageFilling)==null||b.push(new ae(g))}))}}Ui.RuntimeRules=Em;class Wi extends O{constructor(e){super(e),this.props=new Ui(e==null?void 0:e.props)}static get controlName(){return c.getMessage("people")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}Wi.controlFieldType=v.EMPLOYEES,Wi.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 tc extends E{constructor(e){super(e),this.props=new Ui(e==null?void 0:e.props)}static get controlType(){return"employee"}}tc.controlFieldType=v.EMPLOYEES;var nc={Designer:Wi,Runtime:tc,Property:Ui};const Am=10485760,Mm=104857600,Dm=1048576e3;class Bm extends Z{constructor(e){super(e),this.maxSize={type:"number",min:0,max:Dm,message:c.getMessage("attachmentMaxSize")}}}class Nm extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:c.getMessage("attachmentLimitError",{max:e.maxLimit,min:e.minLimit})})}}class At extends P{constructor(e){var n,i,a,r,l,u,s,o,f,g,b;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=(a=e==null?void 0:e.resultShowType)!=null?a:"simple",this.attachmentAccept=(r=e==null?void 0:e.attachmentAccept)!=null?r:[],this.maxLimit=(l=e==null?void 0:e.maxLimit)!=null?l:10,this.minLimit=(u=e==null?void 0:e.minLimit)!=null?u:0,this.maxSize=(s=e==null?void 0:e.maxSize)!=null?s:Mm,this.caption=(o=e==null?void 0:e.caption)!=null?o:Mt.controlName,this.placeholder=(f=e==null?void 0:e.placeholder)!=null?f:c.getMessage("uploadFile"),this.isShowWatermark=(g=e==null?void 0:e.isShowWatermark)!=null?g:!1,this.watermarkFx=(b=e==null?void 0:e.watermarkFx)!=null?b:{}}}At.Rules=Bm,At.RuntimeRules=Nm;class Mt extends O{constructor(e){super(e),this.props=new At(e==null?void 0:e.props)}static get controlName(){return c.getMessage("file")}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}Mt.controlEventKeys=["on_change"],Mt.controlFieldType=v.FILE,Mt.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:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Yr extends E{constructor(e){super(e),this.props=new At(e==null?void 0:e.props)}static get controlType(){return"attachment"}}Yr.controlFieldType=v.FILE;var ic={Designer:Mt,Runtime:Yr,Property:At};const ac=class extends Mt{static get controlName(){return c.getMessage("image")}static get controlIcon(){return"iconpic_new"}static get controlType(){return"image"}constructor(t){var e,n,i,a;super(t),this.props.showType="image",this.props.caption=(n=(e=t==null?void 0:t.props)==null?void 0:e.caption)!=null?n:ac.controlName,this.props.placeholder=(a=(i=t==null?void 0:t.props)==null?void 0:i.placeholder)!=null?a:c.getMessage("uploadImg")}};let pr=ac;pr.controlFieldType=v.IMAGE,pr.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:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Lm extends Yr{static get controlType(){return"image"}constructor(e){var n,i,a,r,l,u;super(e),this.props.showType="image",this.props.maxLimit=(i=(n=e==null?void 0:e.props)==null?void 0:n.maxLimit)!=null?i:9,this.props.caption=(r=(a=e==null?void 0:e.props)==null?void 0:a.caption)!=null?r:c.getMessage("image"),this.props.placeholder=(u=(l=e==null?void 0:e.props)==null?void 0:l.placeholder)!=null?u:c.getMessage("uploadImg")}}class $m extends At{constructor(e){super(e)}}var rc={Designer:pr,Runtime:Lm,Property:$m};class Fm extends dt{constructor(e){super(e),this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:c.getMessage("pleaseEnterNumberRange")}]}},this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue.fields.amount[0].max=n,this.defaultValue.fields.amount[0].min=i,this.defaultValue.fields.amount[0].message=c.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:c.getMessage("numberRangeSetError")})}}class Hm 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:[Bl(ut({},this[0]),{type:"number"}),{type:"number",min:i,max:n,message:c.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}],currency:{type:"string"}}})}}class dn extends P{constructor(e){var n,i,a,r,l,u,s,o,f,g,b,_;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"datasource",this.micrometer=(r=e==null?void 0:e.micrometer)!=null?r:!1,this.precision=(l=e==null?void 0:e.precision)!=null?l:2,this.dataBind=new Qd(e==null?void 0:e.dataBind),this.datasourceBind=new te((u=e==null?void 0:e.datasourceBind)!=null?u:{displayBoList:[new La({value:"name"})]}),this.defaultValue=new Jd((s=e==null?void 0:e.defaultValue)!=null?s:{amount:"",currency:Va.CNY}),this.unitPosition=(o=e==null?void 0:e.unitPosition)!=null?o:"right",this.options=Ce(e==null?void 0:e.options),this.caption=(f=e==null?void 0:e.caption)!=null?f:fn.controlName,this.placeholder=(g=e==null?void 0:e.placeholder)!=null?g:c.getMessage("pleaseEnter"),this.submitSelectCurrency=(b=e==null?void 0:e.submitSelectCurrency)!=null?b:!1,this.showUpperCase=(_=e==null?void 0:e.showUpperCase)!=null?_:!1}}dn.Rules=Fm,dn.RuntimeRules=Hm;class fn extends O{constructor(e){super(e),this.props=new dn(e==null?void 0:e.props)}static get controlName(){return c.getMessage("amount")}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:a}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=a}return n}}fn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],fn.controlFieldType=v.MONEY,fn.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 lc extends E{constructor(e){super(e),this.props=new dn(e==null?void 0:e.props)}static get controlType(){return"amount"}}lc.controlFieldType=v.MONEY;var uc={Designer:fn,Runtime:lc,Property:dn};class Vm extends Z{constructor(e){super(e),this.totalScore=[{type:"number",required:!0,message:c.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:c.getMessage("theTotalScoreMustNotBeLessThan1")}],this.defaultValue={type:"number",min:0,max:5,message:c.getMessage("scoreDefaultValueRange")},this.defaultValue.max=e.totalScore,this.defaultValue.message=c.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:0})}}class jm 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:c.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:n})})}}class hn extends P{constructor(e){var n,i,a,r,l,u,s;super(e),this.totalScore=(n=e==null?void 0:e.totalScore)!=null?n:5,this.scoreType=(i=e==null?void 0:e.scoreType)!=null?i:Fr.STAR,this.isShowExplain=(a=e==null?void 0:e.isShowExplain)!=null?a:!0,this.explain=(l=(r=e==null?void 0:e.explain)==null?void 0:r.map(o=>new Ii(o)))!=null?l:Array(this.totalScore).fill(void 0).map(()=>new Ii),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:0,this.caption=(s=e==null?void 0:e.caption)!=null?s:yn.controlName}}hn.Rules=Vm,hn.RuntimeRules=jm;class yn extends O{constructor(e){super(e),this.props=new hn(e==null?void 0:e.props)}static get controlName(){return c.getMessage("score")}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,a=Array(i).fill(void 0).map(()=>new Ii);this.props.explain.push(...a)}}super.postUpdate(e,n)}}yn.controlEventKeys=["on_change","on_click"],yn.controlFieldType=v.DECIMAL,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.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 oc extends E{constructor(e){super(e),this.props=new hn(e==null?void 0:e.props)}static get controlType(){return"score"}}oc.controlFieldType=v.DECIMAL;var cc={Designer:yn,Runtime:oc,Property:hn};class qm 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:c.getMessage("pleaseSelectProvince")}}};e.addressType.includes("city")&&(n.fields.city={type:"string",required:e.required,message:c.getMessage("pleaseSelectCity")}),e.addressType.includes("district")&&(n.fields.district={type:"string",required:e.required,message:c.getMessage("pleaseSelectDistrict")}),this.push(n)}}}class Ki extends P{constructor(e){var n,i,a,r,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:zi.controlName,this.defaultValueType=(i=e==null?void 0:e.defaultValueType)!=null?i:"default",this.addressType=(a=e==null?void 0:e.addressType)!=null?a:["province","city","district"],this.defaultValue=new pd((r=e==null?void 0:e.defaultValue)!=null?r:{}),this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:c.getMessage("pleaseChooseAddress")}}Ki.RuntimeRules=qm;class zi extends O{constructor(e){super(e),this.props=new Ki(e==null?void 0:e.props)}static get controlName(){return c.getMessage("address")}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}zi.controlFieldType=v.ADDRESS,zi.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 sc extends E{constructor(e){super(e),this.props=new Ki(e==null?void 0:e.props)}static get controlName(){return"\u7701\u5E02\u533A"}static get controlIcon(){return"iconicon_site_management11"}static get controlType(){return"address"}}sc.controlFieldType=v.ADDRESS;var dc={Designer:zi,Runtime:sc,Property:Ki};class Um extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Gi extends P{constructor(e){var n,i,a,r,l,u,s,o,f,g,b;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(a=e==null?void 0:e.range)!=null?a:"all",this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.rangeOptions=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(f=e==null?void 0:e.caption)!=null?f:gn.controlName,this.placeholder=(g=e==null?void 0:e.placeholder)!=null?g:c.getMessage("pleaseSelectDept"),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(_=>{var C;(C=this.multistageFilling)==null||C.push(new ae(_))}))}}Gi.RuntimeRules=Um;class gn extends O{constructor(e){super(e),this.props=new Gi(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:a}=this.props;n.props.displayLevel=i,n.props.showSubDept=a}return n}}gn.controlName=c.getMessage("department"),gn.controlFieldType=v.DEPARTMENTS,gn.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 fc extends E{constructor(e){super(e),this.props=new Gi(e==null?void 0:e.props)}static get controlType(){return"department"}}fc.controlFieldType=v.DEPARTMENTS;var hc={Designer:gn,Runtime:fc,Property:Gi};class el extends P{constructor(e){var n,i,a;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:mn.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:c.getMessage("pleaseEnterAutonumber")}}class mn extends O{constructor(e){super(e),this.props=new el(e==null?void 0:e.props)}static get controlName(){return c.getMessage("autoNumber")}static get controlIcon(){return"iconnumber_new"}static get controlType(){return"auto-number"}}mn.controlEventKeys=["on_change"],mn.controlFieldType=v.AUTO_NUMBER,mn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[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 yc extends E{constructor(e){super(e),this.props=new el(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}yc.controlFieldType=v.AUTO_NUMBER;var gc={Designer:mn,Runtime:yc,Property:el};class Wm extends Z{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 Km extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),this.push({type:"object",message:c.getMessage("isNotObject"),fields:{result:[{type:"number",message:c.getMessage("isNotNumber")}],unit:{type:"string",message:c.getMessage("isNotString")}}})}}class vn extends P{constructor(e){var n,i,a,r,l,u,s,o,f;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=(a=e==null?void 0:e.showUpperCase)!=null?a:!1,this.dataBind=new ef(e==null?void 0:e.dataBind),this.defaultValue=new tf(e==null?void 0:e.defaultValue),this.caption=(r=e==null?void 0:e.caption)!=null?r:bn.controlName,this.unitPosition=(l=e==null?void 0:e.unitPosition)!=null?l:"right",this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:c.getMessage("pleaseEnter"),this.scriptEcho=(s=e==null?void 0:e.scriptEcho)!=null?s:[],this.scriptSrc=(o=e==null?void 0:e.scriptSrc)!=null?o:"",this.calcOnMounted=(f=e==null?void 0:e.calcOnMounted)!=null?f:!1}}vn.Rules=Wm,vn.RuntimeRules=Km;class bn extends O{constructor(e){super(e),this.props=new vn(e==null?void 0:e.props)}static get controlName(){return c.getMessage("calc")}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:a}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=a}return n}}bn.controlEventKeys=["on_change"],bn.controlFieldType=v.CALC,bn.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 E{constructor(e){super(e),this.props=new vn(e==null?void 0:e.props)}static get controlType(){return"calc"}}mc.controlFieldType=v.CALC;var vc={Designer:bn,Runtime:mc,Property:vn};class zm extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({validator(n,i){return e.required&&i.every(r=>!r)?Promise.reject(c.getMessage("runtimeRequired",{caption:e.caption})):Promise.resolve()}})}}class Xi extends P{constructor(e){var n,i,a,r,l,u;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=(a=e==null?void 0:e.rangeMax)!=null?a:"",this.placeholderStart=(r=e==null?void 0:e.placeholderStart)!=null?r:c.getMessage("min"),this.placeholderEnd=(l=e==null?void 0:e.placeholderEnd)!=null?l:c.getMessage("max"),this.caption=(u=e==null?void 0:e.caption)!=null?u:Qi.controlName}}Xi.RuntimeRules=zm;class Qi extends O{constructor(e){super(e),this.props=new Xi(e==null?void 0:e.props)}static get controlName(){return c.getMessage("searchNumberRange")}static get controlIcon(){return"iconshuziqujian"}static get controlType(){return"search-number-range"}}Qi.controlFieldType=v.DECIMAL_RANGE,Qi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[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 bc extends E{constructor(e){super(e),this.props=new Xi(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}bc.controlFieldType=v.DECIMAL_RANGE;var _c={Designer:Qi,Runtime:bc,Property:Xi};class Gm 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 Ji extends P{constructor(e){var n,i,a,r,l,u,s,o,f,g,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:se.DATE,this.dateFormat=(a=e==null?void 0:e.dateFormat)!=null?a:"",this.commonTimeSetting=(r=e==null?void 0:e.commonTimeSetting)!=null?r:[],this.setValueType=(l=e==null?void 0:e.setValueType)!=null?l:"custom",this.rangeMin=(u=e==null?void 0:e.rangeMin)!=null?u:"",this.rangeMax=(s=e==null?void 0:e.rangeMax)!=null?s:"",this.placeholderStart=(o=e==null?void 0:e.placeholderStart)!=null?o:c.getMessage("startDate"),this.placeholderEnd=(f=e==null?void 0:e.placeholderEnd)!=null?f:c.getMessage("endDate"),this.caption=(g=e==null?void 0:e.caption)!=null?g:Zi.controlName,this.limitDateList=(_=(b=e==null?void 0:e.limitDateList)==null?void 0:b.map(C=>new wi(C)))!=null?_:[]}}Ji.RuntimeRules=Gm;class Zi extends O{constructor(e){super(e),this.props=new Ji(e==null?void 0:e.props)}static get controlName(){return c.getMessage("timescope")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"search-date-range"}}Zi.controlFieldType=v.ARRAY,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:"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 wc extends E{constructor(e){super(e),this.props=new Ji(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}wc.controlFieldType=v.ARRAY;var Ic={Designer:Zi,Runtime:wc,Property:Ji};class Xm extends Z{constructor(e){super(e),this.dataBind={type:"any"}}}class Qm extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class _n extends P{constructor(e){var n,i,a,r,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Dt.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(a=e==null?void 0:e.controlExportName)!=null?a:"",this.permissions=(r=e==null?void 0:e.permissions)!=null?r:[],this.isInlineEdit=(l=e==null?void 0:e.isInlineEdit)!=null?l:!1}}_n.Rules=Xm,_n.RuntimeRules=Qm;class Dt extends O{constructor(e){super(e),this.props=new _n(e==null?void 0:e.props)}static get controlName(){return c.getMessage("vueFormItem")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return"vue-form-item"}}Dt.controlFieldType=v.ANY,Dt.controlEventKeys=[],Dt.slots=["grid-table-toolbar-slot",$l.DEFAULT],Dt.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 Cc extends E{constructor(e){super(e),this.props=new _n(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}Cc.controlFieldType=v.ANY;var Sc={Designer:Dt,Runtime:Cc,Property:_n};class Jm extends dt{constructor(e){super(e),this.listPageBind=[{type:"object",message:c.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:c.getMessage("isNotString")},{type:"string",required:!0,message:c.getMessage("pleaseEnterList")}]}}],this.formBind={type:"object",fields:{formKey:{type:"string",message:c.getMessage("pleaseEnterForm")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class Yi extends P{constructor(e){var n,i,a,r,l,u,s,o,f,g,b;super(e),this.options=Ce((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new Ba(e==null?void 0:e.listPageBind),this.datasourceBind=new te(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:wn.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:c.getMessage("pleaseSelect"),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:"",this.openMultistageFilling=(u=e==null?void 0:e.openMultistageFilling)!=null?u:!1,this.showSelectedDetail=(s=e==null?void 0:e.showSelectedDetail)!=null?s:!1,this.selectedContentConfig=new Fa(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var C;(C=this.multistageFilling)==null||C.push(new ae(_))})),this.canViewForm=(o=e==null?void 0:e.canViewForm)!=null?o:!1,this.viewFormModelType=(f=e==null?void 0:e.viewFormModelType)!=null?f:"window",this.formBind=new ct(e==null?void 0:e.formBind),this.optionDisplayConfig=(g=e==null?void 0:e.optionDisplayConfig)!=null?g:[],this.canSearch=(b=e==null?void 0:e.canSearch)!=null?b:!1}}Yi.Rules=Jm;class wn extends O{constructor(e){super(e),this.props=new Yi(e==null?void 0:e.props)}static get controlName(){return c.getMessage("selectRelation")}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}}wn.controlFieldType=v.VARCHAR,wn.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]},{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}],wn.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class Rc extends E{constructor(e){super(e),this.props=new Yi(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}Rc.controlFieldType=v.VARCHAR;var Tc={Designer:wn,Runtime:Rc,Property:Yi};class tl extends Ot{constructor(e){super(e)}}class xc extends Et{constructor(e){super(e),this.props=new tl(e==null?void 0:e.props)}static get controlName(){return c.getMessage("input")}static get controlType(){return"search-input"}}xc.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 E{constructor(e){super(e),this.props=new tl(e==null?void 0:e.props)}static get controlType(){return"search-input"}}kc.controlFieldType=v.VARCHAR;var Pc={Designer:xc,Runtime:kc,Property:tl};class Zm extends Z{constructor(e){super(e),this.datasourceBind=[{type:"object",message:c.getMessage("isNotObject")}],Xn.call(this,e,Fe.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:c.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:c.getMessage("rootNodeIsRequired")}}}])}}class Ym extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class In extends P{constructor(e){var n,i,a,r,l,u,s,o,f,g,b,_,C,w,T,m,I,k,A;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:Fe.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:c.getMessage("pleaseSelect"),this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.canSearch=(r=e==null?void 0:e.canSearch)!=null?r:!0,this.levelType=(l=e==null?void 0:e.levelType)!=null?l:"all",this.optionalLevel=(u=e==null?void 0:e.optionalLevel)!=null?u:1,this.containsSubNode=(s=e==null?void 0:e.containsSubNode)!=null?s:!1,this.isShowFilterItem=(o=e==null?void 0:e.isShowFilterItem)!=null?o:!1,this.isShowIncludeSub=(f=e==null?void 0:e.isShowIncludeSub)!=null?f:!1,this.isDefaultCheckSub=(g=e==null?void 0:e.isDefaultCheckSub)!=null?g:!1,this.defaultCollapse=(b=e==null?void 0:e.defaultCollapse)!=null?b:"all",this.defaultCollapseLevel=(_=e==null?void 0:e.defaultCollapseLevel)!=null?_:1,this.datasourceBind=new su((C=e==null?void 0:e.datasourceBind)!=null?C:{attributes:Fe.controlCustomAttributes}),this.filterItemDatasourceBind=new su((w=e==null?void 0:e.filterItemDatasourceBind)!=null?w:{attributes:Fe.controlCustomAttributes}),this.openMultistageFilling=(T=e==null?void 0:e.openMultistageFilling)!=null?T:!1,this.defaultDisplay=(m=e==null?void 0:e.defaultDisplay)!=null?m:!1,this.multistageFilling=(k=(I=e==null?void 0:e.multistageFilling)==null?void 0:I.map(D=>new ae(D)))!=null?k:[],this.defaultValue=(A=e==null?void 0:e.defaultValue)!=null?A:[]}}In.Rules=Zm,In.RuntimeRules=Ym;class Fe extends O{constructor(e){super(e),this.props=new In(e==null?void 0:e.props)}static get controlName(){return c.getMessage("tree")}static get controlIcon(){return"icontree"}static get controlType(){return"tree"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0},{key:"parentField",name:"\u7236\u7EA7\u5B57\u6BB5",required:!0}]}}Fe.controlEventKeys=["on_change","on_click"],Fe.controlFieldType=v.ARRAY,Fe.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 Oc extends E{constructor(e){super(e),this.props=new In(e==null?void 0:e.props)}static get controlType(){return"tree"}}Oc.controlFieldType=v.ARRAY;var Ec={Designer:Fe,Runtime:Oc,Property:In};class pm extends Z{constructor(e){super(e),this.datasourceBind=[{type:"object",message:c.getMessage("isNotObject")}],this.externalScope={type:"any"},Xn.call(this,e,Bt.controlCustomAttributes),e.externalType===$e.ASSIGN&&(this.externalScope={type:"array",required:!0,message:c.getMessage("pleaseAssignExternal")})}}class ev extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Cn extends P{constructor(e){var n,i,a,r,l,u,s,o,f,g,b,_,C,w;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(a=e==null?void 0:e.rangeOptions)!=null?a:[],this.multiple=(r=e==null?void 0:e.multiple)!=null?r:!1,this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:Bt.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:c.getMessage("pleaseEnterNameorEmail"),this.datasourceBind=new Wn((f=e==null?void 0:e.datasourceBind)!=null?f:{attributes:Bt.controlCustomAttributes}),this.datasourceType=(g=e==null?void 0:e.datasourceType)!=null?g:qr.INTERNAL,this.insideType=(b=e==null?void 0:e.insideType)!=null?b:Ur.ADMIN,this.externalType=(_=e==null?void 0:e.externalType)!=null?_:$e.ALL,this.externalScope=(C=e==null?void 0:e.externalScope)!=null?C:[],this.openMultistageFilling=(w=e==null?void 0:e.openMultistageFilling)!=null?w:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(T=>{var m;(m=this.multistageFilling)==null||m.push(new ae(T))}))}}Cn.Rules=pm,Cn.RuntimeRules=ev;class Bt extends O{constructor(e){super(e),this.props=new Cn(e==null?void 0:e.props)}static get controlName(){return c.getMessage("people")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}Bt.controlFieldType=v.EMPLOYEES,Bt.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-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 Ac extends E{constructor(e){super(e),this.props=new Cn(e==null?void 0:e.props)}static get controlType(){return"employee2"}}Ac.controlFieldType=v.EMPLOYEES;var Mc={Designer:Bt,Runtime:Ac,Property:Cn};class tv extends Z{constructor(e){super(e),this.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:c.getMessage("pleaseSelectSignFile")},undersignedList:{type:"array",required:!0,min:1,message:c.getMessage("pleaseSelectOnlyOne"),fields:e.signatureConfig.undersignedList.reduce((n,i,a)=>(n[a]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:c.getMessage("pleaseSelectSigner")}}},signatureType:{type:"array",required:!0,min:1,message:c.getMessage("pleaseSelectSignType")},telephone:{type:"object",required:!0,validator(r,l,u){if(i.type==="public"&&ka(l.value)&&l.value.length===0){u(c.getMessage("pleaseSelectPhoneOrEmail"));return}u()}},company:{type:"object",required:!0,validator(r,l,u){if(i.type==="public"&&i.signatureType.includes("company")&&ka(l.value)&&l.value.length===0){u(c.getMessage("pleaseSelectCompanyName"));return}u()}}}},n),{})}}}}}class pi extends P{constructor(e){var n,i,a,r,l,u;super(e),this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:Sn.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:c.getMessage("signature"),this.buttonType=(a=e==null?void 0:e.buttonType)!=null?a:"primary",this.showType=(r=e==null?void 0:e.showType)!=null?r:"text",this.color=(l=e==null?void 0:e.color)!=null?l:"primary",this.icon=(u=e==null?void 0:e.icon)!=null?u:"iconfenlei2",this.signatureConfig=new no(e==null?void 0:e.signatureConfig)}}pi.Rules=tv;class Sn extends O{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}static get controlName(){return c.getMessage("electronicSignature")}static get controlIcon(){return"icondianziqianzhang"}static get controlType(){return"electronic-signature"}}Sn.controlEventKeys=["on_click","on_click_finish"],Sn.controlFieldType=v.VARCHAR,Sn.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 Dc extends E{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}Dc.controlFieldType=v.VARCHAR;var Bc={Designer:Sn,Runtime:Dc,Property:pi};class nv extends Z{constructor(e){super(e),this.content={type:"string",required:!0,message:c.getMessage("pleaseEnterButtonContent")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(n,i,a){if(i.active&&!i.text){a(c.getMessage("pleaseEnterWatermark"));return}a()}},autoRename:{type:"object",validator(n,i,a){if(i.active&&!i.text){a(c.getMessage("pleaseEnterFileName"));return}a()}}}},this.canAdd={type:"boolean",validator(n,i,a){if(e.canAdd&&!e.addLocal&&!e.addOnline){a(c.getMessage("pleaseChooseAtLeastOne"));return}a()}}}}class iv extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Rn extends P{constructor(e){var n,i,a,r,l,u,s,o,f,g,b,_;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Tn.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:c.getMessage("createWPS"),this.canAdd=(a=e==null?void 0:e.canAdd)!=null?a:!0,this.addLocal=(r=e==null?void 0:e.addLocal)!=null?r:!0,this.addOnline=(l=e==null?void 0:e.addOnline)!=null?l:!0,this.canEdit=(u=e==null?void 0:e.canEdit)!=null?u:!0,this.canDownload=(s=e==null?void 0:e.canDownload)!=null?s:!0,this.canExport=(o=e==null?void 0:e.canExport)!=null?o:!0,this.canDelete=(f=e==null?void 0:e.canDelete)!=null?f:!1,this.maxSize=(g=e==null?void 0:e.maxSize)!=null?g:Am,this.defaultValue=(b=e==null?void 0:e.defaultValue)!=null?b:[],this.wpsSetting=new io(e==null?void 0:e.wpsSetting),this.revisionsMode=(_=e==null?void 0:e.revisionsMode)!=null?_:!1}}Rn.Rules=nv,Rn.RuntimeRules=iv;class Tn extends O{constructor(e){super(e),this.props=new Rn(e==null?void 0:e.props)}static get controlName(){return c.getMessage("WPS")}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}Tn.controlEventKeys=["on_change","on_wps_open"],Tn.controlFieldType=v.FILE,Tn.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 Nc extends E{constructor(e){super(e),this.props=new Rn(e==null?void 0:e.props)}static get controlType(){return"wps"}}Nc.controlFieldType=v.FILE;var Lc={Designer:Tn,Runtime:Nc,Property:Rn};class av extends Z{constructor(e){super(e),this.datasourceBind=[{type:"object",message:c.getMessage("isNotObject")}],this.businessScope={type:"any"},Xn.call(this,e,qe.controlCustomAttributes),e.businessType===$e.ASSIGN&&(this.businessScope={type:"array",required:!0,message:c.getMessage("pleaseAssignBusiness")})}}class rv extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class xn extends P{constructor(e){var n,i,a,r,l,u,s,o,f,g,b,_,C,w,T;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=(a=e==null?void 0:e.range)!=null?a:"all",this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.rangeOptions=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(f=e==null?void 0:e.caption)!=null?f:qe.controlName,this.placeholder=(g=e==null?void 0:e.placeholder)!=null?g:c.getMessage("pleaseSelectDept"),this.datasourceBind=new Wn((b=e==null?void 0:e.datasourceBind)!=null?b:{attributes:qe.controlCustomAttributes}),this.datasourceType=(_=e==null?void 0:e.datasourceType)!=null?_:Ci.INTERNAL,this.businessScope=(C=e==null?void 0:e.businessScope)!=null?C:[],this.businessType=(w=e==null?void 0:e.businessType)!=null?w:$e.ALL,this.openMultistageFilling=(T=e==null?void 0:e.openMultistageFilling)!=null?T:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var I;(I=this.multistageFilling)==null||I.push(new ae(m))}))}}xn.Rules=av,xn.RuntimeRules=rv;class qe extends O{constructor(e){super(e),this.props=new xn(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:a}=this.props;n.props.displayLevel=i,n.props.showSubDept=a}return n}}qe.controlName=c.getMessage("department"),qe.controlFieldType=v.DEPARTMENTS,qe.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:"department-datasource-setting",visible:!0},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class $c extends E{constructor(e){super(e),this.props=new xn(e==null?void 0:e.props)}static get controlType(){return"department2"}}$c.controlFieldType=v.DEPARTMENTS;var Fc={Designer:qe,Runtime:$c,Property:xn};class lv extends Z{constructor(e){super(e),this.datasourceBind=[{type:"object",message:c.getMessage("isNotObject")}],this.businessScope={type:"any"},Xn.call(this,e,Nt.controlCustomAttributes),e.businessType===$e.ASSIGN&&(this.businessScope={type:"array",required:!0,message:c.getMessage("pleaseAssignBusiness")})}}class uv extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class kn extends P{constructor(e){var n,i,a,r,l,u,s,o,f,g,b,_,C,w,T,m,I,k;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=(a=e==null?void 0:e.range)!=null?a:"all",this.listPageBind=new Ba(e==null?void 0:e.listPageBind),this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.rangeOptions=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(f=e==null?void 0:e.caption)!=null?f:Nt.controlName,this.placeholder=(g=e==null?void 0:e.placeholder)!=null?g:c.getMessage("pleaseSelectOrg"),this.datasourceBind=new Gd((b=e==null?void 0:e.datasourceBind)!=null?b:{attributes:Nt.controlCustomAttributes}),this.datasourceType=(_=e==null?void 0:e.datasourceType)!=null?_:Ci.INTERNAL,this.businessScope=(C=e==null?void 0:e.businessScope)!=null?C:[],this.businessType=(w=e==null?void 0:e.businessType)!=null?w:$e.ALL,this.organizingFunction=(T=e==null?void 0:e.organizingFunction)!=null?T:void 0,this.organizationView=(m=e==null?void 0:e.organizationView)!=null?m:void 0,this.showSelectedDetail=(I=e==null?void 0:e.showSelectedDetail)!=null?I:!1,this.selectedContentConfig=new Fa(e==null?void 0:e.selectedContentConfig),this.openMultistageFilling=(k=e==null?void 0:e.openMultistageFilling)!=null?k:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(A=>{var D;(D=this.multistageFilling)==null||D.push(new ae(A))}))}}kn.Rules=lv,kn.RuntimeRules=uv;class Nt extends O{constructor(e){super(e),this.props=new kn(e==null?void 0:e.props)}static get controlName(){return c.getMessage("organizationSelection")}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"organization-selection"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:a}=this.props;n.props.displayLevel=i,n.props.showSubDept=a}return n}}Nt.controlFieldType=v.DEPARTMENTS,Nt.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 Hc extends E{constructor(e){super(e),this.props=new kn(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}Hc.controlFieldType=v.DEPARTMENTS;var Vc={Designer:Nt,Runtime:Hc,Property:kn};class ov extends Z{constructor(e){super(e),this.dataBind={type:"any"}}}class cv extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class Pn extends P{constructor(e){var n,i,a,r,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:On.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(a=e==null?void 0:e.controlExportName)!=null?a:"",this.permissions=(r=e==null?void 0:e.permissions)!=null?r:[],this.isInlineEdit=(l=e==null?void 0:e.isInlineEdit)!=null?l:!1}}Pn.Rules=ov,Pn.RuntimeRules=cv;class On extends O{constructor(e){super(e),this.props=new Pn(e==null?void 0:e.props)}static get controlName(){return c.getMessage("vuePage")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return S.VUE_PAGE}}On.controlFieldType=v.ANY,On.controlEventKeys=[],On.setting=[];class jc extends E{constructor(e){super(e),this.props=new Pn(e==null?void 0:e.props)}static get controlType(){return S.VUE_PAGE}}jc.controlFieldType=v.ANY;var qc={Designer:On,Runtime:jc,Property:Pn},sv=Object.freeze({__proto__:null,Input:Lo,Checkbox:Fo,Radio:Vo,Number:qo,DatePicker:Wo,DateRange:zo,Textarea:Xo,RichText:Jo,Select:Yo,SelectMultiple:ec,Employee:nc,Image:rc,Attachment:ic,Amount:uc,Score:cc,Address:dc,Department:hc,AutoNumber:gc,Calc:vc,SearchNumberRange:_c,SearchDateRange:Ic,VueFormItem:Sc,SelectRelation:Tc,SearchInput:Pc,Tree:Ec,Employee2:Mc,ElectronicSignature:Bc,WPS:Lc,Department2:Fc,OrganizationSelection:Vc,VuePage:qc});class Uc extends q{static get controlName(){return c.getMessage("grid")}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}Uc.excludes=[S.GRID];class dv extends W{static get controlType(){return"grid"}constructor(e){super(e)}}var Wc={Designer:Uc,Runtime:dv,Property:j};const fv=24;class Ue extends j{constructor(e){var n,i;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:fv,this.offset=(i=e==null?void 0:e.offset)!=null?i:0}}class En extends q{constructor(e){super(e),this.props=new Ue(e==null?void 0:e.props)}static get controlName(){return c.getMessage("col")}static get controlType(){return"col"}static get controlIcon(){return"col"}}En.excludes=[S.COL,S.SUBTABLE,S.SUBTABLE_COLUMN,S.GRID_LAYOUT_CONTAINER,S.DIVIDER],En.childrenMaxLength=1;class nl extends W{constructor(e){super(e),this.props=new Ue(e==null?void 0:e.props)}static get controlType(){return"col"}}var Kc={Designer:En,Runtime:nl,Property:Ue};class ea extends j{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 ta extends q{constructor(e){super(e),this.props=new ea(e==null?void 0:e.props)}static get controlName(){return c.getMessage("row")}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}ta.excludes=[S.ROW],ta.setting=[{key:"col-setting",visible:!0}];class zc extends W{constructor(e){super(e),this.props=new ea(e==null?void 0:e.props)}static get controlType(){return"row"}}var Gc={Designer:ta,Runtime:zc,Property:ea};const hv=4;class na extends ta{static get controlName(){return c.getMessage("gridRow")}static get controlType(){return"grid-row"}static get controlIcon(){return"grid-row"}constructor(e){super(e)}}na.excludes=[S.GRID_ROW],na.setting=[],na.childrenMaxLength=hv;class yv extends zc{static get controlType(){return"grid-row"}constructor(e){super(e)}}class gv extends ea{constructor(e){super(e)}}var Xc={Designer:na,Runtime:yv,Property:gv};class mv extends j.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:c.getMessage("pleaseEnterCaption")}}}class ia extends j{constructor(e){var n,i,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:c.getMessage("cardGroup"),this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.collapse=(a=e==null?void 0:e.collapse)!=null?a:"none"}}ia.Rules=mv;class il extends q{constructor(e){super(e),this.props=new ia(e==null?void 0:e.props)}static get controlName(){return c.getMessage("cardGroup")}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}il.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}],il.excludes=[S.CARD_GROUP];class vv extends W{constructor(e){super(e),this.props=new ia(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var Qc={Designer:il,Runtime:vv,Property:ia};class bv extends z{constructor(e){super(e),this.caption={type:"string",required:!0,message:c.getMessage("pleaseEnterCaption")},this.width={type:"number",required:!1,message:c.getMessage("pleaseEnterColumnWidth")},this.captionTip={type:"string",required:!1,message:c.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class aa extends j{constructor(e){var n,i,a,r,l;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=(a=e==null?void 0:e.isShowCaptionTip)!=null?a:!1,this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",this.isHideCaption=(l=e==null?void 0:e.isHideCaption)!=null?l:!1,this.metaAutoWidth=new Fd(e==null?void 0:e.metaAutoWidth)}}aa.Rules=bv;class ye extends q{constructor(e){super(e),this.props=new aa(e==null?void 0:e.props)}}ye.controlName=c.getMessage("subtableColumn"),ye.controlType="subtable-column",ye.controlIcon="subtable-column",ye.childrenMaxLength=1,ye.excludes=[S.SUBTABLE,S.SUBTABLE_COLUMN,S.ROW,S.COL,S.CARD_GROUP,S.DIVIDER,S.TEXT,S.GRID_LAYOUT_CONTAINER],ye.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 Jc extends W{constructor(e){super(e),this.props=new aa(e==null?void 0:e.props)}}Jc.controlType="subtable-column";var Zc={Designer:ye,Runtime:Jc,Property:aa};class al extends j{constructor(e){super(e)}}class We extends q{constructor(e){super(e),this.props=new al(e==null?void 0:e.props)}}We.controlName=c.getMessage("subtableRow"),We.controlType="subtable-row",We.controlIcon="subtable-row",We.childrenMaxLength=1,We.excludes=[S.SUBTABLE,S.SUBTABLE_COLUMN,S.SUBTABLE_ROW,S.ROW,S.COL,S.CARD_GROUP,S.DIVIDER,S.TEXT],We.setting=[{key:"caption",showItems:[d.CAPTION],visible:!0}];class _v extends W{constructor(e){super(e),this.props=new al(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var Yc={Designer:We,Runtime:_v,Property:al};class rl extends j{constructor(e){var n,i,a,r,l,u,s,o,f,g;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:200,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.fixed=(a=e==null?void 0:e.fixed)!=null?a:!1,this.fieldCode=(r=e==null?void 0:e.fieldCode)!=null?r:"",this.fieldType=(l=e==null?void 0:e.fieldType)!=null?l:v.VARCHAR,this.fieldName=(u=e==null?void 0:e.fieldName)!=null?u:"",this.datasourceBind=new te(e==null?void 0:e.datasourceBind),this.textCleanFormart=(s=e==null?void 0:e.textCleanFormart)!=null?s:!1,this.decimalKeepPrecision=(o=e==null?void 0:e.decimalKeepPrecision)!=null?o:0,this.timestampDateType=(f=e==null?void 0:e.timestampDateType)!=null?f:se.DATE,this.departmentDisplayLevel=(g=e==null?void 0:e.departmentDisplayLevel)!=null?g:1}}class Ke extends q{constructor(e){super(e),this.props=new rl(e==null?void 0:e.props)}}Ke.controlName="\u5217\u8868\u5355\u5143\u683C",Ke.controlType="gridtable-column",Ke.controlIcon="gridtable-column",Ke.childrenMaxLength=1,Ke.excludes=[S.GRID_TABLE,S.GRID_TABLE_COLUMN,S.ROW,S.COL,S.CARD_GROUP,S.DIVIDER,S.TEXT],Ke.setting=[{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class pc extends W{constructor(e){super(e),this.props=new rl(e==null?void 0:e.props)}}pc.controlType="gridtable-column";var es={Designer:Ke,Runtime:pc,Property:rl};class ll extends j{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 ul extends q{constructor(e){super(e),this.props=new ll(e==null?void 0:e.props)}static get controlName(){return c.getMessage("gridLayoutContainer")}static get controlType(){return"grid-layout-container"}static get controlIcon(){return"icona-huanhangrongqi1"}}ul.excludes=[S.GRID_LAYOUT_CONTAINER,S.CARD_GROUP,S.TAB],ul.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}];class wv extends W{constructor(e){super(e),this.props=new ll(e==null?void 0:e.props)}static get controlType(){return"grid-layout-container"}}var ts={Designer:ul,Runtime:wv,Property:ll};class ol extends j{constructor(e){var n;super(e),this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical"}}class Iv extends z{constructor(e){super(e),this.caption={type:"string",required:!0,message:c.getMessage("pleaseEnterCaption")}}}class ra extends j{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Mn.controlName}}ra.Rules=Iv;class An extends q{constructor(e){super(e),this.props=new ra(e==null?void 0:e.props)}static get controlName(){return c.getMessage("tabPane")}static get controlType(){return"tab-pane"}static get controlIcon(){return"tab-pane"}}An.excludes=[S.TAB],An.setting=[{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"super-setting",visible:!0}];class Cv extends W{constructor(e){super(e),this.props=new ra(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var ns={Designer:An,Runtime:Cv,Property:ra};class Mn extends q{constructor(e){var n;super(e),this.props=new ol(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new An,new An]}static get controlName(){return c.getMessage("tab")}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}Mn.excludes=[S.TAB],Mn.controlEventKeys=["on_change_tab"],Mn.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}];class Sv extends W{constructor(e){super(e),this.props=new ol(e==null?void 0:e.props)}static get controlType(){return"tab"}}var is={Designer:Mn,Runtime:Sv,Property:ol};class as extends j{constructor(e){super(e)}}class rs extends q{constructor(e){super(e),this.props=new as({}),this.children=(e==null?void 0:e.children)||[new En({props:new Ue({span:12})}),new En({props:new Ue({span:12})})]}static get controlName(){return c.getMessage("toolbox")}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}rs.excludes=[S.GRID_ROW,S.ROW,S.GRID,S.SUBTABLE,S.TAB,S.TOOLBOX];class Rv extends W{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new nl({props:new Ue({span:12})}),new nl({props:new Ue({span:12})})]}}var ls={Designer:rs,Runtime:Rv,Property:as};class Tv extends Ve{constructor(e){super(e),this.push({type:"object",fields:{}})}}class xv extends z{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:c.getMessage("pleaseEnterFieldCode")}),e.isShowJoinRelation&&(this.joinRelation=[{type:"object",message:c.getMessage("isNotObject")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:c.getMessage("pleaseEnterAliasCode")},datasourceBind:[{type:"object",message:c.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:c.getMessage("pleaseSelectDataCode")},svcCode:{type:"string",required:!0,message:c.getMessage("pleaseSelectSvcCode")}}}],relationFields:[{type:"array",message:c.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:c.getMessage("pleaseSelectJoinFieldCode")},mainFieldCode:{type:"string",required:!0,message:c.getMessage("pleaseSelectMainFieldCode")}}}}]}}]),pa.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 Dn extends j{constructor(e){var n,i,a,r,l,u,s,o,f,g,b,_;super(e),this.datasourceBind=new te(e==null?void 0:e.datasourceBind),this.isLoading=(n=e==null?void 0:e.isLoading)!=null?n:!1,this.isShowSubList=(i=e==null?void 0:e.isShowSubList)!=null?i:!1,this.triggerType=(a=e==null?void 0:e.triggerType)!=null?a:1,this.triggerFieldCode=(r=e==null?void 0:e.triggerFieldCode)!=null?r:"",this.sublistPage=new Ud(e==null?void 0:e.sublistPage),this.isShowJoinRelation=(l=e==null?void 0:e.isShowJoinRelation)!=null?l:!1,this.joinRelation=new Kd(e==null?void 0:e.joinRelation),this.showType=(u=e==null?void 0:e.showType)!=null?u:"stretch",this.showFullScreen=(s=e==null?void 0:e.showFullScreen)!=null?s:!1,this.selectionType=(o=e==null?void 0:e.selectionType)!=null?o:"multiple",this.isFixedHeader=(f=e==null?void 0:e.isFixedHeader)!=null?f:!1,this.isShowSelection=(g=e==null?void 0:e.isShowSelection)!=null?g:!1,this.isAllLoaded=(b=e==null?void 0:e.isAllLoaded)!=null?b:!0,this.countType=e==null?void 0:e.countType,this.countLimit=(_=e==null?void 0:e.countLimit)!=null?_:1e5,this.rowStyle=new of(e==null?void 0:e.rowStyle)}}Dn.Rules=xv,Dn.RuntimeRules=Tv;class Bn extends q{constructor(e){super(e),this.props=new Dn(e==null?void 0:e.props)}static get controlName(){return c.getMessage("listView")}static get controlType(){return"list-view"}static get controlIcon(){return"iconyihangduolie"}}Bn.slotPosition={left:"list-view-left-slot"},Bn.excludes=[S.ROW],Bn.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"],Bn.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 kv extends W{constructor(e){super(e),this.props=new Dn(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var us={Designer:Bn,Runtime:kv,Property:Dn};class Pv extends Ve{constructor(e){super(e),this.push({type:"object",fields:{}})}}class la extends j{constructor(e){var n,i,a,r,l,u;super(e),this.save=new Ee((n=e==null?void 0:e.save)!=null?n:{content:c.getMessage("save"),type:"save",isShow:!1}),this.cancel=new Ee((i=e==null?void 0:e.cancel)!=null?i:{content:c.getMessage("cancel"),type:"cancel",isShow:!1}),this.saveAs=new Ee((a=e==null?void 0:e.saveAs)!=null?a:{content:c.getMessage("draft"),type:"saveAs",isShow:!1}),this.print=new Ee((r=e==null?void 0:e.print)!=null?r:{content:c.getMessage("print"),type:"print",isShow:!1}),this.custom=((l=e==null?void 0:e.custom)!=null?l:[]).map(s=>new Ee(s)),this.isLoading=(u=e==null?void 0:e.isLoading)!=null?u:!1,this.datasourceBind=new te(e==null?void 0:e.datasourceBind)}}la.RuntimeRules=Pv;class os extends q{constructor(e){super(e),this.props=new la(e==null?void 0:e.props)}static get controlName(){return c.getMessage("dataView")}static get controlType(){return"data-view"}}os.excludes=[];class Ov extends W{constructor(e){super(e),this.props=new la(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var cs={Designer:os,Runtime:Ov,Property:la};class Ev extends q{static get controlName(){return c.getMessage("page")}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class Av extends W{static get controlType(){return"page"}constructor(e){super(e)}}class Mv extends j{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 ss={Designer:Ev,Runtime:Av,Property:Mv};class Dv extends q{static get controlName(){return c.getMessage("advancedContainer")}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class Bv extends W{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class Nv extends j{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new co(e==null?void 0:e.flexConfig)}}var ds={Designer:Dv,Runtime:Bv,Property:Nv};class Lv extends q{static get controlName(){return c.getMessage("positioningContainer")}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class $v extends W{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class Fv extends j{constructor(e){super(e)}}var fs={Designer:Lv,Runtime:$v,Property:Fv};class Hv extends q{static get controlName(){return c.getMessage("position")}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class Vv extends W{static get controlType(){return"position"}constructor(e){super(e)}}class jv extends j{constructor(e){var n,i,a,r;super(e),this.widthSpan=(n=e==null?void 0:e.widthSpan)!=null?n:12,this.heightSpan=(i=e==null?void 0:e.heightSpan)!=null?i:12,this.left=(a=e==null?void 0:e.left)!=null?a:0,this.top=(r=e==null?void 0:e.top)!=null?r:0}}var hs={Designer:Hv,Runtime:Vv,Property:jv};class cl extends j{constructor(e){var n,i,a;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=(a=e==null?void 0:e.align)!=null?a:"right"}}class ua extends q{constructor(e){var n;super(e),this.props=new cl((n=e==null?void 0:e.props)!=null?n:{})}static get controlName(){return c.getMessage("actionBar")}static get controlType(){return"action-bar"}static get controlIcon(){return"action-bar"}}ua.slotPosition={default:"action-bar-slot"},ua.excludes=[],ua.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 qv extends W{constructor(e){var n;super(e),this.props=new cl((n=e==null?void 0:e.props)!=null?n:{})}static get controlType(){return"action-bar"}}var ys={Designer:ua,Runtime:qv,Property:cl},Uv=Object.freeze({__proto__:null,Grid:Wc,Col:Kc,Row:Gc,GridRow:Xc,CardGroup:Qc,SubTableColumn:Zc,SubTableRow:Yc,GridTableColumn:es,GridLayoutContainer:ts,Tab:is,TabPane:ns,Toolbox:ls,ListView:us,DataView:cs,Page:ss,AdvancedContainer:ds,PositioningContainer:fs,Position:hs,ActionBar:ys});class Wv extends z{constructor(e){super(e),this.caption={type:"string",required:!0,message:c.getMessage("pleaseEnterCaption")},this.limitRows=[{type:"number",required:!0,message:c.getMessage("isNotNumber")},{type:"number",min:0,message:c.getMessage("limitRowsCannotBeLessThan0")}],this.formKey={type:"string",required:!1,message:c.getMessage("pleaseEnterForm")},this.maxHeight={type:"number",required:!0,message:c.getMessage("pleaseEnterMaxHeight")},this.captionTip={type:"string",required:!1,message:c.getMessage("pleaseEnterCaptionTip")},this.mobileRowCaption={type:"string",required:!1,message:c.getMessage("pleaseEnterRowCaption")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0),e.mobileShowType==="tile"&&(this.mobileRowCaption.required=!0)}}class Kv extends Ve{constructor(e){super(e),e.isHide||this.push({type:"array",required:e.limitRows>0,message:c.getMessage("runtimeRequired",{caption:e.caption})},{type:"array",validator(n,i,a){i.length<e.limitRows&&a(c.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})),a()},message:c.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})})}}const gs=class extends li{constructor(t,e){var n,i,a,r,l,u,s,o,f,g,b,_,C,w,T,m,I,k,A,D,oe,N,ce,$n,ke,wa,Fn,Lt,Pe,Vs,js,qs,Us;super(t,e,gs.mode),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ln.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.defaultState=(a=e==null?void 0:e.defaultState)!=null?a:"default",this.labelPosition=(r=e==null?void 0:e.labelPosition)!=null?r:"top",this.openType=(l=e==null?void 0:e.openType)!=null?l:"default",this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.useCustomHeight=(s=e==null?void 0:e.useCustomHeight)!=null?s:!1,this.maxHeight=(o=e==null?void 0:e.maxHeight)!=null?o:uo,this.printMode=(f=e==null?void 0:e.printMode)!=null?f:"row",this.limitRows=(g=e==null?void 0:e.limitRows)!=null?g:1,this.maxRows=(b=e==null?void 0:e.maxRows)!=null?b:null,this.defaultRows=(_=e==null?void 0:e.defaultRows)!=null?_:1,this.datasourceBind=new te(e==null?void 0:e.datasourceBind),this.canAdd=(C=e==null?void 0:e.canAdd)!=null?C:!0,this.canDelete=(w=e==null?void 0:e.canDelete)!=null?w:!0,this.canCheck=(T=e==null?void 0:e.canCheck)!=null?T:!1,this.canEdit=(m=e==null?void 0:e.canEdit)!=null?m:!1,this.canImport=(I=e==null?void 0:e.canImport)!=null?I:!1,this.canExport=(k=e==null?void 0:e.canExport)!=null?k:!1,this.canClear=(A=e==null?void 0:e.canClear)!=null?A:!0,this.serverPagination=(D=e==null?void 0:e.serverPagination)!=null?D:!1,this.isShowCaptionTip=(oe=e==null?void 0:e.isShowCaptionTip)!=null?oe:!1,this.captionTip=(N=e==null?void 0:e.captionTip)!=null?N:"",this.mobileShowType=(ce=e==null?void 0:e.mobileShowType)!=null?ce:"list",this.mobileDefaultNum=($n=e==null?void 0:e.mobileDefaultNum)!=null?$n:10,this.dataStorageDoc=(ke=e==null?void 0:e.dataStorageDoc)!=null?ke:new Hd,this.fixedColumn=(wa=e==null?void 0:e.fixedColumn)!=null?wa:[],this.mobileRowCaption=(Fn=e==null?void 0:e.mobileRowCaption)!=null?Fn:c.getMessage("detailed"),this.mobileIsTile=(Lt=e==null?void 0:e.mobileIsTile)!=null?Lt:!1,this.isPaste=(Pe=e==null?void 0:e.isPaste)!=null?Pe:!1,this.pageSize=(Vs=e==null?void 0:e.pageSize)!=null?Vs:10,this.pageSizeOptions=(js=e==null?void 0:e.pageSizeOptions)!=null?js:[10,20,50,100],this.importConfig=new ro(e==null?void 0:e.importConfig),this.exportConfig=new lo(e==null?void 0:e.exportConfig),this.sortable=(qs=e==null?void 0:e.sortable)!=null?qs:!1,this.sortKey=(Us=e==null?void 0:e.sortKey)!=null?Us:{}}};let Nn=gs;Nn.Rules=Wv,Nn.RuntimeRules=Kv;class Ln extends hr{constructor(e){var n;super(e),this.props=new Nn(this,e==null?void 0:e.props),((n=e==null?void 0:e.props)==null?void 0:n.headers)===void 0&&(this.props.headers=[new ye,new ye,new ye])}static get controlName(){return c.getMessage("subTable")}static get controlIcon(){return"iconGroup11"}static get controlType(){return"subtable"}addColumn(e,n){const i=e!==void 0&&typeof e!="number"?e:new ye,a=typeof e=="number"?e:n;return a===void 0?this.props.headers.push(i):this.props.headers.splice(a,0,i),i}}Ln.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],Ln.slotPosition={toolbar:"subtable-toolbar-slot"},Ln.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]},{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 zv extends qu{constructor(e){super(e),this.props=new Nn(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){Vt("Method not implemented.")}getChildrenFormControl(){return[]}}var ms={Designer:Ln,Runtime:zv,Property:Nn};class sl extends li{constructor(e,n){var i,a,r,l,u;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=(a=n==null?void 0:n.isShowToolbar)!=null?a:!0,this.isShowSelection=(r=n==null?void 0:n.isShowSelection)!=null?r:!1,this.isShowCustomColumns=(l=n==null?void 0:n.isShowCustomColumns)!=null?l:!0,this.pageSizeOptions=(u=n==null?void 0:n.pageSizeOptions)!=null?u:[10,20,50,100,500]}}class Gv extends _e{constructor(e){super(e),this.caption.required=!1}}class oa extends K{constructor(e){var n,i,a,r,l,u,s,o;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"left",this.caption=(i=e==null?void 0:e.caption)!=null?i:ze.controlName,this.width=(a=e==null?void 0:e.width)!=null?a:60,this.autoWidth.minWidth=(l=(r=e==null?void 0:e.autoWidth)==null?void 0:r.minWidth)!=null?l:60,this.autoWidth.flex=(s=(u=e==null?void 0:e.autoWidth)==null?void 0:u.flex)!=null?s:.4,this.widthType=(o=e==null?void 0:e.widthType)!=null?o:"px"}}oa.Rules=Gv;class ze extends p{constructor(e){super(e),this.props=new oa(e==null?void 0:e.props)}}ze.controlType="order-column",ze.controlName=c.getMessage("order"),ze.controlIcon="order-column",ze.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0}];class dl extends ee{constructor(e){super(e),this.props=new oa(e==null?void 0:e.props)}}dl.controlType="order-column",dl.controlFieldType=v.DECIMAL;var vs={Designer:ze,Runtime:dl,Property:oa};class fl extends K{constructor(e){var n,i,a,r,l,u;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"right",this.widthType="auto",this.autoWidth.minWidth=(a=(i=e==null?void 0:e.autoWidth)==null?void 0:i.minWidth)!=null?a:84,this.caption=(r=e==null?void 0:e.caption)!=null?r:Te.controlName,this.showType=(l=e==null?void 0:e.showType)!=null?l:"icon",this.limit=(u=e==null?void 0:e.limit)!=null?u:3}}class Te extends p{constructor(e){super(e),this.props=new fl(e==null?void 0:e.props)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===Ni.controlType){const i=n;e.props[i.props.command]=i.props}}),e}validate(e,n){return Ll(this,null,function*(){return yield Nl(Te.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Te.controlType="operation-column",Te.controlName=c.getMessage("operation"),Te.controlIcon="operation-column",Te.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}];class hl extends ee{constructor(e){super(e),this.props=new fl(e==null?void 0:e.props)}}hl.controlType="operation-column",hl.controlFieldType=v.FILE;var bs={Designer:Te,Runtime:hl,Property:fl};const Xv=1e4;class Ge extends hr{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new sl(this,e==null?void 0:e.props),me(this,"children",e==null?void 0:e.children,void 0,"Designer"),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new ze,new Te]),this.excludes=de(n),this.childrenMaxLength=i}static get controlName(){return c.getMessage("gridTable")}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 Bl(ut({},e),{children:n})}validate(e,n){return Ll(this,null,function*(){return yield Nl(Ge.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Ge.slotPosition={toolbar:"grid-table-toolbar-slot"},Ge.setting=[{key:"list-fixed-header",visible:!0}],Ge.excludes=[],Ge.childrenMaxLength=Xv;class Qv extends qu{constructor(e){super(e),this.props=new sl(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){Vt("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var _s={Designer:Ge,Runtime:Qv,Property:sl},Jv=Object.freeze({__proto__:null,SubTable:ms,GridTable:_s});class Zv extends Uu{constructor(e){super(e),Ne.call(this,e)}}class ca extends K{constructor(e){var n,i,a,r,l,u;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 te(e==null?void 0:e.datasourceBind),this.options=Ce((a=e==null?void 0:e.options)!=null?a:[{}]),this.showLinkOperation=(r=e==null?void 0:e.showLinkOperation)!=null?r:!1,this.linkOperationOption=new Ie(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(l=e==null?void 0:e.lineEllipsis)!=null?l:1,this.dictionaryTagConfig=(u=e==null?void 0:e.dictionaryTagConfig)!=null?u:{isTag:!1}}}ca.Rules=Zv;class Xe extends p{constructor(e){super(e),this.props=new ca(e==null?void 0:e.props)}}Xe.controlType="varchar-column",Xe.controlName=c.getMessage("varchar"),Xe.controlIcon="varchar-column",Xe.controlFieldType=v.VARCHAR,Xe.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}];class yl extends ee{constructor(e){super(e),this.props=new ca(e==null?void 0:e.props)}}yl.controlType="varchar-column",yl.controlFieldType=v.VARCHAR;var ws={Designer:Xe,Runtime:yl,Property:ca};class Yv extends _e{constructor(e){super(e),Ne.call(this,e)}}class sa extends K{constructor(e){var n,i,a,r;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:Qe.controlName,this.lineEllipsis=(a=e==null?void 0:e.lineEllipsis)!=null?a:1,this.showLinkOperation=(r=e==null?void 0:e.showLinkOperation)!=null?r:!1,this.linkOperationOption=new Ie(e==null?void 0:e.linkOperationOption)}}sa.Rules=Yv;class Qe extends p{constructor(e){super(e),this.props=new sa(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}}Qe.controlType="text-column",Qe.controlName=c.getMessage("long"),Qe.controlIcon="text-column",Qe.controlFieldType=v.TEXT,Qe.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}];class gl extends ee{constructor(e){super(e),this.props=new sa(e==null?void 0:e.props)}}gl.controlType="text-column",gl.controlFieldType=v.TEXT;var Is={Designer:Qe,Runtime:gl,Property:sa};class pv extends _e{constructor(e){super(e),Ne.call(this,e)}}class da extends K{constructor(e){var n,i,a,r,l,u,s;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Je.controlName,this.precision=(i=e==null?void 0:e.precision)!=null?i:0,this.micrometer=(a=e==null?void 0:e.micrometer)!=null?a:!1,this.percentageFormat=(r=e==null?void 0:e.percentageFormat)!=null?r:!1,this.optionConfig=(l=e==null?void 0:e.optionConfig)!=null?l:"none",this.datasourceBind=new te(e==null?void 0:e.datasourceBind),this.options=Ce((u=e==null?void 0:e.options)!=null?u:[{}]),this.showLinkOperation=(s=e==null?void 0:e.showLinkOperation)!=null?s:!1,this.linkOperationOption=new Ie(e==null?void 0:e.linkOperationOption)}}da.Rules=pv;class Je extends p{constructor(e){super(e),this.props=new da(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{precision:i,micrometer:a}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=a}return n}}Je.controlType="decimal-column",Je.controlName=c.getMessage("decimal"),Je.controlIcon="decimal-column",Je.controlFieldType=v.DECIMAL,Je.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}];class ml extends ee{constructor(e){super(e),this.props=new da(e==null?void 0:e.props)}}ml.controlType="decimal-column",ml.controlFieldType=v.DECIMAL;var Cs={Designer:Je,Runtime:ml,Property:da};class eb extends _e{constructor(e){super(e),Ne.call(this,e)}}class fa extends K{constructor(e){var n,i,a;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:se.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Ie(e==null?void 0:e.linkOperationOption),this.caption=(a=e==null?void 0:e.caption)!=null?a:Ze.controlName}}fa.Rules=eb;class Ze extends p{constructor(e){super(e),this.props=new fa(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i}=this.props;n.props.dateType=i}return n}}Ze.controlType="timescope-column",Ze.controlName=c.getMessage("timescope"),Ze.controlIcon="timescope-column",Ze.controlFieldType=v.TIMESCOPE,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:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class vl extends ee{constructor(e){super(e),this.props=new fa(e==null?void 0:e.props)}}vl.controlType="timescope-column",vl.controlFieldType=v.TIMESCOPE;var Ss={Designer:Ze,Runtime:vl,Property:fa};class tb extends _e{constructor(e){super(e),Ne.call(this,e)}}class ha extends K{constructor(e){var n,i,a;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:se.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Ie(e==null?void 0:e.linkOperationOption),this.caption=(a=e==null?void 0:e.caption)!=null?a:Ye.controlName}}ha.Rules=tb;class Ye extends p{constructor(e){super(e),this.props=new ha(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i}=this.props;n.props.dateType=i}return n}}Ye.controlType="timestamp-column",Ye.controlName=c.getMessage("timestamp"),Ye.controlIcon="timestamp-column",Ye.controlFieldType=v.TIMESTAMP,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-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class bl extends ee{constructor(e){super(e),this.props=new ha(e==null?void 0:e.props)}}bl.controlType="timestamp-column",bl.controlFieldType=v.TIMESTAMP;var Rs={Designer:Ye,Runtime:bl,Property:ha};class nb extends Uu{constructor(e){super(e),Ne.call(this,e)}}class ya extends K{constructor(e){var n,i,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:pe.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new te(e==null?void 0:e.datasourceBind),this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new Ie(e==null?void 0:e.linkOperationOption),this.options=Ce((r=e==null?void 0:e.options)!=null?r:[{}])}}ya.Rules=nb;class pe extends p{constructor(e){super(e),this.props=new ya(e==null?void 0:e.props)}}pe.controlType="array-column",pe.controlName=c.getMessage("array"),pe.controlIcon="array-column",pe.controlFieldType=v.ARRAY,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-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}];class _l extends ee{constructor(e){super(e),this.props=new ya(e==null?void 0:e.props)}}_l.controlType="array-column",_l.controlFieldType=v.ARRAY;var Ts={Designer:pe,Runtime:_l,Property:ya};class wl extends K{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:et.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class et extends p{constructor(e){super(e),this.props=new wl(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}}et.controlType="department-column",et.controlName=c.getMessage("department"),et.controlIcon="department-column",et.controlFieldType=v.DEPARTMENTS,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:"department-level",visible:!0},{key:"column-sort",visible:!0}];class Il extends ee{constructor(e){super(e),this.props=new wl(e==null?void 0:e.props)}}Il.controlType="department-column",Il.controlFieldType=v.DEPARTMENTS;var xs={Designer:et,Runtime:Il,Property:wl};class ib extends _e{constructor(e){super(e),Ne.call(this,e)}}class ga extends K{constructor(e){var n,i;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 Ie(e==null?void 0:e.linkOperationOption)}}ga.Rules=ib;class tt extends p{constructor(e){super(e),this.props=new ga(e==null?void 0:e.props)}}tt.controlType="auto-number-column",tt.controlName=c.getMessage("autoNumber"),tt.controlIcon="auto-number-column",tt.controlFieldType=v.AUTO_NUMBER,tt.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}];class Cl extends ee{constructor(e){super(e),this.props=new ga(e==null?void 0:e.props)}}Cl.controlType="auto-number-column",Cl.controlFieldType=v.AUTO_NUMBER;var ks={Designer:tt,Runtime:Cl,Property:ga};class Sl extends K{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:nt.controlName}}class nt extends p{constructor(e){super(e),this.props=new Sl(e==null?void 0:e.props)}}nt.controlType="file-column",nt.controlName=c.getMessage("file"),nt.controlIcon="file-column",nt.controlFieldType=v.FILE,nt.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}];class Rl extends ee{constructor(e){super(e),this.props=new Sl(e==null?void 0:e.props)}}Rl.controlType="file-column",Rl.controlFieldType=v.FILE;var Ps={Designer:nt,Runtime:Rl,Property:Sl};class Tl extends K{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:it.controlName}}class it extends p{constructor(e){super(e),this.props=new Tl(e==null?void 0:e.props)}}it.controlType="image-column",it.controlName=c.getMessage("image"),it.controlIcon="image-column",it.controlFieldType=v.IMAGE,it.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}];class xl extends ee{constructor(e){super(e),this.props=new Tl(e==null?void 0:e.props)}}xl.controlType="image-column",xl.controlFieldType=v.IMAGE;var Os={Designer:it,Runtime:xl,Property:Tl};class kl extends K{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:at.controlName}}class at extends p{constructor(e){super(e),this.props=new kl(e==null?void 0:e.props)}}at.controlType="people-column",at.controlName=c.getMessage("people"),at.controlIcon="people-column",at.controlFieldType=v.EMPLOYEES,at.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}];class Pl extends ee{constructor(e){super(e),this.props=new kl(e==null?void 0:e.props)}}Pl.controlType="people-column",Pl.controlFieldType=v.EMPLOYEES;var Es={Designer:at,Runtime:Pl,Property:kl};class ab extends _e{constructor(e){super(e),Ne.call(this,e)}}class ma extends K{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:rt.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Ie(e==null?void 0:e.linkOperationOption)}}ma.Rules=ab;class rt extends p{constructor(e){super(e),this.props=new ma(e==null?void 0:e.props)}}rt.controlType="location-column",rt.controlName=c.getMessage("location"),rt.controlIcon="location-column",rt.controlFieldType=v.ADDRESS,rt.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}];class Ol extends ee{constructor(e){super(e),this.props=new ma(e==null?void 0:e.props)}}Ol.controlType="location-column",Ol.controlFieldType=v.ADDRESS;var As={Designer:rt,Runtime:Ol,Property:ma};class rb extends _e{constructor(e){super(e),this.sortFieldCode={type:"string",message:c.getMessage("pleaseSelectSortFieldCode")},e.sort===!0&&(this.sortFieldCode.required=!0)}}class va extends K{constructor(e){var n,i,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:xe.controlName,this.fieldCodeList=(i=e==null?void 0:e.fieldCodeList)!=null?i:[],this.sortFieldCode=(a=e==null?void 0:e.sortFieldCode)!=null?a:""}}va.Rules=rb;const lb=1;class xe extends p{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new va(e==null?void 0:e.props),me(this,"children",e==null?void 0:e.children,void 0,"Designer"),this.excludes=de(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}}xe.controlType="custom-column",xe.controlName=c.getMessage("custom"),xe.controlIcon="custom-column",xe.slots=["column-column-slot"],xe.excludes=[],xe.childrenMaxLength=lb,xe.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}];class Ms extends ee{constructor(e){super(e),this.props=new va(e==null?void 0:e.props),me(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}Ms.controlType="custom-column";var Ds={Designer:xe,Runtime:Ms,Property:va};class El extends K{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:He.controlName,this.datasourceBind=new Wn((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:He.controlCustomAttributes})}}class He extends p{constructor(e){super(e),this.props=new El(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}He.controlType="employee-column",He.controlName=c.getMessage("employee"),He.controlIcon="employee-column",He.controlFieldType=v.EMPLOYEES,He.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}];class Al extends ee{constructor(e){super(e),this.props=new El(e==null?void 0:e.props)}}Al.controlType="employee-column",Al.controlFieldType=v.EMPLOYEES;var Bs={Designer:He,Runtime:Al,Property:El};class Ml extends K{constructor(e){var n,i,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:lt.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Ie(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(a=e==null?void 0:e.lineEllipsis)!=null?a:1}}class lt extends p{constructor(e){super(e),this.props=new Ml(e==null?void 0:e.props)}}lt.controlType="approval-status-column",lt.controlName=c.getMessage("approvalStatusColumn"),lt.controlIcon="approval-status-column",lt.excludes=[],lt.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}];class Ns extends ee{constructor(e){super(e),this.props=new Ml(e==null?void 0:e.props)}}Ns.controlType="approval-status-column";var Ls={Designer:lt,Runtime:Ns,Property:Ml},ub=Object.freeze({__proto__:null,VarcharColumn:ws,TextColumn:Is,DecimalColumn:Cs,TimescopeColumn:Ss,TimestampColumn:Rs,ArrayColumn:Ts,DepartmentColumn:xs,AutoNumberColumn:ks,FileColumn:Ps,ImageColumn:Os,PeopleColumn:Es,LocationColumn:As,CustomColumn:Ds,OrderColumn:vs,OperationColumn:bs,EmployeeColumn:Bs,ApprovalStatusColumn:Ls});class ob extends Ve{constructor(e){super(e),this.push({type:"object",fields:{}})}}class ba extends Rr{constructor(e){var n,i,a,r,l,u,s,o,f,g,b,_;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=(a=e==null?void 0:e.viewType)!=null?a:"mini",this.search=new Ee((r=e==null?void 0:e.search)!=null?r:{content:c.getMessage("query"),isShow:!0}),this.cancel=new Ee((l=e==null?void 0:e.cancel)!=null?l:{content:c.getMessage("reset"),isShow:!0}),this.isLoading=(u=e==null?void 0:e.isLoading)!=null?u:!1,this.custom=((s=e==null?void 0:e.custom)!=null?s:[]).map(C=>new Ee(C)),this.queryTypeMap=(o=e==null?void 0:e.queryTypeMap)!=null?o:[],this.childMinWidth=(f=e==null?void 0:e.childMinWidth)!=null?f:230,this.colGap=(g=e==null?void 0:e.colGap)!=null?g:24,this.viewConfig=(b=e==null?void 0:e.viewConfig)!=null?b:[],this.simpleConfig=(_=e==null?void 0:e.simpleConfig)!=null?_:[]}}ba.RuntimeRules=ob;class _a extends ag{constructor(e){super(e),this.props=new ba(e==null?void 0:e.props)}}_a.controlType="simple-search",_a.slotPosition={default:"search"},_a.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 $s extends dg{constructor(e){var n;super(e),this.props=new ba(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}$s.controlType="simple-search";var Fs={Designer:_a,Runtime:$s,Property:ba},cb=Object.freeze({__proto__:null,SimpleSearch:Fs});class Dl extends Er{constructor(e){var n;super(e),this.wholeRow=(n=e==null?void 0:e.wholeRow)!=null?n:!1}}class sb extends Tg{constructor(e){super(e),this.props=new Dl(e==null?void 0:e.props)}static get controlName(){return c.getMessage("gridLayoutWrap")}static get controlIcon(){return"page"}static get controlType(){return"grid-layout-wrap"}}class db extends Mg{constructor(e){super(e),this.props=new Dl(e==null?void 0:e.props)}static get controlType(){return"grid-layout-wrap"}}function Ib(t){return t}var fb={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:c.getMessage("fullLine"),props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},Hs={Designer:sb,Runtime:db,Property:Dl,Setting:fb},hb=Object.freeze({__proto__:null,GridLayoutWrap:Hs});y.ActionBar=ys,y.Address=dc,y.AdvancedContainer=ds,y.Amount=uc,y.ApprovalStatusColumn=Ls,y.ArrayColumn=Ts,y.AssignType=$e,y.Attachment=ic,y.AutoNumber=gc,y.AutoNumberColumn=ks,y.BatchDeleteButton=Bo,y.BatchPrintListButton=Ao,y.BatchPrintRecordListButton=Mo,y.BatchSubmissionListButton=mo,y.Button=pu,y.Calc=vc,y.CardGroup=Qc,y.Checkbox=Fo,y.Col=Kc,y.CreateFormListButton=go,y.CustomColumn=Ds,y.DATE_CONFIG_TYPE=eo,y.DATE_LIMIT_TYPE=to,y.Dashboard=xo,y.DataView=cs,y.DatePicker=Wo,y.DateRange=zo,y.DecimalColumn=Cs,y.Department=hc,y.Department2=Fc,y.DepartmentColumn=xs,y.DepartmentType=Ci,y.Divider=ho,y.ElectronicSignature=Bc,y.ElectronicSignatureConfig=no,y.Employee=nc,y.Employee2=Mc,y.EmployeeColumn=Bs,y.EncryptTypeEnum=so,y.Explain=Ii,y.ExportConfig=lo,y.ExportListButton=bo,y.ExportRecordListButton=_o,y.ExportTemplate=Qt,y.FileColumn=Ps,y.FlexStyleConfig=co,y.FormSelectButton=Io,y.Grid=Wc,y.GridLayoutContainer=ts,y.GridLayoutWrap=Hs,y.GridRow=Xc,y.GridTable=_s,y.GridTableColumn=es,y.Image=rc,y.ImageColumn=Os,y.ImportConfig=ro,y.ImportListBind=ao,y.ImportRecordListButton=wo,y.Input=Lo,y.InternalType=Ur,y.InvoiceCheckButton=Eo,y.LINE_STYLE=Hr,y.LimitDate=wi,y.Link=Yu,y.ListSelectButton=Co,y.ListView=us,y.ListViewSelect=Po,y.LocationColumn=As,y.Number=qo,y.OperationButton=Do,y.OperationColumn=bs,y.OrderColumn=vs,y.OrganizationSelection=Vc,y.OrganizeType=qr,y.Page=ss,y.Pagination=Ro,y.PeopleColumn=Es,y.Position=hs,y.PositioningContainer=fs,y.PrintTemplate=oo,y.Radio=Vo,y.RichText=Jo,y.Row=Gc,y.SCORE_TYPE=Fr,y.SUBTABLE_DEFAULT_MAX_HEIGHT=uo,y.Score=cc,y.SearchDateRange=Ic,y.SearchInput=Pc,y.SearchNumberRange=_c,y.Select=Yo,y.SelectMultiple=ec,y.SelectRelation=Tc,y.SimpleSearch=Fs,y.SubTable=ms,y.SubTableColumn=Zc,y.SubTableRow=Yc,y.SubmissionRecordListButton=vo,y.Tab=is,y.TabPane=ns,y.Text=Zu,y.TextColumn=Is,y.TextOcrButton=Oo,y.Textarea=Xo,y.TimescopeColumn=Ss,y.TimestampColumn=Rs,y.Title=yo,y.TitleConfigEnum=Le,y.Toolbox=ls,y.Tree=Ec,y.UndersignedPerson=Vr,y.VarcharColumn=ws,y.VueFormItem=Sc,y.VuePage=qc,y.WPS=Lc,y.WPSSetting=io,y.WpsOperationItem=jr,y.baseControls=ym,y.columnControls=ub,y.formControls=sv,y.initExpression=Jt,y.layoutControls=Uv,y.listControls=Jv,y.searchControls=cb,y.wrapControls=hb,Object.defineProperty(y,"__esModule",{value:!0})});
|