@byteluck-fe/model-driven-controls 7.0.0-1-beta9 → 7.0.0-beta.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/api-doc-index.js +9 -0
- package/dist/esm/baseControls/BarChart/designer.js +223 -0
- package/dist/esm/baseControls/BarChart/index.js +11 -0
- package/dist/esm/baseControls/BarChart/property.js +256 -0
- package/dist/esm/baseControls/BarChart/runtime.js +112 -0
- package/dist/esm/baseControls/BarChart/schema.json +1650 -0
- package/dist/esm/baseControls/BatchDeleteButton/property.js +48 -21
- package/dist/esm/baseControls/BatchDeleteButton/schema.json +118 -0
- package/dist/esm/baseControls/BatchPrintListButton/property.js +19 -12
- package/dist/esm/baseControls/BatchPrintListButton/schema.json +619 -0
- package/dist/esm/baseControls/BatchPrintRecordListButton/property.js +7 -5
- package/dist/esm/baseControls/BatchPrintRecordListButton/schema.json +293 -0
- package/dist/esm/baseControls/BatchSubmissionListButton/property.js +25 -19
- package/dist/esm/baseControls/BatchSubmissionListButton/schema.json +321 -0
- package/dist/esm/baseControls/Button/property.js +21 -53
- package/dist/esm/baseControls/Button/schema.json +293 -0
- package/dist/esm/baseControls/Comment/property.js +15 -4
- package/dist/esm/baseControls/Comment/schema.json +81 -0
- package/dist/esm/baseControls/CreateFormListButton/property.js +18 -10
- package/dist/esm/baseControls/CreateFormListButton/schema.json +315 -0
- package/dist/esm/baseControls/Dashboard/property.js +46 -18
- package/dist/esm/baseControls/Dashboard/schema.json +374 -0
- package/dist/esm/baseControls/Divider/designer.js +57 -0
- package/dist/esm/baseControls/Divider/property.js +52 -8
- package/dist/esm/baseControls/Divider/schema.json +139 -0
- package/dist/esm/baseControls/ExportListButton/property.js +19 -11
- package/dist/esm/baseControls/ExportListButton/schema.json +340 -0
- package/dist/esm/baseControls/ExportRecordListButton/property.js +7 -5
- package/dist/esm/baseControls/ExportRecordListButton/schema.json +293 -0
- package/dist/esm/baseControls/FormSelectButton/property.js +25 -8
- package/dist/esm/baseControls/FormSelectButton/schema.json +1030 -0
- package/dist/esm/baseControls/Iframe/designer.js +159 -0
- package/dist/esm/baseControls/Iframe/index.js +11 -0
- package/dist/esm/baseControls/Iframe/property.js +134 -0
- package/dist/esm/baseControls/Iframe/runtime.js +112 -0
- package/dist/esm/baseControls/Iframe/schema.json +47 -0
- package/dist/esm/baseControls/ImportRecordListButton/property.js +22 -13
- package/dist/esm/baseControls/ImportRecordListButton/schema.json +320 -0
- package/dist/esm/baseControls/InvoiceCheckButton/property.js +44 -21
- package/dist/esm/baseControls/InvoiceCheckButton/schema.json +356 -0
- package/dist/esm/baseControls/LineChart/designer.js +207 -0
- package/dist/esm/baseControls/LineChart/index.js +11 -0
- package/dist/esm/baseControls/LineChart/property.js +264 -0
- package/dist/esm/baseControls/LineChart/runtime.js +112 -0
- package/dist/esm/baseControls/LineChart/schema.json +1650 -0
- package/dist/esm/baseControls/Link/designer.js +33 -0
- package/dist/esm/baseControls/Link/property.js +38 -8
- package/dist/esm/baseControls/Link/schema.json +96 -0
- package/dist/esm/baseControls/ListSelectButton/property.js +27 -15
- package/dist/esm/baseControls/ListSelectButton/schema.json +1080 -0
- package/dist/esm/baseControls/ListViewSelect/property.js +17 -7
- package/dist/esm/baseControls/ListViewSelect/schema.json +675 -0
- package/dist/esm/baseControls/OperationButton/property.js +68 -15
- package/dist/esm/baseControls/OperationButton/schema.json +129 -0
- package/dist/esm/baseControls/Pagination/property.js +4 -1
- package/dist/esm/baseControls/Pagination/schema.json +32 -0
- package/dist/esm/baseControls/PieChart/designer.js +211 -0
- package/dist/esm/baseControls/PieChart/index.js +11 -0
- package/dist/esm/baseControls/PieChart/property.js +255 -0
- package/dist/esm/baseControls/PieChart/runtime.js +112 -0
- package/dist/esm/baseControls/PieChart/schema.json +1642 -0
- package/dist/esm/baseControls/ReferenceList/property.js +32 -19
- package/dist/esm/baseControls/ReferenceList/schema.json +414 -0
- package/dist/esm/baseControls/SubmissionRecordListButton/property.js +7 -5
- package/dist/esm/baseControls/SubmissionRecordListButton/schema.json +293 -0
- package/dist/esm/baseControls/Text/designer.js +30 -3
- package/dist/esm/baseControls/Text/property.js +59 -17
- package/dist/esm/baseControls/Text/schema.json +143 -0
- package/dist/esm/baseControls/TextOcrButton/property.js +44 -21
- package/dist/esm/baseControls/TextOcrButton/schema.json +356 -0
- package/dist/esm/baseControls/Title/property.js +25 -8
- package/dist/esm/baseControls/Title/schema.json +95 -0
- package/dist/esm/baseControls/index.js +4 -0
- package/dist/esm/baseControls/utils.js +61 -0
- package/dist/esm/columnControls/ApprovalStatusColumn/property.js +14 -12
- package/dist/esm/columnControls/ApprovalStatusColumn/schema.json +209 -0
- package/dist/esm/columnControls/ArrayColumn/property.js +17 -19
- package/dist/esm/columnControls/ArrayColumn/schema.json +979 -0
- package/dist/esm/columnControls/AutoNumberColumn/property.js +9 -5
- package/dist/esm/columnControls/AutoNumberColumn/schema.json +204 -0
- package/dist/esm/columnControls/CustomColumn/designer.js +1 -0
- package/dist/esm/columnControls/CustomColumn/property.js +18 -12
- package/dist/esm/columnControls/CustomColumn/schema.json +174 -0
- package/dist/esm/columnControls/DecimalColumn/property.js +22 -25
- package/dist/esm/columnControls/DecimalColumn/schema.json +997 -0
- package/dist/esm/columnControls/DepartmentColumn/property.js +9 -10
- package/dist/esm/columnControls/DepartmentColumn/schema.json +166 -0
- package/dist/esm/columnControls/EmployeeColumn/property.js +9 -9
- package/dist/esm/columnControls/EmployeeColumn/schema.json +940 -0
- package/dist/esm/columnControls/FileColumn/property.js +13 -10
- package/dist/esm/columnControls/FileColumn/schema.json +169 -0
- package/dist/esm/columnControls/GroupColumn/designer.js +2 -1
- package/dist/esm/columnControls/GroupColumn/property.js +6 -6
- package/dist/esm/columnControls/GroupColumn/schema.json +161 -0
- package/dist/esm/columnControls/ImageColumn/property.js +7 -6
- package/dist/esm/columnControls/ImageColumn/schema.json +161 -0
- package/dist/esm/columnControls/LocationColumn/property.js +11 -10
- package/dist/esm/columnControls/LocationColumn/schema.json +204 -0
- package/dist/esm/columnControls/OperationColumn/designer.js +12 -4
- package/dist/esm/columnControls/OperationColumn/property.js +12 -51
- package/dist/esm/columnControls/OperationColumn/schema.json +181 -0
- package/dist/esm/columnControls/OrderColumn/property.js +12 -17
- package/dist/esm/columnControls/OrderColumn/schema.json +161 -0
- package/dist/esm/columnControls/PeopleColumn/property.js +7 -6
- package/dist/esm/columnControls/PeopleColumn/schema.json +161 -0
- package/dist/esm/columnControls/TextColumn/property.js +18 -19
- package/dist/esm/columnControls/TextColumn/schema.json +214 -0
- package/dist/esm/columnControls/TimescopeColumn/property.js +19 -17
- package/dist/esm/columnControls/TimescopeColumn/schema.json +232 -0
- package/dist/esm/columnControls/TimestampColumn/property.js +19 -17
- package/dist/esm/columnControls/TimestampColumn/schema.json +232 -0
- package/dist/esm/columnControls/VarcharColumn/property.js +24 -22
- package/dist/esm/columnControls/VarcharColumn/schema.json +997 -0
- package/dist/esm/formControls/Address/designer.js +2 -1
- package/dist/esm/formControls/Address/property.js +40 -24
- package/dist/esm/formControls/Address/schema.json +246 -0
- package/dist/esm/formControls/Amount/designer.js +2 -1
- package/dist/esm/formControls/Amount/property.js +46 -40
- package/dist/esm/formControls/Amount/schema.json +1100 -0
- package/dist/esm/formControls/Attachment/designer.js +3 -5
- package/dist/esm/formControls/Attachment/property.js +82 -51
- package/dist/esm/formControls/Attachment/schema.json +296 -0
- package/dist/esm/formControls/AutoNumber/designer.js +2 -1
- package/dist/esm/formControls/AutoNumber/property.js +13 -8
- package/dist/esm/formControls/AutoNumber/schema.json +175 -0
- package/dist/esm/formControls/Barcode/designer.js +276 -0
- package/dist/esm/formControls/Barcode/index.js +11 -0
- package/dist/esm/formControls/Barcode/property.js +160 -0
- package/dist/esm/formControls/Barcode/runtime.js +114 -0
- package/dist/esm/formControls/Barcode/schema.json +231 -0
- package/dist/esm/formControls/Calc/designer.js +2 -1
- package/dist/esm/formControls/Calc/property.js +35 -29
- package/dist/esm/formControls/Calc/schema.json +317 -0
- package/dist/esm/formControls/Cascader/designer.js +3 -2
- package/dist/esm/formControls/Cascader/property.js +42 -40
- package/dist/esm/formControls/Cascader/schema.json +1931 -0
- package/dist/esm/formControls/Checkbox/designer.js +2 -18
- package/dist/esm/formControls/Checkbox/property.js +85 -50
- package/dist/esm/formControls/Checkbox/schema.json +1058 -0
- package/dist/esm/formControls/Counter/designer.js +191 -0
- package/dist/esm/formControls/Counter/index.js +11 -0
- package/dist/esm/formControls/Counter/property.js +197 -0
- package/dist/esm/formControls/Counter/runtime.js +114 -0
- package/dist/esm/formControls/Counter/schema.json +222 -0
- package/dist/esm/formControls/DatePicker/designer.js +6 -1
- package/dist/esm/formControls/DatePicker/property.js +65 -34
- package/dist/esm/formControls/DatePicker/schema.json +311 -0
- package/dist/esm/formControls/DateRange/designer.js +2 -1
- package/dist/esm/formControls/DateRange/property.js +33 -38
- package/dist/esm/formControls/DateRange/schema.json +351 -0
- package/dist/esm/formControls/Department/designer.js +2 -1
- package/dist/esm/formControls/Department/property.js +49 -35
- package/dist/esm/formControls/Department/schema.json +277 -0
- package/dist/esm/formControls/Department2/designer.js +6 -1
- package/dist/esm/formControls/Department2/property.js +83 -53
- package/dist/esm/formControls/Department2/schema.json +1398 -0
- package/dist/esm/formControls/ElectronicSignature/designer.js +2 -1
- package/dist/esm/formControls/ElectronicSignature/property.js +44 -14
- package/dist/esm/formControls/ElectronicSignature/schema.json +546 -0
- package/dist/esm/formControls/Employee/designer.js +2 -1
- package/dist/esm/formControls/Employee/property.js +46 -26
- package/dist/esm/formControls/Employee/schema.json +267 -0
- package/dist/esm/formControls/Employee2/designer.js +2 -1
- package/dist/esm/formControls/Employee2/property.js +81 -46
- package/dist/esm/formControls/Employee2/schema.json +1107 -0
- package/dist/esm/formControls/Image/designer.js +12 -14
- package/dist/esm/formControls/Image/property.js +50 -24
- package/dist/esm/formControls/Image/schema.json +321 -0
- package/dist/esm/formControls/Input/designer.js +2 -1
- package/dist/esm/formControls/Input/property.js +17 -23
- package/dist/esm/formControls/Input/schema.json +242 -0
- package/dist/esm/formControls/Number/designer.js +3 -5
- package/dist/esm/formControls/Number/property.js +42 -53
- package/dist/esm/formControls/Number/schema.json +300 -0
- package/dist/esm/formControls/OrganizationSelection/designer.js +2 -1
- package/dist/esm/formControls/OrganizationSelection/property.js +88 -59
- package/dist/esm/formControls/OrganizationSelection/schema.json +1158 -0
- package/dist/esm/formControls/QrCode/designer.js +473 -0
- package/dist/esm/formControls/QrCode/index.js +11 -0
- package/dist/esm/formControls/QrCode/property.js +163 -0
- package/dist/esm/formControls/QrCode/runtime.js +114 -0
- package/dist/esm/formControls/QrCode/schema.json +352 -0
- package/dist/esm/formControls/Radio/designer.js +5 -4
- package/dist/esm/formControls/Radio/property.js +72 -39
- package/dist/esm/formControls/Radio/schema.json +1052 -0
- package/dist/esm/formControls/RichText/designer.js +10 -1
- package/dist/esm/formControls/RichText/property.js +49 -26
- package/dist/esm/formControls/RichText/schema.json +240 -0
- package/dist/esm/formControls/Score/designer.js +17 -7
- package/dist/esm/formControls/Score/property.js +43 -26
- package/dist/esm/formControls/Score/schema.json +251 -0
- package/dist/esm/formControls/SearchDateRange/designer.js +2 -1
- package/dist/esm/formControls/SearchDateRange/property.js +63 -34
- package/dist/esm/formControls/SearchDateRange/schema.json +317 -0
- package/dist/esm/formControls/SearchInput/designer.js +2 -1
- package/dist/esm/formControls/SearchInput/property.js +4 -1
- package/dist/esm/formControls/SearchInput/schema.json +242 -0
- package/dist/esm/formControls/SearchNumberRange/designer.js +2 -1
- package/dist/esm/formControls/SearchNumberRange/property.js +32 -16
- package/dist/esm/formControls/SearchNumberRange/schema.json +215 -0
- package/dist/esm/formControls/Select/designer.js +5 -4
- package/dist/esm/formControls/Select/property.js +58 -41
- package/dist/esm/formControls/Select/schema.json +1037 -0
- package/dist/esm/formControls/SelectMultiple/designer.js +2 -18
- package/dist/esm/formControls/SelectMultiple/property.js +53 -38
- package/dist/esm/formControls/SelectMultiple/schema.json +1035 -0
- package/dist/esm/formControls/SelectRelation/designer.js +2 -1
- package/dist/esm/formControls/SelectRelation/property.js +50 -46
- package/dist/esm/formControls/SelectRelation/schema.json +1123 -0
- package/dist/esm/formControls/Slider/designer.js +184 -0
- package/dist/esm/formControls/Slider/index.js +11 -0
- package/dist/esm/formControls/Slider/property.js +190 -0
- package/dist/esm/formControls/Slider/runtime.js +114 -0
- package/dist/esm/formControls/Slider/schema.json +233 -0
- package/dist/esm/formControls/Switch/designer.js +259 -0
- package/dist/esm/formControls/Switch/index.js +11 -0
- package/dist/esm/formControls/Switch/property.js +166 -0
- package/dist/esm/formControls/Switch/runtime.js +114 -0
- package/dist/esm/formControls/Switch/schema.json +226 -0
- package/dist/esm/formControls/Tag/designer.js +257 -0
- package/dist/esm/formControls/Tag/index.js +11 -0
- package/dist/esm/formControls/Tag/property.js +193 -0
- package/dist/esm/formControls/Tag/runtime.js +114 -0
- package/dist/esm/formControls/Tag/schema.json +1036 -0
- package/dist/esm/formControls/Textarea/designer.js +2 -1
- package/dist/esm/formControls/Textarea/property.js +24 -50
- package/dist/esm/formControls/Textarea/schema.json +294 -0
- package/dist/esm/formControls/TimePicker/designer.js +4 -2
- package/dist/esm/formControls/TimePicker/property.js +36 -18
- package/dist/esm/formControls/TimePicker/schema.json +243 -0
- package/dist/esm/formControls/TimeRange/designer.js +6 -4
- package/dist/esm/formControls/TimeRange/property.js +34 -29
- package/dist/esm/formControls/TimeRange/schema.json +306 -0
- package/dist/esm/formControls/Tree/designer.js +4 -2
- package/dist/esm/formControls/Tree/property.js +123 -45
- package/dist/esm/formControls/Tree/schema.json +1943 -0
- package/dist/esm/formControls/VueFormItem/designer.js +2 -1
- package/dist/esm/formControls/VueFormItem/property.js +27 -12
- package/dist/esm/formControls/VueFormItem/schema.json +201 -0
- package/dist/esm/formControls/VuePage/property.js +28 -13
- package/dist/esm/formControls/VuePage/schema.json +201 -0
- package/dist/esm/formControls/WPS/designer.js +11 -10
- package/dist/esm/formControls/WPS/property.js +66 -26
- package/dist/esm/formControls/WPS/schema.json +277 -0
- package/dist/esm/formControls/index.js +6 -0
- package/dist/esm/framework.js +212 -163
- package/dist/esm/layoutControls/ActionBar/designer.js +2 -2
- package/dist/esm/layoutControls/ActionBar/property.js +21 -11
- package/dist/esm/layoutControls/ActionBar/runtime.js +2 -2
- package/dist/esm/layoutControls/ActionBar/schema.json +69 -0
- package/dist/esm/layoutControls/AdvancedContainer/property.js +14 -2
- package/dist/esm/layoutControls/AdvancedContainer/schema.json +114 -0
- package/dist/esm/layoutControls/BlankContainer/designer.js +192 -0
- package/dist/esm/layoutControls/BlankContainer/index.js +11 -0
- package/dist/esm/layoutControls/BlankContainer/property.js +155 -0
- package/dist/esm/layoutControls/BlankContainer/runtime.js +112 -0
- package/dist/esm/layoutControls/BlankContainer/schema.json +92 -0
- package/dist/esm/layoutControls/CardGroup/designer.js +42 -41
- package/dist/esm/layoutControls/CardGroup/property.js +39 -31
- package/dist/esm/layoutControls/CardGroup/schema.json +145 -0
- package/dist/esm/layoutControls/Col/property.js +21 -8
- package/dist/esm/layoutControls/Col/schema.json +47 -0
- package/dist/esm/layoutControls/Collapse/designer.js +7 -18
- package/dist/esm/layoutControls/Collapse/property.js +11 -11
- package/dist/esm/layoutControls/Collapse/schema.json +47 -0
- package/dist/esm/layoutControls/CollapsePane/designer.js +2 -1
- package/dist/esm/layoutControls/CollapsePane/property.js +9 -4
- package/dist/esm/layoutControls/CollapsePane/schema.json +37 -0
- package/dist/esm/layoutControls/DataView/property.js +38 -19
- package/dist/esm/layoutControls/DataView/schema.json +996 -0
- package/dist/esm/layoutControls/Grid/property.js +76 -2
- package/dist/esm/layoutControls/Grid/schema.json +32 -0
- package/dist/esm/layoutControls/GridLayoutContainer/property.js +16 -8
- package/dist/esm/layoutControls/GridLayoutContainer/schema.json +42 -0
- package/dist/esm/layoutControls/GridRow/property.js +4 -1
- package/dist/esm/layoutControls/GridRow/schema.json +88 -0
- package/dist/esm/layoutControls/GridTableColumn/property.js +64 -23
- package/dist/esm/layoutControls/GridTableColumn/schema.json +886 -0
- package/dist/esm/layoutControls/ListView/property.js +56 -50
- package/dist/esm/layoutControls/ListView/schema.json +3183 -0
- package/dist/esm/layoutControls/Page/property.js +28 -8
- package/dist/esm/layoutControls/Page/schema.json +71 -0
- package/dist/esm/layoutControls/Position/property.js +27 -10
- package/dist/esm/layoutControls/Position/schema.json +52 -0
- package/dist/esm/layoutControls/PositioningContainer/property.js +5 -1
- package/dist/esm/layoutControls/PositioningContainer/schema.json +32 -0
- package/dist/esm/layoutControls/Row/designer.js +3 -12
- package/dist/esm/layoutControls/Row/property.js +39 -12
- package/dist/esm/layoutControls/Row/schema.json +88 -0
- package/dist/esm/layoutControls/Step/designer.js +17 -16
- package/dist/esm/layoutControls/Step/property.js +37 -32
- package/dist/esm/layoutControls/Step/schema.json +174 -0
- package/dist/esm/layoutControls/StepPane/property.js +46 -36
- package/dist/esm/layoutControls/StepPane/schema.json +100 -0
- package/dist/esm/layoutControls/SubTableColumn/property.js +28 -18
- package/dist/esm/layoutControls/SubTableColumn/schema.json +117 -0
- package/dist/esm/layoutControls/SubTableRow/property.js +4 -1
- package/dist/esm/layoutControls/SubTableRow/schema.json +32 -0
- package/dist/esm/layoutControls/Tab/designer.js +12 -12
- package/dist/esm/layoutControls/Tab/property.js +19 -15
- package/dist/esm/layoutControls/Tab/schema.json +85 -0
- package/dist/esm/layoutControls/TabPane/property.js +11 -4
- package/dist/esm/layoutControls/TabPane/schema.json +32 -0
- package/dist/esm/layoutControls/TableLayout/designer.js +6 -1
- package/dist/esm/layoutControls/TableLayout/property.js +81 -39
- package/dist/esm/layoutControls/TableLayout/schema.json +299 -0
- package/dist/esm/layoutControls/TableLayoutCol/property.js +56 -29
- package/dist/esm/layoutControls/TableLayoutCol/schema.json +169 -0
- package/dist/esm/layoutControls/TableLayoutRow/property.js +16 -6
- package/dist/esm/layoutControls/TableLayoutRow/schema.json +50 -0
- package/dist/esm/layoutControls/TableLayoutWrapper/property.js +21 -10
- package/dist/esm/layoutControls/TableLayoutWrapper/schema.json +57 -0
- package/dist/esm/layoutControls/Toolbox/property.js +4 -1
- package/dist/esm/layoutControls/Toolbox/schema.json +32 -0
- package/dist/esm/layoutControls/index.js +1 -0
- package/dist/esm/listControls/GridTable/designer.js +13 -4
- package/dist/esm/listControls/GridTable/property.js +11 -22
- package/dist/esm/listControls/GridTable/schema.json +93 -0
- package/dist/esm/listControls/SubTable/designer.js +3 -3
- package/dist/esm/listControls/SubTable/property.js +114 -118
- package/dist/esm/listControls/SubTable/schema.json +1114 -0
- package/dist/esm/searchControls/SimpleSearch/property.js +28 -33
- package/dist/esm/searchControls/SimpleSearch/runtime.js +2 -2
- package/dist/esm/searchControls/SimpleSearch/schema.json +321 -0
- package/dist/esm/wrapControls/GridLayoutWrap/designer.js +8 -8
- package/dist/esm/wrapControls/GridLayoutWrap/property.js +12 -4
- package/dist/esm/wrapControls/GridLayoutWrap/runtime.js +8 -8
- package/dist/esm/wrapControls/GridLayoutWrap/schema.json +37 -0
- package/dist/index.umd.js +1 -1
- package/dist/types/api-doc-index.d.ts +9 -0
- package/dist/types/baseControls/BarChart/designer.d.ts +14 -0
- package/dist/types/baseControls/BarChart/index.d.ts +12 -0
- package/dist/types/baseControls/BarChart/property.d.ts +280 -0
- package/dist/types/baseControls/BarChart/runtime.d.ts +9 -0
- package/dist/types/baseControls/BatchDeleteButton/property.d.ts +97 -3
- package/dist/types/baseControls/BatchPrintListButton/property.d.ts +31 -3
- package/dist/types/baseControls/BatchPrintRecordListButton/property.d.ts +9 -3
- package/dist/types/baseControls/BatchSubmissionListButton/property.d.ts +48 -8
- package/dist/types/baseControls/Button/property.d.ts +49 -14
- package/dist/types/baseControls/Comment/property.d.ts +31 -3
- package/dist/types/baseControls/CreateFormListButton/property.d.ts +31 -3
- package/dist/types/baseControls/Dashboard/property.d.ts +93 -3
- package/dist/types/baseControls/Divider/property.d.ts +116 -4
- package/dist/types/baseControls/ExportListButton/property.d.ts +31 -3
- package/dist/types/baseControls/ExportRecordListButton/property.d.ts +9 -3
- package/dist/types/baseControls/FormSelectButton/property.d.ts +53 -3
- package/dist/types/baseControls/Iframe/designer.d.ts +12 -0
- package/dist/types/baseControls/Iframe/index.d.ts +12 -0
- package/dist/types/baseControls/Iframe/property.d.ts +55 -0
- package/dist/types/baseControls/Iframe/runtime.d.ts +10 -0
- package/dist/types/baseControls/ImportRecordListButton/property.d.ts +35 -3
- package/dist/types/baseControls/InvoiceCheckButton/property.d.ts +82 -3
- package/dist/types/baseControls/LineChart/designer.d.ts +14 -0
- package/dist/types/baseControls/LineChart/index.d.ts +12 -0
- package/dist/types/baseControls/LineChart/property.d.ts +283 -0
- package/dist/types/baseControls/LineChart/runtime.d.ts +9 -0
- package/dist/types/baseControls/Link/property.d.ts +78 -3
- package/dist/types/baseControls/ListSelectButton/property.d.ts +70 -3
- package/dist/types/baseControls/ListViewSelect/property.d.ts +31 -3
- package/dist/types/baseControls/OperationButton/property.d.ts +167 -3
- package/dist/types/baseControls/Pagination/property.d.ts +9 -3
- package/dist/types/baseControls/PieChart/designer.d.ts +14 -0
- package/dist/types/baseControls/PieChart/index.d.ts +12 -0
- package/dist/types/baseControls/PieChart/property.d.ts +248 -0
- package/dist/types/baseControls/PieChart/runtime.d.ts +9 -0
- package/dist/types/baseControls/ReferenceList/property.d.ts +64 -3
- package/dist/types/baseControls/SubmissionRecordListButton/property.d.ts +9 -3
- package/dist/types/baseControls/Text/property.d.ts +136 -8
- package/dist/types/baseControls/TextOcrButton/property.d.ts +86 -3
- package/dist/types/baseControls/Title/property.d.ts +53 -3
- package/dist/types/baseControls/index.d.ts +32 -0
- package/dist/types/baseControls/utils.d.ts +9 -0
- package/dist/types/columnControls/ApprovalStatusColumn/property.d.ts +27 -7
- package/dist/types/columnControls/ArrayColumn/property.d.ts +43 -7
- package/dist/types/columnControls/AutoNumberColumn/property.d.ts +23 -3
- package/dist/types/columnControls/CustomColumn/property.d.ts +31 -3
- package/dist/types/columnControls/DecimalColumn/property.d.ts +66 -9
- package/dist/types/columnControls/DepartmentColumn/property.d.ts +14 -6
- package/dist/types/columnControls/EmployeeColumn/property.d.ts +14 -5
- package/dist/types/columnControls/FileColumn/property.d.ts +18 -4
- package/dist/types/columnControls/GroupColumn/designer.d.ts +1 -1
- package/dist/types/columnControls/GroupColumn/property.d.ts +7 -5
- package/dist/types/columnControls/ImageColumn/property.d.ts +7 -4
- package/dist/types/columnControls/LocationColumn/property.d.ts +23 -3
- package/dist/types/columnControls/OperationColumn/property.d.ts +22 -4
- package/dist/types/columnControls/OrderColumn/property.d.ts +9 -3
- package/dist/types/columnControls/PeopleColumn/property.d.ts +7 -4
- package/dist/types/columnControls/TextColumn/property.d.ts +37 -5
- package/dist/types/columnControls/TimescopeColumn/property.d.ts +42 -5
- package/dist/types/columnControls/TimestampColumn/property.d.ts +42 -5
- package/dist/types/columnControls/VarcharColumn/property.d.ts +66 -8
- package/dist/types/columnControls/index.d.ts +18 -0
- package/dist/types/formControls/Address/property.d.ts +43 -3
- package/dist/types/formControls/Amount/property.d.ts +109 -15
- package/dist/types/formControls/Attachment/property.d.ts +166 -6
- package/dist/types/formControls/AutoNumber/property.d.ts +16 -3
- package/dist/types/formControls/Barcode/designer.d.ts +15 -0
- package/dist/types/formControls/Barcode/index.d.ts +12 -0
- package/dist/types/formControls/Barcode/property.d.ts +102 -0
- package/dist/types/formControls/Barcode/runtime.d.ts +12 -0
- package/dist/types/formControls/Calc/property.d.ts +80 -13
- package/dist/types/formControls/Cascader/property.d.ts +102 -6
- package/dist/types/formControls/Checkbox/property.d.ts +183 -8
- package/dist/types/formControls/Counter/designer.d.ts +15 -0
- package/dist/types/formControls/Counter/index.d.ts +12 -0
- package/dist/types/formControls/Counter/property.d.ts +111 -0
- package/dist/types/formControls/Counter/runtime.d.ts +12 -0
- package/dist/types/formControls/DatePicker/property.d.ts +128 -3
- package/dist/types/formControls/DateRange/property.d.ts +96 -11
- package/dist/types/formControls/Department/property.d.ts +99 -14
- package/dist/types/formControls/Department2/property.d.ts +161 -17
- package/dist/types/formControls/ElectronicSignature/property.d.ts +93 -3
- package/dist/types/formControls/Employee/property.d.ts +92 -5
- package/dist/types/formControls/Employee2/property.d.ts +169 -5
- package/dist/types/formControls/Image/property.d.ts +58 -4
- package/dist/types/formControls/Input/property.d.ts +65 -5
- package/dist/types/formControls/Number/property.d.ts +119 -19
- package/dist/types/formControls/OrganizationSelection/property.d.ts +191 -17
- package/dist/types/formControls/QrCode/designer.d.ts +15 -0
- package/dist/types/formControls/QrCode/index.d.ts +12 -0
- package/dist/types/formControls/QrCode/property.d.ts +114 -0
- package/dist/types/formControls/QrCode/runtime.d.ts +12 -0
- package/dist/types/formControls/Radio/property.d.ts +159 -5
- package/dist/types/formControls/RichText/property.d.ts +89 -7
- package/dist/types/formControls/Score/property.d.ts +84 -10
- package/dist/types/formControls/SearchDateRange/property.d.ts +130 -3
- package/dist/types/formControls/SearchInput/property.d.ts +9 -3
- package/dist/types/formControls/SearchNumberRange/property.d.ts +64 -3
- package/dist/types/formControls/Select/property.d.ts +130 -10
- package/dist/types/formControls/SelectMultiple/property.d.ts +120 -11
- package/dist/types/formControls/SelectRelation/property.d.ts +138 -9
- package/dist/types/formControls/Slider/designer.d.ts +15 -0
- package/dist/types/formControls/Slider/index.d.ts +12 -0
- package/dist/types/formControls/Slider/property.d.ts +103 -0
- package/dist/types/formControls/Slider/runtime.d.ts +12 -0
- package/dist/types/formControls/Switch/designer.d.ts +15 -0
- package/dist/types/formControls/Switch/index.d.ts +12 -0
- package/dist/types/formControls/Switch/property.d.ts +112 -0
- package/dist/types/formControls/Switch/runtime.d.ts +12 -0
- package/dist/types/formControls/Tag/designer.d.ts +15 -0
- package/dist/types/formControls/Tag/index.d.ts +12 -0
- package/dist/types/formControls/Tag/property.d.ts +136 -0
- package/dist/types/formControls/Tag/runtime.d.ts +12 -0
- package/dist/types/formControls/Textarea/property.d.ts +69 -8
- package/dist/types/formControls/TimePicker/property.d.ts +62 -3
- package/dist/types/formControls/TimeRange/property.d.ts +88 -8
- package/dist/types/formControls/Tree/property.d.ts +243 -3
- package/dist/types/formControls/VueFormItem/property.d.ts +53 -3
- package/dist/types/formControls/VuePage/property.d.ts +53 -3
- package/dist/types/formControls/WPS/property.d.ts +137 -3
- package/dist/types/formControls/index.d.ts +46 -0
- package/dist/types/framework.d.ts +159 -19
- package/dist/types/layoutControls/ActionBar/property.d.ts +42 -3
- package/dist/types/layoutControls/AdvancedContainer/property.d.ts +31 -2
- package/dist/types/layoutControls/BlankContainer/designer.d.ts +13 -0
- package/dist/types/layoutControls/BlankContainer/index.d.ts +12 -0
- package/dist/types/layoutControls/BlankContainer/property.d.ts +122 -0
- package/dist/types/layoutControls/BlankContainer/runtime.d.ts +9 -0
- package/dist/types/layoutControls/CardGroup/property.d.ts +95 -11
- package/dist/types/layoutControls/Col/property.d.ts +42 -3
- package/dist/types/layoutControls/Collapse/property.d.ts +27 -5
- package/dist/types/layoutControls/CollapsePane/property.d.ts +17 -4
- package/dist/types/layoutControls/DataView/property.d.ts +77 -3
- package/dist/types/layoutControls/Grid/property.d.ts +12 -2
- package/dist/types/layoutControls/GridLayoutContainer/property.d.ts +31 -3
- package/dist/types/layoutControls/GridRow/property.d.ts +9 -3
- package/dist/types/layoutControls/GridTableColumn/property.d.ts +141 -3
- package/dist/types/layoutControls/ListView/property.d.ts +169 -9
- package/dist/types/layoutControls/Page/property.d.ts +63 -6
- package/dist/types/layoutControls/Position/property.d.ts +53 -2
- package/dist/types/layoutControls/PositioningContainer/property.d.ts +9 -2
- package/dist/types/layoutControls/Row/property.d.ts +68 -3
- package/dist/types/layoutControls/Step/property.d.ts +102 -12
- package/dist/types/layoutControls/StepPane/property.d.ts +97 -3
- package/dist/types/layoutControls/SubTableColumn/property.d.ts +63 -10
- package/dist/types/layoutControls/SubTableRow/property.d.ts +9 -3
- package/dist/types/layoutControls/Tab/property.d.ts +48 -7
- package/dist/types/layoutControls/TabPane/property.d.ts +20 -3
- package/dist/types/layoutControls/TableLayout/property.d.ts +175 -3
- package/dist/types/layoutControls/TableLayoutCol/property.d.ts +121 -5
- package/dist/types/layoutControls/TableLayoutRow/property.d.ts +31 -3
- package/dist/types/layoutControls/TableLayoutWrapper/property.d.ts +42 -3
- package/dist/types/layoutControls/Toolbox/property.d.ts +9 -3
- package/dist/types/layoutControls/index.d.ts +29 -0
- package/dist/types/listControls/GridTable/property.d.ts +40 -3
- package/dist/types/listControls/SubTable/property.d.ts +300 -45
- package/dist/types/listControls/index.d.ts +2 -0
- package/dist/types/searchControls/SimpleSearch/property.d.ts +87 -6
- package/dist/types/searchControls/index.d.ts +1 -0
- package/dist/types/type.d.ts +14 -3
- package/dist/types/wrapControls/GridLayoutWrap/index.d.ts +1 -1
- package/dist/types/wrapControls/GridLayoutWrap/property.d.ts +20 -2
- package/dist/types/wrapControls/index.d.ts +1 -0
- package/package.json +5 -5
package/dist/index.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var z8=Object.defineProperty,K8=Object.defineProperties;var G8=Object.getOwnPropertyDescriptors;var Jd=Object.getOwnPropertySymbols,Z8=Object.getPrototypeOf,Q8=Object.prototype.hasOwnProperty,X8=Object.prototype.propertyIsEnumerable,J8=Reflect.get;var Yd=(f,r,z)=>r in f?z8(f,r,{enumerable:!0,configurable:!0,writable:!0,value:z}):f[r]=z,it=(f,r)=>{for(var z in r||(r={}))Q8.call(r,z)&&Yd(f,z,r[z]);if(Jd)for(var z of Jd(r))X8.call(r,z)&&Yd(f,z,r[z]);return f},ir=(f,r)=>K8(f,G8(r));var ur=(f,r,z)=>J8(Z8(f),z,r);var ar=(f,r,z)=>new Promise((Du,On)=>{var Iu=fe=>{try{kt(z.next(fe))}catch(Ot){On(Ot)}},Au=fe=>{try{kt(z.throw(fe))}catch(Ot){On(Ot)}},kt=fe=>fe.done?Du(fe.value):Promise.resolve(fe.value).then(Iu,Au);kt((z=z.apply(f,r)).next())});(function(f,r){typeof exports=="object"&&typeof module!="undefined"?r(exports):typeof define=="function"&&define.amd?define(["exports"],r):(f=typeof globalThis!="undefined"?globalThis:f||self,r(f.modelDrivenControls={}))})(this,function(f){"use strict";const r=(t,e,n)=>{if(!t)return console.error("getLocaleText\u7684key\u4E0D\u80FD\u4E3A\u7A7A"),"";const i=t.split(".");let u;const a=(window.baitedaWorkers||{}).languageMessages||{};i.forEach((o,d)=>{d===0?u=a[o]:u&&(u=u[o])});let l="";return u&&(l=u),e&&Object.keys(e).forEach(o=>{const d=e[o];l=l.replace(new RegExp(`\\{\\s*${o}\\s*\\}`,"g"),d)}),l||(n?l=n:l=t),l};var z="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",Du="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",On="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",Iu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Au="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",kt="{caption}\u5FC5\u586B",fe="\u8BF7\u8F93\u5165\u6807\u9898",Ot="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",pd="\u8BF7\u8F93\u5165\u884C\u6807\u9898",eh="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",th="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",nh="\u8BF7\u7ED1\u5B9A\u8868\u5355",ih="\u8BF7\u7ED1\u5B9A\u5217\u8868",uh="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",ah="\u8BF7\u8F93\u5165\u663E\u793A\u503C",lh="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",rh="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",oh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",ch="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",sh="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",dh="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",hh="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",yh="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",fh="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",vh="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",mh="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",gh="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",bh="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236",Ch="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Eh="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",_h="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Bh="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",wh="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Dh="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Ih="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Ah="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Fh="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Sh="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Th="\u8BF7\u9009\u62E9\u7701",Ph="\u8BF7\u9009\u62E9\u5E02",Rh="\u8BF7\u9009\u62E9\u533A",kh="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Oh="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",xh="\u8BF7\u8F93\u5165\u5217\u5BBD",Mh="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Lh="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",$h="\u8BF7\u9009\u62E9\u63A7\u4EF6",Nh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Hh="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Vh="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",jh="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",qh="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Wh="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Uh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",zh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Kh="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Gh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Zh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Qh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Xh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Jh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Yh="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",ph="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",ey="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ty="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",ny="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",iy="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",uy="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",ay="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",ly="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",ry="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",oy="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",cy="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",sy="\u6279\u91CF\u5220\u9664",dy="\u6279\u91CF\u6253\u5370",hy="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",yy="\u6309\u94AE",fy="\u521B\u5EFA\u5355\u636E",vy="\u4EEA\u8868\u76D8",my="\u5206\u5272\u7EBF",gy="\u5BFC\u51FA",by="\u8868\u5355\u64CD\u4F5C",Cy="\u5BFC\u5165",Ey="\u53D1\u7968\u8BC6\u522B",_y="\u94FE\u63A5",By="\u5217\u8868\u9009\u62E9",wy="\u5217\u8868\u89C6\u56FE",Dy="\u64CD\u4F5C\u6309\u94AE",Iy="\u5206\u9875",Ay="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",Fy="\u8BF4\u660E\u6587\u5B57",Sy="\u6587\u5B57\u8BC6\u522B",Ty="\u6807\u9898\u7EC4\u4EF6",Py="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",Ry="\u6570\u7EC4",ky="\u81EA\u52A8\u7F16\u53F7",Oy="\u81EA\u5B9A\u4E49",xy="\u6570\u503C",My="\u90E8\u95E8",Ly="\u4EBA\u5458",$y="\u9644\u4EF6",Ny="\u56FE\u7247",Hy="\u5730\u5740",Vy="\u64CD\u4F5C",jy="\u5E8F\u53F7",qy="\u4EBA\u5458",Wy="\u957F\u6587\u672C",Uy="\u65E5\u671F\u533A\u95F4",zy="\u65E5\u671F",Ky="\u77ED\u6587\u672C",Gy="\u6362\u884C\u5BB9\u5668Wrap",Zy="\u8868\u683C",Qy="\u660E\u7EC6\u5B50\u8868",Xy="\u5730\u5740",Jy="\u91D1\u989D",Yy="\u8BA1\u7B97\u516C\u5F0F",py="\u591A\u9009",ef="\u7535\u5B50\u7B7E\u7AE0",tf="\u5355\u884C\u6587\u672C",nf="\u6570\u5B57",uf="\u4E1A\u52A1\u7EC4\u7EC7",af="\u5355\u9009",lf="\u5BCC\u6587\u672C",rf="\u8BC4\u5206",of="\u6570\u5B57\u533A\u95F4",cf="\u4E0B\u62C9\u5355\u9009",sf="\u4E0B\u62C9\u591A\u9009",df="\u5173\u8054\u5355\u9009",hf="\u591A\u884C\u6587\u672C",yf="\u6811",ff="Vue\u5BB9\u5668",vf="Vue\u9875\u9762",mf="\u5728\u7EBF\u6587\u6863",gf="\u6309\u94AE\u64CD\u4F5C\u680F",bf="\u9AD8\u7EA7\u5BB9\u5668",Cf="\u5206\u7EC4",Ef="\u6805\u683C\u5217",_f="\u6570\u636E\u5BB9\u5668",Bf="\u753B\u5E03",wf="\u6362\u884C\u5BB9\u5668",Df="\u6805\u683C\u7B49\u5206\u884C",If="\u5217\u8868\u5BB9\u5668",Af="\u81EA\u7531\u9875\u9762",Ff="\u5B9A\u4F4D\u5B50\u5BB9\u5668",Sf="\u5B9A\u4F4D\u5BB9\u5668",Tf="\u6805\u683C\u5E03\u5C40",Pf="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",Rf="\u660E\u7EC6\u5B50\u8868\u884C",kf="\u6807\u7B7E\u9875",Of="\u6807\u7B7E\u5355\u5143",xf="\u5DE5\u5177\u680F",Mf="\u6279\u91CF\u63D0\u4EA4",Lf="\u5BFC\u51FA\u8BB0\u5F55",$f="\u5217\u8868\u89C6\u56FE",Nf="\u7ED3\u675F\u65F6\u95F4",Hf="\u5F00\u59CB\u65F6\u95F4",Vf="\u5355\u4F4D",jf="\u7ED3\u679C",qf="\u5E01\u79CD",Wf="\u7ED3\u675F\u65E5\u671F",Uf="\u5F00\u59CB\u65E5\u671F",zf="\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0",Kf="\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1",Gf="\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B",Zf="\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA",Qf="\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",Xf="\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6",Jf="\u8BF7\u9009\u62E9",Yf="\u8BF7\u9009\u62E9\u7EC4\u7EC7",pf="\u8BF7\u9009\u62E9\u90E8\u95E8",ev="\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",tv="\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",nv="\u8BF7\u9009\u62E9\u5730\u5740",iv="\u5F39\u7A97\u786E\u8BA4\u65F6",uv="\u6807\u7B7E\u9875\u5207\u6362\u65F6",av="\u884C\u9009\u4E2D\u65F6",lv="\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",rv="\u884C\u5220\u9664\u524D",ov="\u884C\u70B9\u51FB\u65F6",cv="\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",sv="\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",dv="\u91CD\u547D\u540D\u65F6",hv="\u4FDD\u5B58\u6587\u4EF6\u65F6",yv="\u6253\u5F00\u6587\u4EF6\u65F6",fv="\u83B7\u53D6\u7126\u70B9\u65F6",vv="\u5931\u53BB\u7126\u70B9\u65F6",mv="\u7528\u6237\u8F93\u5165\u65F6",gv="\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",bv="\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",Cv="\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",Ev="\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",_v="\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",Bv="\u641C\u7D22\u65F6",wv="\u503C\u53D1\u751F\u53D8\u5316\u65F6",Dv="\u6267\u884C\u5B8C\u6210\u65F6",Iv="\u70B9\u51FB\u65F6",Av="\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",Fv="\u8BF7\u8F93\u5165\u65E5\u671F",Sv="\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",Tv="\u8BF7\u8F93\u5165",Pv="\u9ED8\u8BA4\u6A21\u7248",Rv="\u5DE6\u53F3\u5E03\u5C40",kv="\u4E0A\u4E0B\u5E03\u5C40",Ov="\u53EA\u8BFB",xv="\u5FC5\u586B",Mv="\u63D0\u793A\u6587\u5B57",Lv="\u9690\u85CF\u6807\u9898",$v="\u6807\u9898\u5FC5\u586B",Nv="\u7EC4\u7EC7\u5F62\u6001",Hv="\u4E1A\u52A1\u7C7B\u578B",Vv="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",jv="\u9690\u85CF",qv="\u6D41\u7A0B\u72B6\u6001",Wv="\u5BA1\u6279\u901A\u8FC7\u5355\u636E",Uv="\u5220\u9664",zv="\u7F16\u8F91",Kv="\u67E5\u770B",Gv="\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A{id}",Zv="\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF",Qv="\u5145\u6EE1\u6574\u884C",Xv="\u6700\u5C0F\u503C",Jv="\u6700\u5927\u503C",Yv="\u65B0\u5EFA\u6587\u6863",pv="\u91CD\u7F6E",em="\u67E5\u8BE2",tm="\u660E\u7EC6",nm="\u6253\u5370",im="\u4FDD\u5B58\u8349\u7A3F",um="\u4FDD\u5B58",am="\u53D6\u6D88",lm="\u4E0A\u4F20\u56FE\u7247",rm="\u53D1\u8D77\u7B7E\u7F72",om="\u4E0A\u4F20\u9644\u4EF6",cm="\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",sm="\u5F15\u7528\u5217\u8868",dm="\u9009\u9879\u4E00",hm="\u9009\u9879\u4E8C",ym="\u9009\u9879\u4E09",fm={isNotNumber:z,isNotString:Du,isNotObject:On,isNotArray:Iu,isNotBoolean:Au,runtimeRequired:kt,pleaseEnterCaption:fe,pleaseEnterCaptionTip:Ot,pleaseEnterRowCaption:pd,pleaseEnterPlaceholder:eh,pleaseEnterFieldCode:th,pleaseEnterForm:nh,pleaseEnterList:ih,pleaseEnterProcess:uh,pleaseEnterLabel:ah,pleaseEnterValue:lh,bizKeyNotBindFiled:rh,pleaseSelectOneField:oh,pleaseEnterNumberRange:ch,pleaseEnterAValueGreaterThanMin:sh,pleaseEnterAValueLessThanMax:dh,numberRangeSetError:hh,stringRangeError:yh,attachmentMaxSize:fh,pleaseEnterTotalScoreSetting:vh,theTotalScoreMustNotBeLessThan1:mh,scoreDefaultValueRange:gh,attachmentLimitError:bh,PleaseReselectTheOptionalQuantity:Ch,TheMaximumLengthIsGreaterThanTheMinimumLength:Eh,TheMinimumLengthIsGreaterThanTheMaximumLength:_h,PleaseSelectTheCorrectOptionSettings:Bh,optionIdIsRepeat:wh,optionIsRequired:Dh,pleaseEnterDataCode:Ih,pleaseEnterValueFieldCode:Ah,pleaseEnterSvcCode:Fh,pleaseBindAtLeastOneDisplayValue:Sh,pleaseSelectProvince:Th,pleaseSelectCity:Ph,pleaseSelectDistrict:Rh,limitRowsCannotBeLessThan0:kh,TheNumberOfRowsCannotBeLessThanMinRows:Oh,pleaseEnterColumnWidth:xh,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Mh,pleaseCompleteAllRulesAndConditions:Lh,pleaseSelectControl:$h,pleaseSelectAtLeastOneColumn:Nh,pleaseSelectFillBackMode:Hh,pleaseSelectDashboard:Vh,rootNodeIsRequired:jh,theViewNameCannotBeEmpty:qh,pleaseSelectOcrType:Wh,pleaseSelectAtLeastOneFieldToFillIn:Uh,pleaseChooseAtLeastOne:zh,pleaseEnterButtonContent:Kh,pleaseEnterDataCodeInDataSetting:Gh,pleaseEnterValueFieldCodeInDataSetting:Zh,pleaseEnterSvcCodeInDataSetting:Qh,pleaseBindAtLeastOneDisplayValueInDataSetting:Xh,rootNodeIsRequiredInDataSetting:Jh,pleaseEnterMaxHeight:Yh,pleaseEnterWatermark:ph,pleaseEnterFileName:ey,pleaseUploadAtLeastOnePrintTemplate:ty,pleaseAssignBusiness:ny,pleaseAssignExternal:iy,pleaseEnterAliasCode:uy,pleaseSelectDataCode:ay,pleaseSelectSvcCode:ly,pleaseSelectJoinFieldCode:ry,pleaseSelectMainFieldCode:oy,pleaseSelectSortFieldCode:cy,batchDeleteButton:sy,batchPrintListButton:dy,batchPrintRecordList:hy,button:yy,createFormListButton:fy,dashboard:vy,divider:my,exportListButton:gy,formSelectButton:by,importRecordListButton:Cy,invoiceCheckButton:Ey,link:_y,listSelectButton:By,ListViewSelect:wy,operationButton:Dy,pagination:Iy,submissionRecordListButton:Ay,text:Fy,textOcrButton:Sy,title:Ty,approvalStatusColumn:Py,array:Ry,autoNumber:ky,custom:Oy,decimal:xy,department:My,employee:Ly,file:$y,image:Ny,location:Hy,operation:Vy,order:jy,people:qy,long:Wy,timescope:Uy,timestamp:zy,varchar:Ky,gridLayoutWrap:Gy,gridTable:Zy,subTable:Qy,address:Xy,amount:Jy,calc:Yy,checkBox:py,electronicSignature:ef,input:tf,number:nf,organizationSelection:uf,radio:af,richText:lf,score:rf,searchNumberRange:of,select:cf,selectMultiple:sf,selectRelation:df,textarea:hf,tree:yf,vueFormItem:ff,vuePage:vf,WPS:mf,actionBar:gf,advancedContainer:bf,cardGroup:Cf,col:Ef,dataView:_f,grid:Bf,gridLayoutContainer:wf,gridRow:Df,listView:If,page:Af,position:Ff,positioningContainer:Sf,row:Tf,subtableColumn:Pf,subtableRow:Rf,tab:kf,tabPane:Of,toolbox:xf,batchSubmissionListButton:Mf,exportRecordListButton:Lf,listViewSelect:$f,endTime:Nf,startTime:Hf,unit:Vf,result:jf,currency:qf,endDate:Wf,startDate:Uf,pleaseSelectCompanyName:zf,pleaseSelectPhoneOrEmail:Kf,pleaseSelectSignType:Gf,pleaseSelectSigner:Zf,pleaseSelectOnlyOne:Qf,pleaseSelectSignFile:Xf,pleaseSelect:Jf,pleaseSelectOrg:Yf,pleaseSelectDept:pf,pleaseSelectEndDate:ev,pleaseSelectStartDate:tv,pleaseChooseAddress:nv,modalConfirm:iv,tabChange:uv,rowSelected:av,listDataImport:lv,rowDelete:rv,rowClick:ov,cellRender:cv,onClickBtn:sv,rename:dv,onSaveFile:hv,onOpenFile:yv,onFocus:fv,onBlur:vv,onInput:mv,listDataAdd:gv,listDataDelete:bv,listDataBack:Cv,listDataCreate:Ev,listDataChange:_v,search:Bv,valueChange:wv,finished:Dv,click:Iv,pleaseEnterNameorEmail:Av,pleaseEnterDate:Fv,pleaseEnterAutonumber:Sv,pleaseEnter:Tv,defaultTemplate:Pv,left:Rv,top:kv,default:"\u666E\u901A",readonly:Ov,required:xv,textTip:Mv,hideCaption:Lv,titleRequired:$v,organizationalForm:Nv,businessType:Hv,deleteConfirm:Vv,hide:jv,processStatus:qv,approvedDocuments:Wv,delete:Uv,edit:zv,view:Kv,loadCtrlErrorTip:Gv,loadCtrlError:Zv,fullLine:Qv,min:Xv,max:Jv,createWPS:Yv,reset:pv,query:em,detailed:tm,print:nm,draft:im,save:um,cancel:am,uploadImg:lm,signature:rm,uploadFile:om,linkContent:cm,referenceList:sm,optionOne:dm,optionTwo:hm,optionThird:ym},vm="Please enter a number",mm="Please enter a string",gm="Please enter an object",bm="Please enter an array",Cm="Please enter a boolean",Em="{caption} Required",_m="Please enter the title",Bm="Please enter the bubble prompt",wm="Please enter the row title",Dm="Please enter the prompt text",Im="Please bind data items",Am="Please bind the form",Fm="Please bind the list",Sm="Please bind the process",Tm="Please enter the displayed value",Pm="Please enter the stored value",Rm="The document number is not bound to the data item",km="Please select at least one display field",Om="Please enter a value greater than or equal to {min} and less than or equal to {max}",xm="Please enter a value greater than or equal to {min}",Mm="Please enter a value less than or equal to {max}",Lm="The value range is set incorrectly",$m="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Nm="The attachment size must be between 0MB and 1000MB",Hm="Please fill in the total score setting",Vm="The total score cannot be less than 1",jm="The default value must be between {min} and {max}",qm="The number of attachment uploads exceeds the limit",Wm="Please re-select the optional quantity",Um="The maximum length of the control must be greater than the minimum length",zm="The minimum length of the control must be less than the maximum length",Km="Please select the correct option setting",Gm="Option ID cannot be repeated",Zm="Please enter at least one option",Qm="Please bind the data source",Xm="Please bind the stored value",Jm="Please bind the service",Ym="At least one display value must be bound",pm="Please select a province",e0="Please select a city",t0="Please select a district",n0="The minimum number of lines to fill in cannot be less than 0",i0="The number of rows cannot be less than {min} rows",u0="Please enter the column width",a0="Please set the logical relationship of all rule conditions",l0="Please complete all rules and conditions",r0="please select control",o0="Please select the dashboard",c0="View name cannot be empty",s0="Please select recognition type",d0="Please select at least one field to fill in",h0="Please select at least one",y0="Please enter the button title",f0="Please bind the business model in the data settings",v0="Please bind storage values in data settings",m0="Please bind the service in the data settings",g0="Please bind at least one display value in the data settings",b0="Please select the root node in the data settings",C0="Please enter the maximum height",E0="The input content cannot be empty",_0="Watermark cannot be empty",B0="File name cannot be empty",w0="Please upload at least one printing template!\uFF01",D0="Please select a specific business department",I0="Please select a specified external organization",A0="Please enter a sub table alias",F0="Please select the associated table to set the business model",S0="Please select the association table to set the binding service",T0="Select associated sub table fields",P0="Please select the associated main table field",R0="Please select the sort field",k0="\u6279\u91CF\u5220\u9664",O0="\u6279\u91CF\u6253\u5370",x0="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",M0="\u6309\u94AE",L0="\u521B\u5EFA\u5355\u636E",$0="\u4EEA\u8868\u76D8",N0="\u5206\u5272\u7EBF",H0="\u5BFC\u51FA",V0="\u8868\u5355\u64CD\u4F5C",j0="\u5BFC\u5165",q0="\u53D1\u7968\u8BC6\u522B",W0="\u94FE\u63A5",U0="\u5217\u8868\u9009\u62E9",z0="\u5217\u8868\u89C6\u56FE",K0="\u64CD\u4F5C\u6309\u94AE",G0="\u5206\u9875",Z0="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",Q0="\u8BF4\u660E\u6587\u5B57",X0="\u6587\u5B57\u8BC6\u522B",J0="\u6807\u9898\u7EC4\u4EF6",Y0="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",p0="\u6570\u7EC4",eg="\u81EA\u52A8\u7F16\u53F7",tg="\u81EA\u5B9A\u4E49",ng="\u6570\u503C",ig="\u90E8\u95E8",ug="\u4EBA\u5458",ag="\u9644\u4EF6",lg="\u56FE\u7247",rg="\u5730\u5740",og="\u64CD\u4F5C",cg="\u5E8F\u53F7",sg="\u4EBA\u5458",dg="\u957F\u6587\u672C",hg="\u65E5\u671F\u533A\u95F4",yg="\u65E5\u671F",fg="\u77ED\u6587\u672C",vg="\u6362\u884C\u5BB9\u5668Wrap",mg="\u8868\u683C",gg="\u660E\u7EC6\u5B50\u8868",bg="\u5730\u5740",Cg="\u91D1\u989D",Eg="\u8BA1\u7B97\u516C\u5F0F",_g="\u591A\u9009",Bg="\u7535\u5B50\u7B7E\u7AE0",wg="\u5355\u884C\u6587\u672C",Dg="\u6570\u5B57",Ig="\u4E1A\u52A1\u7EC4\u7EC7",Ag="\u5355\u9009",Fg="\u5BCC\u6587\u672C",Sg="\u8BC4\u5206",Tg="\u6570\u5B57\u533A\u95F4",Pg="\u4E0B\u62C9\u5355\u9009",Rg="\u4E0B\u62C9\u591A\u9009",kg="\u5173\u8054\u5355\u9009",Og="\u591A\u884C\u6587\u672C",xg="\u6811",Mg="Vue\u5BB9\u5668",Lg="Vue\u9875\u9762",$g="\u5728\u7EBF\u6587\u6863",Ng="\u6309\u94AE\u64CD\u4F5C\u680F",Hg="\u9AD8\u7EA7\u5BB9\u5668",Vg="\u5206\u7EC4",jg="\u6805\u683C\u5217",qg="\u6570\u636E\u5BB9\u5668",Wg="\u753B\u5E03",Ug="\u6362\u884C\u5BB9\u5668",zg="\u6805\u683C\u7B49\u5206\u884C",Kg="\u5217\u8868\u5BB9\u5668",Gg="\u81EA\u7531\u9875\u9762",Zg="\u5B9A\u4F4D\u5B50\u5BB9\u5668",Qg="\u5B9A\u4F4D\u5BB9\u5668",Xg="\u6805\u683C\u5E03\u5C40",Jg="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",Yg="\u660E\u7EC6\u5B50\u8868\u884C",pg="\u6807\u7B7E\u9875",eb="\u6807\u7B7E\u5355\u5143",tb="\u5DE5\u5177\u680F",nb="\u6279\u91CF\u63D0\u4EA4",ib="\u5BFC\u51FA\u8BB0\u5F55",ub="\u5217\u8868\u89C6\u56FE",ab="\u5F15\u7528\u5217\u8868",lb="\u9009\u9879\u4E00",rb="\u9009\u9879\u4E8C",ob="\u9009\u9879\u4E09",cb={isNotNumber:vm,isNotString:mm,isNotObject:gm,isNotArray:bm,isNotBoolean:Cm,runtimeRequired:Em,pleaseEnterCaption:_m,pleaseEnterCaptionTip:Bm,pleaseEnterRowCaption:wm,pleaseEnterPlaceholder:Dm,pleaseEnterFieldCode:Im,pleaseEnterForm:Am,pleaseEnterList:Fm,pleaseEnterProcess:Sm,pleaseEnterLabel:Tm,pleaseEnterValue:Pm,bizKeyNotBindFiled:Rm,pleaseSelectOneField:km,pleaseEnterNumberRange:Om,pleaseEnterAValueGreaterThanMin:xm,pleaseEnterAValueLessThanMax:Mm,numberRangeSetError:Lm,stringRangeError:$m,attachmentMaxSize:Nm,pleaseEnterTotalScoreSetting:Hm,theTotalScoreMustNotBeLessThan1:Vm,scoreDefaultValueRange:jm,attachmentLimitError:qm,PleaseReselectTheOptionalQuantity:Wm,TheMaximumLengthIsGreaterThanTheMinimumLength:Um,TheMinimumLengthIsGreaterThanTheMaximumLength:zm,PleaseSelectTheCorrectOptionSettings:Km,optionIdIsRepeat:Gm,optionIsRequired:Zm,pleaseEnterDataCode:Qm,pleaseEnterValueFieldCode:Xm,pleaseEnterSvcCode:Jm,pleaseBindAtLeastOneDisplayValue:Ym,pleaseSelectProvince:pm,pleaseSelectCity:e0,pleaseSelectDistrict:t0,limitRowsCannotBeLessThan0:n0,TheNumberOfRowsCannotBeLessThanMinRows:i0,pleaseEnterColumnWidth:u0,pleaseSetTheLogicalRelationshipOfAllRuleConditions:a0,pleaseCompleteAllRulesAndConditions:l0,pleaseSelectControl:r0,pleaseSelectDashboard:o0,theViewNameCannotBeEmpty:c0,pleaseSelectOcrType:s0,pleaseSelectAtLeastOneFieldToFillIn:d0,pleaseChooseAtLeastOne:h0,pleaseEnterButtonContent:y0,pleaseEnterDataCodeInDataSetting:f0,pleaseEnterValueFieldCodeInDataSetting:v0,pleaseEnterSvcCodeInDataSetting:m0,pleaseBindAtLeastOneDisplayValueInDataSetting:g0,rootNodeIsRequiredInDataSetting:b0,pleaseEnterMaxHeight:C0,pleaseEnter:E0,pleaseEnterWatermark:_0,pleaseEnterFileName:B0,pleaseUploadAtLeastOnePrintTemplate:w0,pleaseAssignBusiness:D0,pleaseAssignExternal:I0,pleaseEnterAliasCode:A0,pleaseSelectDataCode:F0,pleaseSelectSvcCode:S0,pleaseSelectJoinFieldCode:T0,pleaseSelectMainFieldCode:P0,pleaseSelectSortFieldCode:R0,batchDeleteButton:k0,batchPrintListButton:O0,batchPrintRecordList:x0,button:M0,createFormListButton:L0,dashboard:$0,divider:N0,exportListButton:H0,formSelectButton:V0,importRecordListButton:j0,invoiceCheckButton:q0,link:W0,listSelectButton:U0,ListViewSelect:z0,operationButton:K0,pagination:G0,submissionRecordListButton:Z0,text:Q0,textOcrButton:X0,title:J0,approvalStatusColumn:Y0,array:p0,autoNumber:eg,custom:tg,decimal:ng,department:ig,employee:ug,file:ag,image:lg,location:rg,operation:og,order:cg,people:sg,long:dg,timescope:hg,timestamp:yg,varchar:fg,gridLayoutWrap:vg,gridTable:mg,subTable:gg,address:bg,amount:Cg,calc:Eg,checkBox:_g,electronicSignature:Bg,input:wg,number:Dg,organizationSelection:Ig,radio:Ag,richText:Fg,score:Sg,searchNumberRange:Tg,select:Pg,selectMultiple:Rg,selectRelation:kg,textarea:Og,tree:xg,vueFormItem:Mg,vuePage:Lg,WPS:$g,actionBar:Ng,advancedContainer:Hg,cardGroup:Vg,col:jg,dataView:qg,grid:Wg,gridLayoutContainer:Ug,gridRow:zg,listView:Kg,page:Gg,position:Zg,positioningContainer:Qg,row:Xg,subtableColumn:Jg,subtableRow:Yg,tab:pg,tabPane:eb,toolbox:tb,batchSubmissionListButton:nb,exportRecordListButton:ib,listViewSelect:ub,referenceList:ab,optionOne:lb,optionTwo:rb,optionThird:ob},sb="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",db="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",hb="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",yb="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",fb="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",vb="{caption}\u5FC5\u9808",mb="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",gb="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",bb="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Cb="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Eb="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",_b="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Bb="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",wb="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Db="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ib="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ab="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",Fb="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Sb="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Tb="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Pb="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Rb="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",kb="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ob="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",xb="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Mb="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Lb="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",$b="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306E\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u6570\u304C\u5236\u9650\u3092\u8D85\u3048\u3066\u3044\u307E\u3059",Nb="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Hb="\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",Vb="\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",jb="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",qb="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Wb="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Ub="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",zb="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Kb="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Gb="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",Zb="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Qb="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Xb="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Jb="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Yb="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",pb="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",eC="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",tC="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",nC="please select control",iC="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",uC="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",aC="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",lC="\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",rC="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",oC="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",cC="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",sC="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",dC="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",hC="\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",yC="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",fC="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",vC="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",mC="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",gC="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",bC="\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",CC="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",EC="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",_C="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",BC="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",wC="\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",DC="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",IC="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",AC="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",FC="\u6279\u91CF\u5220\u9664",SC="\u6279\u91CF\u6253\u5370",TC="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",PC="\u6309\u94AE",RC="\u521B\u5EFA\u5355\u636E",kC="\u4EEA\u8868\u76D8",OC="\u5206\u5272\u7EBF",xC="\u5BFC\u51FA",MC="\u8868\u5355\u64CD\u4F5C",LC="\u5BFC\u5165",$C="\u53D1\u7968\u8BC6\u522B",NC="\u94FE\u63A5",HC="\u5217\u8868\u9009\u62E9",VC="\u5217\u8868\u89C6\u56FE",jC="\u64CD\u4F5C\u6309\u94AE",qC="\u5206\u9875",WC="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",UC="\u8BF4\u660E\u6587\u5B57",zC="\u6587\u5B57\u8BC6\u522B",KC="\u6807\u9898\u7EC4\u4EF6",GC="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",ZC="\u6570\u7EC4",QC="\u81EA\u52A8\u7F16\u53F7",XC="\u81EA\u5B9A\u4E49",JC="\u6570\u503C",YC="\u90E8\u95E8",pC="\u4EBA\u5458",e5="\u9644\u4EF6",t5="\u56FE\u7247",n5="\u5730\u5740",i5="\u64CD\u4F5C",u5="\u5E8F\u53F7",a5="\u4EBA\u5458",l5="\u957F\u6587\u672C",r5="\u65E5\u671F\u533A\u95F4",o5="\u65E5\u671F",c5="\u77ED\u6587\u672C",s5="\u6362\u884C\u5BB9\u5668Wrap",d5="\u8868\u683C",h5="\u660E\u7EC6\u5B50\u8868",y5="\u5730\u5740",f5="\u91D1\u989D",v5="\u8BA1\u7B97\u516C\u5F0F",m5="\u591A\u9009",g5="\u7535\u5B50\u7B7E\u7AE0",b5="\u5355\u884C\u6587\u672C",C5="\u6570\u5B57",E5="\u4E1A\u52A1\u7EC4\u7EC7",_5="\u5355\u9009",B5="\u5BCC\u6587\u672C",w5="\u8BC4\u5206",D5="\u6570\u5B57\u533A\u95F4",I5="\u4E0B\u62C9\u5355\u9009",A5="\u4E0B\u62C9\u591A\u9009",F5="\u5173\u8054\u5355\u9009",S5="\u591A\u884C\u6587\u672C",T5="\u6811",P5="Vue\u5BB9\u5668",R5="Vue\u9875\u9762",k5="\u5728\u7EBF\u6587\u6863",O5="\u6309\u94AE\u64CD\u4F5C\u680F",x5="\u9AD8\u7EA7\u5BB9\u5668",M5="\u5206\u7EC4",L5="\u6805\u683C\u5217",$5="\u6570\u636E\u5BB9\u5668",N5="\u753B\u5E03",H5="\u6362\u884C\u5BB9\u5668",V5="\u6805\u683C\u7B49\u5206\u884C",j5="\u5217\u8868\u5BB9\u5668",q5="\u81EA\u7531\u9875\u9762",W5="\u5B9A\u4F4D\u5B50\u5BB9\u5668",U5="\u5B9A\u4F4D\u5BB9\u5668",z5="\u6805\u683C\u5E03\u5C40",K5="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",G5="\u660E\u7EC6\u5B50\u8868\u884C",Z5="\u6807\u7B7E\u9875",Q5="\u6807\u7B7E\u5355\u5143",X5="\u5DE5\u5177\u680F",J5="\u6279\u91CF\u63D0\u4EA4",Y5="\u5BFC\u51FA\u8BB0\u5F55",p5="\u5217\u8868\u89C6\u56FE",eE="\u5F15\u7528\u5217\u8868",tE="\u9009\u9879\u4E00",nE="\u9009\u9879\u4E8C",iE="\u9009\u9879\u4E09",uE={isNotNumber:sb,isNotString:db,isNotObject:hb,isNotArray:yb,isNotBoolean:fb,runtimeRequired:vb,pleaseEnterCaption:mb,pleaseEnterCaptionTip:gb,pleaseEnterRowCaption:bb,pleaseEnterPlaceholder:Cb,pleaseEnterFieldCode:Eb,pleaseEnterForm:_b,pleaseEnterList:Bb,pleaseEnterProcess:wb,pleaseEnterLabel:Db,pleaseEnterValue:Ib,bizKeyNotBindFiled:Ab,pleaseSelectOneField:Fb,pleaseEnterNumberRange:Sb,pleaseEnterAValueGreaterThanMin:Tb,pleaseEnterAValueLessThanMax:Pb,numberRangeSetError:Rb,stringRangeError:kb,attachmentMaxSize:Ob,pleaseEnterTotalScoreSetting:xb,theTotalScoreMustNotBeLessThan1:Mb,scoreDefaultValueRange:Lb,attachmentLimitError:$b,PleaseReselectTheOptionalQuantity:Nb,TheMaximumLengthIsGreaterThanTheMinimumLength:Hb,TheMinimumLengthIsGreaterThanTheMaximumLength:Vb,PleaseSelectTheCorrectOptionSettings:jb,optionIdIsRepeat:qb,optionIsRequired:Wb,pleaseEnterDataCode:Ub,pleaseEnterValueFieldCode:zb,pleaseEnterSvcCode:Kb,pleaseBindAtLeastOneDisplayValue:Gb,pleaseSelectProvince:Zb,pleaseSelectCity:Qb,pleaseSelectDistrict:Xb,limitRowsCannotBeLessThan0:Jb,TheNumberOfRowsCannotBeLessThanMinRows:Yb,pleaseEnterColumnWidth:pb,pleaseSetTheLogicalRelationshipOfAllRuleConditions:eC,pleaseCompleteAllRulesAndConditions:tC,pleaseSelectControl:nC,pleaseSelectDashboard:iC,theViewNameCannotBeEmpty:uC,pleaseSelectOcrType:aC,pleaseSelectAtLeastOneFieldToFillIn:lC,pleaseChooseAtLeastOne:rC,pleaseEnterButtonContent:oC,pleaseEnterDataCodeInDataSetting:cC,pleaseEnterValueFieldCodeInDataSetting:sC,pleaseEnterSvcCodeInDataSetting:dC,pleaseBindAtLeastOneDisplayValueInDataSetting:hC,rootNodeIsRequiredInDataSetting:yC,pleaseEnterMaxHeight:fC,pleaseEnter:vC,pleaseEnterWatermark:mC,pleaseEnterFileName:gC,pleaseUploadAtLeastOnePrintTemplate:bC,pleaseAssignBusiness:CC,pleaseAssignExternal:EC,pleaseEnterAliasCode:_C,pleaseSelectDataCode:BC,pleaseSelectSvcCode:wC,pleaseSelectJoinFieldCode:DC,pleaseSelectMainFieldCode:IC,pleaseSelectSortFieldCode:AC,batchDeleteButton:FC,batchPrintListButton:SC,batchPrintRecordList:TC,button:PC,createFormListButton:RC,dashboard:kC,divider:OC,exportListButton:xC,formSelectButton:MC,importRecordListButton:LC,invoiceCheckButton:$C,link:NC,listSelectButton:HC,ListViewSelect:VC,operationButton:jC,pagination:qC,submissionRecordListButton:WC,text:UC,textOcrButton:zC,title:KC,approvalStatusColumn:GC,array:ZC,autoNumber:QC,custom:XC,decimal:JC,department:YC,employee:pC,file:e5,image:t5,location:n5,operation:i5,order:u5,people:a5,long:l5,timescope:r5,timestamp:o5,varchar:c5,gridLayoutWrap:s5,gridTable:d5,subTable:h5,address:y5,amount:f5,calc:v5,checkBox:m5,electronicSignature:g5,input:b5,number:C5,organizationSelection:E5,radio:_5,richText:B5,score:w5,searchNumberRange:D5,select:I5,selectMultiple:A5,selectRelation:F5,textarea:S5,tree:T5,vueFormItem:P5,vuePage:R5,WPS:k5,actionBar:O5,advancedContainer:x5,cardGroup:M5,col:L5,dataView:$5,grid:N5,gridLayoutContainer:H5,gridRow:V5,listView:j5,page:q5,position:W5,positioningContainer:U5,row:z5,subtableColumn:K5,subtableRow:G5,tab:Z5,tabPane:Q5,toolbox:X5,batchSubmissionListButton:J5,exportRecordListButton:Y5,listViewSelect:p5,referenceList:eE,optionOne:tE,optionTwo:nE,optionThird:iE},Fu={zhCN:fm,enUS:cb,jaJP:uE},Su,aE=(Su=window.localStorage.getItem("locale"))!==null&&Su!==void 0?Su:"zh-CN",xn=function(t){return t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search",t}({}),I=function(t){return t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.BATCH_DELETE_LIST_BUTTON="list-page-btn-batch-delete",t.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",t.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",t.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",t.EXPORT_LIST_BUTTON="list-page-btn-export-list",t.LIST_SELECT_BUTTON="list-select-button",t.ORGANIZATION_SELECTION="organization-selection",t.FORM_SELECT_BUTTON="form-select-button",t.LIST_VIEW_SELECT="list-view-select",t.TEXT_OCR_BUTTON="text-ocr-button",t.INVOICE_CHECK_BUTTON="invoice-check-button",t.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",t.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",t.COMMENT="comment",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.GROUP_COLUMN="group-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.TIME_PICKER="time-picker",t.TIME_RANGE="time-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.TABLE_LAYOUT="table-layout",t.TABLE_LAYOUT_ROW="table-layout-row",t.TABLE_LAYOUT_COL="table-layout-col",t.TABLE_LAYOUT_WRAPPER="table-layout-wrapper",t.COLLAPSE="collapse",t.COLLAPSE_PANE="collapse-pane",t.SUBTABLE="subtable",t.GRID_TABLE="grid-table",t.SIMPLE_SEARCH="simple-search",t.PAGINATION="pagination",t.CHECKBOX_IMAGE="checkbox-image",t.DASHBOARD="dashboard",t.TREE="tree",t.EMPLOYEE2="employee2",t.DEPARTMENT2="department2",t.GRID_LAYOUT_WRAP="grid-layout-wrap",t.VUE_PAGE="vue-page",t.REFERENCE_LIST="reference-list",t.STEP="step",t.STEP_PANE="step-pane",t}({}),C=function(t){return t.VARCHAR="varchar",t.TEXT="text",t.ARRAY="array",t.ADDRESS="location",t.DECIMAL="decimal",t.DECIMAL_RANGE="decimal_range",t.TIMESTAMP="timestamp",t.EMPLOYEES="people",t.DEPARTMENTS="department",t.MONEY="money",t.TIMESCOPE="timescope",t.FILE="file",t.IMAGE="image",t.AUTO_NUMBER="auto_number",t.CALC="calc",t.LIST="list",t.JSON="json",t.ANY="ANY",t}({}),ut=function(t){return t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime",t.CUSTOM="custom",t}({}),lr={DEFAULT:"default"},rr="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",lE=rr+"0123456789";function oe(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?rr:lE,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function Tu(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 rE(t){if(Array.isArray(t))return Tu(t)}function oE(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function or(t,e,n){return e=xt(e),hE(t,Ru()?Reflect.construct(e,n||[],xt(t).constructor):e.apply(t,n))}function cr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Mn(t,e,n){return Ru()?Mn=Reflect.construct:Mn=function(u,a,l){var o=[null];o.push.apply(o,a);var d=Function.bind.apply(u,o),s=new d;return l&&Mt(s,l.prototype),s},Mn.apply(null,arguments)}function xt(t){return xt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xt(t)}function sr(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&&Mt(t,e)}function cE(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function sE(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function dE(){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 hE(t,e){return e&&(yE(e)==="object"||typeof e=="function")?e:oE(t)}function Mt(t,e){return Mt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Mt(t,e)}function dr(t){return rE(t)||sE(t)||fE(t)||dE()}function yE(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function fE(t,e){if(!!t){if(typeof t=="string")return Tu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Tu(t,e)}}function Pu(t){var e=typeof Map=="function"?new Map:void 0;return Pu=function(i){if(i===null||!cE(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return Mn(i,arguments,xt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Mt(u,i)},Pu(t)}function Ru(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ru=function(){return!!t})()}var ku=console;function Ou(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i,u=e.slice(1);(i=ku).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(dr(u)))}function hr(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i,u=e.slice(1);(i=ku).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(dr(u)))}function vE(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var xu=function(t){sr(e,t);function e(n){cr(this,e);var i;return i=or(this,e,[n]),i.name="\u{1F4A5} Driven Error",i.message=n?vE(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",i}return e}(Pu(Error)),mE=function(t){sr(e,t);function e(n){cr(this,e);var i;return i=or(this,e,[n]),i.name="\u{1F6A8} Driven Reference Error",i}return e}(xu);function Lt(t){throw new xu(t)}function yr(t){throw new mE(t)}function gE(t){ku.error(new xu(t))}function bE(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function fr(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 CE(t,e,n){return e&&fr(t.prototype,e),n&&fr(t,n),t}function EE(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var vr=function(){function t(){bE(this,t)}return CE(t,null,[{key:"getMessage",value:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u;return r("CMD."+n,i,Fu==null||(u=Fu[aE.split("-").join("")])===null||u===void 0?void 0:u[n])}},{key:"resetI18n",value:function(){}},{key:"setLocale",value:function(n,i){}}]),t}();EE(vr,"$i18n",vr.resetI18n());function _E(t,e,n){var i=e.replace(/\[(\d)]/g,function(a,l){return"."+l}).split("."),u=!1;return i.reduce(function(a,l,o,d){var s=a;if(!!a){if(!Object.prototype.hasOwnProperty.call(a,l)){Ou("Can not set ".concat(e,"'s ").concat(l," property in current %o, Because there is no ").concat(l," property on the %o"),a,a);return}return o===d.length-1&&!Object.is(s[l],n)&&(s[l]=n,u=!0),s[l]}},t),u}var BE=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},wE={exports:{}};(function(t){(function(e){var n=function(m,B,S){if(!s(B)||v(B)||g(B)||E(B)||d(B))return B;var O,$=0,ue=0;if(h(B))for(O=[],ue=B.length;$<ue;$++)O.push(n(m,B[$],S));else{O={};for(var N in B)Object.prototype.hasOwnProperty.call(B,N)&&(O[m(N,S)]=n(m,B[N],S))}return O},i=function(m,B){B=B||{};var S=B.separator||"_",O=B.split||/(?=[A-Z])/;return m.split(O).join(S)},u=function(m){return _(m)?m:(m=m.replace(/[\-_\s]+(.)?/g,function(B,S){return S?S.toUpperCase():""}),m.substr(0,1).toLowerCase()+m.substr(1))},a=function(m){var B=u(m);return B.substr(0,1).toUpperCase()+B.substr(1)},l=function(m,B){return i(m,B).toLowerCase()},o=Object.prototype.toString,d=function(m){return typeof m=="function"},s=function(m){return m===Object(m)},h=function(m){return o.call(m)=="[object Array]"},v=function(m){return o.call(m)=="[object Date]"},g=function(m){return o.call(m)=="[object RegExp]"},E=function(m){return o.call(m)=="[object Boolean]"},_=function(m){return m=m-0,m===m},b=function(m,B){var S=B&&"process"in B?B.process:B;return typeof S!="function"?m:function(O,$){return S(O,m,$)}},w={camelize:u,decamelize:l,pascalize:a,depascalize:l,camelizeKeys:function(m,B){return n(b(u,B),m)},decamelizeKeys:function(m,B){return n(b(l,B),m,B)},pascalizeKeys:function(m,B){return n(b(a,B),m)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=w:e.humps=w})(BE)})(wE);var mr={};Object.defineProperty(mr,"__esModule",{value:!0});function Mu(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:Mu(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:Mu(i)}return e}}var DE=mr.default=Mu;function IE(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ce(t){if(t!==void 0)return(typeof t=="undefined"?"undefined":IE(t))==="object"?DE(t):t}function AE(t){return Object.prototype.toString.call(t)==="[object Object]"}function Ln(t){return Array.isArray(t)}function FE(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Lu(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 SE(t){if(Array.isArray(t))return Lu(t)}function gr(t,e,n,i,u,a,l){try{var o=t[a](l),d=o.value}catch(s){n(s);return}o.done?e(d):Promise.resolve(d).then(i,u)}function TE(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(d){gr(a,i,u,l,o,"next",d)}function o(d){gr(a,i,u,l,o,"throw",d)}l(void 0)})}}function PE(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function br(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 RE(t,e,n){return e&&br(t.prototype,e),n&&br(t,n),t}function Cr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function kE(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function OE(){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 $u(t){return SE(t)||kE(t)||xE(t)||OE()}function xE(t,e){if(!!t){if(typeof t=="string")return Lu(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 Lu(t,e)}}function ME(t,e){var n,i,u,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},l=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return l.next=o(0),l.throw=o(1),l.return=o(2),typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function o(s){return function(h){return d([s,h])}}function d(s){if(n)throw new TypeError("Generator is already executing.");for(;l&&(l=0,s[0]&&(a=0)),a;)try{if(n=1,i&&(u=s[0]&2?i.return:s[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,s[1])).done)return u;switch(i=0,u&&(s=[s[0]&2,u.value]),s[0]){case 0:case 1:u=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,i=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(s[0]===6||s[0]===2)){a=0;continue}if(s[0]===3&&(!u||s[1]>u[0]&&s[1]<u[3])){a.label=s[1];break}if(s[0]===6&&a.label<u[1]){a.label=u[1],u=s;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(s);break}u[2]&&a.ops.pop(),a.trys.pop();continue}s=e.call(t,a)}catch(h){s=[6,h],i=0}finally{n=u=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}var LE=function(){function t(){PE(this,t),Cr(this,"_events",new Map),Cr(this,"debug",!1)}return RE(t,[{key:"emit",value:function(n){for(var i=arguments.length,u=new Array(i>1?i-1:0),a=1;a<i;a++)u[a-1]=arguments[a];return TE(function(){var l,o,d,s,h,v,g,E,_,b,w,m;return ME(this,function(B){switch(B.label){case 0:if(l=this._events.get(n),o=[],!l)return[3,10];d=l.slice(),s=!0,h=!1,v=void 0,B.label=1;case 1:B.trys.push([1,8,9,10]),g=d[Symbol.iterator](),B.label=2;case 2:if(s=(E=g.next()).done)return[3,7];if(_=E.value,!l.includes(_))return[3,6];B.label=3;case 3:return B.trys.push([3,5,,6]),this.debug&&hr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(_.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+_.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"\u3002")].concat($u(u))),[4,_.apply(null,$u(u))];case 4:return b=B.sent(),this.debug&&hr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(_.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+_.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat($u(u),[b])),o.push(b),b===!1?[3,7]:[3,6];case 5:return w=B.sent(),gE(String(w)+":"+String(w.stack)),[3,6];case 6:return s=!0,[3,2];case 7:return[3,10];case 8:return m=B.sent(),h=!0,v=m,[3,10];case 9:try{!s&&g.return!=null&&g.return()}finally{if(h)throw v}return[7];case 10:return[2,o]}})}).call(this)}},{key:"on",value:function(n,i){if(this._events.has(n)){var u;(u=this._events.get(n))===null||u===void 0||u.push(i)}else this._events.set(n,[i])}},{key:"off",value:function(n,i){if(this._events.has(n)){var u=this._events.get(n),a=u==null?void 0:u.indexOf(i);u==null||u.splice(a,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),t}();function $E(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Er(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 NE(t,e,n){return e&&Er(t.prototype,e),n&&Er(t,n),t}function HE(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var VE=[{key:"on_click",name:r("CMD.click",null,"\u70B9\u51FB\u65F6"),code:"click"},{key:"on_click_finish",name:r("CMD.finished",null,"\u6267\u884C\u5B8C\u6210\u65F6"),code:"click-finish"},{key:"on_change",name:r("CMD.valueChange",null,"\u503C\u53D1\u751F\u53D8\u5316\u65F6"),code:"change"},{key:"on_search",name:r("CMD.search",null,"\u641C\u7D22\u65F6"),code:"search"},{key:"on_file_actions",name:r("CMD.onClickFileBtn",null,"\u70B9\u51FB\u6587\u4EF6\u6309\u94AE\u65F6"),code:"file-actions"},{key:"on_list_change",name:r("CMD.listDataChange",null,"\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6"),code:"list-change"},{key:"on_list_search",name:r("CMD.listDataCreate",null,"\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6"),code:"list-search"},{key:"on_list_mounted",name:r("CMD.listDataBack",null,"\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6"),code:"list-mounted"},{key:"on_list_delete",name:r("CMD.listDataDelete",null,"\u5217\u8868\u6570\u636E\u5220\u9664\u65F6"),code:"list-delete"},{key:"on_list_before_insert",name:r("CMD.listDataAdd",null,"\u5217\u8868\u6570\u636E\u63D2\u5165\u524D"),code:"list-before-insert"},{key:"on_input",name:r("CMD.onInput",null,"\u7528\u6237\u8F93\u5165\u65F6"),code:"input"},{key:"on_blur",name:r("CMD.onBlur",null,"\u5931\u53BB\u7126\u70B9\u65F6"),code:"blur"},{key:"on_focus",name:r("CMD.onFocus",null,"\u83B7\u53D6\u7126\u70B9\u65F6"),code:"focus"},{key:"on_wps_open",name:r("CMD.onOpenFile",null,"\u6253\u5F00\u6587\u4EF6\u65F6"),code:"wps-open"},{key:"on_wps_save",name:r("CMD.onSaveFile",null,"\u4FDD\u5B58\u6587\u4EF6\u65F6"),code:"wps-save"},{key:"on_wps_rename",name:r("CMD.rename",null,"\u91CD\u547D\u540D\u65F6"),code:"wps-rename"},{key:"on_list_actions",name:r("CMD.onClickBtn",null,"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6"),code:"list-actions"},{key:"on_list_render_operation",name:r("CMD.cellRender",null,"\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6"),code:"list-render-operation"},{key:"on_list_rowclick",name:r("CMD.rowClick",null,"\u884C\u70B9\u51FB\u65F6"),code:"list-rowclick"},{key:"on_list_before_rowdelete",name:r("CMD.rowDelete",null,"\u884C\u5220\u9664\u524D"),code:"list-before-rowdelete"},{key:"on_list_before_import",name:r("CMD.listDataImport",null,"\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D"),code:"list-before-import"},{key:"on_list_rows_checked",name:r("CMD.rowSelected",null,"\u884C\u9009\u4E2D\u65F6"),code:"list-rows-checked"},{key:"on_change_tab",name:r("CMD.tabChange",null,"\u6807\u7B7E\u9875\u5207\u6362\u65F6"),code:"change-tab"},{key:"on_modal_ok",name:r("CMD.modalConfirm",null,"\u5F39\u7A97\u786E\u8BA4\u65F6"),code:"modal-ok"},{key:"on_change_steps",name:r("CMD.stepsChange",null,"\u6B65\u9AA4\u5207\u6362\u65F6"),code:"change-steps"},{key:"on_option_selected",name:r("CMD.optionSelected",null,"DOM\u70B9\u51FBoption\u4E8B\u4EF6"),code:"option_selected"}],jE=function(){function t(){$E(this,t)}return NE(t,null,[{key:"getEventsFromKeys",value:function(n){var i=typeof n=="string"?[n]:n;return t.events.filter(function(u){return i.includes(u.key)})}},{key:"getEventsFromControl",value:function(n){var i=[],u=n.eventKeys;i=i.concat(t.events.filter(function(l){return u.includes(l.key)}));var a=n.customEvents.map(function(l){var o=l.key;return l.namespace!==void 0&&l.namespace!==null&&l.namespace!==""&&(o=l.namespace+":"+l.key),{key:o,code:l.key,name:l.name}});return i=i.concat(a),i}}]),t}();HE(jE,"events",VE);function Nu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function qE(t){if(Array.isArray(t))return Nu(t)}function WE(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function UE(){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 _r(t){return qE(t)||WE(t)||zE(t)||UE()}function zE(t,e){if(!!t){if(typeof t=="string")return Nu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Nu(t,e)}}function Hu(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function Br(t,e,n){n!=="Runtime"&&(t.parent=e,Hu(t,"parent"))}function KE(t,e,n){t.forEach(function(i){Br(i,e,n)})}var wr=Symbol("targetKey");function Dr(t){var e;return(e=t[wr])!==null&&e!==void 0?e:t}function Ir(t,e,n){return KE(t,e,n),new Proxy(t,{get:function(u,a){for(var l=arguments.length,o=new Array(l>2?l-2:0),d=2;d<l;d++)o[d-2]=arguments[d];var s;return a===wr?u:(s=Reflect).get.apply(s,[u,a].concat(_r(o)))},set:function(u,a,l){for(var o=arguments.length,d=new Array(o>3?o-3:0),s=3;s<o;s++)d[s-3]=arguments[s];var h;if(Ln(t)&&a==="length"&&l===t.length)return!0;var v=(h=Reflect).set.apply(h,[u,a,l].concat(_r(d)));return AE(l)&&Br(l,e,n),v}})}function se(t,e,n,i,u){var a=i!=null?i:t,l=Ir(Dr(n!=null?n:[]),a,u);Object.defineProperty(t,e,{get:function(){return l},set:function(d){l=Ir(Dr(d),a,u)},enumerable:!0})}function GE(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ar(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 ZE(t,e,n){return e&&Ar(t.prototype,e),n&&Ar(t,n),t}function we(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Fr=[],$n=function(){function t(e){GE(this,t),we(this,"registeredControlTypes",new Set),we(this,"controlConfigMap",new Map),we(this,"_controls",[]),we(this,"_type",void 0),this._type=e,this._initControls(e)}return ZE(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__||Lt("".concat(n.name," is not a Control"));var i=this._controls.findIndex(function(u){return u.controlType===n.controlType});return i>-1&&(Ou("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===xn.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===xn.FORM}},{key:"isListControl",value:function(n){return n.controlType===xn.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===xn.COLUMN}},{key:"createControl",value:function(n,i){var u=this;if(Array.isArray(n))return n.map(function(h){return u.createControl(h,i)});if(n.children&&(n.children=n.children.map(function(h){return u.createControl(h,i)})),this.isListControl(n)){var a=n.props;a.headers&&(a.headers=a.headers.map(function(h){return u.createControl(h,i)}))}var l=this.getControlFormType(n.type);if(l){var o=n;if(typeof i=="function"){var d=i(o);d&&(o=d)}var s;return l.mode==="Runtime"?(s=o,s.fieldType=l.controlFieldType,this._setParentPrototypeToSchema(s,this)):s=new l(o),s}else Lt("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}}),Hu(n,"parent")}},{key:"_setParentPrototypeToSchema",value:function(n,i){i._type==="Runtime"&&(Object.defineProperty(n,"parent",{configurable:!0,get:function(){var a=n.id,l=i._controlParentIdMap,o=i.instanceMap;if(!(!l||!o)){var d=l[a],s=o[a];if(!(!d&&!s)){var h=s.findIndex(function(E){return E==n}),v=o[d]||[],g;return v.length!==s.length?g=v[0]:g=v[h],g}}}}),Hu(n,"parent"))}},{key:"createControlInstance",value:function(n,i){var u=this.getControlFormType(n);if(u)return new u(i)}},{key:"getControlFormType",value:function(n){return this._controls.find(function(i){return i.controlType===n})}},{key:"_initControls",value:function(n){var i=this;this.constructor.staticControls.forEach(function(u){i.register(u[n]),t.staticControlsRuntimeRules.set(u.Runtime.controlType,u.Property.RuntimeRules),u.Property.mode=n})}}],[{key:"staticGetRules",value:function(n,i){var u=t.staticControlsRuntimeRules.get(n),a=[];if(u){var l=new u(i);a=Array.from(l)}return a}},{key:"register",value:function(n,i){var u=n.Designer,a=n.Runtime,l=n.Property;(!u||!a||!u.__is_control__||!a.__is_control__)&&Lt("".concat(n," is can't register as a Control"));var o=this.staticControls.findIndex(function(d){return d.Designer.controlType===u.controlType});return o>-1&&(Ou("The ".concat(u.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(o,1)),this.staticRegisteredTypes.add(u.controlType),this.staticControls.push(n),l.mode=i,this}}]),t}();we($n,"staticControlsRuntimeRules",new Map),we($n,"staticControls",Fr),we($n,"staticRegisteredTypes",new Set(Fr.map(function(t){return t.Designer.controlType}))),we($n,"staticRegisteredConfigs",new Map);function QE(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function le(t,e,n){return e=Nn(e),XE(t,Sr()?Reflect.construct(e,n||[],Nn(t).constructor):e.apply(t,n))}function D(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 Nn(t){return Nn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nn(t)}function re(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Vu(t,e)}function XE(t,e){return e&&(JE(e)==="object"||typeof e=="function")?e:QE(t)}function Vu(t,e){return Vu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Vu(t,e)}function JE(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Sr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Sr=function(){return!!t})()}var he=function t(e){D(this,t),y(this,"dataCode",void 0),y(this,"fieldCode",void 0),y(this,"fieldType",void 0),y(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 u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"",this.aliasCode=e==null?void 0:e.aliasCode},Tr=function t(e){D(this,t),y(this,"minWidth",void 0),y(this,"maxWidth",void 0),y(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},Pr=function t(e){D(this,t),y(this,"rowHeightType",void 0),y(this,"minRows",void 0),y(this,"maxRows",void 0),y(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 u;this.maxRows=(u=e==null?void 0:e.maxRows)!==null&&u!==void 0?u:20;var a;this.fiexdRow=(a=e==null?void 0:e.fiexdRow)!==null&&a!==void 0?a:4},YE=function t(e){D(this,t),y(this,"pc",void 0),y(this,"mobile",void 0),this.pc=new Pr(e==null?void 0:e.pc),this.mobile=new Pr(e==null?void 0:e.mobile)},ju=function(t){re(e,t);function e(n){D(this,e);var i;i=le(this,e,[n]),y(i,"width",void 0),y(i,"widthType",void 0);var u;i.width=(u=n==null?void 0:n.width)!==null&&u!==void 0?u:240;var a;return i.widthType=(a=n==null?void 0:n.widthType)!==null&&a!==void 0?a:"auto",i}return e}(Tr),pE=function t(e){D(this,t),y(this,"pc",void 0),y(this,"mobile",void 0),this.pc=new ju(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new ju(e==null?void 0:e.mobile):new ju({width:130,minWidth:180})},e_=function t(e){D(this,t),y(this,"type",void 0),y(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:[]},at=function t(e){D(this,t),y(this,"dataCode",void 0),y(this,"formKey",void 0),y(this,"appId",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.formKey=(i=e==null?void 0:e.formKey)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:""},t_=function(t){re(e,t);function e(n){D(this,e);var i;i=le(this,e,[n]),y(i,"primaryControlId",void 0);var u;return i.primaryControlId=(u=n==null?void 0:n.primaryControlId)!==null&&u!==void 0?u:"",i}return e}(at),Rr=function t(e){D(this,t),y(this,"fieldCode",void 0),y(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:""},qu=function t(e){D(this,t);var n;y(this,"appId",void 0),y(this,"formKey",void 0),y(this,"headers",void 0);var i;this.appId=(i=e==null?void 0:e.appId)!==null&&i!==void 0?i:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(l){return new Rr(l)}))!==null&&a!==void 0?a:[]},n_=function t(e){D(this,t),y(this,"fieldName",void 0),y(this,"fieldCode",void 0),y(this,"fieldType",void 0);var n;this.fieldName=(n=e==null?void 0:e.fieldName)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:C.VARCHAR},i_=function(t){re(e,t);function e(n){D(this,e);var i;i=le(this,e,[n]),y(i,"title",void 0),y(i,"svcCode",void 0),y(i,"isOpenFilter",void 0),y(i,"filters",void 0);var u;i.title=(u=n==null?void 0:n.title)!==null&&u!==void 0?u:"";var a;i.svcCode=(a=n==null?void 0:n.svcCode)!==null&&a!==void 0?a:"";var l;i.isOpenFilter=(l=n==null?void 0:n.isOpenFilter)!==null&&l!==void 0?l:!1;var o;return i.filters=(o=n==null?void 0:n.filters)!==null&&o!==void 0?o:[],i}return e}(at),u_=function t(e){D(this,t);var n,i;y(this,"type","sublist-page"),y(this,"formBind",void 0),y(this,"displayFields",void 0),y(this,"sublists",void 0),this.formBind=new at(e==null?void 0:e.formBind);var u;this.displayFields=(u=e==null||(n=e.displayFields)===null||n===void 0?void 0:n.map(function(l){return new n_(l)}))!==null&&u!==void 0?u:[];var a;this.sublists=(a=e==null||(i=e.sublists)===null||i===void 0?void 0:i.map(function(l){return new i_(l)}))!==null&&a!==void 0?a:[]},a_=function t(e){D(this,t),y(this,"type",void 0),y(this,"value",void 0),y(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},De=function t(e){D(this,t),y(this,"type",void 0),y(this,"value",void 0),y(this,"displayBos",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"custom";var i;this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:[];var u;this.displayBos=(u=e==null?void 0:e.displayBos)!==null&&u!==void 0?u:[]},Wu=function t(e){var n=this;D(this,t),y(this,"id",void 0),y(this,"ruleId",void 0),y(this,"type","conditions"),y(this,"level",void 0),y(this,"value",void 0),y(this,"children",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:oe();var u;this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf();var a;this.level=(a=e==null?void 0:e.level)!==null&&a!==void 0?a:0;var 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(o){if(o.children!==void 0){var d,s=new t(o);(d=n.children)===null||d===void 0||d.push(s)}else{var h,v=new Hn(o);(h=n.children)===null||h===void 0||h.push(v)}}))},Hn=function t(e){D(this,t),y(this,"id",void 0),y(this,"ruleId",void 0),y(this,"type","condition"),y(this,"symbol",void 0),y(this,"checked",void 0),y(this,"describe",void 0),y(this,"leftVariableBo",void 0),y(this,"rightVariableBo",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:oe();var i;this.ruleId=(i=e==null?void 0:e.ruleId)!==null&&i!==void 0?i:new Date().valueOf();var u;this.symbol=(u=e==null?void 0:e.symbol)!==null&&u!==void 0?u:"";var a;this.checked=(a=e==null?void 0:e.checked)!==null&&a!==void 0?a:!1;var l;this.describe=(l=e==null?void 0:e.describe)!==null&&l!==void 0?l:"",this.leftVariableBo=new a_(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new De(e==null?void 0:e.rightVariableBo)},l_=function t(e){D(this,t),y(this,"aliasCode",void 0),y(this,"datasourceBind",void 0),y(this,"relationFields",void 0);var n;this.aliasCode=(n=e==null?void 0:e.aliasCode)!==null&&n!==void 0?n:"",this.datasourceBind=new Q(e==null?void 0:e.datasourceBind);var i;this.relationFields=(i=e==null?void 0:e.relationFields)!==null&&i!==void 0?i:[]},p=function t(e){D(this,t),y(this,"controlId",void 0),y(this,"fieldCode",void 0),y(this,"fieldType",void 0),y(this,"propName",void 0);var n;this.controlId=(n=e==null?void 0:e.controlId)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"";var a;this.propName=(a=e==null?void 0:e.propName)!==null&&a!==void 0?a:""},Uu=function t(e){D(this,t),y(this,"type",void 0),y(this,"value",void 0),y(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},r_=function t(e){D(this,t),y(this,"columnName",void 0),y(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 zu(t){var e,n,i,u;this.filters=(u=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(o){return o.children!==void 0?new Wu(o):new Hn(o)}))!==null&&u!==void 0?u:[];var a;this.viewFilters=(a=t==null||(n=t.viewFilters)===null||n===void 0?void 0:n.map(function(o){return o.children!==void 0?new Wu(o):new Hn(o)}))!==null&&a!==void 0?a:[];var l;this.orders=(l=t==null||(i=t.orders)===null||i===void 0?void 0:i.map(function(o){return new r_(o)}))!==null&&l!==void 0?l:[]}var Q=function t(e){var n=this;D(this,t),y(this,"dataCode",void 0),y(this,"valueFieldCode",void 0),y(this,"displayBoList",void 0),y(this,"keywordMapping",void 0),y(this,"svcCode",void 0),y(this,"appId",void 0),y(this,"filters",void 0),y(this,"viewFilters",void 0),y(this,"isOpenViewFilters",void 0),y(this,"orders",void 0),y(this,"showOrder",void 0),y(this,"assignDepartment",void 0),y(this,"openAssignDepartment",void 0);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.valueFieldCode=(a=e==null?void 0:e.valueFieldCode)!==null&&a!==void 0?a:"",this.displayBoList=[];var 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(v){var g;(g=n.displayBoList)===null||g===void 0||g.push(new Uu(v))}));var o;this.keywordMapping=(o=e==null?void 0:e.keywordMapping)!==null&&o!==void 0?o:"";var d;this.showOrder=(d=e==null?void 0:e.showOrder)!==null&&d!==void 0?d:!0;var s;this.svcCode=(s=e==null?void 0:e.svcCode)!==null&&s!==void 0?s:"",this.assignDepartment=new De(e==null?void 0:e.assignDepartment);var h;this.openAssignDepartment=(h=e==null?void 0:e.openAssignDepartment)!==null&&h!==void 0?h:!1,zu.call(this,e)},Ku=function t(e){D(this,t),y(this,"dataCode",void 0),y(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:[]},ve=function t(e){D(this,t),y(this,"code",void 0),y(this,"color",void 0),y(this,"command",void 0),y(this,"confirmMessage",void 0),y(this,"defaultState",void 0),y(this,"formKey",void 0),y(this,"formType",void 0),y(this,"icon",void 0),y(this,"needConfirm",void 0),y(this,"openType",void 0),y(this,"priorityProcess",void 0);var n;this.code=(n=e==null?void 0:e.code)!==null&&n!==void 0?n:"view";var i;this.color=(i=e==null?void 0:e.color)!==null&&i!==void 0?i:"primary";var u;this.command=(u=e==null?void 0:e.command)!==null&&u!==void 0?u:"view";var a;this.confirmMessage=(a=e==null?void 0:e.confirmMessage)!==null&&a!==void 0?a:void 0;var l;this.defaultState=(l=e==null?void 0:e.defaultState)!==null&&l!==void 0?l:"default";var o;this.formKey=(o=e==null?void 0:e.formKey)!==null&&o!==void 0?o:void 0,this.formType=e==null?void 0:e.formType;var d;this.icon=(d=e==null?void 0:e.icon)!==null&&d!==void 0?d:"iconliulan1";var s;this.needConfirm=(s=e==null?void 0:e.needConfirm)!==null&&s!==void 0?s:!1;var h;this.openType=(h=e==null?void 0:e.openType)!==null&&h!==void 0?h:"modal";var v;this.priorityProcess=(v=e==null?void 0:e.priorityProcess)!==null&&v!==void 0?v:!0},kr=function t(e){D(this,t);var n;y(this,"name",void 0),y(this,"key",void 0),y(this,"value",void 0);var i;this.name=(i=e==null?void 0:e.name)!==null&&i!==void 0?i:"";var u;this.key=(u=e==null?void 0:e.key)!==null&&u!==void 0?u:"";var a;this.value=(a=e==null||(n=e.value)===null||n===void 0?void 0:n.map(function(l){return new Uu(l)}))!==null&&a!==void 0?a:[]},Vn=function(t){re(e,t);function e(n){D(this,e);var i,u;i=le(this,e,[n]),y(i,"attributes",void 0);var a;return i.attributes=(a=n==null||(u=n.attributes)===null||u===void 0?void 0:u.map(function(l){return new kr(l)}))!==null&&a!==void 0?a:[],i}return e}(Q),o_=function(t){re(e,t);function e(n){D(this,e);var i,u;i=le(this,e,[n]),y(i,"attributes",void 0),y(i,"formCode",void 0);var a;i.attributes=(a=n==null||(u=n.attributes)===null||u===void 0?void 0:u.map(function(o){return new kr(o)}))!==null&&a!==void 0?a:[];var l;return i.formCode=(l=n==null?void 0:n.formCode)!==null&&l!==void 0?l:"",i}return e}(Q),jn=function(t){re(e,t);function e(n){D(this,e);var i;i=le(this,e,[n]),y(i,"rootNode",void 0),y(i,"filterCode",void 0),i.rootNode=new De(n==null?void 0:n.rootNode);var u;return i.filterCode=(u=n==null?void 0:n.filterCode)!==null&&u!==void 0?u:"",i}return e}(Vn),Or=function t(e){D(this,t);var n;y(this,"dataCode",void 0),y(this,"appId",void 0),y(this,"fillList",void 0);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.fillList=(a=e==null||(n=e.fillList)===null||n===void 0?void 0:n.map(function(l){return new p(l)}))!==null&&a!==void 0?a:[]},xr=function(t){re(e,t);function e(n){D(this,e);var i;return i=le(this,e,[n]),y(i,"filters",void 0),y(i,"viewFilters",void 0),y(i,"orders",void 0),zu.call(i,n),i}return e}(Or),Mr=function(t){re(e,t);function e(n){D(this,e);var i;i=le(this,e,[n]),y(i,"mode",void 0),y(i,"multiple",void 0);var u;i.mode=(u=n==null?void 0:n.mode)!==null&&u!==void 0?u:"current";var a;return i.multiple=(a=n==null?void 0:n.multiple)!==null&&a!==void 0?a:!1,i}return e}(Or),Lr=function t(e){D(this,t),y(this,"stencilName",void 0),y(this,"expression",void 0),y(this,"errMessage",void 0);var n;this.stencilName=(n=e==null?void 0:e.stencilName)!==null&&n!==void 0?n:"";var i;this.expression=(i=e==null?void 0:e.expression)!==null&&i!==void 0?i:"";var u;this.errMessage=(u=e==null?void 0:e.errMessage)!==null&&u!==void 0?u:""},$r=function t(e){D(this,t),y(this,"id",void 0),y(this,"label",void 0),y(this,"value",void 0),y(this,"color",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:oe(8);var i;this.label=(i=e==null?void 0:e.label)!==null&&i!==void 0?i:"";var u;this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:this.label;var a;this.color=(a=e==null?void 0:e.color)!==null&&a!==void 0?a:""},c_=function(t){re(e,t);function e(n){D(this,e);var i;i=le(this,e,[n]),y(i,"cueWord",void 0),y(i,"checked",void 0);var u;i.cueWord=(u=n==null?void 0:n.cueWord)!==null&&u!==void 0?u:"";var a;return i.checked=(a=n==null?void 0:n.checked)!==null&&a!==void 0?a:!1,i}return e}($r);function me(t){var e;return(e=t==null?void 0:t.map(function(n){return new $r(n)}))!==null&&e!==void 0?e:[]}function Nr(t){var e;return(e=t==null?void 0:t.map(function(n){return new c_(n)}))!==null&&e!==void 0?e:[]}var Gu=function t(){D(this,t)},s_=function(t){re(e,t);function e(n){D(this,e);var i;return i=le(this,e),y(i,"amount",void 0),y(i,"currency",void 0),i.amount=new he(n==null?void 0:n.amount),i.currency=new he(n==null?void 0:n.currency),i}return e}(Gu),d_=function t(e){D(this,t),y(this,"amount",void 0),y(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"},Hr=function(t){re(e,t);function e(n){D(this,e);var i;return i=le(this,e),y(i,"min",void 0),y(i,"max",void 0),i.min=new he(n==null?void 0:n.min),i.max=new he(n==null?void 0:n.max),i}return e}(Gu),Vr=function t(e){D(this,t),y(this,"min",void 0),y(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:""},h_=function t(e){D(this,t),y(this,"city",void 0),y(this,"cityDisplay",void 0),y(this,"district",void 0),y(this,"districtDisplay",void 0),y(this,"province",void 0),y(this,"provinceDisplay",void 0);var n;this.city=(n=e==null?void 0:e.city)!==null&&n!==void 0?n:"";var i;this.cityDisplay=(i=e==null?void 0:e.cityDisplay)!==null&&i!==void 0?i:"";var u;this.district=(u=e==null?void 0:e.district)!==null&&u!==void 0?u:"";var a;this.districtDisplay=(a=e==null?void 0:e.districtDisplay)!==null&&a!==void 0?a:"";var l;this.province=(l=e==null?void 0:e.province)!==null&&l!==void 0?l:"";var o;this.provinceDisplay=(o=e==null?void 0:e.provinceDisplay)!==null&&o!==void 0?o:""},y_=function(t){re(e,t);function e(n){D(this,e);var i;return i=le(this,e),y(i,"result",void 0),y(i,"unit",void 0),i.result=new he(n==null?void 0:n.result),i.unit=new he(n==null?void 0:n.unit),i}return e}(Gu),f_=function t(e){D(this,t),y(this,"result",void 0),y(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:""},v_=function(t){return t.CNY="CNY",t.USD="USD",t.JPY="JPY",t.EUR="EUR",t.INR="INR",t.IDR="IDR",t.BRL="BRL",t.AED="AED",t.AUD="AUD",t.CAD="CAD",t.EGP="EGP",t.GBP="GBP",t.ZAR="ZAR",t.KRW="KRW",t.MAD="MAD",t.MXN="MXN",t.MYR="MYR",t.PHP="PHP",t.PLN="PLN",t.RUB="RUB",t.SGD="SGD",t.THB="THB",t.TRY="TRY",t.TWD="TWD",t.VND="VND",t.HKD="HKD",t.IEP="IEP",t}({}),c=function(t){return t.DEFAULT_DISPLAY="defaultDisplay",t.REQUIRED="required",t.IS_HIDE="isHide",t.IS_SHOW_UNIT="isShowUnit",t.IMD_SEARCH="immediatelySearch",t.MULTIPLE="multiple",t.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",t.CAPTION="caption",t.IS_HIDE_CAPTION="isHideCaption",t.DEFAULT_SHOW_OPTIONS="defaultShowOptions",t.CAN_SEARCH="canSearch",t.CAN_CHECK="canCheck",t.CAN_EDIT="canEdit",t.CAN_DELETE="canDelete",t.SHOW_UPPER_CASE="showUpperCase",t.MICROMETER="micrometer",t.PRECISION="precision",t.PERCENTAGE="percentage",t.OPTIONAL_LEVEL="optionalLevel",t.CONTAINS_SUB_NODE="containsSubNode",t.DEFAULT_COLLAPSE="defaultCollapse",t.CAN_VIEW_FORM="canViewForm",t.VIEW_FORM_MODEL_TYPE="viewFormModelType",t.SERVER_PAGINATION="serverPagination",t.IS_SHOW_CAPTION_TIP="isShowCaptionTip",t.IS_SHOW_WATERMARK="isShowWatermark",t.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions",t.IS_PASTE="isPaste",t.SORTABLE="sortable",t.IS_SHOW_SIMPLE_SEARCH="isShowSimpleSearch",t.IS_SHOW_TOOL_BAE="isShowToolbar",t.MAIN_DEPT_FLAG="mainDeptFlag",t.IS_INTERNATIONAL="isInternational",t.CAPTION_SIZE="captionSize",t.CAPTION_COLOR="captionColor",t.IS_CAPTION_ITALIC="isCaptionItalic",t.SHOW_TABLE_INDEX="showTableIndex",t}({}),m_=function(t){return t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT",t}({}),Ie=function t(e){D(this,t),y(this,"isShow",void 0),y(this,"priorityProcess",void 0),y(this,"formKey",void 0),y(this,"content",void 0),y(this,"openType",void 0),y(this,"type",void 0);var n;this.isShow=(n=e==null?void 0:e.isShow)!==null&&n!==void 0?n:!0;var i;this.content=(i=e==null?void 0:e.content)!==null&&i!==void 0?i:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.openType=(a=e==null?void 0:e.openType)!==null&&a!==void 0?a:"modal";var l;this.type=(l=e==null?void 0:e.type)!==null&&l!==void 0?l:"";var o;this.priorityProcess=(o=e==null?void 0:e.priorityProcess)!==null&&o!==void 0?o:!1},g_=function t(e){D(this,t);var n;y(this,"id",void 0),y(this,"title",void 0),y(this,"filters",void 0),y(this,"viewFilters",void 0),y(this,"headers",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:oe(8);var u;this.title=(u=e==null?void 0:e.title)!==null&&u!==void 0?u:"";var a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(l){return new Rr(l)}))!==null&&a!==void 0?a:[],zu.call(this,e)},b_=function t(e){D(this,t),y(this,"width",void 0),y(this,"height",void 0),y(this,"widthConfig",void 0),y(this,"heightConfig",void 0);var n;this.width=(n=e==null?void 0:e.width)!==null&&n!==void 0?n:"";var i;this.height=(i=e==null?void 0:e.height)!==null&&i!==void 0?i:"";var u;this.widthConfig=(u=e==null?void 0:e.widthConfig)!==null&&u!==void 0?u:"fill";var a;this.heightConfig=(a=e==null?void 0:e.heightConfig)!==null&&a!==void 0?a:"fill"},C_=function t(e){D(this,t),y(this,"optCode",void 0),y(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:""},E_=function t(e){D(this,t);var n,i;y(this,"id",void 0),y(this,"name",void 0),y(this,"settings",void 0),y(this,"filters",void 0),y(this,"script",void 0);var u;this.id=(u=e==null?void 0:e.id)!==null&&u!==void 0?u:oe();var a;this.name=(a=e==null?void 0:e.name)!==null&&a!==void 0?a:"";var l;this.filters=(l=e==null||(n=e.filters)===null||n===void 0?void 0:n.map(function(d){return d.children!==void 0?new Wu(d):new Hn(d)}))!==null&&l!==void 0?l:[];var o;this.settings=(e==null?void 0:e.settings)&&Array.isArray(e==null?void 0:e.settings)?(o=e==null||(i=e.settings)===null||i===void 0?void 0:i.map(function(d){return new __(d)}))!==null&&o!==void 0?o:[]:[],this.script=e==null?void 0:e.script},__=function t(e){D(this,t),y(this,"color",void 0),y(this,"fieldCodes",void 0),y(this,"type",void 0),y(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 u;this.color=(u=e.color)!==null&&u!==void 0?u:"theme";var a;this.scope=(a=e.scope)!==null&&a!==void 0?a:"row"},B_=function t(e){D(this,t);var n;y(this,"type",void 0),y(this,"interval",void 0),y(this,"rules",void 0);var i;this.type=(i=e==null?void 0:e.type)!==null&&i!==void 0?i:"none";var u;this.interval=(u=e==null?void 0:e.interval)!==null&&u!==void 0?u:{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(l){return new E_(l)}))!==null&&a!==void 0?a:[]:[]},w_=function t(e){D(this,t),y(this,"groupDefaultExpanded",void 0),y(this,"suppressCount",void 0),y(this,"groupFields",void 0),y(this,"groupHeaderName",void 0),y(this,"showFooterStatistics",void 0);var n;this.groupDefaultExpanded=(n=e==null?void 0:e.groupDefaultExpanded)!==null&&n!==void 0?n:!1;var i;this.suppressCount=(i=e==null?void 0:e.suppressCount)!==null&&i!==void 0?i:!1;var u;this.groupFields=(u=e==null?void 0:e.groupFields)!==null&&u!==void 0?u:[];var a;this.groupHeaderName=(a=e==null?void 0:e.groupHeaderName)!==null&&a!==void 0?a:"";var l;this.showFooterStatistics=(l=e==null?void 0:e.showFooterStatistics)!==null&&l!==void 0?l:!1},D_=function t(e){D(this,t),y(this,"datasourceBind",void 0),y(this,"headers",void 0),this.datasourceBind=new Q(e==null?void 0:e.datasourceBind);var n;this.headers=(n=e==null?void 0:e.headers)!==null&&n!==void 0?n:[]},I_=function t(e){D(this,t),y(this,"marginTop",void 0),y(this,"marginRight",void 0),y(this,"marginBottom",void 0),y(this,"marginLeft",void 0);var n;this.marginTop=(n=e==null?void 0:e.marginTop)!==null&&n!==void 0?n:"";var i;this.marginRight=(i=e==null?void 0:e.marginRight)!==null&&i!==void 0?i:"";var u;this.marginBottom=(u=e==null?void 0:e.marginBottom)!==null&&u!==void 0?u:"";var a;this.marginLeft=(a=e==null?void 0:e.marginLeft)!==null&&a!==void 0?a:""},A_=function t(e){D(this,t),y(this,"paddingTop",void 0),y(this,"paddingRight",void 0),y(this,"paddingBottom",void 0),y(this,"paddingLeft",void 0);var n;this.paddingTop=(n=e==null?void 0:e.paddingTop)!==null&&n!==void 0?n:"";var i;this.paddingRight=(i=e==null?void 0:e.paddingRight)!==null&&i!==void 0?i:"";var u;this.paddingBottom=(u=e==null?void 0:e.paddingBottom)!==null&&u!==void 0?u:"";var a;this.paddingLeft=(a=e==null?void 0:e.paddingLeft)!==null&&a!==void 0?a:""},F_=function t(e){D(this,t),y(this,"icon",void 0),y(this,"label",void 0);var n;this.icon=(n=e==null?void 0:e.icon)!==null&&n!==void 0?n:"iconleft";var i;this.label=(i=e==null?void 0:e.label)!==null&&i!==void 0?i:"\u4E0A\u4E00\u6B65"},S_=function t(e){D(this,t),y(this,"icon",void 0),y(this,"label",void 0);var n;this.icon=(n=e==null?void 0:e.icon)!==null&&n!==void 0?n:"iconxiangyou";var i;this.label=(i=e==null?void 0:e.label)!==null&&i!==void 0?i:"\u4E0B\u4E00\u6B65"},T_=function t(e){D(this,t),y(this,"prev",void 0),y(this,"next",void 0),this.prev=new F_(e==null?void 0:e.prev),this.next=new S_(e==null?void 0:e.next)};function P_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function R_(t,e,n){return e=$t(e),x_(t,Xu()?Reflect.construct(e,n||[],$t(t).constructor):e.apply(t,n))}function Zu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function qn(t,e,n){return Xu()?qn=Reflect.construct:qn=function(u,a,l){var o=[null];o.push.apply(o,a);var d=Function.bind.apply(u,o),s=new d;return l&&Nt(s,l.prototype),s},qn.apply(null,arguments)}function ge(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function $t(t){return $t=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$t(t)}function k_(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&&Nt(t,e)}function O_(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function x_(t,e){return e&&(M_(e)==="object"||typeof e=="function")?e:P_(t)}function Nt(t,e){return Nt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Nt(t,e)}function M_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Qu(t){var e=typeof Map=="function"?new Map:void 0;return Qu=function(i){if(i===null||!O_(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return qn(i,arguments,$t(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Nt(u,i)},Qu(t)}function Xu(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Xu=function(){return!!t})()}var U=function t(e){Zu(this,t),ge(this,"isHide",{type:"boolean"})},Me=function(t){k_(e,t);function e(n){return Zu(this,e),R_(this,e)}return e}(Qu(Array)),j=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Zu(this,t),ge(this,"isHide",void 0),ge(this,"className",void 0),ge(this,"style",void 0),ge(this,"caption",void 0),ge(this,"defaultState",void 0);var i;this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new b_(e==null?void 0:e.style);var u;this.caption=(u=e==null?void 0:e.caption)!==null&&u!==void 0?u:n};ge(j,"mode",void 0),ge(j,"Rules",U),ge(j,"RuntimeRules",Me);function ye(){return ye=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},ye.apply(this,arguments)}function L_(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Ju(t){return Ju=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ju(t)}function Wn(t,e){return Wn=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Wn(t,e)}function $_(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function Un(t,e,n){return $_()?Un=Reflect.construct:Un=function(u,a,l){var o=[null];o.push.apply(o,a);var d=Function.bind.apply(u,o),s=new d;return l&&Wn(s,l.prototype),s},Un.apply(null,arguments)}function N_(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Yu(t){var e=typeof Map=="function"?new Map:void 0;return Yu=function(i){if(i===null||!N_(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return Un(i,arguments,Ju(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Wn(u,i)},Yu(t)}var H_=/%[sdj%]/g,jr=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(jr=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function pu(t){if(!t||!t.length)return null;var e={};return t.forEach(function(n){var i=n.field;e[i]=e[i]||[],e[i].push(n)}),e}function te(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=1,u=e[0],a=e.length;if(typeof u=="function")return u.apply(null,e.slice(1));if(typeof u=="string"){var l=String(u).replace(H_,function(o){if(o==="%%")return"%";if(i>=a)return o;switch(o){case"%s":return String(e[i++]);case"%d":return Number(e[i++]);case"%j":try{return JSON.stringify(e[i++])}catch(d){return"[Circular]"}break;default:return o}});return l}return u}function V_(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function K(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||V_(e)&&typeof t=="string"&&!t)}function j_(t,e,n){var i=[],u=0,a=t.length;function l(o){i.push.apply(i,o),u++,u===a&&n(i)}t.forEach(function(o){e(o,l)})}function qr(t,e,n){var i=0,u=t.length;function a(l){if(l&&l.length){n(l);return}var o=i;i=i+1,o<u?e(t[o],a):n([])}a([])}function q_(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var Wr=function(t){L_(e,t);function e(n,i){var u;return u=t.call(this,"Async Validation Error")||this,u.errors=n,u.fields=i,u}return e}(Yu(Error));function W_(t,e,n,i){if(e.first){var u=new Promise(function(v,g){var E=function(w){return i(w),w.length?g(new Wr(w,pu(w))):v()},_=q_(t);qr(_,n,E)});return u.catch(function(v){return v}),u}var a=e.firstFields||[];a===!0&&(a=Object.keys(t));var l=Object.keys(t),o=l.length,d=0,s=[],h=new Promise(function(v,g){var E=function(b){if(s.push.apply(s,b),d++,d===o)return i(s),s.length?g(new Wr(s,pu(s))):v()};l.length||(i(s),v()),l.forEach(function(_){var b=t[_];a.indexOf(_)!==-1?qr(b,n,E):j_(b,n,E)})});return h.catch(function(v){return v}),h}function Ur(t){return function(e){return e&&e.message?(e.field=e.field||t.fullField,e):{message:typeof e=="function"?e():e,field:e.field||t.fullField}}}function zr(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]=ye(ye({},t[n]),i):t[n]=i}}return t}function Kr(t,e,n,i,u,a){t.required&&(!n.hasOwnProperty(t.field)||K(e,a||t.type))&&i.push(te(u.messages.required,t.fullField))}function U_(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(te(u.messages.whitespace,t.fullField))}var ea={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},Ht={integer:function(e){return Ht.number(e)&&parseInt(e,10)===e},float:function(e){return Ht.number(e)&&!Ht.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"&&!Ht.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(ea.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(ea.url)},hex:function(e){return typeof e=="string"&&!!e.match(ea.hex)}};function z_(t,e,n,i,u){if(t.required&&e===void 0){Kr(t,e,n,i,u);return}var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],l=t.type;a.indexOf(l)>-1?Ht[l](e)||i.push(te(u.messages.types[l],t.fullField,t.type)):l&&typeof e!==t.type&&i.push(te(u.messages.types[l],t.fullField,t.type))}function K_(t,e,n,i,u){var a=typeof t.len=="number",l=typeof t.min=="number",o=typeof t.max=="number",d=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,s=e,h=null,v=typeof e=="number",g=typeof e=="string",E=Array.isArray(e);if(v?h="number":g?h="string":E&&(h="array"),!h)return!1;E&&(s=e.length),g&&(s=e.replace(d,"_").length),a?s!==t.len&&i.push(te(u.messages[h].len,t.fullField,t.len)):l&&!o&&s<t.min?i.push(te(u.messages[h].min,t.fullField,t.min)):o&&!l&&s>t.max?i.push(te(u.messages[h].max,t.fullField,t.max)):l&&o&&(s<t.min||s>t.max)&&i.push(te(u.messages[h].range,t.fullField,t.min,t.max))}var lt="enum";function G_(t,e,n,i,u){t[lt]=Array.isArray(t[lt])?t[lt]:[],t[lt].indexOf(e)===-1&&i.push(te(u.messages[lt],t.fullField,t[lt].join(", ")))}function Z_(t,e,n,i,u){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(te(u.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var a=new RegExp(t.pattern);a.test(e)||i.push(te(u.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var A={required:Kr,whitespace:U_,type:z_,range:K_,enum:G_,pattern:Z_};function Q_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e,"string")&&!t.required)return n();A.required(t,e,i,a,u,"string"),K(e,"string")||(A.type(t,e,i,a,u),A.range(t,e,i,a,u),A.pattern(t,e,i,a,u),t.whitespace===!0&&A.whitespace(t,e,i,a,u))}n(a)}function X_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&A.type(t,e,i,a,u)}n(a)}function J_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(e===""&&(e=void 0),K(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&(A.type(t,e,i,a,u),A.range(t,e,i,a,u))}n(a)}function Y_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&A.type(t,e,i,a,u)}n(a)}function p_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e)&&!t.required)return n();A.required(t,e,i,a,u),K(e)||A.type(t,e,i,a,u)}n(a)}function e6(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&(A.type(t,e,i,a,u),A.range(t,e,i,a,u))}n(a)}function t6(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&(A.type(t,e,i,a,u),A.range(t,e,i,a,u))}n(a)}function n6(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(e==null&&!t.required)return n();A.required(t,e,i,a,u,"array"),e!=null&&(A.type(t,e,i,a,u),A.range(t,e,i,a,u))}n(a)}function i6(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&A.type(t,e,i,a,u)}n(a)}var u6="enum";function a6(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&A[u6](t,e,i,a,u)}n(a)}function l6(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e,"string")&&!t.required)return n();A.required(t,e,i,a,u),K(e,"string")||A.pattern(t,e,i,a,u)}n(a)}function r6(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e,"date")&&!t.required)return n();if(A.required(t,e,i,a,u),!K(e,"date")){var o;e instanceof Date?o=e:o=new Date(e),A.type(t,o,i,a,u),o&&A.range(t,o.getTime(),i,a,u)}}n(a)}function o6(t,e,n,i,u){var a=[],l=Array.isArray(e)?"array":typeof e;A.required(t,e,i,a,u,l),n(a)}function ta(t,e,n,i,u){var a=t.type,l=[],o=t.required||!t.required&&i.hasOwnProperty(t.field);if(o){if(K(e,a)&&!t.required)return n();A.required(t,e,i,l,u,a),K(e,a)||A.type(t,e,i,l,u)}n(l)}function c6(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e)&&!t.required)return n();A.required(t,e,i,a,u)}n(a)}var Vt={string:Q_,method:X_,number:J_,boolean:Y_,regexp:p_,integer:e6,float:t6,array:n6,object:i6,enum:a6,pattern:l6,date:r6,url:ta,hex:ta,email:ta,required:o6,any:c6};function na(){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 ia=na();function Ae(t){this.rules=null,this._messages=ia,this.define(t)}Ae.prototype={messages:function(e){return e&&(this._messages=zr(na(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if(typeof e!="object"||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var n,i;for(n in e)e.hasOwnProperty(n)&&(i=e[n],this.rules[n]=Array.isArray(i)?i:[i])},validate:function(e,n,i){var u=this;n===void 0&&(n={}),i===void 0&&(i=function(){});var a=e,l=n,o=i;if(typeof l=="function"&&(o=l,l={}),!this.rules||Object.keys(this.rules).length===0)return o&&o(),Promise.resolve();function d(b){var w,m=[],B={};function S(O){if(Array.isArray(O)){var $;m=($=m).concat.apply($,O)}else m.push(O)}for(w=0;w<b.length;w++)S(b[w]);m.length?B=pu(m):(m=null,B=null),o(m,B)}if(l.messages){var s=this.messages();s===ia&&(s=na()),zr(s,l.messages),l.messages=s}else l.messages=this.messages();var h,v,g={},E=l.keys||Object.keys(this.rules);E.forEach(function(b){h=u.rules[b],v=a[b],h.forEach(function(w){var m=w;typeof m.transform=="function"&&(a===e&&(a=ye({},a)),v=a[b]=m.transform(v)),typeof m=="function"?m={validator:m}:m=ye({},m),m.validator=u.getValidationMethod(m),m.field=b,m.fullField=m.fullField||b,m.type=u.getType(m),m.validator&&(g[b]=g[b]||[],g[b].push({rule:m,value:v,source:a,field:b}))})});var _={};return W_(g,l,function(b,w){var m=b.rule,B=(m.type==="object"||m.type==="array")&&(typeof m.fields=="object"||typeof m.defaultField=="object");B=B&&(m.required||!m.required&&b.value),m.field=b.field;function S(ue,N){return ye(ye({},N),{},{fullField:m.fullField+"."+ue})}function O(ue){ue===void 0&&(ue=[]);var N=ue;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(Ur(m)),l.first&&N.length)return _[m.field]=1,w(N);if(!B)w(N);else{if(m.required&&!b.value)return m.message!==void 0?N=[].concat(m.message).map(Ur(m)):l.error&&(N=[l.error(m,te(l.messages.required,m.field))]),w(N);var ae={};if(m.defaultField)for(var Rn in b.value)b.value.hasOwnProperty(Rn)&&(ae[Rn]=m.defaultField);ae=ye(ye({},ae),b.rule.fields);for(var _e in ae)if(ae.hasOwnProperty(_e)){var wu=Array.isArray(ae[_e])?ae[_e]:[ae[_e]];ae[_e]=wu.map(S.bind(null,_e))}var kn=new Ae(ae);kn.messages(l.messages),b.rule.options&&(b.rule.options.messages=l.messages,b.rule.options.error=l.error),kn.validate(b.value,b.rule.options||l,function(Rt){var Be=[];N&&N.length&&Be.push.apply(Be,N),Rt&&Rt.length&&Be.push.apply(Be,Rt),w(Be.length?Be:null)})}}var $;m.asyncValidator?$=m.asyncValidator(m,b.value,O,b.source,l):m.validator&&($=m.validator(m,b.value,O,b.source,l),$===!0?O():$===!1?O(m.message||m.field+" fails"):$ instanceof Array?O($):$ instanceof Error&&O($.message)),$&&$.then&&$.then(function(){return O()},function(ue){return O(ue)})},function(b){d(b)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!Vt.hasOwnProperty(e.type))throw new Error(te("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if(typeof e.validator=="function")return e.validator;var n=Object.keys(e),i=n.indexOf("message");return i!==-1&&n.splice(i,1),n.length===1&&n[0]==="required"?Vt.required:Vt[this.getType(e)]||!1}},Ae.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");Vt[e]=n},Ae.warning=jr,Ae.messages=ia,Ae.validators=Vt;var s6={required:r("CMD.aad41751712156995"),maxLength:r("CMD.890d1751712141808"),minLength:r("CMD.bb9b1751712143625"),string:{range:r("CMD.f7131751712147855")}};function d6(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new Ae(t);return n.messages(Object.assign(s6,e)),n}var h6=new LE;function ua(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 y6(t){if(Array.isArray(t))return t}function f6(t){if(Array.isArray(t))return ua(t)}function Gr(t,e,n,i,u,a,l){try{var o=t[a](l),d=o.value}catch(s){n(s);return}o.done?e(d):Promise.resolve(d).then(i,u)}function Zr(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(d){Gr(a,i,u,l,o,"next",d)}function o(d){Gr(a,i,u,l,o,"throw",d)}l(void 0)})}}function v6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Qr(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 m6(t,e,n){return e&&Qr(t.prototype,e),n&&Qr(t,n),t}function x(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Xr(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Jr(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function g6(){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 b6(){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 Yr(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){x(t,u,n[u])})}return t}function C6(t){return y6(t)||Jr(t)||pr(t)||g6()}function aa(t){return f6(t)||Jr(t)||pr(t)||b6()}function E6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function pr(t,e){if(!!t){if(typeof t=="string")return ua(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 ua(t,e)}}function eo(t,e){var n,i,u,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},l=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return l.next=o(0),l.throw=o(1),l.return=o(2),typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function o(s){return function(h){return d([s,h])}}function d(s){if(n)throw new TypeError("Generator is already executing.");for(;l&&(l=0,s[0]&&(a=0)),a;)try{if(n=1,i&&(u=s[0]&2?i.return:s[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,s[1])).done)return u;switch(i=0,u&&(s=[s[0]&2,u.value]),s[0]){case 0:case 1:u=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,i=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(s[0]===6||s[0]===2)){a=0;continue}if(s[0]===3&&(!u||s[1]>u[0]&&s[1]<u[3])){a.label=s[1];break}if(s[0]===6&&a.label<u[1]){a.label=u[1],u=s;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(s);break}u[2]&&a.ops.pop(),a.trys.pop();continue}s=e.call(t,a)}catch(h){s=[6,h],i=0}finally{n=u=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}var M=function(){function e(n){var i=this;v6(this,e),x(this,"id",void 0),x(this,"name",void 0),x(this,"icon",void 0),x(this,"type",void 0),x(this,"controlType",void 0),x(this,"props",void 0),x(this,"setting",[]),x(this,"fieldType",void 0),x(this,"eventKeys",[]),x(this,"customEvents",[]),x(this,"parent",null),x(this,"slots",void 0),x(this,"slotPosition",void 0),x(this,"updateSetting",no),x(this,"removeSetting",to),this._callControlHooks("preInstance",n);var u=Xr(this,e)?this.constructor:void 0,a=u.controlName,l=u.controlIcon,o=u.controlType,d=u.controlFieldType,s=u.controlEventKeys,h=u.controlCustomEvents,v=u.name,g=u.setting,E=u.slots,_=u.slotPosition;a&&l&&o||yr("The ".concat(v," controlName,controlIcon,controlType is not define"));var b;this.id=(b=n==null?void 0:n.id)!==null&&b!==void 0?b:oe(10),this.name=a,this.icon=l;var w;this.type=(w=n==null?void 0:n.type)!==null&&w!==void 0?w:o,this.props=new j(n==null?void 0:n.props,(Xr(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=ce(g);var B;this.fieldType=(B=n==null?void 0:n.fieldType)!==null&&B!==void 0?B:d,this.eventKeys=ce(s),this.customEvents=ce(h),this.slots=ce(E),this.slotPosition=ce(_),Promise.resolve().then(function(){i._callControlHooks("postInstance",n)})}return m6(e,[{key:"rules",get:function(){var i=this.props.constructor.Rules;return i?new i(this.props):{}}},{key:"_callControlHooks",value:function(){for(var i=arguments.length,u=new Array(i),a=0;a<i;a++)u[a]=arguments[a];var l,o=C6(u),d=o[0],s=o.slice(1);return(l=h6).emit.apply(l,[d,this].concat(aa(s)))}},{key:"preUpdate",value:function(i,u){this._callControlHooks("preUpdateProps",i,u)}},{key:"postUpdate",value:function(i,u){this._callControlHooks("postUpdateProps",i,u)}},{key:"updateProps",value:function(i,u){this.preUpdate(i,u),_E(this.props,i,u),this.postUpdate(i,u)}},{key:"preValidate",value:function(){return Zr(function(){var i,u,a;return eo(this,function(l){switch(l.label){case 0:return i=Yr({},this.rules),[4,this._callControlHooks("preValidate",i)];case 1:return u=l.sent(),a=u[u.length-1],[2,a===!1?void 0:a]}})}).call(this)}},{key:"validate",value:function(i,u){return Zr(function(){var a,l,o,d;return eo(this,function(s){switch(s.label){case 0:return[4,this.preValidate()];case 1:a=s.sent(),l=a!==void 0?a:Yr({},this.rules),Array.isArray(u)&&u.forEach(function(h){l.hasOwnProperty(h)&&delete l[h]}),o=d6(l,i),s.label=2;case 2:return s.trys.push([2,4,,5]),[4,o.validate(this.props)];case 3:return s.sent(),[2,!0];case 4:throw d=s.sent(),d.control||(d.control=this),d;case 5:return[2]}})}).call(this)}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=this.fieldType,a=this.id,l=this.type,o=this.props,d=o.dataBind,s=o.datasourceBind,h=o.optionConfig,v=o.caption,g=o.required,E=o.maxLength,_=o.options,b=o.encrypted,w=o.encryptedMode;if(!(!u&&!d&&!s)){var m={parentId:i,fieldType:u,controlId:a,caption:v,type:l,props:{}};switch(d&&(m.dataBind=d),h){case"datasource":case void 0:s&&(m.datasourceBind=s);break;case"custom":m.props.options=_;break}return g!==void 0&&(m.required=g),E!==void 0&&(m.maxLength=E),b!==void 0&&(m.encrypted=b),w!==void 0&&(m.encryptedMode=w),m}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:ce(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(i,u){if(i==="setting"){if(u.add){var a;(a=this.setting).push.apply(a,aa(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),e}();x(M,"mode","Designer"),x(M,"slots",void 0),x(M,"slotPosition",void 0),x(M,"controlName",r("CMD.7baf1751712168384")),x(M,"controlIcon","icon"),x(M,"controlType","control"),x(M,"controlFieldType",void 0),x(M,"controlEventKeys",[]),x(M,"controlCustomEvents",[]),x(M,"setting",[]),x(M,"__is_control__",!0),x(M,"removeSettingItem",to),x(M,"updateSettingItem",no);function to(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(i){var u,a=typeof i!="string",l=(u=e.setting)===null||u===void 0?void 0:u.findIndex(function(s){return s.key===(a?i.key:i)});if(l!==-1){var o,d;a?e.setting[l].showItems=(o=e.setting[l].showItems)===null||o===void 0?void 0:o.filter(function(s){return!i.hideItems.includes(s)}):e.setting.splice(l,1),a&&!(!((d=e.setting[l].showItems)===null||d===void 0)&&d.length)&&e.setting.splice(l,1)}})}function no(t,e){var n=this,i=typeof t=="string"?[t]:t;i.forEach(function(u){var a=n.setting.find(function(s){return s.key===u});if(a){if(typeof e=="boolean")a.visible=e;else if((typeof e=="undefined"?"undefined":E6(e))==="object"){var l,o=(l=e.type)!==null&&l!==void 0?l:"replace";if(o==="replace")a.showItems=e.showItems;else{var d;(d=a.showItems).push.apply(d,aa(e.showItems))}}}})}function _6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function io(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 B6(t,e,n){return e&&io(t.prototype,e),n&&io(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 w6(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var q=function(){function e(n){_6(this,e),ne(this,"id",void 0),ne(this,"type",void 0),ne(this,"controlType",void 0),ne(this,"props",void 0),ne(this,"fieldType",void 0),ne(this,"customEvents",[]),ne(this,"pageStatus",void 0),ne(this,"parent",null);var i=w6(this,e)?this.constructor:void 0,u=i.controlType,a=i.controlFieldType,l=i.name,o=i.controlCustomEvents;u||yr("The ".concat(l," controlType is not define"));var d;this.id=(d=n==null?void 0:n.id)!==null&&d!==void 0?d:oe(10);var s;this.type=(s=n==null?void 0:n.type)!==null&&s!==void 0?s:u,this.props=new j(n==null?void 0:n.props),this.customEvents=o;var h;this.controlType=(h=n==null?void 0:n.controlType)!==null&&h!==void 0?h:"base";var v;this.fieldType=(v=n==null?void 0:n.fieldType)!==null&&v!==void 0?v:a;var g;this.pageStatus=(g=n==null?void 0:n.pageStatus)!==null&&g!==void 0?g:m_.UNKNOWN}return B6(e,[{key:"rules",get:function(){var i=this.props.constructor.RuntimeRules;if(i){var u=new i(this.props);return Array.from(u)}return[]}}]),e}();ne(q,"mode","Runtime"),ne(q,"controlType","control"),ne(q,"controlFieldType",void 0),ne(q,"__is_control__",!0),ne(q,"controlCustomEvents",[]);function la(t){t.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),t.hasOwnProperty("options")||(this.options={type:"any"}),t.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),t.hasOwnProperty("options")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="custom")?this.options=[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:r("CMD.pleaseEnterLabel",null,"\u8BF7\u8F93\u5165\u663E\u793A\u503C")},value:{type:"string",required:!0,message:r("CMD.pleaseEnterValue",null,"\u8BF7\u8F93\u5165\u5B58\u50A8\u503C")}}}},{type:"array",validator:function(n,i,u){i.length===0&&u(r("CMD.optionIsRequired",null,"\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879")),u()}},{type:"array",validator:function(n,i,u){var a=i.map(function(o){return o.value}),l=FE(a);a.length!==l.length?u(r("CMD.optionIdIsRepeat",null,"\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D")):u()},message:r("CMD.optionIdIsRepeat",null,"\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:r("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},valueFieldCode:{type:"string",required:!0,message:r("CMD.pleaseEnterValueFieldCode",null,"\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C")},svcCode:{type:"string",required:!0,message:r("CMD.pleaseEnterSvcCode",null,"\u8BF7\u7ED1\u5B9A\u670D\u52A1")},displayBoList:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",validator:function(n,i,u){i.length===0&&u(r("CMD.pleaseBindAtLeastOneDisplayValue",null,"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")),u()},message:r("CMD.pleaseBindAtLeastOneDisplayValue",null,"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")}],orders:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},desc:{type:"boolean",message:r("CMD.isNotBoolean",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14")}}}}]}}])}function zn(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:r(n?"CMD.pleaseEnterDataCodeInDataSetting":"CMD.pleaseEnterDataCode",null,r(n?"CMD.c4901751712137782":"CMD.8e161751712150947"))},valueFieldCode:{type:"string",required:!0,message:r(n?"CMD.pleaseEnterValueFieldCodeInDataSetting":"CMD.pleaseEnterValueFieldCode",null,r(n?"CMD.9af91751712139782":"CMD.92701751712154242"))},svcCode:{type:"string",required:!0,message:r(n?"CMD.pleaseEnterSvcCodeInDataSetting":"CMD.pleaseEnterSvcCode",null,r(n?"CMD.203c1751712145631":"CMD.9d361751712158465"))},attributes:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},key:{type:"string",required:!0,message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},value:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",validator:function(u,a,l){a.length===0&&l(r(n?"CMD.pleaseBindAtLeastOneDisplayValueInDataSetting":"CMD.pleaseBindAtLeastOneDisplayValue",null,r(n?"CMD.6a071751712131459":"CMD.52351751712149286"))),l()},message:r(n?"CMD.pleaseBindAtLeastOneDisplayValueInDataSetting":"CMD.pleaseBindAtLeastOneDisplayValue",null,r(n?"CMD.6a071751712131459":"CMD.52351751712149286"))}]}}}],orders:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},desc:{type:"boolean",message:r("CMD.isNotBoolean",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14")}}}}]}}]}function D6(t){return(t==null?void 0:t.dataCode)!==void 0&&(t==null?void 0:t.fieldCode)!==void 0}function I6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Kn(t,e,n){return e=Zn(e),A6(t,uo()?Reflect.construct(e,n||[],Zn(t).constructor):e.apply(t,n))}function Gn(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 Zn(t){return Zn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zn(t)}function Qn(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ra(t,e)}function A6(t,e){return e&&(F6(e)==="object"||typeof e=="function")?e:I6(t)}function ra(t,e){return ra=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ra(t,e)}function F6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function uo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(uo=function(){return!!t})()}var X=function(t){Qn(e,t);function e(n){Gn(this,e);var i;i=Kn(this,e,[n]),H(i,"dataBind",{}),H(i,"caption",{type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),H(i,"isHideCaption",{type:"boolean"}),H(i,"labelPosition",{type:"enum",enum:["top","left"]}),H(i,"defaultState",{type:"enum",enum:["default","readonly"]}),H(i,"required",{type:"boolean"}),H(i,"captionTip",{type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")});var u={fieldCode:{type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},dataCode:{type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}};if(D6(n.dataBind))i.dataBind={type:"object",required:!0,fields:ce(u),message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};else{var a={type:"object",required:!0,fields:{},message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};Object.keys(n.dataBind).forEach(function(l){a.fields[l]={type:"object",required:!0,fields:ce(u),message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}}),i.dataBind=a}return n.isShowCaptionTip&&(i.captionTip.required=!0),i}return e}(U),V=function(t){Qn(e,t);function e(n){Gn(this,e);var i;i=Kn(this,e,[n]);var u=n.isHide?!1:n.required;return u&&i.push({type:"string",required:u,message:n.requiredMessage!==""?n.requiredMessage:r("CMD.runtimeRequired",{caption:n.caption},"{caption}\u5FC5\u586B")}),i}return e}(Me),F=function(t){Qn(e,t);function e(n){Gn(this,e);var i;i=Kn(this,e,[n]),H(i,"caption",void 0),H(i,"captionSize",void 0),H(i,"captionColor",void 0),H(i,"isCaptionItalic",void 0),H(i,"isHideCaption",void 0),H(i,"isShowCaptionTip",void 0),H(i,"captionTip",void 0),H(i,"labelPosition",void 0),H(i,"dataBind",void 0),H(i,"defaultValue",void 0),H(i,"placeholder",void 0),H(i,"defaultState",void 0),H(i,"required",void 0),H(i,"requiredMessage",void 0);var u;i.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var a;i.captionSize=(a=n==null?void 0:n.captionSize)!==null&&a!==void 0?a:"";var l;i.captionColor=(l=n==null?void 0:n.captionColor)!==null&&l!==void 0?l:"";var o;i.isCaptionItalic=(o=n==null?void 0:n.isCaptionItalic)!==null&&o!==void 0?o:!1;var d;i.isHideCaption=(d=n==null?void 0:n.isHideCaption)!==null&&d!==void 0?d:!1;var s;i.isShowCaptionTip=(s=n==null?void 0:n.isShowCaptionTip)!==null&&s!==void 0?s:!1;var h;i.captionTip=(h=n==null?void 0:n.captionTip)!==null&&h!==void 0?h:"";var v;i.defaultState=(v=n==null?void 0:n.defaultState)!==null&&v!==void 0?v:"default";var g;i.labelPosition=(g=n==null?void 0:n.labelPosition)!==null&&g!==void 0?g:"top";var E;i.placeholder=(E=n==null?void 0:n.placeholder)!==null&&E!==void 0?E:"";var _;i.required=(_=n==null?void 0:n.required)!==null&&_!==void 0?_:!1;var b;i.requiredMessage=(b=n==null?void 0:n.requiredMessage)!==null&&b!==void 0?b:"",i.dataBind=new he(n==null?void 0:n.dataBind);var w;return i.defaultValue=(w=n==null?void 0:n.defaultValue)!==null&&w!==void 0?w:"",i}return e}(j);H(F,"Rules",X),H(F,"RuntimeRules",V);var rt=function(t){Qn(e,t);function e(n){Gn(this,e);var i;return i=Kn(this,e,[n]),H(i,"optionConfig",{type:"enum",enum:["custom","datasource"],message:r("CMD.PleaseSelectTheCorrectOptionSettings",null,"\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E")}),H(i,"options",[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")}]),H(i,"datasourceBind",[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),la.call(i,n),i}return e}(X);function S6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function T6(t,e,n){return e=Jn(e),k6(t,ao()?Reflect.construct(e,n||[],Jn(t).constructor):e.apply(t,n))}function P6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Xn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Jn(t){return Jn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jn(t)}function R6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&oa(t,e)}function k6(t,e){return e&&(O6(e)==="object"||typeof e=="function")?e:S6(t)}function oa(t,e){return oa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},oa(t,e)}function O6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ao(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ao=function(){return!!t})()}var T=function(t){R6(e,t);function e(n){P6(this,e);var i;return i=T6(this,e,[n]),Xn(i,"controlType","form"),Xn(i,"props",void 0),i.props=new F(n==null?void 0:n.props),i}return e}(M);Xn(T,"controlEventKeys",["on_change","on_focus","on_blur"]),Xn(T,"controlCustomAttributes",void 0);function x6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function M6(t,e,n){return e=Yn(e),N6(t,lo()?Reflect.construct(e,n||[],Yn(t).constructor):e.apply(t,n))}function L6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ca(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Yn(t){return Yn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yn(t)}function $6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&sa(t,e)}function N6(t,e){return e&&(H6(e)==="object"||typeof e=="function")?e:x6(t)}function sa(t,e){return sa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},sa(t,e)}function H6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function lo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(lo=function(){return!!t})()}var P=function(t){$6(e,t);function e(n){L6(this,e);var i;return i=M6(this,e,[n]),ca(i,"controlType","form"),ca(i,"props",void 0),ca(i,"value",void 0),i.props=new F(n==null?void 0:n.props),i}return e}(q);function V6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function j6(t,e,n){return e=pn(e),U6(t,ro()?Reflect.construct(e,n||[],pn(t).constructor):e.apply(t,n))}function q6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function pn(t){return pn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pn(t)}function W6(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&&da(t,e)}function U6(t,e){return e&&(z6(e)==="object"||typeof e=="function")?e:V6(t)}function da(t,e){return da=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},da(t,e)}function z6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ro(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ro=function(){return!!t})()}var R=function(t){W6(e,t);function e(n){return q6(this,e),j6(this,e,[n])}return e}(j);function ha(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 K6(t){if(Array.isArray(t))return ha(t)}function G6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function oo(t,e,n,i,u,a,l){try{var o=t[a](l),d=o.value}catch(s){n(s);return}o.done?e(d):Promise.resolve(d).then(i,u)}function Z6(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(d){oo(a,i,u,l,o,"next",d)}function o(d){oo(a,i,u,l,o,"throw",d)}l(void 0)})}}function Q6(t,e,n){return e=Se(e),aB(t,ho()?Reflect.construct(e,n||[],Se(t).constructor):e.apply(t,n))}function X6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function co(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 J6(t,e,n){return e&&co(t.prototype,e),n&&co(t,n),t}function Fe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ot(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ot=Reflect.get:ot=function(u,a,l){var o=lB(u,a);if(!!o){var d=Object.getOwnPropertyDescriptor(o,a);return d.get?d.get.call(l||u):d.value}},ot(t,e,n||t)}function Se(t){return Se=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Se(t)}function Y6(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&&ya(t,e)}function p6(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function eB(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function tB(){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 nB(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){Fe(t,u,n[u])})}return t}function iB(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(u){return Object.getOwnPropertyDescriptor(t,u).enumerable})),n.push.apply(n,i)}return n}function uB(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):iB(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function aB(t,e){return e&&(rB(e)==="object"||typeof e=="function")?e:G6(t)}function ya(t,e){return ya=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ya(t,e)}function lB(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Se(t),t!==null););return t}function so(t){return K6(t)||eB(t)||oB(t)||tB()}function rB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function oB(t,e){if(!!t){if(typeof t=="string")return ha(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 ha(t,e)}}function ho(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ho=function(){return!!t})()}function cB(t,e){var n,i,u,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},l=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return l.next=o(0),l.throw=o(1),l.return=o(2),typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function o(s){return function(h){return d([s,h])}}function d(s){if(n)throw new TypeError("Generator is already executing.");for(;l&&(l=0,s[0]&&(a=0)),a;)try{if(n=1,i&&(u=s[0]&2?i.return:s[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,s[1])).done)return u;switch(i=0,u&&(s=[s[0]&2,u.value]),s[0]){case 0:case 1:u=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,i=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(s[0]===6||s[0]===2)){a=0;continue}if(s[0]===3&&(!u||s[1]>u[0]&&s[1]<u[3])){a.label=s[1];break}if(s[0]===6&&a.label<u[1]){a.label=u[1],u=s;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(s);break}u[2]&&a.ops.pop(),a.trys.pop();continue}s=e.call(t,a)}catch(h){s=[6,h],i=0}finally{n=u=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}var sB=1e4,k=function(e){Y6(n,e);function n(i){X6(this,n);var u;u=Q6(this,n,[i]),Fe(u,"controlType","layout"),Fe(u,"children",void 0),Fe(u,"excludes",void 0),Fe(u,"childrenMaxLength",void 0),Fe(u,"props",void 0);var a=p6(this,n)?this.constructor:void 0,l=a.excludes,o=a.childrenMaxLength;return u.props=new R(i==null?void 0:i.props),se(u,"children",i==null?void 0:i.children,void 0,"Designer"),u.excludes=ce(l),u.childrenMaxLength=o,u}return J6(n,[{key:"judgeExcludesChildren",value:function(u){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(u)}},{key:"judgeJoinChildren",value:function(u){var a=this.judgeExcludesChildren(u);return a&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(u,a){var l=this,o=this,d=function(){return ot(Se(n.prototype),"validate",l)};return Z6(function(){return cB(this,function(s){switch(s.label){case 0:return[4,d().call(o,u,a)];case 1:return s.sent(),[4,Promise.all(this.children.map(function(h){return h.validate(u,a)}))];case 2:return s.sent(),[2,!0]}})}).call(this)}},{key:"toDataBindModel",value:function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,a=ot(Se(n.prototype),"toDataBindModel",this).call(this),l=a?[a]:[];return this.children.reduce(function(o,d){var s=d.toDataBindModel(u);if(Array.isArray(s)){var h=s.filter(function(v){return!!v});return so(o).concat(so(h))}return s&&o.push(s),o},l)}},{key:"toSchema",value:function(){var u=ot(Se(n.prototype),"toSchema",this).call(this),a=this.children.map(function(l){var o=l.toSchema();return o});return uB(nB({},u),{children:a})}}]),n}(M);Fe(k,"excludes",!1),Fe(k,"childrenMaxLength",sB);function dB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function hB(t,e,n){return e=ei(e),vB(t,yo()?Reflect.construct(e,n||[],ei(t).constructor):e.apply(t,n))}function yB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function fa(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ei(t){return ei=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ei(t)}function fB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&va(t,e)}function vB(t,e){return e&&(mB(e)==="object"||typeof e=="function")?e:dB(t)}function va(t,e){return va=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},va(t,e)}function mB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function yo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(yo=function(){return!!t})()}var L=function(t){fB(e,t);function e(n){yB(this,e);var i;return i=hB(this,e,[n]),fa(i,"controlType","layout"),fa(i,"children",void 0),fa(i,"props",void 0),i.props=new R(n==null?void 0:n.props),se(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return e}(q);function gB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bB(t,e,n){return e=ti(e),_B(t,fo()?Reflect.construct(e,n||[],ti(t).constructor):e.apply(t,n))}function CB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ct(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ti(t){return ti=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ti(t)}function EB(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 _B(t,e){return e&&(BB(e)==="object"||typeof e=="function")?e:gB(t)}function ma(t,e){return ma=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ma(t,e)}function BB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function fo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(fo=function(){return!!t})()}var ni=function(t){EB(e,t);function e(n,i,u){CB(this,e);var a;a=bB(this,e,[i]),ct(a,"headers",void 0),ct(a,"footers",void 0),ct(a,"pageIndex",void 0),ct(a,"pageSize",void 0),ct(a,"pageSizeOptions",void 0),ct(a,"totalCount",void 0),se(a,"headers",i==null?void 0:i.headers,n,u),se(a,"footers",i==null?void 0:i.footers,n);var l;a.pageIndex=(l=i==null?void 0:i.pageIndex)!==null&&l!==void 0?l:1;var o;a.pageSize=(o=i==null?void 0:i.pageSize)!==null&&o!==void 0?o:20;var d;a.pageSizeOptions=(d=i==null?void 0:i.pageSizeOptions)!==null&&d!==void 0?d:[20];var s;return a.totalCount=(s=i==null?void 0:i.totalCount)!==null&&s!==void 0?s:0,a}return e}(j);function ga(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 wB(t){if(Array.isArray(t))return ga(t)}function DB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function vo(t,e,n,i,u,a,l){try{var o=t[a](l),d=o.value}catch(s){n(s);return}o.done?e(d):Promise.resolve(d).then(i,u)}function IB(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(d){vo(a,i,u,l,o,"next",d)}function o(d){vo(a,i,u,l,o,"throw",d)}l(void 0)})}}function AB(t,e,n){return e=Te(e),OB(t,Eo()?Reflect.construct(e,n||[],Te(t).constructor):e.apply(t,n))}function FB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function mo(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 SB(t,e,n){return e&&mo(t.prototype,e),n&&mo(t,n),t}function ii(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function st(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?st=Reflect.get:st=function(u,a,l){var o=xB(u,a);if(!!o){var d=Object.getOwnPropertyDescriptor(o,a);return d.get?d.get.call(l||u):d.value}},st(t,e,n||t)}function Te(t){return Te=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Te(t)}function TB(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&&ba(t,e)}function PB(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function RB(){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 go(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){ii(t,u,n[u])})}return t}function kB(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(u){return Object.getOwnPropertyDescriptor(t,u).enumerable})),n.push.apply(n,i)}return n}function bo(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):kB(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function OB(t,e){return e&&(MB(e)==="object"||typeof e=="function")?e:DB(t)}function ba(t,e){return ba=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ba(t,e)}function xB(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Te(t),t!==null););return t}function Co(t){return wB(t)||PB(t)||LB(t)||RB()}function MB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function LB(t,e){if(!!t){if(typeof t=="string")return ga(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 ga(t,e)}}function Eo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Eo=function(){return!!t})()}function $B(t,e){var n,i,u,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},l=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return l.next=o(0),l.throw=o(1),l.return=o(2),typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function o(s){return function(h){return d([s,h])}}function d(s){if(n)throw new TypeError("Generator is already executing.");for(;l&&(l=0,s[0]&&(a=0)),a;)try{if(n=1,i&&(u=s[0]&2?i.return:s[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,s[1])).done)return u;switch(i=0,u&&(s=[s[0]&2,u.value]),s[0]){case 0:case 1:u=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,i=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(s[0]===6||s[0]===2)){a=0;continue}if(s[0]===3&&(!u||s[1]>u[0]&&s[1]<u[3])){a.label=s[1];break}if(s[0]===6&&a.label<u[1]){a.label=u[1],u=s;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(s);break}u[2]&&a.ops.pop(),a.trys.pop();continue}s=e.call(t,a)}catch(h){s=[6,h],i=0}finally{n=u=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}var Ca=function(t){TB(e,t);function e(n){FB(this,e);var i;return i=AB(this,e,[n]),ii(i,"controlType","list"),ii(i,"props",void 0),i.props=new ni(i,n==null?void 0:n.props,"Designer"),i}return SB(e,[{key:"validate",value:function(i,u){var a=this,l=this,o=function(){return st(Te(e.prototype),"validate",a)};return IB(function(){return $B(this,function(d){switch(d.label){case 0:return[4,o().call(l,i)];case 1:return d.sent(),[4,Promise.all(this.props.headers.map(function(s){return s.validate(i,u)}))];case 2:return d.sent(),[2,!0]}})}).call(this)}},{key:"toDataBindModel",value:function(){var i=st(Te(e.prototype),"toDataBindModel",this).call(this),u=i?[i]:[],a=this.id;return this.props.headers.reduce(function(l,o){var d=o.toDataBindModel(a);if(Array.isArray(d)){var s=d.filter(function(h){return!!h});return Co(l).concat(Co(s))}return d&&l.push(d),l},u)}},{key:"toSchema",value:function(){var i=st(Te(e.prototype),"toSchema",this).call(this),u=this.props.headers.map(function(a){return a.toSchema()});return bo(go({},i),{props:bo(go({},this.props),{headers:u})})}}]),e}(M);ii(Ca,"controlFieldType",C.LIST);function NB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function HB(t,e,n){return e=ui(e),WB(t,Bo()?Reflect.construct(e,n||[],ui(t).constructor):e.apply(t,n))}function VB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _o(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 jB(t,e,n){return e&&_o(t.prototype,e),n&&_o(t,n),t}function Ea(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ui(t){return ui=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ui(t)}function qB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_a(t,e)}function WB(t,e){return e&&(UB(e)==="object"||typeof e=="function")?e:NB(t)}function _a(t,e){return _a=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},_a(t,e)}function UB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Bo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Bo=function(){return!!t})()}var wo=function(t){qB(e,t);function e(n){VB(this,e);var i;return i=HB(this,e,[n]),Ea(i,"controlType","list"),Ea(i,"children",void 0),Ea(i,"props",void 0),i.props=new ni(i,n==null?void 0:n.props,"Runtime"),se(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return jB(e,[{key:"length",get:function(){return this.children.length}}]),e}(q);function zB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ba(t,e,n){return e=ai(e),KB(t,Do()?Reflect.construct(e,n||[],ai(t).constructor):e.apply(t,n))}function wa(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function J(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 Da(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&&Ia(t,e)}function KB(t,e){return e&&(GB(e)==="object"||typeof e=="function")?e:zB(t)}function Ia(t,e){return Ia=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ia(t,e)}function GB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Do(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Do=function(){return!!t})()}var be=function(t){Da(e,t);function e(n){wa(this,e);var i;return i=Ba(this,e,[n]),J(i,"caption",{type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),J(i,"width",{type:"number",required:!1,message:r("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")}),i.width.required=n.widthType==="px",i}return e}(U),W=function(t){Da(e,t);function e(n){wa(this,e);var i;i=Ba(this,e,[n]),J(i,"widthType",void 0),J(i,"width",void 0),J(i,"caption",void 0),J(i,"dataBind",void 0),J(i,"autoWidth",void 0),J(i,"fixed",void 0),J(i,"sort",void 0),J(i,"align",void 0),J(i,"colSpan",void 0),J(i,"autoHeight",void 0),J(i,"children",void 0);var u;i.width=(u=n==null?void 0:n.width)!==null&&u!==void 0?u:150,i.widthType=(n==null?void 0:n.widthType)||"auto";var a;i.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:"";var l;i.fixed=(l=n==null?void 0:n.fixed)!==null&&l!==void 0?l:"none",i.autoWidth=new Tr(n==null?void 0:n.autoWidth),i.dataBind=new he(n==null?void 0:n.dataBind);var o;i.sort=(o=n==null?void 0:n.sort)!==null&&o!==void 0?o:!0,i.align=n==null?void 0:n.align,i.colSpan=n==null?void 0:n.colSpan;var d;return i.autoHeight=(d=n==null?void 0:n.autoHeight)!==null&&d!==void 0?d:!1,i}return e}(j);J(W,"Rules",be);var Aa=function(t){Da(e,t);function e(n){wa(this,e);var i;return i=Ba(this,e,[n]),J(i,"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:r("CMD.PleaseSelectTheCorrectOptionSettings",null,"\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E")}),J(i,"options",[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")}]),J(i,"datasourceBind",[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),la.call(i,n),i}return e}(be);function ZB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function QB(t,e,n){return e=dt(e),nw(t,Ao()?Reflect.construct(e,n||[],dt(t).constructor):e.apply(t,n))}function XB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Io(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 JB(t,e,n){return e&&Io(t.prototype,e),n&&Io(t,n),t}function li(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,e,n){return typeof Reflect!="undefined"&&Reflect.get?ri=Reflect.get:ri=function(u,a,l){var o=iw(u,a);if(!!o){var d=Object.getOwnPropertyDescriptor(o,a);return d.get?d.get.call(l||u):d.value}},ri(t,e,n||t)}function dt(t){return dt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},dt(t)}function YB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Fa(t,e)}function pB(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){li(t,u,n[u])})}return t}function ew(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(u){return Object.getOwnPropertyDescriptor(t,u).enumerable})),n.push.apply(n,i)}return n}function tw(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):ew(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function nw(t,e){return e&&(uw(e)==="object"||typeof e=="function")?e:ZB(t)}function Fa(t,e){return Fa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Fa(t,e)}function iw(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=dt(t),t!==null););return t}function uw(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ao(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ao=function(){return!!t})()}var G=function(t){YB(e,t);function e(n){XB(this,e);var i;return i=QB(this,e,[n]),li(i,"controlType","column"),li(i,"props",void 0),li(i,"children",void 0),i.props=new W(n==null?void 0:n.props),se(i,"children",n==null?void 0:n.children,void 0,"Designer"),i}return JB(e,[{key:"toSchema",value:function(){var i=ri(dt(e.prototype),"toSchema",this).call(this);return tw(pB({},i),{children:this.children?this.children.map(function(u){return u.toSchema()}):[]})}}]),e}(M);function aw(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function lw(t,e,n){return e=oi(e),cw(t,Fo()?Reflect.construct(e,n||[],oi(t).constructor):e.apply(t,n))}function rw(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Sa(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function oi(t){return oi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oi(t)}function ow(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ta(t,e)}function cw(t,e){return e&&(sw(e)==="object"||typeof e=="function")?e:aw(t)}function Ta(t,e){return Ta=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ta(t,e)}function sw(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Fo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Fo=function(){return!!t})()}var Z=function(t){ow(e,t);function e(n){rw(this,e);var i;return i=lw(this,e,[n]),Sa(i,"controlType","column"),Sa(i,"props",void 0),Sa(i,"children",void 0),i.props=new W(n==null?void 0:n.props),se(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return e}(q);function dw(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function hw(t,e,n){return e=ci(e),mw(t,So()?Reflect.construct(e,n||[],ci(t).constructor):e.apply(t,n))}function yw(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function fw(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 vw(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&&Pa(t,e)}function mw(t,e){return e&&(gw(e)==="object"||typeof e=="function")?e:dw(t)}function Pa(t,e){return Pa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Pa(t,e)}function gw(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function So(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(So=function(){return!!t})()}var Ra=function(t){vw(e,t);function e(n){yw(this,e);var i;return i=hw(this,e,[n]),fw(i,"dataBind",void 0),i.dataBind=new he(n==null?void 0:n.dataBind),i}return e}(R);function bw(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Cw(t,e,n){return e=si(e),Bw(t,Po()?Reflect.construct(e,n||[],si(t).constructor):e.apply(t,n))}function Ew(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function To(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 _w(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ka(t,e)}function Bw(t,e){return e&&(ww(e)==="object"||typeof e=="function")?e:bw(t)}function ka(t,e){return ka=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ka(t,e)}function ww(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Po(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Po=function(){return!!t})()}var Dw=function(t){_w(e,t);function e(n){Ew(this,e);var i;return i=Cw(this,e,[n]),To(i,"controlType","search"),To(i,"props",void 0),i.props=new Ra(n==null?void 0:n.props),i}return e}(k);function Iw(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Aw(t,e,n){return e=di(e),Tw(t,ko()?Reflect.construct(e,n||[],di(t).constructor):e.apply(t,n))}function Fw(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ro(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function di(t){return di=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},di(t)}function Sw(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Oa(t,e)}function Tw(t,e){return e&&(Pw(e)==="object"||typeof e=="function")?e:Iw(t)}function Oa(t,e){return Oa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Oa(t,e)}function Pw(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ko(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ko=function(){return!!t})()}var Rw=function(t){Sw(e,t);function e(n){Fw(this,e);var i;return i=Aw(this,e,[n]),Ro(i,"controlType","search"),Ro(i,"props",void 0),i.props=new Ra(n==null?void 0:n.props),i}return e}(L);function kw(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ow(t,e,n){return e=hi(e),Lw(t,Oo()?Reflect.construct(e,n||[],hi(t).constructor):e.apply(t,n))}function xw(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function hi(t){return hi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hi(t)}function Mw(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&&xa(t,e)}function Lw(t,e){return e&&($w(e)==="object"||typeof e=="function")?e:kw(t)}function xa(t,e){return xa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},xa(t,e)}function $w(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Oo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Oo=function(){return!!t})()}var Ma=function(t){Mw(e,t);function e(n){return xw(this,e),Ow(this,e,[n])}return e}(R);function Nw(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Hw(t,e,n){return e=yi(e),qw(t,Mo()?Reflect.construct(e,n||[],yi(t).constructor):e.apply(t,n))}function Vw(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xo(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 jw(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&&La(t,e)}function qw(t,e){return e&&(Ww(e)==="object"||typeof e=="function")?e:Nw(t)}function La(t,e){return La=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},La(t,e)}function Ww(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Mo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Mo=function(){return!!t})()}var Uw=function(t){jw(e,t);function e(n){Vw(this,e);var i;return i=Hw(this,e,[n]),xo(i,"controlType","wrap"),xo(i,"props",void 0),i.props=new Ma(n==null?void 0:n.props),i}return e}(k);function zw(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Kw(t,e,n){return e=fi(e),Qw(t,$o()?Reflect.construct(e,n||[],fi(t).constructor):e.apply(t,n))}function Gw(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Lo(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){return fi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fi(t)}function Zw(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&$a(t,e)}function Qw(t,e){return e&&(Xw(e)==="object"||typeof e=="function")?e:zw(t)}function $a(t,e){return $a=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},$a(t,e)}function Xw(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function $o(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return($o=function(){return!!t})()}var Jw=function(t){Zw(e,t);function e(n){Gw(this,e);var i;return i=Kw(this,e,[n]),Lo(i,"controlType","wrap"),Lo(i,"props",void 0),i.props=new Ma(n==null?void 0:n.props),i}return e}(L);function Pe(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}])}class Na extends j{constructor(e){var n,i,u,a,l,o;super(e),this.captionColor=(e==null?void 0:e.captionColor)||"",this.captionSize=(e==null?void 0:e.captionSize)||"",this.isCaptionItalic=(e==null?void 0:e.isCaptionItalic)||!1,this.icon=(n=e==null?void 0:e.icon)!=null?n:"page-hint",this.showState=(i=e==null?void 0:e.showState)!=null?i:"text",this.content=(u=e==null?void 0:e.content)!=null?u:r("CMD.text",null,"\u8BF4\u660E\u6587\u5B57"),this.align=(a=e==null?void 0:e.align)!=null?a:"",this.aiContentSearch=(l=e==null?void 0:e.aiContentSearch)!=null?l:!1,this.isLabel=(o=e==null?void 0:e.isLabel)!=null?o:!1}}class No extends M{constructor(e){super(e),this.props=new Na(e==null?void 0:e.props)}static get controlName(){return r("CMD.text",null,"\u8BF4\u660E\u6587\u5B57")}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}No.setting=[{key:"content",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"ai-content-search",visible:!0},{key:"text-align",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class Yw extends q{constructor(e){super(e),this.props=new Na(e==null?void 0:e.props)}static get controlType(){return"text"}}var Ho={Designer:No,Runtime:Yw,Property:Na};class Ha extends j{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:r("CMD.linkContent",null,"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5"),this.url=(i=e==null?void 0:e.url)!=null?i:"",this.openMode=(u=e==null?void 0:e.openMode)!=null?u:"new"}}class Va extends M{constructor(e){super(e),this.props=new Ha(e==null?void 0:e.props)}static get controlName(){return r("CMD.link",null,"\u94FE\u63A5")}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}Va.controlEventKeys=["on_click"],Va.setting=[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];class pw extends q{constructor(e){super(e),this.props=new Ha(e==null?void 0:e.props)}static get controlType(){return"link"}}var Vo={Designer:Va,Runtime:pw,Property:Ha};class ee extends j{constructor(e){var n,i,u,a,l,o,d,s,h;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:r("CMD.button",null,"\u6309\u94AE"),this.buttonType=(i=e==null?void 0:e.buttonType)!=null?i:"primary",this.showType=(u=e==null?void 0:e.showType)!=null?u:"text",this.color=(a=e==null?void 0:e.color)!=null?a:"primary",this.icon=(l=e==null?void 0:e.icon)!=null?l:"iconfenlei2",this.defaultState=(o=e==null?void 0:e.defaultState)!=null?o:"default",this.command=(d=e==null?void 0:e.command)!=null?d:"custom",this.isLoading=(s=e==null?void 0:e.isLoading)!=null?s:!1,this.optObj=new C_((h=e==null?void 0:e.optObj)!=null?h:{})}}class Y extends M{constructor(e){super(e),this.props=new ee(e==null?void 0:e.props)}static get controlName(){return r("CMD.button",null,"\u6309\u94AE")}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}Y.slots=["grid-table-toolbar-slot","action-bar-slot",lr.DEFAULT],Y.controlEventKeys=["on_click"],Y.setting=[{key:"button-content",visible:!0},{key:"button-opt-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class ie extends q{constructor(e){super(e),this.props=new ee(e==null?void 0:e.props)}static get controlType(){return"button"}}var jo={Designer:Y,Runtime:ie,Property:ee},Re=(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))(Re||{}),qo=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(qo||{}),Wo=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(Wo||{});class vi{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:oe(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}class ja{constructor(e){var n,i,u;this.id=(n=e==null?void 0:e.id)!=null?n:oe(8),this.limitType=(i=e==null?void 0:e.limitType)!=null?i:"hour",this.value=(u=e==null?void 0:e.value)!=null?u:[]}}var qa=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(qa||{});class mi{constructor(e){var n,i,u;this.id=(n=e==null?void 0:e.id)!=null?n:oe(),this.text=(i=e==null?void 0:e.text)!=null?i:"",this.color=(u=e==null?void 0:e.color)!=null?u:""}}var Wa=(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))(Wa||{});class Ua{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,E,_,b,w,m,B,S;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new De((i=e==null?void 0:e.person)!=null?i:{type:"form"}),this.signatureType=(u=e==null?void 0:e.signatureType)!=null?u:[],this.telephone=(l=e==null?void 0:e.telephone)!=null?l:new De((a=e==null?void 0:e.telephone)!=null?a:{type:"form"}),this.company=(d=e==null?void 0:e.company)!=null?d:new De((o=e==null?void 0:e.company)!=null?o:{type:"form"}),this.indexSignature=(h=e==null?void 0:e.indexSignature)!=null?h:new De((s=e==null?void 0:e.indexSignature)!=null?s:{type:"form"}),this.signaturePosition=(v=e==null?void 0:e.signaturePosition)!=null?v:"free",this.seal=new De((g=e==null?void 0:e.seal)!=null?g:{type:"form"}),this.platformAutoSign=(E=e==null?void 0:e.platformAutoSign)!=null?E:!1,this.signDateBeanType=(_=e==null?void 0:e.signDateBeanType)!=null?_:0,this.signDateFontSize=(b=e==null?void 0:e.signDateFontSize)!=null?b:12,this.signOrder=(w=e==null?void 0:e.signOrder)!=null?w:1,this.forceReadTime=e==null?void 0:e.forceReadTime,this.posX=(m=e==null?void 0:e.posX)!=null?m:0,this.posY=(B=e==null?void 0:e.posY)!=null?B:0,this.remark=(S=e==null?void 0:e.remark)!=null?S:""}}class Uo{constructor(e){var n,i,u,a,l,o;this.fileControl=(n=e==null?void 0:e.fileControl)!=null?n:"",this.undersignedList=(u=(i=e==null?void 0:e.undersignedList)==null?void 0:i.map(d=>new Ua(d)))!=null?u:[new Ua],this.statusControl=(a=e==null?void 0:e.statusControl)!=null?a:"",this.completeControl=(l=e==null?void 0:e.completeControl)!=null?l:"",this.completeTimeControl=(o=e==null?void 0:e.completeTimeControl)!=null?o:""}}class jt{constructor(e){var n,i,u,a,l,o,d;this.id=(n=e==null?void 0:e.id)!=null?n:oe(8),this.appId=(i=e==null?void 0:e.appId)!=null?i:"",this.dataCode=(u=e==null?void 0:e.dataCode)!=null?u:"",this.svcCode=(a=e==null?void 0:e.svcCode)!=null?a:"",this.name=(l=e==null?void 0:e.name)!=null?l:"",this.fieldList=(o=e==null?void 0:e.fieldList)!=null?o:[],this.active=(d=e==null?void 0:e.active)!=null?d:!1}}class za{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 zo{constructor(e){var n,i,u,a;this.types=(n=e==null?void 0:e.types)!=null?n:["word","ppt","excel"],this.history=(i=e==null?void 0:e.history)!=null?i:!1,this.collaborativeRecord=(u=e==null?void 0:e.collaborativeRecord)!=null?u:!1,this.logicToDelete=(a=e==null?void 0:e.logicToDelete)!=null?a:!0,this.watermark=new za(e==null?void 0:e.watermark),this.autoRename=new za(e==null?void 0:e.autoRename)}}class Ka{constructor(e){var n,i,u,a,l,o,d;this.appId=(n=e==null?void 0:e.appId)!=null?n:"",this.dataCode=(i=e==null?void 0:e.dataCode)!=null?i:"",this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.orders=(a=e==null?void 0:e.orders)!=null?a:[],this.filters=(l=e==null?void 0:e.filters)!=null?l:[],this.isRelation=(o=e==null?void 0:e.isRelation)!=null?o:!1,this.relationBindCode=(d=e==null?void 0:e.relationBindCode)!=null?d:""}}class Ga{constructor(e){var n,i;this.type=(n=e==null?void 0:e.type)!=null?n:"auto",this.row=(i=e==null?void 0:e.row)!=null?i:20,this.height=e==null?void 0:e.height}}class Ko{constructor(e){this.dataCode=e.dataCode}}class Go{constructor(e){var n,i,u;this.templateType=(n=e==null?void 0:e.templateType)!=null?n:"system",this.templateList=(u=(i=e==null?void 0:e.templateList)==null?void 0:i.map(a=>new Ko(a)))!=null?u:[]}}class Zo{constructor(e){var n,i,u;this.templateType=(n=e==null?void 0:e.templateType)!=null?n:"system",this.templateList=(u=(i=e==null?void 0:e.templateList)==null?void 0:i.map(a=>new jt(a)))!=null?u:[new jt({id:"default",name:r("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u677F"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}const Qo=480;function qt(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class Xo{constructor(e){var n,i,u,a,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=(u=e==null?void 0:e.ruleName)!=null?u:"",this.isDefault=(a=e.isDefault)!=null?a:!1,this.rules=(l=e.rules)!=null?l:[]}}class Jo{constructor(e){var n,i,u;this.direction=(n=e==null?void 0:e.direction)!=null?n:"row",this.justifyContent=(i=e==null?void 0:e.justifyContent)!=null?i:"flex-start",this.alignItems=(u=e==null?void 0:e.alignItems)!=null?u:"flex-start"}}var Yo=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(Yo||{}),Za=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(Za||{}),gi=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(gi||{}),ke=(t=>(t.ALL="all",t.ASSIGN="assign",t))(ke||{}),Qa=(t=>(t.ALL="all",t.ADMIN="admin",t))(Qa||{}),Xa=(t=>(t.NO_COMPRESS="0",t.RATIO_COMPRESS="1",t.PIXEL_COMPRESS="2",t))(Xa||{});class Ja extends j{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:Wa.SOLID}}class po extends M{constructor(e){super(e),this.props=new Ja(e==null?void 0:e.props)}static get controlName(){return r("CMD.divider",null,"\u5206\u5272\u7EBF")}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}po.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]}];class eD extends q{constructor(e){super(e),this.props=new Ja(e==null?void 0:e.props)}static get controlType(){return"divider"}}var ec={Designer:po,Runtime:eD,Property:Ja};class tD extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.dataBind={type:"any"},this.config={type:"array"},e.config.includes(Re.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:r("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")},dataCode:{type:"string",required:!0,message:r("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")}},message:r("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")}),!e.isHide&&e.config.length===0&&(this.config={type:"array",min:1,required:!0,message:r("CMD.pleaseSelectOneField",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01")})}}class bi extends j{constructor(e){var n,i,u,a;super(e),this.dataBind=new he(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[Re.ShowSubmitUser,Re.ShowSubmitDept,Re.ShowSubmitTime,Re.ShowCurrentApprovar,Re.ShowTitle],this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:ht==null?void 0:ht.controlName)!=null?u:"",this.position=(a=e==null?void 0:e.position)!=null?a:"top"}}bi.Rules=tD;class ht extends M{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlName(){return r("CMD.title",null,"\u6807\u9898\u7EC4\u4EF6")}static get controlIcon(){return"title"}static get controlType(){return"title"}}ht.controlFieldType=C.AUTO_NUMBER,ht.setting=[{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class nD extends q{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlType(){return"title"}}var tc={Designer:ht,Runtime:nD,Property:bi};class iD extends U{constructor(e){super(e),this.formKey={type:"string",required:!0,message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}class Ci extends ee{constructor(e){var n,i,u,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:yt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:yt.controlName,this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(a=e==null?void 0:e.openType)!=null?a:"modal"}}Ci.Rules=iD;class yt extends Y{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlName(){return r("CMD.createFormListButton",null,"\u521B\u5EFA\u5355\u636E")}static get controlIcon(){return"iconchuangjiandanju"}static get controlType(){return"list-page-btn-create-form"}}yt.slots=["grid-table-toolbar-slot"],yt.controlEventKeys=["on_click","on_click_finish"],yt.setting=[{key:"button-content",visible:!0},{key:"select-form",visible:!0},{key:"open-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class uD extends ie{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var nc={Designer:yt,Runtime:uD,Property:Ci};class aD extends U{constructor(e){super(e),this.processKey=[{type:"string",message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{type:"string",required:!0,message:r("CMD.pleaseEnterProcess",null,"\u8BF7\u7ED1\u5B9A\u6D41\u7A0B")}]}}class Ei extends ee{constructor(e){var n,i,u,a,l,o;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:ft.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:ft.controlName,this.initiatorMode=(u=e==null?void 0:e.initiatorMode)!=null?u:"currentInitiator",this.processKey=(a=e==null?void 0:e.processKey)!=null?a:"",this.fieldCode=(l=e==null?void 0:e.fieldCode)!=null?l:"",this.employeeId=(o=e==null?void 0:e.employeeId)!=null?o:""}}Ei.Rules=aD;class ft extends Y{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlName(){return r("CMD.batchSubmissionListButton",null,"\u6279\u91CF\u63D0\u4EA4")}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-submission"}}ft.slots=["grid-table-toolbar-slot"],ft.controlEventKeys=["on_click","on_click_finish"],ft.setting=[{key:"button-content",visible:!0},{key:"select-process",visible:!0},{key:"initiator-mode",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class lD extends ie{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var ic={Designer:ft,Runtime:lD,Property:Ei};class Ya extends ee{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:vt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:vt.controlIcon}}class vt extends Y{constructor(e){super(e),this.props=new Ya(e==null?void 0:e.props)}static get controlName(){return r("CMD.submissionRecordListButton",null,"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55")}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-submission-record"}}vt.slots=["grid-table-toolbar-slot"],vt.controlEventKeys=["on_click"],vt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class rD extends ie{constructor(e){super(e),this.props=new Ya(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var uc={Designer:vt,Runtime:rD,Property:Ya};class pa extends ee{constructor(e){var n,i,u,a,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:mt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:mt.controlName,this.templateType=(u=e==null?void 0:e.templateType)!=null?u:"system",this.templateList=(l=(a=e==null?void 0:e.templateList)==null?void 0:a.map(o=>new jt(o)))!=null?l:[new jt({id:"default",name:r("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u7248"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class mt extends Y{constructor(e){super(e),this.props=new pa(e==null?void 0:e.props)}static get controlName(){return r("CMD.exportListButton",null,"\u5BFC\u51FA")}static get controlIcon(){return"iconxiazai1"}static get controlType(){return"list-page-btn-export-list"}}mt.slots=["grid-table-toolbar-slot"],mt.controlEventKeys=["on_click","on_click_finish"],mt.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 oD extends ie{constructor(e){super(e),this.props=new pa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var ac={Designer:mt,Runtime:oD,Property:pa};class el extends ee{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:gt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:gt.controlIcon}}class gt extends Y{constructor(e){super(e),this.props=new el(e==null?void 0:e.props)}static get controlName(){return r("CMD.exportRecordListButton",null,"\u5BFC\u51FA\u8BB0\u5F55")}static get controlIcon(){return"icondaochujilu"}static get controlType(){return"list-page-btn-export-record"}}gt.slots=["grid-table-toolbar-slot"],gt.controlEventKeys=["on_click"],gt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class cD extends ie{constructor(e){super(e),this.props=new el(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var lc={Designer:gt,Runtime:cD,Property:el};class sD{constructor(e){this.dataCode=e.dataCode}}class tl extends ee{constructor(e){var n,i,u,a,l;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:bt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:bt.controlIcon,this.canImportList=(a=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(o=>new sD(o)))!=null?a:[],this.templateType=(l=e==null?void 0:e.templateType)!=null?l:"system"}}class bt extends Y{constructor(e){super(e),this.props=new tl(e==null?void 0:e.props)}static get controlName(){return r("CMD.importRecordListButton",null,"\u5BFC\u5165")}static get controlIcon(){return"iconshangchuan3"}static get controlType(){return"list-page-btn-import-record"}}bt.slots=["grid-table-toolbar-slot"],bt.controlEventKeys=["on_click","on_click_finish"],bt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"import-list-template",visible:!0},{key:"super-setting",visible:!0}];class dD extends ie{constructor(e){super(e),this.props=new tl(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var rc={Designer:bt,Runtime:dD,Property:tl};function _i(){return{dataCode:{type:"string",required:!0,message:r("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},controlId:{type:"string",required:!0,message:r("CMD.pleaseSelectControl",null,"\u8BF7\u9009\u62E9\u63A7\u4EF6")}}}}}}class hD extends U{constructor(e){super(e),this.fillPayload={type:"object",fields:it({},_i())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:r("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}}},this.fillBack={type:"object",fields:it({mode:{type:"string",required:!0,message:r("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},_i())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:r("CMD.pleaseSelectControl",null,"\u8BF7\u9009\u62E9\u63A7\u4EF6")})}}class Bi extends ee{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Wt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Wt.controlIcon,this.command=(u=e==null?void 0:e.command)!=null?u:"create",this.fillPayload=new xr(e==null?void 0:e.fillPayload),this.formBind=new t_(e==null?void 0:e.formBind),this.fillBack=new Mr(e==null?void 0:e.fillBack)}}Bi.Rules=hD;class Wt extends Y{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlName(){return r("CMD.formSelectButton",null,"\u8868\u5355\u64CD\u4F5C")}static get controlIcon(){return"iconbiaodancaozuo"}static get controlType(){return"form-select-button"}}Wt.controlEventKeys=["on_click","on_click_finish"],Wt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class yD extends ie{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var oc={Designer:Wt,Runtime:yD,Property:Bi};class fD extends U{constructor(e){super(e),this.fillPayload={type:"object",fields:it({},_i())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:r("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")},headers:{type:"array",required:!0,message:r("CMD.pleaseSelectAtLeastOneColumn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5")}}},this.fillBack={type:"object",fields:it({mode:{type:"string",required:!0,message:r("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},_i())}}}class wi extends ee{constructor(e){var n,i,u,a,l;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Ut.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Ut.controlIcon,this.fillPayload=new xr(e==null?void 0:e.fillPayload),this.listPageBind=new qu(e==null?void 0:e.listPageBind),this.fillBack=new Mr(e==null?void 0:e.fillBack),this.showSelectedDetail=(u=e==null?void 0:e.showSelectedDetail)!=null?u:!1,this.selectedContentConfig=new Ku(e==null?void 0:e.selectedContentConfig),this.isSelectedRowFill=(a=e==null?void 0:e.isSelectedRowFill)!=null?a:!1,this.disableFilling=(l=e==null?void 0:e.disableFilling)!=null?l:!0}}wi.Rules=fD;class Ut extends Y{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlName(){return r("CMD.listSelectButton",null,"\u5217\u8868\u9009\u62E9")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-select-button"}}Ut.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],Ut.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class vD extends ie{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var cc={Designer:Ut,Runtime:vD,Property:wi};class mD extends U{constructor(e){super(e)}}class gD extends Me{constructor(e){super(e)}}class zt extends j{constructor(e){super(e)}}zt.Rules=mD,zt.RuntimeRules=gD;class sc extends M{constructor(e){super(e),this.props=new zt(e==null?void 0:e.props)}static get controlName(){return r("CMD.pagination",null,"\u5206\u9875")}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}sc.setting=[];class bD extends q{constructor(e){super(e),this.props=new zt(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var dc={Designer:sc,Runtime:bD,Property:zt};class CD extends U{constructor(e){super(e),this.dashboardKey={type:"string",required:!0,message:r("CMD.pleaseSelectDashboard",null,"\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8")},this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.captionTip={type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},this.isShowReportParams={type:"boolean"},this.reportParams={type:"array",min:0},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Di extends j{constructor(e){var n,i,u,a,l,o,d,s;super(e),this.dashboardKey=(n=e==null?void 0:e.dashboardKey)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.isHideCaption=(u=e==null?void 0:e.isHideCaption)!=null?u:!1,this.isShowCaptionTip=(a=e==null?void 0:e.isShowCaptionTip)!=null?a:!1,this.captionTip=(l=e==null?void 0:e.captionTip)!=null?l:"",this.labelPosition=(o=e==null?void 0:e.labelPosition)!=null?o:"top",this.isShowReportParams=(d=e==null?void 0:e.isShowReportParams)!=null?d:!1,this.reportParams=(s=e==null?void 0:e.reportParams)!=null?s:[]}}Di.Rules=CD;class hc extends M{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlName(){return r("CMD.dashboard",null,"\u4EEA\u8868\u76D8")}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}hc.setting=[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"report-params-setting",visible:!0},{key:"super-setting",visible:!0}];class ED extends q{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var yc={Designer:hc,Runtime:ED,Property:Di};class _D extends U{constructor(e){super(e),this.showType={type:"enum",enum:["select","tabs"]},this.viewList={type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:r("CMD.theViewNameCannotBeEmpty",null,"\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A")},headers:{type:"array",required:!0,min:1,message:r("CMD.pleaseSelectAtLeastOneColumn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5")}}}}}}class Ii extends j{constructor(e){var n,i,u;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"select",this.viewList=(u=(i=e==null?void 0:e.viewList)==null?void 0:i.map(a=>new g_(a)))!=null?u:[]}}Ii.Rules=_D;class fc extends M{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}static get controlName(){return r("CMD.listViewSelect",null,"\u5217\u8868\u89C6\u56FE")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-view-select"}}fc.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class BD extends q{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var vc={Designer:fc,Runtime:BD,Property:Ii};class wD extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:r("CMD.pleaseSelectOcrType",null,"\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B")},this.fillList={type:"array",validator(n,i,u){if(i.every(l=>!l.controlId)){u(r("CMD.pleaseSelectAtLeastOneFieldToFillIn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145"));return}u()}},this.captionTip={type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Ai extends ee{constructor(e){var n,i,u,a,l,o,d,s,h,v;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ct.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top",this.content=(o=e==null?void 0:e.content)!=null?o:Ct.controlName,this.icon=(d=e==null?void 0:e.icon)!=null?d:Ct.controlIcon,this.ocrType=(s=e==null?void 0:e.ocrType)!=null?s:"",this.fillList=(v=(h=e==null?void 0:e.fillList)==null?void 0:h.map(g=>new p(g)))!=null?v:[]}}Ai.Rules=wD;class Ct extends Y{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlName(){return r("CMD.textOcrButton",null,"\u6587\u5B57\u8BC6\u522B")}static get controlIcon(){return"iconwenzishibie"}static get controlType(){return"text-ocr-button"}}Ct.controlEventKeys=["on_click","on_click_finish"],Ct.setting=[{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class DD extends ie{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var mc={Designer:Ct,Runtime:DD,Property:Ai};class ID extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.invoiceCheck={type:"boolean"},this.fillList={type:"array",validator(n,i,u){if(i.every(l=>!l.controlId)){u(r("CMD.pleaseSelectAtLeastOneFieldToFillIn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145"));return}u()}},this.captionTip={type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Fi extends ee{constructor(e){var n,i,u,a,l,o,d,s,h,v;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Et.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top",this.content=(o=e==null?void 0:e.content)!=null?o:Et.controlName,this.icon=(d=e==null?void 0:e.icon)!=null?d:Et.controlIcon,this.invoiceCheck=(s=e==null?void 0:e.invoiceCheck)!=null?s:!0,this.fillList=(v=(h=e==null?void 0:e.fillList)==null?void 0:h.map(g=>new p(g)))!=null?v:[]}}Fi.Rules=ID;class Et extends Y{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}static get controlName(){return r("CMD.invoiceCheckButton",null,"\u53D1\u7968\u8BC6\u522B")}static get controlIcon(){return"iconfabiaoshibie1"}static get controlType(){return"invoice-check-button"}}Et.controlEventKeys=["on_click","on_click_finish"],Et.setting=[{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class AD extends ie{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var gc={Designer:Et,Runtime:AD,Property:Fi};class FD extends U{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:r("CMD.pleaseUploadAtLeastOnePrintTemplate",null,"\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01")}}}class Si extends ee{constructor(e){var n,i,u,a,l;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.printTemplates=(a=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(o=>new Xo(o)))!=null?a:[],this.autoSelectTemplate=(l=e==null?void 0:e.autoSelectTemplate)!=null?l:!1}}Si.Rules=FD;class _t extends Y{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlName(){return r("CMD.batchPrintListButton",null,"\u6279\u91CF\u6253\u5370")}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-print"}}_t.slots=["grid-table-toolbar-slot"],_t.controlEventKeys=["on_click","on_click_finish"],_t.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 SD extends ie{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var bc={Designer:_t,Runtime:SD,Property:Si};class nl extends ee{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Bt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Bt.controlIcon}}class Bt extends Y{constructor(e){super(e),this.props=new nl(e==null?void 0:e.props)}static get controlName(){return r("CMD.batchPrintRecordList",null,"\u6279\u91CF\u6253\u5370\u8BB0\u5F55")}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-batch-print-record"}}Bt.slots=["grid-table-toolbar-slot"],Bt.controlEventKeys=["on_click"],Bt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class TD extends ie{constructor(e){super(e),this.props=new nl(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var Cc={Designer:Bt,Runtime:TD,Property:nl};class PD extends U{constructor(e){super(e),this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")})}}class Ti extends j{constructor(e){var n,i,u,a,l,o;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:r("CMD.button",null,"\u6309\u94AE"),this.code=e==null?void 0:e.code,this.command=(i=e==null?void 0:e.command)!=null?i:"custom",this.color=(u=e==null?void 0:e.color)!=null?u:"primary",this.icon=e==null?void 0:e.icon,this.formKey=e==null?void 0:e.formKey,this.openType=e==null?void 0:e.openType,this.needConfirm=e==null?void 0:e.needConfirm,this.confirmMessage=e==null?void 0:e.confirmMessage,this.options=e==null?void 0:e.options,this.defaultState=(a=e==null?void 0:e.defaultState)!=null?a:"default",this.priorityProcess=e==null?void 0:e.priorityProcess,this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.isSyncDelete=(o=e==null?void 0:e.isSyncDelete)!=null?o:!1}}Ti.Rules=PD;class Pi extends M{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlName(){return r("CMD.operationButton",null,"\u64CD\u4F5C\u6309\u94AE")}static get controlIcon(){return"iconbtn"}static get controlType(){return"operation-button"}}Pi.controlEventKeys=["on_click"],Pi.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class RD extends q{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var Ec={Designer:Pi,Runtime:RD,Property:Ti};class il extends j{constructor(e){var n,i,u,a,l,o,d,s,h;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:wt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:wt.controlIcon,this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"iconText",this.color=(l=e==null?void 0:e.color)!=null?l:"danger",this.isHide=(o=e==null?void 0:e.isHide)!=null?o:!1,this.defaultState=(d=e==null?void 0:e.defaultState)!=null?d:"default",this.command=(s=e==null?void 0:e.command)!=null?s:"custom",this.isLoading=(h=e==null?void 0:e.isLoading)!=null?h:!1}}class wt extends M{constructor(e){super(e),this.props=new il(e==null?void 0:e.props)}static get controlName(){return r("CMD.batchDeleteButton",null,"\u6279\u91CF\u5220\u9664")}static get controlIcon(){return"iconlajitong"}static get controlType(){return"list-page-btn-batch-delete"}}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:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class kD extends q{constructor(e){super(e),this.props=new il(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var _c={Designer:wt,Runtime:kD,Property:il};class OD extends U{constructor(e){super(e),this.actionSetting={type:"object",fields:{dataCode:{type:"string",required:!0,message:r("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},formKey:{type:"string",required:!0,message:r("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}}}}}class Ri extends j{constructor(e){var n,i,u,a,l,o;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ki.controlName,this.isShowSimpleSearch=(i=e==null?void 0:e.isShowSimpleSearch)!=null?i:!0,this.isShowToolbar=(u=e==null?void 0:e.isShowToolbar)!=null?u:!0,this.isHideCaption=(a=e==null?void 0:e.isHideCaption)!=null?a:!1,this.actionSetting=(l=new Ka(e==null?void 0:e.actionSetting))!=null?l:new Ka,this.listHeightSetting=(o=new Ga(e==null?void 0:e.listHeightSetting))!=null?o:new Ga}}Ri.Rules=OD;class ki extends M{constructor(e){super(e),this.props=new Ri(e==null?void 0:e.props)}static get controlName(){return r("CMD.referenceList",null,"\u5F15\u7528\u5217\u8868")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"reference-list"}}ki.controlEventKeys=["on_list_rowclick"],ki.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_SIMPLE_SEARCH,c.IS_SHOW_TOOL_BAE]},{key:"action-setting",visible:!0},{key:"line-height-setting",visible:!0},{key:"super-setting",visible:!0}];class xD extends q{constructor(e){super(e),this.props=new Ri(e==null?void 0:e.props)}static get controlType(){return"reference-list"}}var Bc={Designer:ki,Runtime:xD,Property:Ri};class ul extends j{constructor(e){var n;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"",this.commentOptions=(e==null?void 0:e.commentOptions)||[]}}class wc extends M{constructor(e){super(e),this.props=new ul(e==null?void 0:e.props)}static get controlName(){return r("CMD.comment",null,"\u610F\u89C1\u6807\u7B7E")}static get controlIcon(){return"icona-fenlei22"}static get controlType(){return"comment"}}wc.setting=[{key:"content",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"comment-option",visible:!0},{key:"super-setting",visible:!0}];class MD extends q{constructor(e){super(e),this.props=new ul(e==null?void 0:e.props)}static get controlType(){return"comment"}}var Dc={Designer:wc,Runtime:MD,Property:ul},LD=Object.freeze({__proto__:null,Text:Ho,Link:Vo,Button:jo,Divider:ec,Title:tc,CreateFormListButton:nc,BatchSubmissionListButton:ic,SubmissionRecordListButton:uc,ExportListButton:ac,ExportRecordListButton:lc,ImportRecordListButton:rc,FormSelectButton:oc,ListSelectButton:cc,Pagination:dc,Dashboard:yc,ListViewSelect:vc,TextOcrButton:mc,InvoiceCheckButton:gc,BatchPrintListButton:bc,BatchPrintRecordListButton:Cc,OperationButton:Ec,BatchDeleteButton:_c,ReferenceList:Bc,CommentControl:Dc});class $D extends X{constructor(e){super(e),this.maxLength={type:"number",min:0,message:r("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:200,message:r("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")},this.defaultValue=[{type:"string",max:200,min:0,message:r("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")},{pattern:"",message:""}],this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue[0].max=e.maxLength,this.defaultValue[0].min=e.minLength,this.defaultValue[0].message=r("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C"),this.defaultValue[1].pattern=qt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class ND extends V{constructor(e){super(e),this.push({type:"string",message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{max:e.maxLength,min:e.minLength,message:r("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:qt(e.regularRules.expression),message:e.regularRules.errMessage})}}class Dt extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:200,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.regularRules=new Lr(e==null?void 0:e.regularRules),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:It.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.encrypted=(o=e==null?void 0:e.encrypted)!=null?o:!1,this.encryptedMode=(d=e==null?void 0:e.encryptedMode)!=null?d:"",this.aiContentSearch=(s=e==null?void 0:e.aiContentSearch)!=null?s:!1,this.autoHeight=(h=e==null?void 0:e.autoHeight)!=null?h:!1,this.lineEllipsis=(v=e==null?void 0:e.lineEllipsis)!=null?v:1}}Dt.Rules=$D,Dt.RuntimeRules=ND;class It extends T{constructor(e){super(e),this.props=new Dt(e==null?void 0:e.props)}static get controlName(){return r("CMD.input",null,"\u5355\u884C\u6587\u672C")}static get controlIcon(){return"iconSingleline_new1"}static get controlType(){return"input"}}It.controlEventKeys=["on_change","on_input","on_focus","on_blur"],It.controlFieldType=C.VARCHAR,It.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.ENCRYPTED]},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"ai-content-search",visible:!0},{key:"column-autoHeight",visible:!1},{key:"column-line-ellipsis",visible:!1},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class Ic extends P{constructor(e){super(e),this.props=new Dt(e==null?void 0:e.props)}static get controlType(){return"input"}}Ic.controlFieldType=C.VARCHAR;var Ac={Designer:It,Runtime:Ic,Property:Dt};class HD extends rt{constructor(e){super(e),this.limitMax={type:"number",min:void 0,message:r("CMD.PleaseReselectTheOptionalQuantity",null,"\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const i=u=>u==="unlimited"?void 0:u;this.limitMax.min=i(e.limitMin)}}class VD extends V{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 Kt extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,E,_,b,w,m;super(e),this.options=me((n=e==null?void 0:e.options)!=null?n:[{label:r("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:r("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:r("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:r("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.checkboxMode=(i=e==null?void 0:e.checkboxMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.optionsOrder=(a=e==null?void 0:e.optionsOrder)!=null?a:!1,this.otherOption=(l=e==null?void 0:e.otherOption)!=null?l:!1,this.limitMin=(o=e==null?void 0:e.limitMin)!=null?o:"unlimited",this.limitMax=(d=e==null?void 0:e.limitMax)!=null?d:"unlimited",this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.interreaction=(s=e==null?void 0:e.interreaction)!=null?s:[],this.caption=(h=e==null?void 0:e.caption)!=null?h:Gt.controlName,this.defaultValue=(v=e==null?void 0:e.defaultValue)!=null?v:[],this.optionsFormat=(g=e==null?void 0:e.optionsFormat)!=null?g:"horizontal",this.defaultShowOptions=(E=e==null?void 0:e.defaultShowOptions)!=null?E:!0,this.openMultistageFilling=(_=e==null?void 0:e.openMultistageFilling)!=null?_:!1,this.type=(b=e==null?void 0:e.type)!=null?b:"default",this.isUseCustomColor=(w=e==null?void 0:e.isUseCustomColor)!=null?w:!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 p(B))})),this.aiContentSearch=(m=e==null?void 0:e.aiContentSearch)!=null?m:!1}}Kt.Rules=HD,Kt.RuntimeRules=VD;class Gt extends T{constructor(e){super(e),this.props=new Kt(e==null?void 0:e.props)}static get controlName(){return r("CMD.checkBox",null,"\u591A\u9009")}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}Gt.controlEventKeys=["on_change","on_click"],Gt.controlFieldType=C.ARRAY,Gt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:"\u9009\u9879\u7C7B\u578B",default:"default",options:[{value:"default",label:"\u9ED8\u8BA4"},{value:"button",label:"\u6309\u94AE"}]},{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 Fc extends P{constructor(e){super(e),this.props=new Kt(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}Fc.controlFieldType=C.ARRAY;var Sc={Designer:Gt,Runtime:Fc,Property:Kt};class al extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,E,_,b,w,m;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Le.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.showSearch=(a=e==null?void 0:e.showSearch)!=null?a:!0,this.expandTrigger=(l=e==null?void 0:e.expandTrigger)!=null?l:"click",this.allowClear=(o=e==null?void 0:e.allowClear)!=null?o:!0,this.showCheckedStrategy=(d=e==null?void 0:e.showCheckedStrategy)!=null?d:"",this.saveCheckedStrategy=(s=e==null?void 0:e.saveCheckedStrategy)!=null?s:"CHILD",this.separator=(h=e==null?void 0:e.separator)!=null?h:"/",this.optionConfig=(v=e==null?void 0:e.optionConfig)!=null?v:"custom",this.datasourceBind=new jn((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Le.controlCustomAttributes}),this.filterItemDatasourceBind=new jn((E=e==null?void 0:e.filterItemDatasourceBind)!=null?E:{attributes:Le.controlCustomAttributes}),this.openMultistageFilling=(_=e==null?void 0:e.openMultistageFilling)!=null?_:!1,this.multistageFilling=(w=(b=e==null?void 0:e.multistageFilling)==null?void 0:b.map(B=>new p(B)))!=null?w:[],this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:[]}}class Le extends T{constructor(e){super(e),this.props=new al(e==null?void 0:e.props)}static get controlName(){return"\u7EA7\u8054\u9009\u62E9"}static get controlIcon(){return"iconziyou_dagangshu"}static get controlType(){return"cascader"}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.6cb51751712162323"),required:!0},{key:"parentField",name:r("CMD.33ee1751712159752"),required:!0}]}}Le.controlEventKeys=["on_change","on_focus","on_blur"],Le.controlFieldType=C.ARRAY,Le.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.CAN_SEARCH,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"cascader-trigger-type",visible:!0},{key:"cascader-select-value-type",visible:!0},{key:"cascader-show-type",visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class Tc extends P{constructor(e){super(e),this.props=new al(e==null?void 0:e.props)}static get controlType(){return"cascader"}}Tc.controlFieldType=C.VARCHAR;var Pc={Designer:Le,Runtime:Tc,Property:al};class jD extends rt{constructor(e){super(e)}}class Oi extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,E,_,b;super(e),this.options=me((n=e==null?void 0:e.options)!=null?n:[{label:r("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:r("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:r("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:r("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.radioMode=(i=e==null?void 0:e.radioMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.otherOption=(a=e==null?void 0:e.otherOption)!=null?a:!1,this.optionsOrder=(l=e==null?void 0:e.optionsOrder)!=null?l:!1,this.defaultShowOptions=(o=e==null?void 0:e.defaultShowOptions)!=null?o:!0,this.optionsFormat=(d=e==null?void 0:e.optionsFormat)!=null?d:"horizontal",this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.interreaction=(s=e==null?void 0:e.interreaction)!=null?s:[],this.caption=(h=e==null?void 0:e.caption)!=null?h:Zt.controlName,this.defaultValue=(v=e==null?void 0:e.defaultValue)!=null?v:"",this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.type=(E=e==null?void 0:e.type)!=null?E:"default",this.isUseCustomColor=(_=e==null?void 0:e.isUseCustomColor)!=null?_:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(w=>{var m;(m=this.multistageFilling)==null||m.push(new p(w))})),this.aiContentSearch=(b=e==null?void 0:e.aiContentSearch)!=null?b:!1}}Oi.Rules=jD;class Zt extends T{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlName(){return r("CMD.radio",null,"\u5355\u9009")}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}Zt.controlEventKeys=["on_change","on_click"],Zt.controlFieldType=C.VARCHAR,Zt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:"\u9009\u9879\u7C7B\u578B",default:"default",options:[{value:"default",label:"\u9ED8\u8BA4"},{value:"button",label:"\u6309\u94AE"}]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Rc extends P{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlType(){return"radio"}}Rc.controlFieldType=C.VARCHAR;var kc={Designer:Zt,Runtime:Rc,Property:Oi};class qD extends X{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:200,message:r("CMD.pleaseEnterNumberRange",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")},{pattern:"",message:""}],this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue[0].max=n,this.defaultValue[0].min=i,this.defaultValue[0].message=r("CMD.pleaseEnterNumberRange",{max:n,min:i},"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:r("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")}),this.defaultValue[1].pattern=qt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class WD extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const n=e.rangeMax!==""?e.rangeMax:void 0,i=e.rangeMin!==""?e.rangeMin:void 0;this.push({type:"number",max:n,min:i,message:r(n===void 0?"CMD.pleaseEnterAValueGreaterThanMin":i===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:n,min:i},r(n===void 0?"CMD.16921751712133509":i===void 0?"CMD.f0231751712135569":"CMD.78ab1751712129046"))}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:qt(e.regularRules.expression),message:e.regularRules.errMessage})}}class Qt extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,E,_,b,w,m;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.numberType=(u=e==null?void 0:e.numberType)!=null?u:"number",this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.micrometer=(l=e==null?void 0:e.micrometer)!=null?l:!1,this.precision=(o=e==null?void 0:e.precision)!=null?o:0,this.showUpperCase=(d=e==null?void 0:e.showUpperCase)!=null?d:!1,this.isShowUnit=(s=e==null?void 0:e.isShowUnit)!=null?s:!1,this.unitPosition=(h=e==null?void 0:e.unitPosition)!=null?h:"right",this.unit=(v=e==null?void 0:e.unit)!=null?v:"",this.caption=(g=e==null?void 0:e.caption)!=null?g:Xt.controlName,this.placeholder=(E=e==null?void 0:e.placeholder)!=null?E:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.defaultValue=(_=e==null?void 0:e.defaultValue)!=null?_:"",this.regularRules=new Lr(e==null?void 0:e.regularRules),this.isShowControlButton=(b=e==null?void 0:e.isShowControlButton)!=null?b:!1,this.controlButtonPosition=(w=e==null?void 0:e.controlButtonPosition)!=null?w:"between",this.step=(m=e==null?void 0:e.step)!=null?m:1}}Qt.Rules=qD,Qt.RuntimeRules=WD;class Xt extends T{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlName(){return r("CMD.number",null,"\u6570\u5B57")}static get controlIcon(){return"iconnuminput_new"}static get controlType(){return"number"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}Xt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Xt.controlFieldType=C.DECIMAL,Xt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"number-range",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_UNIT,c.IS_SHOW_CAPTION_TIP]},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"number-control-button",visible:!0},{key:"super-setting",visible:!0}];class Oc extends P{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlType(){return"number"}}Oc.controlFieldType=C.DECIMAL;var xc={Designer:Xt,Runtime:Oc,Property:Qt};class ll extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,E;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:ut.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(u=e==null?void 0:e.commonTimeSetting)!=null?u:[],this.setValueType=(a=e==null?void 0:e.setValueType)!=null?a:"custom",this.caption=(l=e==null?void 0:e.caption)!=null?l:xi.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:r("CMD.pleaseEnterDate",null,"\u8BF7\u8F93\u5165\u65E5\u671F"),this.defaultValue=(d=e==null?void 0:e.defaultValue)!=null?d:"",this.limitDateList=(h=(s=e==null?void 0:e.limitDateList)==null?void 0:s.map(_=>new vi(_)))!=null?h:[],this.allowDateRange=(v=e==null?void 0:e.allowDateRange)!=null?v:["",""],this.filterWeekend=(g=e==null?void 0:e.filterWeekend)!=null?g:!1,this.isInternational=(E=e==null?void 0:e.isInternational)!=null?E:!1}}class xi extends T{constructor(e){super(e),this.props=new ll(e==null?void 0:e.props)}static get controlName(){return r("CMD.timestamp",null,"\u65E5\u671F")}static get controlIcon(){return"iconriqi1"}static get controlType(){return"date-picker"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:i,isInternational:u}=this.props;n.props.dateType=i,n.props.isInternational=u}return n}}xi.controlFieldType=C.TIMESTAMP,xi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],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:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.IS_INTERNATIONAL]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Mc extends P{constructor(e){super(e),this.props=new ll(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}Mc.controlFieldType=C.TIMESTAMP;var Lc={Designer:xi,Runtime:Mc,Property:ll};class UD extends V{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 Mi extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,E;super(e),this.dataBind=new Hr(e==null?void 0:e.dataBind),this.defaultValue=new Vr(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:ut.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(u=e==null?void 0:e.commonTimeSetting)!=null?u:[],this.setValueType=(a=e==null?void 0:e.setValueType)!=null?a:"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=(d=e==null?void 0:e.placeholderStart)!=null?d:r("CMD.pleaseSelectStartDate",null,"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F"),this.placeholderEnd=(s=e==null?void 0:e.placeholderEnd)!=null?s:r("CMD.pleaseSelectEndDate",null,"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F"),this.caption=(h=e==null?void 0:e.caption)!=null?h:Li.controlName,this.limitDateList=(g=(v=e==null?void 0:e.limitDateList)==null?void 0:v.map(_=>new vi(_)))!=null?g:[],this.isInternational=(E=e==null?void 0:e.isInternational)!=null?E:!1}}Mi.RuntimeRules=UD;class Li extends T{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}static get controlName(){return r("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"date-range"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:i,isInternational:u}=this.props;n.props.dateType=i,n.props.isInternational=u}return n}}Li.controlFieldType=C.TIMESCOPE,Li.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],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:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.IS_INTERNATIONAL]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class $c extends P{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}static get controlType(){return"date-range"}}$c.controlFieldType=C.TIMESCOPE;var Nc={Designer:Li,Runtime:$c,Property:Mi};class rl extends F{constructor(e){var n,i,u,a,l,o,d;super(e),this.format=(n=e==null?void 0:e.format)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:$i.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:"\u8BF7\u8F93\u5165\u65F6\u95F4",this.defaultValue=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.limitTimeList=(o=(l=e==null?void 0:e.limitTimeList)==null?void 0:l.map(s=>new ja(s)))!=null?o:[],this.isInternational=(d=e==null?void 0:e.isInternational)!=null?d:!1}}class $i extends T{constructor(e){super(e),this.props=new rl(e==null?void 0:e.props)}static get controlName(){return"\u65F6\u95F4"}static get controlIcon(){return"iconshijian31"}static get controlType(){return"time-picker"}}$i.controlFieldType=C.TIMESTAMP,$i.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"time-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.IS_INTERNATIONAL]},{key:"time-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Hc extends P{constructor(e){super(e),this.props=new rl(e==null?void 0:e.props)}static get controlType(){return"time-picker"}}Hc.controlFieldType=C.TIMESTAMP;var Vc={Designer:$i,Runtime:Hc,Property:rl};class zD extends V{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 Ni extends F{constructor(e){var n,i,u,a,l,o,d,s,h;super(e),this.dataBind=new Hr(e==null?void 0:e.dataBind),this.defaultValue=new Vr(e==null?void 0:e.defaultValue),this.format=(n=e==null?void 0:e.format)!=null?n:"",this.rangeMin=(i=e==null?void 0:e.rangeMin)!=null?i:"",this.rangeMax=(u=e==null?void 0:e.rangeMax)!=null?u:"",this.placeholderStart=(a=e==null?void 0:e.placeholderStart)!=null?a:"\u5F00\u59CB\u65F6\u95F4",this.placeholderEnd=(l=e==null?void 0:e.placeholderEnd)!=null?l:"\u7ED3\u675F\u65F6\u95F4",this.caption=(o=e==null?void 0:e.caption)!=null?o:Hi.controlName,this.limitTimeList=(s=(d=e==null?void 0:e.limitTimeList)==null?void 0:d.map(v=>new ja(v)))!=null?s:[],this.isInternational=(h=e==null?void 0:e.isInternational)!=null?h:!1}}Ni.RuntimeRules=zD;class Hi extends T{constructor(e){super(e),this.props=new Ni(e==null?void 0:e.props)}static get controlName(){return"\u65F6\u95F4\u533A\u95F4"}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"time-range"}}Hi.controlFieldType=C.TIMESCOPE,Hi.setting=[{key:"data-bind-time-range",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-input",visible:!0,name:"placeholderStart",label:"\u5F00\u59CB\u65F6\u95F4\u63D0\u793A\u6587\u5B57"},{key:"common-input",visible:!0,name:"placeholderEnd",label:"\u7ED3\u675F\u65F6\u95F4\u63D0\u793A\u6587\u5B57"},{key:"time-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.IS_INTERNATIONAL]},{key:"time-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class jc extends P{constructor(e){super(e),this.props=new Ni(e==null?void 0:e.props)}static get controlType(){return"time-range"}}jc.controlFieldType=C.TIMESCOPE;var qc={Designer:Hi,Runtime:jc,Property:Ni};class KD extends X{constructor(e){super(e),this.maxLength={type:"number",min:0,message:r("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:1e6,message:r("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")},this.defaultValue={type:"string",max:200,min:0,message:r("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=r("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}}class GD extends V{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:r("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")})}}class Jt extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:Yt.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.rowHeightSetting=new YE(e==null?void 0:e.rowHeightSetting),this.aiContentSearch=(o=e==null?void 0:e.aiContentSearch)!=null?o:!1,this.aiGeneration=(d=e==null?void 0:e.aiGeneration)!=null?d:!1,this.aiOptions=Nr((s=e==null?void 0:e.aiOptions)!=null?s:[{label:r("CMD.aiOptionOneLabel",null,"\u603B\u7ED3"),cueWord:r("CMD.aiOptionOneCurword",null,"SUMM"),checked:!0},{label:r("CMD.aiOptionTwoLabel",null,"\u4E30\u5BCC"),cueWord:r("CMD.aiOptionTwoCurword",null,"RICH"),checked:!1},{label:r("CMD.aiOptionThreeLabel",null,"\u7FFB\u8BD1"),cueWord:r("CMD.aiOptionThreeCurword",null,"TRANS"),checked:!1}]),this.autoHeight=(h=e==null?void 0:e.autoHeight)!=null?h:!1,this.lineEllipsis=(v=e==null?void 0:e.lineEllipsis)!=null?v:1}}Jt.Rules=KD,Jt.RuntimeRules=GD;class Yt extends T{constructor(e){super(e),this.props=new Jt(e==null?void 0:e.props)}static get controlName(){return r("CMD.textarea",null,"\u591A\u884C\u6587\u672C")}static get controlIcon(){return"iconMultilineline_new1"}static get controlType(){return"textarea"}}Yt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Yt.controlFieldType=C.TEXT,Yt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!1},{key:"ai-generation",visible:!0},{key:"column-autoHeight",visible:!1},{key:"column-line-ellipsis",visible:!1},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"row-height-setting",visible:!0},{key:"super-setting",visible:!0}];class Wc extends P{constructor(e){super(e),this.props=new Jt(e==null?void 0:e.props)}static get controlType(){return"textarea"}}Wc.controlFieldType=C.TEXT;var Uc={Designer:Yt,Runtime:Wc,Property:Jt};class ZD extends X{constructor(e){super(e),this.maxLength={type:"number",min:0,message:r("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:1e6,message:r("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")},this.defaultValue={type:"string",max:200,min:0,message:r("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=r("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}}class QD extends V{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:r("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")})}}class pt extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:en.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.aiContentSearch=(o=e==null?void 0:e.aiContentSearch)!=null?o:!1,this.aiGeneration=(d=e==null?void 0:e.aiGeneration)!=null?d:!1,this.aiOptions=Nr((s=e==null?void 0:e.aiOptions)!=null?s:[{label:r("CMD.aiOptionOneLabel",null,"\u603B\u7ED3"),cueWord:r("CMD.aiOptionOneCurword",null,"SUMM"),checked:!0},{label:r("CMD.aiOptionTwoLabel",null,"\u4E30\u5BCC"),cueWord:r("CMD.aiOptionTwoCurword",null,"RICH"),checked:!1},{label:r("CMD.aiOptionThreeLabel",null,"\u7FFB\u8BD1"),cueWord:r("CMD.aiOptionThreeCurword",null,"TRANS"),checked:!1}]),this.autoHeight=(h=e==null?void 0:e.autoHeight)!=null?h:!1,this.lineEllipsis=(v=e==null?void 0:e.lineEllipsis)!=null?v:1}}pt.Rules=ZD,pt.RuntimeRules=QD;class en extends T{constructor(e){super(e),this.props=new pt(e==null?void 0:e.props)}static get controlName(){return r("CMD.richText",null,"\u5BCC\u6587\u672C")}static get controlIcon(){return"iconRichtextbox_new"}static get controlType(){return"rich-text"}}en.controlEventKeys=["on_change","on_input","on_focus","on_blur"],en.controlFieldType=C.TEXT,en.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"ai-content-search",visible:!1},{key:"ai-generation",visible:!0},{key:"column-autoHeight",visible:!1},{key:"column-line-ellipsis",visible:!1},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}];class zc extends P{constructor(e){super(e),this.props=new pt(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}zc.controlFieldType=C.TEXT;var Kc={Designer:en,Runtime:zc,Property:pt};class XD extends rt{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class Vi extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,E,_;super(e),this.options=me((n=e==null?void 0:e.options)!=null?n:[{label:r("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:r("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:r("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:r("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:ji.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:"",this.allowCopyOptions=(d=e==null?void 0:e.allowCopyOptions)!=null?d:!1,this.openMultistageFilling=(s=e==null?void 0:e.openMultistageFilling)!=null?s:!1,this.type=(h=e==null?void 0:e.type)!=null?h:"default",this.isUseCustomColor=(v=e==null?void 0:e.isUseCustomColor)!=null?v:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(b=>{var w;(w=this.multistageFilling)==null||w.push(new p(b))})),this.canViewForm=(g=e==null?void 0:e.canViewForm)!=null?g:!1,this.viewFormModelType=(E=e==null?void 0:e.viewFormModelType)!=null?E:"window",this.formBind=new at(e==null?void 0:e.formBind),this.aiContentSearch=(_=e==null?void 0:e.aiContentSearch)!=null?_:!1}}Vi.Rules=XD;class ji extends T{constructor(e){super(e),this.props=new Vi(e==null?void 0:e.props)}static get controlName(){return r("CMD.select",null,"\u4E0B\u62C9\u5355\u9009")}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}ji.controlFieldType=C.VARCHAR,ji.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.DEFAULT_SHOW_OPTIONS,c.IS_SHOW_CAPTION_TIP,c.ALLOW_COPY_OPTIONS]},{key:"ai-content-search",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:"\u9009\u9879\u7C7B\u578B",default:"default",options:[{value:"default",label:"\u9ED8\u8BA4"},{value:"button",label:"\u6309\u94AE"}]},{key:"options-setting",visible:!0,showItems:[c.CAN_VIEW_FORM,c.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Gc extends P{constructor(e){super(e),this.props=new Vi(e==null?void 0:e.props)}static get controlType(){return"select"}}Gc.controlFieldType=C.VARCHAR;var Zc={Designer:ji,Runtime:Gc,Property:Vi};class JD extends rt{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class YD extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class tn extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,E;super(e),this.options=me((n=e==null?void 0:e.options)!=null?n:[{label:r("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:r("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:r("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:r("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:qi.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.openMultistageFilling=(d=e==null?void 0:e.openMultistageFilling)!=null?d:!1,this.type=(s=e==null?void 0:e.type)!=null?s:"default",this.isUseCustomColor=(h=e==null?void 0:e.isUseCustomColor)!=null?h:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var b;(b=this.multistageFilling)==null||b.push(new p(_))})),this.canViewForm=(v=e==null?void 0:e.canViewForm)!=null?v:!1,this.viewFormModelType=(g=e==null?void 0:e.viewFormModelType)!=null?g:"window",this.formBind=new at(e==null?void 0:e.formBind),this.aiContentSearch=(E=e==null?void 0:e.aiContentSearch)!=null?E:!1}}tn.Rules=JD,tn.RuntimeRules=YD;class qi extends T{constructor(e){super(e),this.props=new tn(e==null?void 0:e.props)}static get controlName(){return r("CMD.selectMultiple",null,"\u4E0B\u62C9\u591A\u9009")}static get controlIcon(){return"iconxialaduoxuan"}static get controlType(){return"select-multiple"}}qi.controlFieldType=C.ARRAY,qi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.DEFAULT_SHOW_OPTIONS,c.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:"\u9009\u9879\u7C7B\u578B",default:"default",options:[{value:"default",label:"\u9ED8\u8BA4"},{value:"button",label:"\u6309\u94AE"}]},{key:"options-setting",visible:!0,showItems:[c.CAN_VIEW_FORM,c.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Qc extends P{constructor(e){super(e),this.props=new tn(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}Qc.controlFieldType=C.ARRAY;var Xc={Designer:qi,Runtime:Qc,Property:tn};class pD extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Wi extends F{constructor(e){var n,i,u,a,l,o,d,s,h;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:Ui.controlName,this.placeholder=(s=e==null?void 0:e.placeholder)!=null?s:r("CMD.pleaseEnterNameorEmail",null,"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1"),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(v=>{var g;(g=this.multistageFilling)==null||g.push(new p(v))}))}}Wi.RuntimeRules=pD;class Ui extends T{constructor(e){super(e),this.props=new Wi(e==null?void 0:e.props)}static get controlName(){return r("CMD.people",null,"\u4EBA\u5458")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}Ui.controlFieldType=C.EMPLOYEES,Ui.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"employee-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class Jc extends P{constructor(e){super(e),this.props=new Wi(e==null?void 0:e.props)}static get controlType(){return"employee"}}Jc.controlFieldType=C.EMPLOYEES;var Yc={Designer:Ui,Runtime:Jc,Property:Wi};const e7=10485760,t7=104857600,n7=1048576e3;class i7 extends X{constructor(e){super(e),this.maxSize={type:"number",min:0,max:n7,message:r("CMD.attachmentMaxSize",null,"\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4")}}}class u7 extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:r("CMD.attachmentLimitError",{max:e.maxLimit,min:e.minLimit},"\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236")})}}class At extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,E,_,b,w,m,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=(u=e==null?void 0:e.resultShowType)!=null?u:"simple",this.attachmentAccept=(a=e==null?void 0:e.attachmentAccept)!=null?a:[],this.maxLimit=(l=e==null?void 0:e.maxLimit)!=null?l:10,this.minLimit=(o=e==null?void 0:e.minLimit)!=null?o:0,this.maxSize=(d=e==null?void 0:e.maxSize)!=null?d:t7,this.caption=(s=e==null?void 0:e.caption)!=null?s:Ft.controlName,this.placeholder=(h=e==null?void 0:e.placeholder)!=null?h:r("CMD.uploadFile",null,"\u4E0A\u4F20\u9644\u4EF6"),this.isShowWatermark=(v=e==null?void 0:e.isShowWatermark)!=null?v:!1,this.watermarkFx=(g=e==null?void 0:e.watermarkFx)!=null?g:{},this.operation=(E=e==null?void 0:e.operation)!=null?E:["info","preview","download"],this.aiExplanation=(_=e==null?void 0:e.aiExplanation)!=null?_:!1,this.aiExplanationLength=(b=e==null?void 0:e.aiExplanationLength)!=null?b:500,this.storageType=(w=e==null?void 0:e.storageType)!=null?w:"local",this.customOperation=(m=e==null?void 0:e.customOperation)!=null?m:[],this.describe=(B=e==null?void 0:e.describe)!=null?B:""}}At.Rules=i7,At.RuntimeRules=u7;class Ft extends T{constructor(e){super(e),this.props=new At(e==null?void 0:e.props)}static get controlName(){return r("CMD.file",null,"\u9644\u4EF6")}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}Ft.controlEventKeys=["on_change","on_file_actions"],Ft.controlFieldType=C.FILE,Ft.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"ai-explanation",visible:!0},{key:"attachment-storage",visible:!0},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-custom-operation",visible:!0},{key:"attachment-operation",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}];class ol extends P{constructor(e){super(e),this.props=new At(e==null?void 0:e.props)}static get controlType(){return"attachment"}}ol.controlFieldType=C.FILE;var pc={Designer:Ft,Runtime:ol,Property:At};class cl extends At{constructor(e){var n,i,u,a,l,o,d,s;super(e),this.showType="image",this.maxLimit=(n=e==null?void 0:e.maxLimit)!=null?n:10,this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:zi.controlName)!=null?u:r("CMD.image",null,"\u56FE\u7247"),this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:r("CMD.uploadImg",null,"\u4E0A\u4F20\u56FE\u7247"),this.compressTypeCode=(l=e==null?void 0:e.compressTypeCode)!=null?l:Xa.NO_COMPRESS,this.compressRatio=(o=e==null?void 0:e.compressRatio)!=null?o:1,this.maxPixel=(d=e==null?void 0:e.maxPixel)!=null?d:1080,this.maxWidthHeight=(s=e==null?void 0:e.maxWidthHeight)!=null?s:[]}}class zi extends Ft{constructor(e){super(e),this.props=new cl(e==null?void 0:e.props)}static get controlName(){return r("CMD.image",null,"\u56FE\u7247")}static get controlIcon(){return"iconpic_new"}static get controlType(){return"image"}}zi.controlFieldType=C.IMAGE,zi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"common-input",visible:!0,name:"describe",label:"\u63CF\u8FF0\u4FE1\u606F"},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.IS_SHOW_WATERMARK]},{key:"compression-setting",visible:!0},{key:"ai-explanation",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"image-width-height",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class a7 extends ol{constructor(e){super(e),this.props=new cl(e==null?void 0:e.props)}static get controlType(){return"image"}}var es={Designer:zi,Runtime:a7,Property:cl};class l7 extends rt{constructor(e){super(e),this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:r("CMD.pleaseEnterNumberRange",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")}]}},this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue.fields.amount[0].max=n,this.defaultValue.fields.amount[0].min=i,this.defaultValue.fields.amount[0].message=r("CMD.pleaseEnterNumberRange",{max:n,min:i},"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:r("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")})}}class r7 extends V{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:[ir(it({},this[0]),{type:"number"}),{type:"number",min:i,max:n,message:r(n===void 0?"CMD.pleaseEnterAValueGreaterThanMin":i===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:n,min:i},r(n===void 0?"CMD.51051751712133507":i===void 0?"CMD.41d01751712135567":"CMD.affe1751712129045"))}],currency:{type:"string"}}})}}class nn extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,E;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"datasource",this.micrometer=(a=e==null?void 0:e.micrometer)!=null?a:!1,this.precision=(l=e==null?void 0:e.precision)!=null?l:2,this.dataBind=new s_(e==null?void 0:e.dataBind),this.datasourceBind=new Q((o=e==null?void 0:e.datasourceBind)!=null?o:{displayBoList:[new Uu({value:"name"})]}),this.defaultValue=new d_((d=e==null?void 0:e.defaultValue)!=null?d:{amount:"",currency:v_.CNY}),this.unitPosition=(s=e==null?void 0:e.unitPosition)!=null?s:"right",this.options=me(e==null?void 0:e.options),this.caption=(h=e==null?void 0:e.caption)!=null?h:un.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.submitSelectCurrency=(g=e==null?void 0:e.submitSelectCurrency)!=null?g:!1,this.showUpperCase=(E=e==null?void 0:e.showUpperCase)!=null?E:!1}}nn.Rules=l7,nn.RuntimeRules=r7;class un extends T{constructor(e){super(e),this.props=new nn(e==null?void 0:e.props)}static get controlName(){return r("CMD.amount",null,"\u91D1\u989D")}static get controlType(){return"amount"}static get controlIcon(){return"iconjine"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}un.controlEventKeys=["on_change","on_input","on_focus","on_blur"],un.controlFieldType=C.MONEY,un.setting=[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.SUBMIT_SELECT_CURRENCY,c.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"unit-position",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class ts extends P{constructor(e){super(e),this.props=new nn(e==null?void 0:e.props)}static get controlType(){return"amount"}}ts.controlFieldType=C.MONEY;var ns={Designer:un,Runtime:ts,Property:nn};class o7 extends X{constructor(e){super(e),this.totalScore=[{type:"number",required:!0,message:r("CMD.pleaseEnterTotalScoreSetting",null,"\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E")},{type:"number",min:1,message:r("CMD.theTotalScoreMustNotBeLessThan1",null,"\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1")}],this.defaultValue={type:"number",min:0,max:5,message:r("CMD.scoreDefaultValueRange",null,"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")},this.defaultValue.max=e.totalScore,this.defaultValue.message=r("CMD.scoreDefaultValueRange",{max:e.totalScore,min:0},"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")}}class c7 extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const n=e.required?1:0;this.push({type:"number",min:n,max:e.totalScore,message:r("CMD.scoreDefaultValueRange",{max:e.totalScore,min:n},"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")})}}class an extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v;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:qa.STAR,this.isShowExplain=(u=e==null?void 0:e.isShowExplain)!=null?u:!0,this.explain=(l=(a=e==null?void 0:e.explain)==null?void 0:a.map(g=>new mi(g)))!=null?l:Array(this.totalScore).fill(void 0).map(()=>new mi),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:0,this.caption=(d=e==null?void 0:e.caption)!=null?d:ln.controlName,this.canHalf=(s=e==null?void 0:e.canHalf)!=null?s:!1,this.explainColor=(h=e==null?void 0:e.explainColor)!=null?h:"",this.isShowCurrentScore=(v=e==null?void 0:e.isShowCurrentScore)!=null?v:!1}}an.Rules=o7,an.RuntimeRules=c7;class ln extends T{constructor(e){super(e),this.props=new an(e==null?void 0:e.props)}static get controlName(){return r("CMD.score",null,"\u8BC4\u5206")}static get controlIcon(){return"iconpingfen"}static get controlType(){return"score"}postUpdate(e,n){if(e==="totalScore"){if(n===this.props.explain.length)return;if(this.props.explain.length>n)this.props.explain=this.props.explain.slice(0,n);else{const i=n-this.props.explain.length,u=Array(i).fill(void 0).map(()=>new mi);this.props.explain.push(...u)}}super.postUpdate(e,n)}}ln.controlEventKeys=["on_change","on_click"],ln.controlFieldType=C.DECIMAL,ln.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"common-switch",visible:!0,name:"canHalf",label:"\u652F\u6301\u534A\u9009",default:!1},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"score-show-current-value",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class is extends P{constructor(e){super(e),this.props=new an(e==null?void 0:e.props)}static get controlType(){return"score"}}is.controlFieldType=C.DECIMAL;var us={Designer:ln,Runtime:is,Property:an};class s7 extends V{constructor(e){if(super(e),this[0]!==void 0&&(this[0].type="object"),e.required&&!e.isHide){const n={type:"object",fields:{province:{type:"string",required:e.required,message:r("CMD.pleaseSelectProvince",null,"\u8BF7\u9009\u62E9\u7701")}}};e.addressType.includes("city")&&(n.fields.city={type:"string",required:e.required,message:r("CMD.pleaseSelectCity",null,"\u8BF7\u9009\u62E9\u5E02")}),e.addressType.includes("district")&&(n.fields.district={type:"string",required:e.required,message:r("CMD.pleaseSelectDistrict",null,"\u8BF7\u9009\u62E9\u533A")}),this.push(n)}}}class Ki extends F{constructor(e){var n,i,u,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Gi.controlName,this.defaultValueType=(i=e==null?void 0:e.defaultValueType)!=null?i:"default",this.addressType=(u=e==null?void 0:e.addressType)!=null?u:["province","city","district"],this.defaultValue=new h_((a=e==null?void 0:e.defaultValue)!=null?a:{}),this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.pleaseChooseAddress",null,"\u8BF7\u9009\u62E9\u5730\u5740")}}Ki.RuntimeRules=s7;class Gi extends T{constructor(e){super(e),this.props=new Ki(e==null?void 0:e.props)}static get controlName(){return r("CMD.address",null,"\u5730\u5740")}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}Gi.controlFieldType=C.ADDRESS,Gi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class as extends P{constructor(e){super(e),this.props=new Ki(e==null?void 0:e.props)}static get controlName(){return r("CMD.e7c91751712163978")}static get controlIcon(){return"iconicon_site_management11"}static get controlType(){return"address"}}as.controlFieldType=C.ADDRESS;var ls={Designer:Gi,Runtime:as,Property:Ki};class d7 extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Zi extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v,g;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(d=e==null?void 0:e.displayLevel)!=null?d:1,this.showSubDept=(s=e==null?void 0:e.showSubDept)!=null?s:!0,this.caption=(h=e==null?void 0:e.caption)!=null?h:rn.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:r("CMD.pleaseSelectDept",null,"\u8BF7\u9009\u62E9\u90E8\u95E8"),this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(E=>{var _;(_=this.multistageFilling)==null||_.push(new p(E))}))}}Zi.RuntimeRules=d7;class rn extends T{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}rn.controlName=r("CMD.department",null,"\u90E8\u95E8"),rn.controlFieldType=C.DEPARTMENTS,rn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"department-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class rs extends P{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}static get controlType(){return"department"}}rs.controlFieldType=C.DEPARTMENTS;var os={Designer:rn,Runtime:rs,Property:Zi};class sl extends F{constructor(e){var n,i,u;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:on.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:r("CMD.pleaseEnterAutonumber",null,"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7")}}class on extends T{constructor(e){super(e),this.props=new sl(e==null?void 0:e.props)}static get controlName(){return r("CMD.autoNumber",null,"\u81EA\u52A8\u7F16\u53F7")}static get controlIcon(){return"iconnumber_new"}static get controlType(){return"auto-number"}}on.controlEventKeys=["on_change"],on.controlFieldType=C.AUTO_NUMBER,on.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class cs extends P{constructor(e){super(e),this.props=new sl(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}cs.controlFieldType=C.AUTO_NUMBER;var ss={Designer:on,Runtime:cs,Property:sl};class h7 extends X{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 y7 extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),this.push({type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61"),fields:{result:[{type:"number",message:r("CMD.isNotNumber",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57")}],unit:{type:"string",message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")}}})}}class cn extends F{constructor(e){var n,i,u,a,l,o,d,s,h;super(e),this.precision=(n=e==null?void 0:e.precision)!=null?n:0,this.micrometer=(i=e==null?void 0:e.micrometer)!=null?i:!1,this.showUpperCase=(u=e==null?void 0:e.showUpperCase)!=null?u:!1,this.dataBind=new y_(e==null?void 0:e.dataBind),this.defaultValue=new f_(e==null?void 0:e.defaultValue),this.caption=(a=e==null?void 0:e.caption)!=null?a:sn.controlName,this.unitPosition=(l=e==null?void 0:e.unitPosition)!=null?l:"right",this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.scriptEcho=(d=e==null?void 0:e.scriptEcho)!=null?d:[],this.scriptSrc=(s=e==null?void 0:e.scriptSrc)!=null?s:"",this.calcOnMounted=(h=e==null?void 0:e.calcOnMounted)!=null?h:!1}}cn.Rules=h7,cn.RuntimeRules=y7;class sn extends T{constructor(e){super(e),this.props=new cn(e==null?void 0:e.props)}static get controlName(){return r("CMD.calc",null,"\u8BA1\u7B97\u516C\u5F0F")}static get controlType(){return"calc"}static get controlIcon(){return"iconcalculation_new"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}sn.controlEventKeys=["on_change"],sn.controlFieldType=C.CALC,sn.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],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:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"unit-position",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class ds extends P{constructor(e){super(e),this.props=new cn(e==null?void 0:e.props)}static get controlType(){return"calc"}}ds.controlFieldType=C.CALC;var hs={Designer:sn,Runtime:ds,Property:cn};class f7 extends V{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(r("CMD.runtimeRequired",{caption:e.caption},"{caption}\u5FC5\u586B")):Promise.resolve()}})}}class Qi extends F{constructor(e){var n,i,u,a,l,o;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.rangeMin=(i=e==null?void 0:e.rangeMin)!=null?i:"",this.rangeMax=(u=e==null?void 0:e.rangeMax)!=null?u:"",this.placeholderStart=(a=e==null?void 0:e.placeholderStart)!=null?a:r("CMD.min",null,"\u6700\u5C0F\u503C"),this.placeholderEnd=(l=e==null?void 0:e.placeholderEnd)!=null?l:r("CMD.max",null,"\u6700\u5927\u503C"),this.caption=(o=e==null?void 0:e.caption)!=null?o:Xi.controlName}}Qi.RuntimeRules=f7;class Xi extends T{constructor(e){super(e),this.props=new Qi(e==null?void 0:e.props)}static get controlName(){return r("CMD.searchNumberRange",null,"\u6570\u5B57\u533A\u95F4")}static get controlIcon(){return"iconshuziqujian"}static get controlType(){return"search-number-range"}}Xi.controlFieldType=C.DECIMAL_RANGE,Xi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"number-placeholder-start",visible:!0},{key:"number-placeholder-end",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class ys extends P{constructor(e){super(e),this.props=new Qi(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}ys.controlFieldType=C.DECIMAL_RANGE;var fs={Designer:Xi,Runtime:ys,Property:Qi};class v7 extends V{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 F{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,E,_;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(i=e==null?void 0:e.dateType)!=null?i:ut.DATE,this.dateFormat=(u=e==null?void 0:e.dateFormat)!=null?u:"",this.commonTimeSetting=(a=e==null?void 0:e.commonTimeSetting)!=null?a:[],this.setValueType=(l=e==null?void 0:e.setValueType)!=null?l:"custom",this.rangeMin=(o=e==null?void 0:e.rangeMin)!=null?o:"",this.rangeMax=(d=e==null?void 0:e.rangeMax)!=null?d:"",this.placeholderStart=(s=e==null?void 0:e.placeholderStart)!=null?s:r("CMD.startDate",null,"\u5F00\u59CB\u65E5\u671F"),this.placeholderEnd=(h=e==null?void 0:e.placeholderEnd)!=null?h:r("CMD.endDate",null,"\u7ED3\u675F\u65E5\u671F"),this.caption=(v=e==null?void 0:e.caption)!=null?v:Yi.controlName,this.limitDateList=(E=(g=e==null?void 0:e.limitDateList)==null?void 0:g.map(b=>new vi(b)))!=null?E:[],this.isInternational=(_=e==null?void 0:e.isInternational)!=null?_:!1}}Ji.RuntimeRules=v7;class Yi extends T{constructor(e){super(e),this.props=new Ji(e==null?void 0:e.props)}static get controlName(){return r("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"search-date-range"}}Yi.controlFieldType=C.ARRAY,Yi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],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:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class vs extends P{constructor(e){super(e),this.props=new Ji(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}vs.controlFieldType=C.ARRAY;var ms={Designer:Yi,Runtime:vs,Property:Ji};class m7 extends X{constructor(e){super(e),this.dataBind={type:"any"}}}class g7 extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class dn extends F{constructor(e){var n,i,u,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:St.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(u=e==null?void 0:e.controlExportName)!=null?u:"",this.permissions=(a=e==null?void 0:e.permissions)!=null?a:[],this.isInlineEdit=(l=e==null?void 0:e.isInlineEdit)!=null?l:!1}}dn.Rules=m7,dn.RuntimeRules=g7;class St extends T{constructor(e){super(e),this.props=new dn(e==null?void 0:e.props)}static get controlName(){return r("CMD.vueFormItem",null,"Vue\u5BB9\u5668")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return"vue-form-item"}}St.controlFieldType=C.ANY,St.controlEventKeys=[],St.slots=["grid-table-toolbar-slot",lr.DEFAULT],St.setting=[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_HIDE_CAPTION,c.REQUIRED,c.IS_SHOW_CAPTION_TIP,c.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}];class gs extends P{constructor(e){super(e),this.props=new dn(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}gs.controlFieldType=C.ANY;var bs={Designer:St,Runtime:gs,Property:dn};class b7 extends rt{constructor(e){super(e),this.listPageBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{type:"string",required:!0,message:r("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}]}}],this.formBind={type:"object",fields:{formKey:{type:"string",message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class pi extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,E,_;super(e),this.options=me((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new qu(e==null?void 0:e.listPageBind),this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.caption=(u=e==null?void 0:e.caption)!=null?u:hn.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:"",this.openMultistageFilling=(o=e==null?void 0:e.openMultistageFilling)!=null?o:!1,this.showSelectedDetail=(d=e==null?void 0:e.showSelectedDetail)!=null?d:!1,this.selectedContentConfig=new Ku(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(b=>{var w;(w=this.multistageFilling)==null||w.push(new p(b))})),this.canViewForm=(s=e==null?void 0:e.canViewForm)!=null?s:!1,this.viewFormModelType=(h=e==null?void 0:e.viewFormModelType)!=null?h:"window",this.formBind=new at(e==null?void 0:e.formBind),this.optionDisplayConfig=(v=e==null?void 0:e.optionDisplayConfig)!=null?v:[],this.canSearch=(g=e==null?void 0:e.canSearch)!=null?g:!1,this.aiContentSearch=(E=e==null?void 0:e.aiContentSearch)!=null?E:!1,this.defaultShowOptions=(_=e==null?void 0:e.defaultShowOptions)!=null?_:!1}}pi.Rules=b7;class hn extends T{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}static get controlName(){return r("CMD.selectRelation",null,"\u5173\u8054\u5355\u9009")}static get controlIcon(){return"iconguanliandanxuan"}static get controlType(){return"select-relation"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{optionDisplayConfig:i}=this.props;n.props.optionDisplayConfig=i}return n}}hn.controlFieldType=C.VARCHAR,hn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP,c.CAN_SEARCH,c.DEFAULT_SHOW_OPTIONS]},{key:"ai-content-search",visible:!0},{key:"relation-setting",visible:!0,showItems:[c.CAN_VIEW_FORM,c.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"option-config-setting",visible:!0},{key:"super-setting",visible:!0}],hn.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class Cs extends P{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}Cs.controlFieldType=C.VARCHAR;var Es={Designer:hn,Runtime:Cs,Property:pi};class dl extends Dt{constructor(e){super(e)}}class _s extends It{constructor(e){super(e),this.props=new dl(e==null?void 0:e.props)}static get controlName(){return r("CMD.input",null,"\u5355\u884C\u6587\u672C")}static get controlType(){return"search-input"}}_s.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED]},{key:"super-setting",visible:!0}];class Bs extends P{constructor(e){super(e),this.props=new dl(e==null?void 0:e.props)}static get controlType(){return"search-input"}}Bs.controlFieldType=C.VARCHAR;var ws={Designer:_s,Runtime:Bs,Property:dl};class C7 extends X{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],zn.call(this,e,Oe.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:r("CMD.rootNodeIsRequired",null,"\u8BF7\u9009\u62E9\u6839\u8282\u70B9")}}}])}}class E7 extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class yn extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,E,_,b,w,m,B,S,O;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:Oe.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.canSearch=(a=e==null?void 0:e.canSearch)!=null?a:!0,this.levelType=(l=e==null?void 0:e.levelType)!=null?l:"all",this.optionalLevel=(o=e==null?void 0:e.optionalLevel)!=null?o:1,this.containsSubNode=(d=e==null?void 0:e.containsSubNode)!=null?d:!1,this.isShowFilterItem=(s=e==null?void 0:e.isShowFilterItem)!=null?s:!1,this.isShowIncludeSub=(h=e==null?void 0:e.isShowIncludeSub)!=null?h:!1,this.isDefaultCheckSub=(v=e==null?void 0:e.isDefaultCheckSub)!=null?v:!1,this.defaultCollapse=(g=e==null?void 0:e.defaultCollapse)!=null?g:"all",this.defaultCollapseLevel=(E=e==null?void 0:e.defaultCollapseLevel)!=null?E:1,this.datasourceBind=new jn((_=e==null?void 0:e.datasourceBind)!=null?_:{attributes:Oe.controlCustomAttributes}),this.filterItemDatasourceBind=new jn((b=e==null?void 0:e.filterItemDatasourceBind)!=null?b:{attributes:Oe.controlCustomAttributes}),this.openMultistageFilling=(w=e==null?void 0:e.openMultistageFilling)!=null?w:!1,this.defaultDisplay=(m=e==null?void 0:e.defaultDisplay)!=null?m:!1,this.multistageFilling=(S=(B=e==null?void 0:e.multistageFilling)==null?void 0:B.map($=>new p($)))!=null?S:[],this.defaultValue=(O=e==null?void 0:e.defaultValue)!=null?O:[]}}yn.Rules=C7,yn.RuntimeRules=E7;class Oe extends T{constructor(e){super(e),this.props=new yn(e==null?void 0:e.props)}static get controlName(){return r("CMD.tree",null,"\u6811")}static get controlIcon(){return"icontree"}static get controlType(){return"tree"}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.6cb51751712162323"),required:!0},{key:"parentField",name:r("CMD.33ee1751712159752"),required:!0}]}}Oe.controlEventKeys=["on_change","on_click"],Oe.controlFieldType=C.ARRAY,Oe.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.CAN_SEARCH,c.DEFAULT_DISPLAY,c.CONTAINS_SUB_NODE,c.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Ds extends P{constructor(e){super(e),this.props=new yn(e==null?void 0:e.props)}static get controlType(){return"tree"}}Ds.controlFieldType=C.ARRAY;var Is={Designer:Oe,Runtime:Ds,Property:yn};class _7 extends X{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.externalScope={type:"any"},zn.call(this,e,$e.controlCustomAttributes),e.externalType===ke.ASSIGN&&(this.externalScope={type:"array",required:!0,message:r("CMD.pleaseAssignExternal",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7")})}}class B7 extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class fn extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,E,_,b,w,m;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:$e.controlName,this.placeholder=(s=e==null?void 0:e.placeholder)!=null?s:r("CMD.pleaseEnterNameorEmail",null,"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1"),this.datasourceBind=new Vn((h=e==null?void 0:e.datasourceBind)!=null?h:{attributes:$e.controlCustomAttributes}),this.datasourceType=(v=e==null?void 0:e.datasourceType)!=null?v:Za.INTERNAL,this.insideType=(g=e==null?void 0:e.insideType)!=null?g:Qa.ADMIN,this.externalType=(E=e==null?void 0:e.externalType)!=null?E:ke.ALL,this.externalScope=(_=e==null?void 0:e.externalScope)!=null?_:[],this.openMultistageFilling=(b=e==null?void 0:e.openMultistageFilling)!=null?b:!1,this.mainDeptFlag=(w=e==null?void 0:e.mainDeptFlag)!=null?w:!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 p(B))})),this.defaultShowOptions=(m=e==null?void 0:e.defaultShowOptions)!=null?m:!1}}fn.Rules=_7,fn.RuntimeRules=B7;class $e extends T{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlName(){return r("CMD.people",null,"\u4EBA\u5458")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.ffd71751712162321"),required:!0}]}}$e.controlFieldType=C.EMPLOYEES,$e.controlEventKeys=["on_change","on_focus","on_blur","on_option_selected"],$e.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP,c.MAIN_DEPT_FLAG,c.DEFAULT_SHOW_OPTIONS]},{key:"employee-datasource-setting",visible:!0},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class As extends P{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlType(){return"employee2"}}As.controlFieldType=C.EMPLOYEES;var Fs={Designer:$e,Runtime:As,Property:fn};class w7 extends X{constructor(e){super(e),this.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:r("CMD.pleaseSelectSignFile",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6")},undersignedList:{type:"array",required:!0,min:1,message:r("CMD.pleaseSelectOnlyOne",null,"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA"),fields:e.signatureConfig.undersignedList.reduce((n,i,u)=>(n[u]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:r("CMD.pleaseSelectSigner",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA")}}},signatureType:{type:"array",required:!0,min:1,message:r("CMD.pleaseSelectSignType",null,"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B")},telephone:{type:"object",required:!0,validator(a,l,o){if(i.type==="public"&&Ln(l.value)&&l.value.length===0){o(r("CMD.pleaseSelectPhoneOrEmail",null,"\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1"));return}o()}},indexSignature:{type:"object",required:!0,validator(a,l,o){if((i==null?void 0:i.signaturePosition)==="index"&&Ln(l.value)&&l.value.length===0){o(r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"));return}o()}},company:{type:"object",required:!0,validator(a,l,o){if(i.type==="public"&&i.signatureType.includes("company")&&Ln(l.value)&&l.value.length===0){o(r("CMD.pleaseSelectCompanyName",null,"\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0"));return}o()}}}},n),{})}}}}}class eu extends F{constructor(e){var n,i,u,a,l,o;super(e),this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:vn.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:r("CMD.signature",null,"\u53D1\u8D77\u7B7E\u7F72"),this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"text",this.color=(l=e==null?void 0:e.color)!=null?l:"primary",this.icon=(o=e==null?void 0:e.icon)!=null?o:"iconfenlei2",this.signatureConfig=new Uo(e==null?void 0:e.signatureConfig)}}eu.Rules=w7;class vn extends T{constructor(e){super(e),this.props=new eu(e==null?void 0:e.props)}static get controlName(){return r("CMD.electronicSignature",null,"\u7535\u5B50\u7B7E\u7AE0")}static get controlIcon(){return"icondianziqianzhang"}static get controlType(){return"electronic-signature"}}vn.controlEventKeys=["on_click","on_click_finish"],vn.controlFieldType=C.VARCHAR,vn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_SHOW_CAPTION_TIP]},{key:"placeholder",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"electronic-signature-setting",visible:!0},{key:"super-setting",visible:!0}];class Ss extends P{constructor(e){super(e),this.props=new eu(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}Ss.controlFieldType=C.VARCHAR;var Ts={Designer:vn,Runtime:Ss,Property:eu};class D7 extends X{constructor(e){super(e),this.content={type:"string",required:!0,message:r("CMD.pleaseEnterButtonContent",null,"\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(r("CMD.pleaseEnterWatermark",null,"\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A"));return}u()}},autoRename:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(r("CMD.pleaseEnterFileName",null,"\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A"));return}u()}}}},this.canAdd={type:"boolean",validator(n,i,u){if(e.canAdd&&!e.addLocal&&!e.addOnline){u(r("CMD.pleaseChooseAtLeastOne",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A"));return}u()}}}}class I7 extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class mn extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,E;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:gn.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:r("CMD.createWPS",null,"\u65B0\u5EFA\u6587\u6863"),this.canAdd=(u=e==null?void 0:e.canAdd)!=null?u:!0,this.addLocal=(a=e==null?void 0:e.addLocal)!=null?a:!0,this.addOnline=(l=e==null?void 0:e.addOnline)!=null?l:!0,this.canEdit=(o=e==null?void 0:e.canEdit)!=null?o:!0,this.canDownload=(d=e==null?void 0:e.canDownload)!=null?d:!0,this.canExport=(s=e==null?void 0:e.canExport)!=null?s:!0,this.canDelete=(h=e==null?void 0:e.canDelete)!=null?h:!1,this.maxSize=(v=e==null?void 0:e.maxSize)!=null?v:e7,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:[],this.wpsSetting=new zo(e==null?void 0:e.wpsSetting),this.revisionsMode=(E=e==null?void 0:e.revisionsMode)!=null?E:!1}}mn.Rules=D7,mn.RuntimeRules=I7;class gn extends T{constructor(e){super(e),this.props=new mn(e==null?void 0:e.props)}static get controlName(){return r("CMD.WPS",null,"\u5728\u7EBF\u6587\u6863")}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}gn.controlEventKeys=["on_change","on_wps_open"],gn.controlFieldType=C.FILE,gn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP,c.REVISIONS_MODE]},{key:"button-content",visible:!0},{key:"wps-actions-setting",visible:!0},{key:"wps-word-setting",visible:!0},{key:"wps-attachment-size",visible:!0},{key:"wps-default-value",visible:!0},{key:"super-setting",visible:!0}];class Ps extends P{constructor(e){super(e),this.props=new mn(e==null?void 0:e.props)}static get controlType(){return"wps"}}Ps.controlFieldType=C.FILE;var Rs={Designer:gn,Runtime:Ps,Property:mn};class A7 extends X{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.businessScope={type:"any"},zn.call(this,e,Ne.controlCustomAttributes),e.businessType===ke.ASSIGN&&(this.businessScope={type:"array",required:!0,message:r("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")})}}class F7 extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class bn extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,E,_,b,w,m;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(d=e==null?void 0:e.displayLevel)!=null?d:1,this.showSubDept=(s=e==null?void 0:e.showSubDept)!=null?s:!0,this.caption=(h=e==null?void 0:e.caption)!=null?h:Ne.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:r("CMD.pleaseSelectDept",null,"\u8BF7\u9009\u62E9\u90E8\u95E8"),this.datasourceBind=new Vn((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Ne.controlCustomAttributes}),this.datasourceType=(E=e==null?void 0:e.datasourceType)!=null?E:gi.INTERNAL,this.businessScope=(_=e==null?void 0:e.businessScope)!=null?_:[],this.businessType=(b=e==null?void 0:e.businessType)!=null?b:ke.ALL,this.openMultistageFilling=(w=e==null?void 0:e.openMultistageFilling)!=null?w:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(B=>{var S;(S=this.multistageFilling)==null||S.push(new p(B))})),this.defaultShowOptions=(m=e==null?void 0:e.defaultShowOptions)!=null?m:!1}}bn.Rules=A7,bn.RuntimeRules=F7;class Ne extends T{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.72d21751712162321"),required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}Ne.controlName=r("CMD.department",null,"\u90E8\u95E8"),Ne.controlFieldType=C.DEPARTMENTS,Ne.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP,c.DEFAULT_SHOW_OPTIONS]},{key:"department-datasource-setting",visible:!0},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class ks extends P{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlType(){return"department2"}}ks.controlFieldType=C.DEPARTMENTS;var Os={Designer:Ne,Runtime:ks,Property:bn};class S7 extends X{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.businessScope={type:"any"},zn.call(this,e,Tt.controlCustomAttributes),e.businessType===ke.ASSIGN&&(this.businessScope={type:"array",required:!0,message:r("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")})}}class T7 extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Cn extends F{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,E,_,b,w,m,B,S;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.listPageBind=new qu(e==null?void 0:e.listPageBind),this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(d=e==null?void 0:e.displayLevel)!=null?d:1,this.showSubDept=(s=e==null?void 0:e.showSubDept)!=null?s:!0,this.caption=(h=e==null?void 0:e.caption)!=null?h:Tt.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:r("CMD.pleaseSelectOrg",null,"\u8BF7\u9009\u62E9\u7EC4\u7EC7"),this.datasourceBind=new o_((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Tt.controlCustomAttributes}),this.datasourceType=(E=e==null?void 0:e.datasourceType)!=null?E:gi.INTERNAL,this.businessScope=(_=e==null?void 0:e.businessScope)!=null?_:[],this.businessType=(b=e==null?void 0:e.businessType)!=null?b:ke.ALL,this.organizingFunction=(w=e==null?void 0:e.organizingFunction)!=null?w:void 0,this.organizationView=(m=e==null?void 0:e.organizationView)!=null?m:void 0,this.showSelectedDetail=(B=e==null?void 0:e.showSelectedDetail)!=null?B:!1,this.selectedContentConfig=new Ku(e==null?void 0:e.selectedContentConfig),this.openMultistageFilling=(S=e==null?void 0:e.openMultistageFilling)!=null?S:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(O=>{var $;($=this.multistageFilling)==null||$.push(new p(O))}))}}Cn.Rules=S7,Cn.RuntimeRules=T7;class Tt extends T{constructor(e){super(e),this.props=new Cn(e==null?void 0:e.props)}static get controlName(){return r("CMD.organizationSelection",null,"\u4E1A\u52A1\u7EC4\u7EC7")}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"organization-selection"}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.895a1751712162322"),required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}Tt.controlFieldType=C.DEPARTMENTS,Tt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"organization-selection-setting",visible:!0},{key:"org-selection-defaultval",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class xs extends P{constructor(e){super(e),this.props=new Cn(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}xs.controlFieldType=C.DEPARTMENTS;var Ms={Designer:Tt,Runtime:xs,Property:Cn};class P7 extends X{constructor(e){super(e),this.dataBind={type:"any"}}}class R7 extends V{constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class En extends F{constructor(e){var n,i,u,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:_n.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(u=e==null?void 0:e.controlExportName)!=null?u:"",this.permissions=(a=e==null?void 0:e.permissions)!=null?a:[],this.isInlineEdit=(l=e==null?void 0:e.isInlineEdit)!=null?l:!1}}En.Rules=P7,En.RuntimeRules=R7;class _n extends T{constructor(e){super(e),this.props=new En(e==null?void 0:e.props)}static get controlName(){return r("CMD.vuePage",null,"Vue\u9875\u9762")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return I.VUE_PAGE}}_n.controlFieldType=C.ANY,_n.controlEventKeys=[],_n.setting=[];class Ls extends P{constructor(e){super(e),this.props=new En(e==null?void 0:e.props)}static get controlType(){return I.VUE_PAGE}}Ls.controlFieldType=C.ANY;var $s={Designer:_n,Runtime:Ls,Property:En},k7=Object.freeze({__proto__:null,Input:Ac,Checkbox:Sc,Cascader:Pc,Radio:kc,Number:xc,DatePicker:Lc,DateRange:Nc,TimePicker:Vc,TimeRange:qc,Textarea:Uc,RichText:Kc,Select:Zc,SelectMultiple:Xc,Employee:Yc,Image:es,Attachment:pc,Amount:ns,Score:us,Address:ls,Department:os,AutoNumber:ss,Calc:hs,SearchNumberRange:fs,SearchDateRange:ms,VueFormItem:bs,SelectRelation:Es,SearchInput:ws,Tree:Is,Employee2:Fs,ElectronicSignature:Ts,WPS:Rs,Department2:Os,OrganizationSelection:Ms,VuePage:$s});class Ns extends k{static get controlName(){return r("CMD.grid",null,"\u753B\u5E03")}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}Ns.excludes=[I.GRID];class O7 extends L{static get controlType(){return"grid"}constructor(e){super(e)}}var Hs={Designer:Ns,Runtime:O7,Property:R};const x7=24;class He extends R{constructor(e){var n,i,u;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:x7,this.offset=(i=e==null?void 0:e.offset)!=null?i:0,this.isNoFull=(u=e==null?void 0:e.isNoFull)!=null?u:!1}}class Bn extends k{constructor(e){super(e),this.props=new He(e==null?void 0:e.props)}static get controlName(){return r("CMD.col",null,"\u6805\u683C\u5217")}static get controlType(){return"col"}static get controlIcon(){return"col"}}Bn.excludes=[I.COL,I.SUBTABLE,I.SUBTABLE_COLUMN,I.GRID_LAYOUT_CONTAINER,I.DIVIDER],Bn.childrenMaxLength=1;class hl extends L{constructor(e){super(e),this.props=new He(e==null?void 0:e.props)}static get controlType(){return"col"}}var Vs={Designer:Bn,Runtime:hl,Property:He};class tu extends R{constructor(e){var n,i,u,a,l;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,this.align=(u=e==null?void 0:e.align)!=null?u:"",this.justify=(a=e==null?void 0:e.justify)!=null?a:"",this.padding=new A_(e==null?void 0:e.padding),this.margin=new I_(e==null?void 0:e.margin),this.isFull=(l=e==null?void 0:e.isFull)!=null?l:!1}}class nu extends k{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}static get controlName(){return r("CMD.row",null,"\u6805\u683C\u5E03\u5C40")}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}nu.excludes=[I.ROW],nu.setting=[{key:"col-setting",visible:!0},{key:"row-gutter",visible:!0},{key:"row-align",visible:!0},{key:"row-justify",visible:!0},{key:"dynamic-margin-padding",visible:!0}];class js extends L{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}static get controlType(){return"row"}}var qs={Designer:nu,Runtime:js,Property:tu};const M7=4;class iu extends nu{static get controlName(){return r("CMD.gridRow",null,"\u6805\u683C\u7B49\u5206\u884C")}static get controlType(){return"grid-row"}static get controlIcon(){return"grid-row"}constructor(e){super(e)}}iu.excludes=[I.GRID_ROW],iu.setting=[],iu.childrenMaxLength=M7;class L7 extends js{static get controlType(){return"grid-row"}constructor(e){super(e)}}class $7 extends tu{constructor(e){super(e)}}var Ws={Designer:iu,Runtime:L7,Property:$7};class N7 extends R.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class uu extends R{constructor(e){var n,i,u,a,l,o,d,s,h,v;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:r("CMD.cardGroup",null,"\u5206\u7EC4"),this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.collapse=(u=e==null?void 0:e.collapse)!=null?u:"none",this.describe=(a=e==null?void 0:e.describe)!=null?a:"",this.position=(l=e==null?void 0:e.position)!=null?l:"left",this.captionType=(o=e==null?void 0:e.captionType)!=null?o:"default",this.borderType=(d=e==null?void 0:e.borderType)!=null?d:"none",this.divider=(s=e==null?void 0:e.divider)!=null?s:"solid",this.triggerShadow=(h=e==null?void 0:e.triggerShadow)!=null?h:"never",this.type=(v=e==null?void 0:e.type)!=null?v:"default"}}uu.Rules=N7;class yl extends k{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}static get controlName(){return r("CMD.cardGroup",null,"\u5206\u7EC4")}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}yl.setting=[{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"common-input",visible:!0,name:"describe",label:"\u63CF\u8FF0\u4FE1\u606F"},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:"\u5C55\u793A\u98CE\u683C",default:"default",options:[{value:"default",label:"\u9ED8\u8BA4"},{value:"card",label:"\u5361\u7247"}]},{key:"common-button-radio",visible:!0,name:"position",label:"\u6807\u7B7E\u4F4D\u7F6E",default:"left",options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]},{key:"common-select",visible:!0,name:"captionType",label:"\u6807\u7B7E\u7C7B\u578B",default:"default",options:[{value:"default",label:"\u9ED8\u8BA4"},{value:"warning",label:"\u8B66\u544A"},{value:"success",label:"\u6210\u529F"}]},{key:"common-select",visible:!0,name:"borderType",label:"\u8FB9\u6846\u7C7B\u578B",default:"none",options:[{value:"none",label:"\u65E0\u8FB9\u6846"},{value:"dotted",label:"\u865A\u7EBF"},{value:"solid",label:"\u5B9E\u7EBF"}]},{key:"common-select",visible:!0,name:"triggerShadow",label:"\u663E\u793A\u9634\u5F71\u65F6\u673A",default:"never",options:[{value:"never",label:"\u4ECE\u4E0D\u663E\u793A"},{value:"hover",label:"\u9F20\u6807\u60AC\u6D6E\u65F6\u663E\u793A"},{value:"always",label:"\u603B\u662F\u663E\u793A"}]},{key:"common-button-radio",visible:!0,name:"divider",label:"\u5206\u5272\u7EBF",default:"solid",options:[{value:"none",label:"\u65E0"},{value:"dotted",label:"\u865A\u7EBF"},{value:"solid",label:"\u5B9E\u7EBF"}]},{key:"super-setting",visible:!0}],yl.excludes=[I.CARD_GROUP];class H7 extends L{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var Us={Designer:yl,Runtime:H7,Property:uu};class V7 extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.width={type:"number",required:!1,message:r("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")},this.captionTip={type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class au extends R{constructor(e){var n,i,u,a,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=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.isHideCaption=(l=e==null?void 0:e.isHideCaption)!=null?l:!1,this.metaAutoWidth=new pE(e==null?void 0:e.metaAutoWidth)}}au.Rules=V7;class de extends k{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}}de.controlName=r("CMD.subtableColumn",null,"\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C"),de.controlType="subtable-column",de.controlIcon="subtable-column",de.childrenMaxLength=1,de.excludes=[I.SUBTABLE,I.SUBTABLE_COLUMN,I.ROW,I.COL,I.CARD_GROUP,I.DIVIDER,I.TEXT,I.GRID_LAYOUT_CONTAINER],de.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",showItems:[c.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class zs extends L{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}}zs.controlType="subtable-column";var Ks={Designer:de,Runtime:zs,Property:au};class fl extends R{constructor(e){super(e)}}class Ve extends k{constructor(e){super(e),this.props=new fl(e==null?void 0:e.props)}}Ve.controlName=r("CMD.subtableRow",null,"\u660E\u7EC6\u5B50\u8868\u884C"),Ve.controlType="subtable-row",Ve.controlIcon="subtable-row",Ve.childrenMaxLength=1,Ve.excludes=[I.SUBTABLE,I.SUBTABLE_COLUMN,I.SUBTABLE_ROW,I.ROW,I.COL,I.CARD_GROUP,I.DIVIDER,I.TEXT],Ve.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0}];class j7 extends L{constructor(e){super(e),this.props=new fl(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var Gs={Designer:Ve,Runtime:j7,Property:fl};class vl extends R{constructor(e){var n,i,u,a,l,o,d,s,h,v;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:200,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.fixed=(u=e==null?void 0:e.fixed)!=null?u:!1,this.fieldCode=(a=e==null?void 0:e.fieldCode)!=null?a:"",this.fieldType=(l=e==null?void 0:e.fieldType)!=null?l:C.VARCHAR,this.fieldName=(o=e==null?void 0:e.fieldName)!=null?o:"",this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.textCleanFormart=(d=e==null?void 0:e.textCleanFormart)!=null?d:!1,this.decimalKeepPrecision=(s=e==null?void 0:e.decimalKeepPrecision)!=null?s:0,this.timestampDateType=(h=e==null?void 0:e.timestampDateType)!=null?h:ut.DATE,this.departmentDisplayLevel=(v=e==null?void 0:e.departmentDisplayLevel)!=null?v:1}}class je extends k{constructor(e){super(e),this.props=new vl(e==null?void 0:e.props)}}je.controlName=r("CMD.8ba01751712155518"),je.controlType="gridtable-column",je.controlIcon="gridtable-column",je.childrenMaxLength=1,je.excludes=[I.GRID_TABLE,I.GRID_TABLE_COLUMN,I.ROW,I.COL,I.CARD_GROUP,I.DIVIDER,I.TEXT],je.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class Zs extends L{constructor(e){super(e),this.props=new vl(e==null?void 0:e.props)}}Zs.controlType="gridtable-column";var Qs={Designer:je,Runtime:Zs,Property:vl};class ml extends R{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 gl extends k{constructor(e){super(e),this.props=new ml(e==null?void 0:e.props)}static get controlName(){return r("CMD.gridLayoutContainer",null,"\u6362\u884C\u5BB9\u5668")}static get controlType(){return"grid-layout-container"}static get controlIcon(){return"icona-huanhangrongqi1"}}gl.excludes=[I.GRID_LAYOUT_CONTAINER,I.CARD_GROUP,I.TAB],gl.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}];class q7 extends L{constructor(e){super(e),this.props=new ml(e==null?void 0:e.props)}static get controlType(){return"grid-layout-container"}}var Xs={Designer:gl,Runtime:q7,Property:ml};class bl extends R{constructor(e){var n,i,u,a,l;super(e),this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical",this.type=(i=e==null?void 0:e.type)!=null?i:"line",this.tabPosition=(u=e==null?void 0:e.tabPosition)!=null?u:"top",this.isLabelFlat=(a=e==null?void 0:e.isLabelFlat)!=null?a:!1,this.isDelay=(l=e==null?void 0:e.isDelay)!=null?l:!1}}class W7 extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class lu extends R{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Dn.controlName}}lu.Rules=W7;class wn extends k{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}static get controlName(){return r("CMD.tabPane",null,"\u6807\u7B7E\u5355\u5143")}static get controlType(){return"tab-pane"}static get controlIcon(){return"tab-pane"}}wn.excludes=[I.TAB],wn.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class U7 extends L{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var Js={Designer:wn,Runtime:U7,Property:lu};class Dn extends k{constructor(e){var n;super(e),this.props=new bl(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new wn,new wn]}static get controlName(){return r("CMD.tab",null,"\u6807\u7B7E\u9875")}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}Dn.excludes=[I.TAB],Dn.controlEventKeys=["on_change_tab"],Dn.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:"\u98CE\u683C\u7C7B\u578B",default:"line",options:[{value:"line",label:"\u9ED8\u8BA4"},{value:"card",label:"\u9009\u9879\u5361"}]},{key:"common-button-radio",visible:!0,name:"tabPosition",label:"\u9875\u7B7E\u4F4D\u7F6E",default:"top",options:[{value:"top",label:"\u4E0A"},{value:"bottom",label:"\u4E0B"},{value:"left",label:"\u5DE6"},{value:"right",label:"\u53F3"}]},{key:"common-switch",visible:!0,name:"isLabelFlat",label:"\u9875\u7B7E\u5BBD\u5EA6\u662F\u5426\u81EA\u52A8\u6491\u5F00",default:!1},{key:"common-switch",visible:!0,name:"isDelay",label:"\u5185\u5BB9\u5EF6\u8FDF\u6E32\u67D3",default:!1},{key:"super-setting",visible:!0}];class z7 extends L{constructor(e){super(e),this.props=new bl(e==null?void 0:e.props)}static get controlType(){return"tab"}}var Ys={Designer:Dn,Runtime:z7,Property:bl};class ps extends R{constructor(e){super(e)}}class ed extends k{constructor(e){super(e),this.props=new ps({}),this.children=(e==null?void 0:e.children)||[new Bn({props:new He({span:12})}),new Bn({props:new He({span:12})})]}static get controlName(){return r("CMD.toolbox",null,"\u5DE5\u5177\u680F")}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}ed.excludes=[I.GRID_ROW,I.ROW,I.GRID,I.SUBTABLE,I.TAB,I.TOOLBOX];class K7 extends L{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new hl({props:new He({span:12})}),new hl({props:new He({span:12})})]}}var td={Designer:ed,Runtime:K7,Property:ps};class G7 extends Me{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Z7 extends U{constructor(e){if(super(e),this.triggerFieldCode={type:"any"},this.datasourceBind={type:"any"},this.joinRelation=[{type:"any"}],console.log("--ListViewControlPropertyRules--"),e.triggerType===2&&e.isShowSubList&&(this.triggerFieldCode={type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}),e.isShowJoinRelation&&(this.joinRelation=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:r("CMD.pleaseEnterAliasCode",null,"\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D")},datasourceBind:[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:r("CMD.pleaseSelectDataCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B")},svcCode:{type:"string",required:!0,message:r("CMD.pleaseSelectSvcCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1")}}}],relationFields:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:r("CMD.pleaseSelectJoinFieldCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5")},mainFieldCode:{type:"string",required:!0,message:r("CMD.pleaseSelectMainFieldCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5")}}}}]}}]),la.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 In extends R{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,E,_,b;super(e),this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.isLoading=(n=e==null?void 0:e.isLoading)!=null?n:!1,this.isShowSubList=(i=e==null?void 0:e.isShowSubList)!=null?i:!1,this.triggerType=(u=e==null?void 0:e.triggerType)!=null?u:1,this.triggerFieldCode=(a=e==null?void 0:e.triggerFieldCode)!=null?a:"",this.sublistPage=new u_(e==null?void 0:e.sublistPage),this.isShowJoinRelation=(l=e==null?void 0:e.isShowJoinRelation)!=null?l:!1,this.joinRelation=new l_(e==null?void 0:e.joinRelation),this.showType=(o=e==null?void 0:e.showType)!=null?o:"stretch",this.showFullScreen=(d=e==null?void 0:e.showFullScreen)!=null?d:!1,this.selectionType=(s=e==null?void 0:e.selectionType)!=null?s:"multiple",this.isFixedHeader=(h=e==null?void 0:e.isFixedHeader)!=null?h:!1,this.isShowSelection=(v=e==null?void 0:e.isShowSelection)!=null?v:!1,this.isAllLoaded=(g=e==null?void 0:e.isAllLoaded)!=null?g:!0,this.countType=e==null?void 0:e.countType,this.countLimit=(E=e==null?void 0:e.countLimit)!=null?E:1e5,this.rowStyle=new B_(e==null?void 0:e.rowStyle),this.isTreeData=(_=e==null?void 0:e.isTreeData)!=null?_:!1,this.treeData=new w_(e==null?void 0:e.treeData),this.isMasterDetail=(b=e==null?void 0:e.isMasterDetail)!=null?b:!1,this.masterDetail=new D_(e==null?void 0:e.masterDetail)}}In.Rules=Z7,In.RuntimeRules=G7;class An extends k{constructor(e){super(e),this.props=new In(e==null?void 0:e.props)}static get controlName(){return r("CMD.listView",null,"\u5217\u8868\u5BB9\u5668")}static get controlType(){return"list-view"}static get controlIcon(){return"iconyihangduolie"}}An.slotPosition={left:"list-view-left-slot"},An.excludes=[I.ROW],An.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"],An.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-tree-setting",visible:!0},{key:"list-master-detail",visible:!0},{key:"list-row-style",visible:!0},{key:"super-setting",visible:!0}];class Q7 extends L{constructor(e){super(e),this.props=new In(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var nd={Designer:An,Runtime:Q7,Property:In};class X7 extends Me{constructor(e){super(e),this.push({type:"object",fields:{}})}}class ru extends R{constructor(e){var n,i,u,a,l,o;super(e),this.save=new Ie((n=e==null?void 0:e.save)!=null?n:{content:r("CMD.save",null,"\u4FDD\u5B58"),type:"save",isShow:!1}),this.cancel=new Ie((i=e==null?void 0:e.cancel)!=null?i:{content:r("CMD.cancel",null,"\u53D6\u6D88"),type:"cancel",isShow:!1}),this.saveAs=new Ie((u=e==null?void 0:e.saveAs)!=null?u:{content:r("CMD.draft",null,"\u4FDD\u5B58\u8349\u7A3F"),type:"saveAs",isShow:!1}),this.print=new Ie((a=e==null?void 0:e.print)!=null?a:{content:r("CMD.print",null,"\u6253\u5370"),type:"print",isShow:!1}),this.custom=((l=e==null?void 0:e.custom)!=null?l:[]).map(d=>new Ie(d)),this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.datasourceBind=new Q(e==null?void 0:e.datasourceBind)}}ru.RuntimeRules=X7;class id extends k{constructor(e){super(e),this.props=new ru(e==null?void 0:e.props)}static get controlName(){return r("CMD.dataView",null,"\u6570\u636E\u5BB9\u5668")}static get controlType(){return"data-view"}}id.excludes=[];class J7 extends L{constructor(e){super(e),this.props=new ru(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var ud={Designer:id,Runtime:J7,Property:ru};class Y7 extends k{static get controlName(){return r("CMD.page",null,"\u81EA\u7531\u9875\u9762")}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class p7 extends L{static get controlType(){return"page"}constructor(e){super(e)}}class e8 extends R{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 ad={Designer:Y7,Runtime:p7,Property:e8};class t8 extends k{static get controlName(){return r("CMD.advancedContainer",null,"\u9AD8\u7EA7\u5BB9\u5668")}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class n8 extends L{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class i8 extends R{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new Jo(e==null?void 0:e.flexConfig)}}var ld={Designer:t8,Runtime:n8,Property:i8};class u8 extends k{static get controlName(){return r("CMD.positioningContainer",null,"\u5B9A\u4F4D\u5BB9\u5668")}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class a8 extends L{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class l8 extends R{constructor(e){super(e)}}var rd={Designer:u8,Runtime:a8,Property:l8};class r8 extends k{static get controlName(){return r("CMD.position",null,"\u5B9A\u4F4D\u5B50\u5BB9\u5668")}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class o8 extends L{static get controlType(){return"position"}constructor(e){super(e)}}class c8 extends R{constructor(e){var n,i,u,a;super(e),this.widthSpan=(n=e==null?void 0:e.widthSpan)!=null?n:12,this.heightSpan=(i=e==null?void 0:e.heightSpan)!=null?i:12,this.left=(u=e==null?void 0:e.left)!=null?u:0,this.top=(a=e==null?void 0:e.top)!=null?a:0}}var od={Designer:r8,Runtime:o8,Property:c8};class Cl extends R{constructor(e){var n,i,u;super(e),this.position=(n=e==null?void 0:e.position)!=null?n:"bottom",this.opacity=(i=e==null?void 0:e.opacity)!=null?i:!0,this.align=(u=e==null?void 0:e.align)!=null?u:"right"}}class ou extends k{constructor(e){var n;super(e),this.props=new Cl((n=e==null?void 0:e.props)!=null?n:{})}static get controlName(){return r("CMD.actionBar",null,"\u6309\u94AE\u64CD\u4F5C\u680F")}static get controlType(){return"action-bar"}static get controlIcon(){return"action-bar"}}ou.slotPosition={default:"action-bar-slot"},ou.excludes=[],ou.setting=[{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class s8 extends L{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 cd={Designer:ou,Runtime:s8,Property:Cl};class El extends R{constructor(e){var n,i,u,a,l,o,d,s,h,v,g;super(e),this.direction=(n=e==null?void 0:e.direction)!=null?n:"horizontal",this.labelPlacement=(i=e==null?void 0:e.labelPlacement)!=null?i:"horizontal",this.size=(u=e==null?void 0:e.size)!=null?u:"default",this.type=(a=e==null?void 0:e.type)!=null?a:"default",this.isSticky=(l=e==null?void 0:e.isSticky)!=null?l:!1,this.step=(o=e==null?void 0:e.step)!=null?o:"",this.isCenter=(d=e==null?void 0:e.isCenter)!=null?d:!1,this.isStopStepClick=(s=e==null?void 0:e.isStopStepClick)!=null?s:!1,this.status=(h=e==null?void 0:e.status)!=null?h:"process",this.stopStatus=(v=e==null?void 0:e.stopStatus)!=null?v:"finish",this.isShowStepButton=(g=e==null?void 0:e.isShowStepButton)!=null?g:!1,this.stepButtons=new T_(e==null?void 0:e.stepButtons)}}class _l extends R{constructor(e){var n,i,u,a,l,o,d,s;super(e),this.title=(n=e==null?void 0:e.title)!=null?n:"",this.subTitle=(i=e==null?void 0:e.subTitle)!=null?i:"",this.disabled=(u=e==null?void 0:e.disabled)!=null?u:!1,this.icon=(a=e==null?void 0:e.icon)!=null?a:"",this.color=(l=e==null?void 0:e.color)!=null?l:"",this.status=(o=e==null?void 0:e.status)!=null?o:"wait",this.description=(d=e==null?void 0:e.description)!=null?d:"",this.isDefault=(s=e==null?void 0:e.isDefault)!=null?s:!1}}class Pt extends k{constructor(e){super(e),this.props=new _l(e==null?void 0:e.props)}static get controlName(){return r("CMD.stepPane",null,"\u6B65\u9AA4\u5355\u5143")}static get controlType(){return"step-pane"}static get controlIcon(){return"step-pane"}}Pt.excludes=[I.TAB],Pt.setting=[];class d8 extends L{constructor(e){super(e),this.props=new _l(e==null?void 0:e.props)}static get controlType(){return"step-pane"}}var sd={Designer:Pt,Runtime:d8,Property:_l};class cu extends k{constructor(e){var n;super(e),this.props=new El(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new Pt,new Pt,new Pt]}static get controlName(){return r("CMD.step",null,"\u6B65\u9AA4\u6761")}static get controlType(){return"step"}static get controlIcon(){return"icondaiban1"}}cu.excludes=[],cu.controlEventKeys=["on_change_steps"],cu.setting=[{key:"step-direction",visible:!0},{key:"step-label-placement",visible:!0},{key:"step-size",visible:!0},{key:"step-type",visible:!0},{key:"is-sticky",visible:!0},{key:"step",visible:!0},{key:"common-switch",visible:!0,name:"isCenter",label:"\u5C45\u4E2D\u5BF9\u9F50",default:!1},{key:"common-switch",visible:!0,name:"isStopStepClick",label:"\u5141\u8BB8\u7ED3\u675F\u6B65\u9AA4\u70B9\u51FB",default:!1},{key:"common-select",visible:!0,name:"status",label:"\u5F53\u524D\u6B65\u9AA4\u72B6\u6001",default:"process",options:[{value:"wait",label:"\u7B49\u5F85"},{value:"process",label:"\u8FDB\u884C\u4E2D"},{value:"finish",label:"\u5B8C\u6210"},{value:"error",label:"\u9519\u8BEF"}]},{key:"common-select",visible:!0,name:"stopStatus",label:"\u7ED3\u675F\u6B65\u9AA4\u72B6\u6001",default:"finish",options:[{value:"wait",label:"\u7B49\u5F85"},{value:"process",label:"\u8FDB\u884C\u4E2D"},{value:"finish",label:"\u5B8C\u6210"},{value:"error",label:"\u9519\u8BEF"}]},{key:"step-buttons",visible:!0},{key:"step-pane",visible:!0},{key:"super-setting",visible:!0}];class h8 extends L{constructor(e){super(e),this.props=new El(e==null?void 0:e.props)}static get controlType(){return"step"}}var dd={Designer:cu,Runtime:h8,Property:El};class Bl extends R{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,E,_,b;super(e),this.rowCount=(n=e==null?void 0:e.rowCount)!=null?n:2,this.colCount=(i=e==null?void 0:e.colCount)!=null?i:2,this.labelPosition=(u=e==null?void 0:e.labelPosition)!=null?u:"left",this.colWidthType=(a=e==null?void 0:e.colWidthType)!=null?a:"average",this.colWidth=(l=e==null?void 0:e.colWidth)!=null?l:"12:12",this.labelWidth=(o=e==null?void 0:e.labelWidth)!=null?o:"",this.align=(d=e==null?void 0:e.align)!=null?d:"",this.verticalAlign=(s=e==null?void 0:e.verticalAlign)!=null?s:"center",this.padding=(h=e==null?void 0:e.padding)!=null?h:{paddingTop:"",paddingRight:"",paddingBottom:"",paddingLeft:""},this.margin=(v=e==null?void 0:e.margin)!=null?v:{marginTop:"",marginRight:"",marginBottom:"",marginLeft:""},this.border=(g=e==null?void 0:e.border)!=null?g:{borderTop:!0,borderBottom:!0,borderLeft:!0,borderRight:!0,borderWidth:1,borderColor:"",borderType:"solid"},this.borderRadius=(E=e==null?void 0:e.borderRadius)!=null?E:{borderTopLeftRadius:"",borderTopRightRadius:"",borderBottomRightRadius:"",borderBottomLeftRadius:""},this.background=(_=e==null?void 0:e.background)!=null?_:{type:"backgroundColor",backgroundColor:"",backgroundImage:"",placementMode:"contain"},this.innerBorder=(b=e==null?void 0:e.innerBorder)!=null?b:{borderWidth:1,borderColor:"",borderType:"solid"}}}class wl extends k{constructor(e){super(e),this.props=new Bl(e==null?void 0:e.props)}static get controlName(){return"\u8868\u683C\u5E03\u5C40"}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"table-layout"}}wl.excludes=[],wl.setting=[{key:"row-count",visible:!0},{key:"col-count",visible:!0},{key:"col-width",visible:!0},{key:"label-position",visible:!0},{key:"label-width",visible:!0},{key:"text-align",visible:!0},{key:"vertical-align",visible:!0},{key:"dynamic-border",visible:!0},{key:"inner-border",visible:!0},{key:"dynamic-border-radius",visible:!0},{key:"dynamic-margin-padding",visible:!0},{key:"dynamic-background",visible:!0}];class y8 extends L{constructor(e){super(e),this.props=new Bl(e==null?void 0:e.props)}static get controlType(){return"table-layout"}}var hd={Designer:wl,Runtime:y8,Property:Bl};class Dl extends R{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 Il extends k{constructor(e){super(e),this.props=new Dl(e==null?void 0:e.props)}static get controlName(){return r("CMD.table-layout-row",null,"\u6805\u683C\u5E03\u5C40")}static get controlType(){return"table-layout-row"}static get controlIcon(){return"iconyihangduolie"}}Il.excludes=[I.ROW,I.TABLE_LAYOUT_ROW],Il.setting=[{key:"col-setting",visible:!0}];class f8 extends L{constructor(e){super(e),this.props=new Dl(e==null?void 0:e.props)}static get controlType(){return"table-layout-row"}}var yd={Designer:Il,Runtime:f8,Property:Dl};const v8=24;class Al extends R{constructor(e){var n,i,u,a,l,o,d,s,h,v;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:v8,this.offset=(i=e==null?void 0:e.offset)!=null?i:0,this.tableLayoutColSpan=(u=e==null?void 0:e.tableLayoutColSpan)!=null?u:0,this.tableLayoutColSpanType=(a=e==null?void 0:e.tableLayoutColSpanType)!=null?a:"",this.layout=(l=e==null?void 0:e.layout)!=null?l:"flex",this.flexDirection=(o=e==null?void 0:e.flexDirection)!=null?o:"column",this.alignItems=(d=e==null?void 0:e.alignItems)!=null?d:"flex-start",this.justifyContent=(s=e==null?void 0:e.justifyContent)!=null?s:"flex-start",this.background=(h=e==null?void 0:e.background)!=null?h:{type:"backgroundColor",backgroundColor:"",backgroundImage:"",placementMode:"contain"},this.isLabelCol=(v=e==null?void 0:e.isLabelCol)!=null?v:!1}}class Fl extends k{constructor(e){super(e),this.props=new Al(e==null?void 0:e.props)}static get controlName(){return r("CMD.table-layout-col",null,"\u8868\u683C\u5E03\u5C40\u6805\u683C\u5217")}static get controlType(){return"table-layout-col"}static get controlIcon(){return"table-layout-col"}}Fl.excludes=[I.COL,I.SUBTABLE_COLUMN,I.GRID_LAYOUT_CONTAINER,I.TABLE_LAYOUT_COL],Fl.setting=[{key:"col-span",visible:!0},{key:"is-label-col",visible:!0},{key:"layout-config",visible:!0},{key:"flex-config",visible:!0},{key:"dynamic-background",visible:!0}];class m8 extends L{constructor(e){super(e),this.props=new Al(e==null?void 0:e.props)}static get controlType(){return"table-layout-col"}}var fd={Designer:Fl,Runtime:m8,Property:Al};class Sl extends R{constructor(e){var n,i,u;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:"",this.widthCompany=(i=e==null?void 0:e.widthCompany)!=null?i:"px",this.showFormBorder=(u=e==null?void 0:e.showFormBorder)!=null?u:!1}}class Tl extends k{constructor(e){super(e),this.props=new Sl(e==null?void 0:e.props)}static get controlName(){return r("CMD.table-layout-wrapper",null,"\u8868\u683C\u5E03\u5C40\u6805\u683C\u5217")}static get controlType(){return"table-layout-wrapper"}static get controlIcon(){return"table-layout-wrapper"}}Tl.excludes=[],Tl.setting=[{key:"dynamic-size",visible:!0},{key:"show-form-border",visible:!0}];class g8 extends L{constructor(e){super(e),this.props=new Sl(e==null?void 0:e.props)}static get controlType(){return"table-layout-wrapper"}}var vd={Designer:Tl,Runtime:g8,Property:Sl};class Pl extends R{constructor(e){var n,i,u;super(e),this.accordion=(n=e==null?void 0:e.accordion)!=null?n:!1,this.bordered=(e==null?void 0:e.bordered)!==!1,this.isShowHighlightBar=(i=e==null?void 0:e.isShowHighlightBar)!=null?i:!1,this.ghost=(u=e==null?void 0:e.ghost)!=null?u:!1}}class Rl extends R{constructor(e){var n;super(e),this.header=(n=e==null?void 0:e.header)!=null?n:"\u5206\u7EC4"}}class Fn extends k{constructor(e){super(e),this.props=new Rl(e==null?void 0:e.props)}static get controlName(){return"\u6298\u53E0\u9762\u677F\u8282\u70B9"}static get controlType(){return"collapse-pane"}static get controlIcon(){return"collapse-pane"}}Fn.excludes=[I.TAB],Fn.setting=[];class b8 extends L{constructor(e){super(e),this.props=new Rl(e==null?void 0:e.props)}static get controlType(){return"collapse-pane"}}var md={Designer:Fn,Runtime:b8,Property:Rl};class su extends k{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:[new Fn,new Fn]}static get controlName(){return"\u6298\u53E0\u9762\u677F"}static get controlType(){return"collapse"}static get controlIcon(){return"iconziyuan1"}}su.excludes=[],su.controlEventKeys=["on_change_collapse"],su.setting=[{key:"common-switch",visible:!0,name:"accordion",label:"\u624B\u98CE\u7434\u6A21\u5F0F",default:!1},{key:"common-switch",visible:!0,name:"bordered",label:"\u8FB9\u6846\u98CE\u683C",default:!0},{key:"common-switch",visible:!0,name:"isShowHighlightBar",label:"\u6807\u9898\u5DE6\u4FA7\u663E\u793A\u9AD8\u4EAE\u6761",default:!1},{key:"common-switch",visible:!0,name:"ghost",label:"\u5E7D\u7075\u98CE\u683C",default:!1,tip:"\u4F7F\u6298\u53E0\u9762\u677F\u900F\u660E\u4E14\u65E0\u8FB9\u6846"},{key:"collapse-pane",visible:!0},{key:"super-setting",visible:!0}];class C8 extends L{constructor(e){super(e),this.props=new Pl(e==null?void 0:e.props)}static get controlType(){return"collapse"}}var gd={Designer:su,Runtime:C8,Property:Pl},E8=Object.freeze({__proto__:null,Grid:Hs,Col:Vs,Row:qs,GridRow:Ws,CardGroup:Us,SubTableColumn:Ks,SubTableRow:Gs,GridTableColumn:Qs,GridLayoutContainer:Xs,Tab:Ys,TabPane:Js,Toolbox:td,ListView:nd,DataView:ud,Page:ad,AdvancedContainer:ld,PositioningContainer:rd,Position:od,ActionBar:cd,Step:dd,StepPane:sd,TableLayout:hd,TableLayoutRow:yd,TableLayoutCol:fd,TableLayoutWrapper:vd,Collapse:gd,CollapsePane:md});class _8 extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.limitRows=[{type:"number",required:!0,message:r("CMD.isNotNumber",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57")},{type:"number",min:0,message:r("CMD.limitRowsCannotBeLessThan0",null,"\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0")}],this.formKey={type:"string",required:!1,message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")},this.maxHeight={type:"number",required:!0,message:r("CMD.pleaseEnterMaxHeight",null,"\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6")},this.captionTip={type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},this.mobileRowCaption={type:"string",required:!1,message:r("CMD.pleaseEnterRowCaption",null,"\u8BF7\u8F93\u5165\u884C\u6807\u9898")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0),e.mobileShowType==="tile"&&(this.mobileRowCaption.required=!0)}}class B8 extends Me{constructor(e){super(e),e.isHide||this.push({type:"array",required:e.limitRows>0,message:r("CMD.runtimeRequired",{caption:e.caption},"{caption}\u5FC5\u586B")},{type:"array",validator(n,i,u){i.length<e.limitRows&&u(r("CMD.TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows},"\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C")),u()},message:r("CMD.TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows},"\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C")})}}const bd=class extends ni{constructor(t,e){var n,i,u,a,l,o,d,s,h,v,g,E,_,b,w,m,B,S,O,$,ue,N,ae,Rn,_e,wu,kn,Rt,Be,zd,Kd,Gd,Zd,Qd,Xd;super(t,e,bd.mode),this.caption=(n=e==null?void 0:e.caption)!=null?n:Tn.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.defaultState=(u=e==null?void 0:e.defaultState)!=null?u:"default",this.labelPosition=(a=e==null?void 0:e.labelPosition)!=null?a:"top",this.openType=(l=e==null?void 0:e.openType)!=null?l:"default",this.formKey=(o=e==null?void 0:e.formKey)!=null?o:"",this.useCustomHeight=(d=e==null?void 0:e.useCustomHeight)!=null?d:!1,this.maxHeight=(s=e==null?void 0:e.maxHeight)!=null?s:Qo,this.printMode=(h=e==null?void 0:e.printMode)!=null?h:"row",this.limitRows=(v=e==null?void 0:e.limitRows)!=null?v:1,this.maxRows=(g=e==null?void 0:e.maxRows)!=null?g:null,this.defaultRows=(E=e==null?void 0:e.defaultRows)!=null?E:1,this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.canAdd=(_=e==null?void 0:e.canAdd)!=null?_:!0,this.canDelete=(b=e==null?void 0:e.canDelete)!=null?b:!0,this.canCheck=(w=e==null?void 0:e.canCheck)!=null?w:!1,this.canEdit=(m=e==null?void 0:e.canEdit)!=null?m:!1,this.canImport=(B=e==null?void 0:e.canImport)!=null?B:!1,this.canExport=(S=e==null?void 0:e.canExport)!=null?S:!1,this.canClear=(O=e==null?void 0:e.canClear)!=null?O:!0,this.serverPagination=($=e==null?void 0:e.serverPagination)!=null?$:!1,this.isShowCaptionTip=(ue=e==null?void 0:e.isShowCaptionTip)!=null?ue:!1,this.captionTip=(N=e==null?void 0:e.captionTip)!=null?N:"",this.mobileShowType=(ae=e==null?void 0:e.mobileShowType)!=null?ae:"list",this.mobileDefaultNum=(Rn=e==null?void 0:e.mobileDefaultNum)!=null?Rn:10,this.dataStorageDoc=(_e=e==null?void 0:e.dataStorageDoc)!=null?_e:new e_,this.fixedColumn=(wu=e==null?void 0:e.fixedColumn)!=null?wu:[],this.mobileRowCaption=(kn=e==null?void 0:e.mobileRowCaption)!=null?kn:r("CMD.detailed",null,"\u660E\u7EC6"),this.mobileIsTile=(Rt=e==null?void 0:e.mobileIsTile)!=null?Rt:!1,this.isPaste=(Be=e==null?void 0:e.isPaste)!=null?Be:!1,this.pageSize=(zd=e==null?void 0:e.pageSize)!=null?zd:10,this.pageSizeOptions=(Kd=e==null?void 0:e.pageSizeOptions)!=null?Kd:[10,20,50,100],this.importConfig=new Go(e==null?void 0:e.importConfig),this.exportConfig=new Zo(e==null?void 0:e.exportConfig),this.sortable=(Gd=e==null?void 0:e.sortable)!=null?Gd:!1,this.sortKey=(Zd=e==null?void 0:e.sortKey)!=null?Zd:{},this.showTableIndex=(Qd=e==null?void 0:e.showTableIndex)!=null?Qd:!0,this.triggerEdit=(Xd=e==null?void 0:e.triggerEdit)!=null?Xd:"single"}};let Sn=bd;Sn.Rules=_8,Sn.RuntimeRules=B8;class Tn extends Ca{constructor(e){var n;super(e),this.props=new Sn(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 de,new de,new de])}static get controlName(){return r("CMD.subTable",null,"\u660E\u7EC6\u5B50\u8868")}static get controlIcon(){return"iconGroup11"}static get controlType(){return"subtable"}addColumn(e,n){const i=e!==void 0&&typeof e!="number"?e:new de,u=typeof e=="number"?e:n;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}Tn.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],Tn.slotPosition={toolbar:"subtable-toolbar-slot"},Tn.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP,c.IS_PASTE,c.SERVER_PAGINATION,c.SORTABLE,c.SHOW_TABLE_INDEX]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"common-button-radio",visible:!0,name:"triggerEdit",label:"\u89E6\u53D1\u7F16\u8F91\u65B9\u5F0F",default:"single",options:[{value:"single",label:"\u5355\u51FB"},{value:"double",label:"\u53CC\u51FB"}]},{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 w8 extends wo{constructor(e){super(e),this.props=new Sn(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){Lt("Method not implemented.")}getChildrenFormControl(){return[]}}var Cd={Designer:Tn,Runtime:w8,Property:Sn};class kl extends ni{constructor(e,n){var i,u,a,l,o;super(e,n),this.isFixedHeader=(i=n==null?void 0:n.isFixedHeader)!=null?i:!1,this.selectionType=n==null?void 0:n.selectionType,this.isShowToolbar=(u=n==null?void 0:n.isShowToolbar)!=null?u:!0,this.isShowSelection=(a=n==null?void 0:n.isShowSelection)!=null?a:!1,this.isShowCustomColumns=(l=n==null?void 0:n.isShowCustomColumns)!=null?l:!0,this.pageSizeOptions=(o=n==null?void 0:n.pageSizeOptions)!=null?o:[10,20,50,100,500]}}class D8 extends be{constructor(e){super(e),this.caption.required=!1}}class du extends W{constructor(e){var n,i,u,a,l,o,d,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:qe.controlName,this.width=(u=e==null?void 0:e.width)!=null?u:60,this.autoWidth.minWidth=(l=(a=e==null?void 0:e.autoWidth)==null?void 0:a.minWidth)!=null?l:60,this.autoWidth.flex=(d=(o=e==null?void 0:e.autoWidth)==null?void 0:o.flex)!=null?d:.4,this.widthType=(s=e==null?void 0:e.widthType)!=null?s:"px"}}du.Rules=D8;class qe extends G{constructor(e){super(e),this.props=new du(e==null?void 0:e.props)}}qe.controlType="order-column",qe.controlName=r("CMD.order",null,"\u5E8F\u53F7"),qe.controlIcon="order-column",qe.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"super-setting",visible:!0}];class Ol extends Z{constructor(e){super(e),this.props=new du(e==null?void 0:e.props)}}Ol.controlType="order-column",Ol.controlFieldType=C.DECIMAL;var Ed={Designer:qe,Runtime:Ol,Property:du};class xl extends W{constructor(e){var n,i,u,a,l,o;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"right",this.widthType="auto",this.autoWidth.minWidth=(u=(i=e==null?void 0:e.autoWidth)==null?void 0:i.minWidth)!=null?u:84,this.caption=(a=e==null?void 0:e.caption)!=null?a:Ce.controlName,this.showType=(l=e==null?void 0:e.showType)!=null?l:"icon",this.limit=(o=e==null?void 0:e.limit)!=null?o:3}}class Ce extends G{constructor(e){super(e),this.props=new xl(e==null?void 0:e.props)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===Pi.controlType){const i=n;e.props[i.props.command]=i.props}}),e}validate(e,n){return ar(this,null,function*(){return yield ur(Ce.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Ce.controlType="operation-column",Ce.controlName=r("CMD.operation",null,"\u64CD\u4F5C"),Ce.controlIcon="operation-column",Ce.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Ml extends Z{constructor(e){super(e),this.props=new xl(e==null?void 0:e.props)}}Ml.controlType="operation-column",Ml.controlFieldType=C.FILE;var _d={Designer:Ce,Runtime:Ml,Property:xl};const I8=1e4;class We extends Ca{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new kl(this,e==null?void 0:e.props),se(this,"children",e==null?void 0:e.children,void 0,"Designer"),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new qe,new Ce]),this.excludes=ce(n),this.childrenMaxLength=i}static get controlName(){return r("CMD.gridTable",null,"\u8868\u683C")}static get controlIcon(){return"iconlistview"}static get controlType(){return"grid-table"}judgeJoinChildren(e){const n=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return n&&this.childrenMaxLength>this.children.length}toSchema(){const e=super.toSchema(),n=this.children.map(i=>i.toSchema());return ir(it({},e),{children:n})}validate(e,n){return ar(this,null,function*(){return yield ur(We.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}We.slotPosition={toolbar:"grid-table-toolbar-slot"},We.setting=[{key:"list-fixed-header",visible:!0}],We.excludes=[],We.childrenMaxLength=I8;class A8 extends wo{constructor(e){super(e),this.props=new kl(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){Lt("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var Bd={Designer:We,Runtime:A8,Property:kl},F8=Object.freeze({__proto__:null,SubTable:Cd,GridTable:Bd});class S8 extends Aa{constructor(e){super(e),Pe.call(this,e)}}class hu extends W{constructor(e){var n,i,u,a,l,o;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ue.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.options=me((u=e==null?void 0:e.options)!=null?u:[{}]),this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(l=e==null?void 0:e.lineEllipsis)!=null?l:1,this.dictionaryTagConfig=(o=e==null?void 0:e.dictionaryTagConfig)!=null?o:{isTag:!1}}}hu.Rules=S8;class Ue extends G{constructor(e){super(e),this.props=new hu(e==null?void 0:e.props)}}Ue.controlType="varchar-column",Ue.controlName=r("CMD.varchar",null,"\u77ED\u6587\u672C"),Ue.controlIcon="varchar-column",Ue.controlFieldType=C.VARCHAR,Ue.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0},{key:"super-setting",visible:!0}];class Ll extends Z{constructor(e){super(e),this.props=new hu(e==null?void 0:e.props)}}Ll.controlType="varchar-column",Ll.controlFieldType=C.VARCHAR;var wd={Designer:Ue,Runtime:Ll,Property:hu};class T8 extends be{constructor(e){super(e),Pe.call(this,e)}}class yu extends W{constructor(e){var n,i,u,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:ze.controlName,this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1,this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption)}}yu.Rules=T8;class ze extends G{constructor(e){super(e),this.props=new yu(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}}ze.controlType="text-column",ze.controlName=r("CMD.long",null,"\u957F\u6587\u672C"),ze.controlIcon="text-column",ze.controlFieldType=C.TEXT,ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0},{key:"super-setting",visible:!0}];class $l extends Z{constructor(e){super(e),this.props=new yu(e==null?void 0:e.props)}}$l.controlType="text-column",$l.controlFieldType=C.TEXT;var Dd={Designer:ze,Runtime:$l,Property:yu};class P8 extends Aa{constructor(e){super(e),Pe.call(this,e)}}class fu extends W{constructor(e){var n,i,u,a,l,o,d;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ke.controlName,this.precision=(i=e==null?void 0:e.precision)!=null?i:0,this.micrometer=(u=e==null?void 0:e.micrometer)!=null?u:!1,this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.optionConfig=(l=e==null?void 0:e.optionConfig)!=null?l:"none",this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.options=me((o=e==null?void 0:e.options)!=null?o:[{}]),this.showLinkOperation=(d=e==null?void 0:e.showLinkOperation)!=null?d:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption)}}fu.Rules=P8;class Ke extends G{constructor(e){super(e),this.props=new fu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}Ke.controlType="decimal-column",Ke.controlName=r("CMD.decimal",null,"\u6570\u503C"),Ke.controlIcon="decimal-column",Ke.controlFieldType=C.DECIMAL,Ke.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"number-suite",showItems:[c.MICROMETER,c.PRECISION,c.PERCENTAGE],visible:!0},{key:"column-align-content",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0},{key:"super-setting",visible:!0}];class Nl extends Z{constructor(e){super(e),this.props=new fu(e==null?void 0:e.props)}}Nl.controlType="decimal-column",Nl.controlFieldType=C.DECIMAL;var Id={Designer:Ke,Runtime:Nl,Property:fu};class R8 extends be{constructor(e){super(e),Pe.call(this,e)}}class vu extends W{constructor(e){var n,i,u,a;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:ut.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:Ge.controlName,this.isInternational=(a=e==null?void 0:e.isInternational)!=null?a:!1}}vu.Rules=R8;class Ge extends G{constructor(e){super(e),this.props=new vu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i,isInternational:u}=this.props;n.props.dateType=i,n.props.isInternational=u}return n}}Ge.controlType="timescope-column",Ge.controlName=r("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4"),Ge.controlIcon="timescope-column",Ge.controlFieldType=C.TIMESCOPE,Ge.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Hl extends Z{constructor(e){super(e),this.props=new vu(e==null?void 0:e.props)}}Hl.controlType="timescope-column",Hl.controlFieldType=C.TIMESCOPE;var Ad={Designer:Ge,Runtime:Hl,Property:vu};class k8 extends be{constructor(e){super(e),Pe.call(this,e)}}class mu extends W{constructor(e){var n,i,u,a;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:ut.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:Ze.controlName,this.isInternational=(a=e==null?void 0:e.isInternational)!=null?a:!1}}mu.Rules=k8;class Ze extends G{constructor(e){super(e),this.props=new mu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i,isInternational:u}=this.props;n.props.dateType=i,n.props.isInternational=u}return n}}Ze.controlType="timestamp-column",Ze.controlName=r("CMD.timestamp",null,"\u65E5\u671F"),Ze.controlIcon="timestamp-column",Ze.controlFieldType=C.TIMESTAMP,Ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Vl extends Z{constructor(e){super(e),this.props=new mu(e==null?void 0:e.props)}}Vl.controlType="timestamp-column",Vl.controlFieldType=C.TIMESTAMP;var Fd={Designer:Ze,Runtime:Vl,Property:mu};class O8 extends Aa{constructor(e){super(e),Pe.call(this,e)}}class gu extends W{constructor(e){var n,i,u,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Qe.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption),this.options=me((a=e==null?void 0:e.options)!=null?a:[{}])}}gu.Rules=O8;class Qe extends G{constructor(e){super(e),this.props=new gu(e==null?void 0:e.props)}}Qe.controlType="array-column",Qe.controlName=r("CMD.array",null,"\u6570\u7EC4"),Qe.controlIcon="array-column",Qe.controlFieldType=C.ARRAY,Qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class jl extends Z{constructor(e){super(e),this.props=new gu(e==null?void 0:e.props)}}jl.controlType="array-column",jl.controlFieldType=C.ARRAY;var Sd={Designer:Qe,Runtime:jl,Property:gu};class ql extends W{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Xe.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class Xe extends G{constructor(e){super(e),this.props=new ql(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{displayLevel:i}=this.props;n.props.displayLevel=i}return n}}Xe.controlType="department-column",Xe.controlName=r("CMD.department",null,"\u90E8\u95E8"),Xe.controlIcon="department-column",Xe.controlFieldType=C.DEPARTMENTS,Xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Wl extends Z{constructor(e){super(e),this.props=new ql(e==null?void 0:e.props)}}Wl.controlType="department-column",Wl.controlFieldType=C.DEPARTMENTS;var Td={Designer:Xe,Runtime:Wl,Property:ql};class x8 extends be{constructor(e){super(e),Pe.call(this,e)}}class bu extends W{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Je.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption)}}bu.Rules=x8;class Je extends G{constructor(e){super(e),this.props=new bu(e==null?void 0:e.props)}}Je.controlType="auto-number-column",Je.controlName=r("CMD.autoNumber",null,"\u81EA\u52A8\u7F16\u53F7"),Je.controlIcon="auto-number-column",Je.controlFieldType=C.AUTO_NUMBER,Je.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Ul extends Z{constructor(e){super(e),this.props=new bu(e==null?void 0:e.props)}}Ul.controlType="auto-number-column",Ul.controlFieldType=C.AUTO_NUMBER;var Pd={Designer:Je,Runtime:Ul,Property:bu};class zl extends W{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ye.controlName,this.operation=(i=e==null?void 0:e.operation)!=null?i:["info","preview","download"]}}class Ye extends G{constructor(e){super(e),this.props=new zl(e==null?void 0:e.props)}}Ye.controlType="file-column",Ye.controlName=r("CMD.file",null,"\u9644\u4EF6"),Ye.controlIcon="file-column",Ye.controlFieldType=C.FILE,Ye.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"attachment-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Kl extends Z{constructor(e){super(e),this.props=new zl(e==null?void 0:e.props)}}Kl.controlType="file-column",Kl.controlFieldType=C.FILE;var Rd={Designer:Ye,Runtime:Kl,Property:zl};class Gl extends W{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:pe.controlName}}class pe extends G{constructor(e){super(e),this.props=new Gl(e==null?void 0:e.props)}}pe.controlType="image-column",pe.controlName=r("CMD.image",null,"\u56FE\u7247"),pe.controlIcon="image-column",pe.controlFieldType=C.IMAGE,pe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Zl extends Z{constructor(e){super(e),this.props=new Gl(e==null?void 0:e.props)}}Zl.controlType="image-column",Zl.controlFieldType=C.IMAGE;var kd={Designer:pe,Runtime:Zl,Property:Gl};class Ql extends W{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:et.controlName}}class et extends G{constructor(e){super(e),this.props=new Ql(e==null?void 0:e.props)}}et.controlType="people-column",et.controlName=r("CMD.people",null,"\u4EBA\u5458"),et.controlIcon="people-column",et.controlFieldType=C.EMPLOYEES,et.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Xl extends Z{constructor(e){super(e),this.props=new Ql(e==null?void 0:e.props)}}Xl.controlType="people-column",Xl.controlFieldType=C.EMPLOYEES;var Od={Designer:et,Runtime:Xl,Property:Ql};class M8 extends be{constructor(e){super(e),Pe.call(this,e)}}class Cu extends W{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 ve(e==null?void 0:e.linkOperationOption)}}Cu.Rules=M8;class tt extends G{constructor(e){super(e),this.props=new Cu(e==null?void 0:e.props)}}tt.controlType="location-column",tt.controlName=r("CMD.location",null,"\u5730\u5740"),tt.controlIcon="location-column",tt.controlFieldType=C.ADDRESS,tt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Jl extends Z{constructor(e){super(e),this.props=new Cu(e==null?void 0:e.props)}}Jl.controlType="location-column",Jl.controlFieldType=C.ADDRESS;var xd={Designer:tt,Runtime:Jl,Property:Cu};class L8 extends be{constructor(e){super(e),this.sortFieldCode={type:"string",message:r("CMD.pleaseSelectSortFieldCode",null,"\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5")},e.sort===!0&&(this.sortFieldCode.required=!0)}}class Eu extends W{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ee.controlName,this.fieldCodeList=(i=e==null?void 0:e.fieldCodeList)!=null?i:[],this.sortFieldCode=(u=e==null?void 0:e.sortFieldCode)!=null?u:""}}Eu.Rules=L8;const $8=1;class Ee extends G{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new Eu(e==null?void 0:e.props),se(this,"children",e==null?void 0:e.children,void 0,"Designer"),this.excludes=ce(n),this.childrenMaxLength=i}judgeJoinChildren(e){const n=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return n&&this.childrenMaxLength>this.children.length}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{fieldCodeList:i}=this.props;n.props.fieldCodeList=i}return n}}Ee.controlType="custom-column",Ee.controlName=r("CMD.custom",null,"\u81EA\u5B9A\u4E49"),Ee.controlIcon="custom-column",Ee.slots=["column-column-slot"],Ee.excludes=[],Ee.childrenMaxLength=$8,Ee.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"column-sort-field",visible:!0},{key:"super-setting",visible:!0}];class Md extends Z{constructor(e){super(e),this.props=new Eu(e==null?void 0:e.props),se(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}Md.controlType="custom-column";var Ld={Designer:Ee,Runtime:Md,Property:Eu};class Yl extends W{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:xe.controlName,this.datasourceBind=new Vn((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:xe.controlCustomAttributes})}}class xe extends G{constructor(e){super(e),this.props=new Yl(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.81231751712162319"),required:!0}]}}xe.controlType="employee-column",xe.controlName=r("CMD.employee",null,"\u4EBA\u5458"),xe.controlIcon="employee-column",xe.controlFieldType=C.EMPLOYEES,xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class pl extends Z{constructor(e){super(e),this.props=new Yl(e==null?void 0:e.props)}}pl.controlType="employee-column",pl.controlFieldType=C.EMPLOYEES;var $d={Designer:xe,Runtime:pl,Property:Yl};class er extends W{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:nt.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1}}class nt extends G{constructor(e){super(e),this.props=new er(e==null?void 0:e.props)}}nt.controlType="approval-status-column",nt.controlName=r("CMD.approvalStatusColumn",null,"\u5F53\u524D\u5BA1\u6279\u72B6\u6001"),nt.controlIcon="approval-status-column",nt.excludes=[],nt.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"super-setting",visible:!0}];class Nd extends Z{constructor(e){super(e),this.props=new er(e==null?void 0:e.props)}}Nd.controlType="approval-status-column";var Hd={Designer:nt,Runtime:Nd,Property:er};class tr extends W{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:""}}class Pn extends G{constructor(e){super(e),this.props=new tr(e==null?void 0:e.props)}}Pn.controlType="group-column",Pn.controlName="\u5408\u5E76\u5217",Pn.controlIcon="group-column",Pn.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Vd extends Z{constructor(e){super(e),this.props=new tr(e==null?void 0:e.props),se(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}Vd.controlType="group-column";var jd={Designer:Pn,Runtime:Vd,Property:tr},N8=Object.freeze({__proto__:null,VarcharColumn:wd,TextColumn:Dd,DecimalColumn:Id,TimescopeColumn:Ad,TimestampColumn:Fd,ArrayColumn:Sd,DepartmentColumn:Td,AutoNumberColumn:Pd,FileColumn:Rd,ImageColumn:kd,PeopleColumn:Od,LocationColumn:xd,CustomColumn:Ld,OrderColumn:Ed,OperationColumn:_d,EmployeeColumn:$d,ApprovalStatusColumn:Hd,GroupColumn:jd});class H8 extends Me{constructor(e){super(e),this.push({type:"object",fields:{}})}}class _u extends Ra{constructor(e){var n,i,u,a,l,o,d,s,h,v,g,E;super(e),this.searchType=(n=e==null?void 0:e.searchType)!=null?n:"model",this.labelPosition=(i=e==null?void 0:e.labelPosition)!=null?i:"top",this.viewType=(u=e==null?void 0:e.viewType)!=null?u:"mini",this.search=new Ie((a=e==null?void 0:e.search)!=null?a:{content:r("CMD.query",null,"\u67E5\u8BE2"),isShow:!0}),this.cancel=new Ie((l=e==null?void 0:e.cancel)!=null?l:{content:r("CMD.reset",null,"\u91CD\u7F6E"),isShow:!0}),this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.custom=((d=e==null?void 0:e.custom)!=null?d:[]).map(_=>new Ie(_)),this.queryTypeMap=(s=e==null?void 0:e.queryTypeMap)!=null?s:[],this.childMinWidth=(h=e==null?void 0:e.childMinWidth)!=null?h:230,this.colGap=(v=e==null?void 0:e.colGap)!=null?v:24,this.viewConfig=(g=e==null?void 0:e.viewConfig)!=null?g:[],this.simpleConfig=(E=e==null?void 0:e.simpleConfig)!=null?E:[]}}_u.RuntimeRules=H8;class Bu extends Dw{constructor(e){super(e),this.props=new _u(e==null?void 0:e.props)}}Bu.controlType="simple-search",Bu.slotPosition={default:"search"},Bu.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:[c.IS_HIDE]},{key:"search-view-type",visible:!0}];class qd extends Rw{constructor(e){var n;super(e),this.props=new _u(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}qd.controlType="simple-search";var Wd={Designer:Bu,Runtime:qd,Property:_u},V8=Object.freeze({__proto__:null,SimpleSearch:Wd});class nr extends Ma{constructor(e){var n;super(e),this.wholeRow=(n=e==null?void 0:e.wholeRow)!=null?n:!1}}class j8 extends Uw{constructor(e){super(e),this.props=new nr(e==null?void 0:e.props)}static get controlName(){return r("CMD.gridLayoutWrap",null,"\u6362\u884C\u5BB9\u5668Wrap")}static get controlIcon(){return"page"}static get controlType(){return"grid-layout-wrap"}}class q8 extends Jw{constructor(e){super(e),this.props=new nr(e==null?void 0:e.props)}static get controlType(){return"grid-layout-wrap"}}function Y8(t){return t}var W8={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:r("CMD.fullLine",null,"\u5145\u6EE1\u6574\u884C"),props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},Ud={Designer:j8,Runtime:q8,Property:nr,Setting:W8},U8=Object.freeze({__proto__:null,GridLayoutWrap:Ud});f.ActionBar=cd,f.ActionSetting=Ka,f.Address=ls,f.AdvancedContainer=ld,f.Amount=ns,f.ApprovalStatusColumn=Hd,f.ArrayColumn=Sd,f.AssignType=ke,f.Attachment=pc,f.AutoNumber=ss,f.AutoNumberColumn=Pd,f.BatchDeleteButton=_c,f.BatchPrintListButton=bc,f.BatchPrintRecordListButton=Cc,f.BatchSubmissionListButton=ic,f.Button=jo,f.Calc=hs,f.CardGroup=Us,f.Cascader=Pc,f.Checkbox=Sc,f.Col=Vs,f.Collapse=gd,f.CollapsePane=md,f.CommentControl=Dc,f.CreateFormListButton=nc,f.CustomColumn=Ld,f.DATE_CONFIG_TYPE=qo,f.DATE_LIMIT_TYPE=Wo,f.Dashboard=yc,f.DataView=ud,f.DatePicker=Lc,f.DateRange=Nc,f.DecimalColumn=Id,f.Department=os,f.Department2=Os,f.DepartmentColumn=Td,f.DepartmentType=gi,f.Divider=ec,f.ElectronicSignature=Ts,f.ElectronicSignatureConfig=Uo,f.Employee=Yc,f.Employee2=Fs,f.EmployeeColumn=$d,f.EncryptTypeEnum=Yo,f.Explain=mi,f.ExportConfig=Zo,f.ExportListButton=ac,f.ExportRecordListButton=lc,f.ExportTemplate=jt,f.FileColumn=Rd,f.FlexStyleConfig=Jo,f.FormSelectButton=oc,f.Grid=Hs,f.GridLayoutContainer=Xs,f.GridLayoutWrap=Ud,f.GridRow=Ws,f.GridTable=Bd,f.GridTableColumn=Qs,f.GroupColumn=jd,f.Image=es,f.ImageColumn=kd,f.ImageCompressType=Xa,f.ImportConfig=Go,f.ImportListBind=Ko,f.ImportRecordListButton=rc,f.Input=Ac,f.InternalType=Qa,f.InvoiceCheckButton=gc,f.LINE_STYLE=Wa,f.LimitDate=vi,f.LimitTime=ja,f.Link=Vo,f.ListHeightSetting=Ga,f.ListSelectButton=cc,f.ListView=nd,f.ListViewSelect=vc,f.LocationColumn=xd,f.Number=xc,f.OperationButton=Ec,f.OperationColumn=_d,f.OrderColumn=Ed,f.OrganizationSelection=Ms,f.OrganizeType=Za,f.Page=ad,f.Pagination=dc,f.PeopleColumn=Od,f.Position=od,f.PositioningContainer=rd,f.PrintTemplate=Xo,f.Radio=kc,f.ReferenceList=Bc,f.RichText=Kc,f.Row=qs,f.SCORE_TYPE=qa,f.SUBTABLE_DEFAULT_MAX_HEIGHT=Qo,f.Score=us,f.SearchDateRange=ms,f.SearchInput=ws,f.SearchNumberRange=fs,f.Select=Zc,f.SelectMultiple=Xc,f.SelectRelation=Es,f.SimpleSearch=Wd,f.Step=dd,f.StepPane=sd,f.SubTable=Cd,f.SubTableColumn=Ks,f.SubTableRow=Gs,f.SubmissionRecordListButton=uc,f.Tab=Ys,f.TabPane=Js,f.TableLayout=hd,f.TableLayoutCol=fd,f.TableLayoutRow=yd,f.TableLayoutWrapper=vd,f.Text=Ho,f.TextColumn=Dd,f.TextOcrButton=mc,f.Textarea=Uc,f.TimePicker=Vc,f.TimeRange=qc,f.TimescopeColumn=Ad,f.TimestampColumn=Fd,f.Title=tc,f.TitleConfigEnum=Re,f.Toolbox=td,f.Tree=Is,f.UndersignedPerson=Ua,f.VarcharColumn=wd,f.VueFormItem=bs,f.VuePage=$s,f.WPS=Rs,f.WPSSetting=zo,f.WpsOperationItem=za,f.baseControls=LD,f.columnControls=N8,f.formControls=k7,f.initExpression=qt,f.layoutControls=E8,f.listControls=F8,f.searchControls=V8,f.wrapControls=U8,Object.defineProperty(f,"__esModule",{value:!0})});
|
|
1
|
+
var E8=Object.defineProperty,_8=Object.defineProperties;var I8=Object.getOwnPropertyDescriptors;var qh=Object.getOwnPropertySymbols,D8=Object.getPrototypeOf,B8=Object.prototype.hasOwnProperty,w8=Object.prototype.propertyIsEnumerable,A8=Reflect.get;var Wh=(v,a,K)=>a in v?E8(v,a,{enumerable:!0,configurable:!0,writable:!0,value:K}):v[a]=K,lt=(v,a)=>{for(var K in a||(a={}))B8.call(a,K)&&Wh(v,K,a[K]);if(qh)for(var K of qh(a))w8.call(a,K)&&Wh(v,K,a[K]);return v},Fr=(v,a)=>_8(v,I8(a));var Sr=(v,a,K)=>A8(D8(v),K,a);var Pr=(v,a,K)=>new Promise((Qu,Gi)=>{var Zu=ve=>{try{Rt(K.next(ve))}catch(Mt){Gi(Mt)}},Xu=ve=>{try{Rt(K.throw(ve))}catch(Mt){Gi(Mt)}},Rt=ve=>ve.done?Qu(ve.value):Promise.resolve(ve.value).then(Zu,Xu);Rt((K=K.apply(v,a)).next())});(function(v,a){typeof exports=="object"&&typeof module!="undefined"?a(exports):typeof define=="function"&&define.amd?define(["exports"],a):(v=typeof globalThis!="undefined"?globalThis:v||self,a(v.modelDrivenControls={}))})(this,function(v){"use strict";const a=(t,e,i)=>{if(!t)return console.error("getLocaleText\u7684key\u4E0D\u80FD\u4E3A\u7A7A"),"";const n=t.split(".");let u;const l=(window.baitedaWorkers||{}).languageMessages||{};n.forEach((c,s)=>{s===0?u=l[c]:u&&(u=u[c])});let r="";return u&&(r=u),e&&Object.keys(e).forEach(c=>{const s=e[c];r=r.replace(new RegExp(`\\{\\s*${c}\\s*\\}`,"g"),s)}),r||(i?r=i:r=t),r};var K="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",Qu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Gi="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",Zu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Xu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Rt="{caption}\u5FC5\u586B",ve="\u8BF7\u8F93\u5165\u6807\u9898",Mt="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",Uh="\u8BF7\u8F93\u5165\u884C\u6807\u9898",zh="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",Gh="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",Kh="\u8BF7\u7ED1\u5B9A\u8868\u5355",Qh="\u8BF7\u7ED1\u5B9A\u5217\u8868",Zh="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",Xh="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Jh="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Yh="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",ph="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",ey="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",ty="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",iy="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",ny="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",uy="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",ly="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",ay="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",ry="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",oy="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",cy="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236",sy="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",dy="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",hy="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",yy="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",fy="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",vy="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",my="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",gy="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",by="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Cy="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Ey="\u8BF7\u9009\u62E9\u7701",_y="\u8BF7\u9009\u62E9\u5E02",Iy="\u8BF7\u9009\u62E9\u533A",Dy="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",By="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",wy="\u8BF7\u8F93\u5165\u5217\u5BBD",Ay="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Ty="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Fy="\u8BF7\u9009\u62E9\u63A7\u4EF6",Sy="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Py="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Oy="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",ky="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Ry="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",My="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",xy="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Ny="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Ly="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",$y="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Hy="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Vy="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",jy="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",qy="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Wy="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Uy="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",zy="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Gy="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Ky="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Qy="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Zy="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",Xy="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",Jy="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",Yy="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",py="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",ef="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",tf="\u6279\u91CF\u5220\u9664",nf="\u6279\u91CF\u6253\u5370",uf="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",lf="\u6309\u94AE",af="\u521B\u5EFA\u5355\u636E",rf="\u4EEA\u8868\u76D8",of="\u5206\u5272\u7EBF",cf="\u5BFC\u51FA",sf="\u8868\u5355\u64CD\u4F5C",df="\u5BFC\u5165",hf="\u53D1\u7968\u8BC6\u522B",yf="\u94FE\u63A5",ff="\u5217\u8868\u9009\u62E9",vf="\u5217\u8868\u89C6\u56FE",mf="\u64CD\u4F5C\u6309\u94AE",gf="\u5206\u9875",bf="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",Cf="\u8BF4\u660E\u6587\u5B57",Ef="\u6587\u5B57\u8BC6\u522B",_f="\u6807\u9898\u7EC4\u4EF6",If="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",Df="\u6570\u7EC4",Bf="\u81EA\u52A8\u7F16\u53F7",wf="\u81EA\u5B9A\u4E49",Af="\u6570\u503C",Tf="\u90E8\u95E8",Ff="\u4EBA\u5458",Sf="\u9644\u4EF6",Pf="\u56FE\u7247",Of="\u5730\u5740",kf="\u64CD\u4F5C",Rf="\u5E8F\u53F7",Mf="\u4EBA\u5458",xf="\u957F\u6587\u672C",Nf="\u65E5\u671F\u533A\u95F4",Lf="\u65E5\u671F",$f="\u77ED\u6587\u672C",Hf="\u6362\u884C\u5BB9\u5668Wrap",Vf="\u8868\u683C",jf="\u660E\u7EC6\u5B50\u8868",qf="\u5730\u5740",Wf="\u91D1\u989D",Uf="\u8BA1\u7B97\u516C\u5F0F",zf="\u591A\u9009",Gf="\u7535\u5B50\u7B7E\u7AE0",Kf="\u5355\u884C\u6587\u672C",Qf="\u6570\u5B57",Zf="\u4E1A\u52A1\u7EC4\u7EC7",Xf="\u5355\u9009",Jf="\u5BCC\u6587\u672C",Yf="\u8BC4\u5206",pf="\u6570\u5B57\u533A\u95F4",ev="\u4E0B\u62C9\u5355\u9009",tv="\u4E0B\u62C9\u591A\u9009",iv="\u5173\u8054\u5355\u9009",nv="\u591A\u884C\u6587\u672C",uv="\u6811",lv="Vue\u5BB9\u5668",av="Vue\u9875\u9762",rv="\u5728\u7EBF\u6587\u6863",ov="\u6309\u94AE\u64CD\u4F5C\u680F",cv="\u9AD8\u7EA7\u5BB9\u5668",sv="\u5206\u7EC4",dv="\u6805\u683C\u5217",hv="\u6570\u636E\u5BB9\u5668",yv="\u753B\u5E03",fv="\u6362\u884C\u5BB9\u5668",vv="\u6805\u683C\u7B49\u5206\u884C",mv="\u5217\u8868\u5BB9\u5668",gv="\u81EA\u7531\u9875\u9762",bv="\u5B9A\u4F4D\u5B50\u5BB9\u5668",Cv="\u5B9A\u4F4D\u5BB9\u5668",Ev="\u6805\u683C\u5E03\u5C40",_v="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",Iv="\u660E\u7EC6\u5B50\u8868\u884C",Dv="\u6807\u7B7E\u9875",Bv="\u6807\u7B7E\u5355\u5143",wv="\u5DE5\u5177\u680F",Av="\u6279\u91CF\u63D0\u4EA4",Tv="\u5BFC\u51FA\u8BB0\u5F55",Fv="\u5217\u8868\u89C6\u56FE",Sv="\u7ED3\u675F\u65F6\u95F4",Pv="\u5F00\u59CB\u65F6\u95F4",Ov="\u5355\u4F4D",kv="\u7ED3\u679C",Rv="\u5E01\u79CD",Mv="\u7ED3\u675F\u65E5\u671F",xv="\u5F00\u59CB\u65E5\u671F",Nv="\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0",Lv="\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1",$v="\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B",Hv="\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA",Vv="\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",jv="\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6",qv="\u8BF7\u9009\u62E9",Wv="\u8BF7\u9009\u62E9\u7EC4\u7EC7",Uv="\u8BF7\u9009\u62E9\u90E8\u95E8",zv="\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",Gv="\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",Kv="\u8BF7\u9009\u62E9\u5730\u5740",Qv="\u5F39\u7A97\u786E\u8BA4\u65F6",Zv="\u6807\u7B7E\u9875\u5207\u6362\u65F6",Xv="\u884C\u9009\u4E2D\u65F6",Jv="\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",Yv="\u884C\u5220\u9664\u524D",pv="\u884C\u70B9\u51FB\u65F6",em="\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",tm="\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",im="\u91CD\u547D\u540D\u65F6",nm="\u4FDD\u5B58\u6587\u4EF6\u65F6",um="\u6253\u5F00\u6587\u4EF6\u65F6",lm="\u83B7\u53D6\u7126\u70B9\u65F6",am="\u5931\u53BB\u7126\u70B9\u65F6",rm="\u7528\u6237\u8F93\u5165\u65F6",om="\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",cm="\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",sm="\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",dm="\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",hm="\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",ym="\u641C\u7D22\u65F6",fm="\u503C\u53D1\u751F\u53D8\u5316\u65F6",vm="\u6267\u884C\u5B8C\u6210\u65F6",mm="\u70B9\u51FB\u65F6",gm="\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",bm="\u8BF7\u8F93\u5165\u65E5\u671F",Cm="\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",Em="\u8BF7\u8F93\u5165",_m="\u9ED8\u8BA4\u6A21\u7248",Im="\u5DE6\u53F3\u5E03\u5C40",Dm="\u4E0A\u4E0B\u5E03\u5C40",Bm="\u53EA\u8BFB",wm="\u5FC5\u586B",Am="\u63D0\u793A\u6587\u5B57",Tm="\u9690\u85CF\u6807\u9898",Fm="\u6807\u9898\u5FC5\u586B",Sm="\u7EC4\u7EC7\u5F62\u6001",Pm="\u4E1A\u52A1\u7C7B\u578B",Om="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",km="\u9690\u85CF",Rm="\u6D41\u7A0B\u72B6\u6001",Mm="\u5BA1\u6279\u901A\u8FC7\u5355\u636E",xm="\u5220\u9664",Nm="\u7F16\u8F91",Lm="\u67E5\u770B",$m="\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A{id}",Hm="\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF",Vm="\u5145\u6EE1\u6574\u884C",jm="\u6700\u5C0F\u503C",qm="\u6700\u5927\u503C",Wm="\u65B0\u5EFA\u6587\u6863",Um="\u91CD\u7F6E",zm="\u67E5\u8BE2",Gm="\u660E\u7EC6",Km="\u6253\u5370",Qm="\u4FDD\u5B58\u8349\u7A3F",Zm="\u4FDD\u5B58",Xm="\u53D6\u6D88",Jm="\u4E0A\u4F20\u56FE\u7247",Ym="\u53D1\u8D77\u7B7E\u7F72",pm="\u4E0A\u4F20\u9644\u4EF6",e0="\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",t0="\u5F15\u7528\u5217\u8868",i0="\u9009\u9879\u4E00",n0="\u9009\u9879\u4E8C",u0="\u9009\u9879\u4E09",l0={isNotNumber:K,isNotString:Qu,isNotObject:Gi,isNotArray:Zu,isNotBoolean:Xu,runtimeRequired:Rt,pleaseEnterCaption:ve,pleaseEnterCaptionTip:Mt,pleaseEnterRowCaption:Uh,pleaseEnterPlaceholder:zh,pleaseEnterFieldCode:Gh,pleaseEnterForm:Kh,pleaseEnterList:Qh,pleaseEnterProcess:Zh,pleaseEnterLabel:Xh,pleaseEnterValue:Jh,bizKeyNotBindFiled:Yh,pleaseSelectOneField:ph,pleaseEnterNumberRange:ey,pleaseEnterAValueGreaterThanMin:ty,pleaseEnterAValueLessThanMax:iy,numberRangeSetError:ny,stringRangeError:uy,attachmentMaxSize:ly,pleaseEnterTotalScoreSetting:ay,theTotalScoreMustNotBeLessThan1:ry,scoreDefaultValueRange:oy,attachmentLimitError:cy,PleaseReselectTheOptionalQuantity:sy,TheMaximumLengthIsGreaterThanTheMinimumLength:dy,TheMinimumLengthIsGreaterThanTheMaximumLength:hy,PleaseSelectTheCorrectOptionSettings:yy,optionIdIsRepeat:fy,optionIsRequired:vy,pleaseEnterDataCode:my,pleaseEnterValueFieldCode:gy,pleaseEnterSvcCode:by,pleaseBindAtLeastOneDisplayValue:Cy,pleaseSelectProvince:Ey,pleaseSelectCity:_y,pleaseSelectDistrict:Iy,limitRowsCannotBeLessThan0:Dy,TheNumberOfRowsCannotBeLessThanMinRows:By,pleaseEnterColumnWidth:wy,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Ay,pleaseCompleteAllRulesAndConditions:Ty,pleaseSelectControl:Fy,pleaseSelectAtLeastOneColumn:Sy,pleaseSelectFillBackMode:Py,pleaseSelectDashboard:Oy,rootNodeIsRequired:ky,theViewNameCannotBeEmpty:Ry,pleaseSelectOcrType:My,pleaseSelectAtLeastOneFieldToFillIn:xy,pleaseChooseAtLeastOne:Ny,pleaseEnterButtonContent:Ly,pleaseEnterDataCodeInDataSetting:$y,pleaseEnterValueFieldCodeInDataSetting:Hy,pleaseEnterSvcCodeInDataSetting:Vy,pleaseBindAtLeastOneDisplayValueInDataSetting:jy,rootNodeIsRequiredInDataSetting:qy,pleaseEnterMaxHeight:Wy,pleaseEnterWatermark:Uy,pleaseEnterFileName:zy,pleaseUploadAtLeastOnePrintTemplate:Gy,pleaseAssignBusiness:Ky,pleaseAssignExternal:Qy,pleaseEnterAliasCode:Zy,pleaseSelectDataCode:Xy,pleaseSelectSvcCode:Jy,pleaseSelectJoinFieldCode:Yy,pleaseSelectMainFieldCode:py,pleaseSelectSortFieldCode:ef,batchDeleteButton:tf,batchPrintListButton:nf,batchPrintRecordList:uf,button:lf,createFormListButton:af,dashboard:rf,divider:of,exportListButton:cf,formSelectButton:sf,importRecordListButton:df,invoiceCheckButton:hf,link:yf,listSelectButton:ff,ListViewSelect:vf,operationButton:mf,pagination:gf,submissionRecordListButton:bf,text:Cf,textOcrButton:Ef,title:_f,approvalStatusColumn:If,array:Df,autoNumber:Bf,custom:wf,decimal:Af,department:Tf,employee:Ff,file:Sf,image:Pf,location:Of,operation:kf,order:Rf,people:Mf,long:xf,timescope:Nf,timestamp:Lf,varchar:$f,gridLayoutWrap:Hf,gridTable:Vf,subTable:jf,address:qf,amount:Wf,calc:Uf,checkBox:zf,electronicSignature:Gf,input:Kf,number:Qf,organizationSelection:Zf,radio:Xf,richText:Jf,score:Yf,searchNumberRange:pf,select:ev,selectMultiple:tv,selectRelation:iv,textarea:nv,tree:uv,vueFormItem:lv,vuePage:av,WPS:rv,actionBar:ov,advancedContainer:cv,cardGroup:sv,col:dv,dataView:hv,grid:yv,gridLayoutContainer:fv,gridRow:vv,listView:mv,page:gv,position:bv,positioningContainer:Cv,row:Ev,subtableColumn:_v,subtableRow:Iv,tab:Dv,tabPane:Bv,toolbox:wv,batchSubmissionListButton:Av,exportRecordListButton:Tv,listViewSelect:Fv,endTime:Sv,startTime:Pv,unit:Ov,result:kv,currency:Rv,endDate:Mv,startDate:xv,pleaseSelectCompanyName:Nv,pleaseSelectPhoneOrEmail:Lv,pleaseSelectSignType:$v,pleaseSelectSigner:Hv,pleaseSelectOnlyOne:Vv,pleaseSelectSignFile:jv,pleaseSelect:qv,pleaseSelectOrg:Wv,pleaseSelectDept:Uv,pleaseSelectEndDate:zv,pleaseSelectStartDate:Gv,pleaseChooseAddress:Kv,modalConfirm:Qv,tabChange:Zv,rowSelected:Xv,listDataImport:Jv,rowDelete:Yv,rowClick:pv,cellRender:em,onClickBtn:tm,rename:im,onSaveFile:nm,onOpenFile:um,onFocus:lm,onBlur:am,onInput:rm,listDataAdd:om,listDataDelete:cm,listDataBack:sm,listDataCreate:dm,listDataChange:hm,search:ym,valueChange:fm,finished:vm,click:mm,pleaseEnterNameorEmail:gm,pleaseEnterDate:bm,pleaseEnterAutonumber:Cm,pleaseEnter:Em,defaultTemplate:_m,left:Im,top:Dm,default:"\u666E\u901A",readonly:Bm,required:wm,textTip:Am,hideCaption:Tm,titleRequired:Fm,organizationalForm:Sm,businessType:Pm,deleteConfirm:Om,hide:km,processStatus:Rm,approvedDocuments:Mm,delete:xm,edit:Nm,view:Lm,loadCtrlErrorTip:$m,loadCtrlError:Hm,fullLine:Vm,min:jm,max:qm,createWPS:Wm,reset:Um,query:zm,detailed:Gm,print:Km,draft:Qm,save:Zm,cancel:Xm,uploadImg:Jm,signature:Ym,uploadFile:pm,linkContent:e0,referenceList:t0,optionOne:i0,optionTwo:n0,optionThird:u0},a0="Please enter a number",r0="Please enter a string",o0="Please enter an object",c0="Please enter an array",s0="Please enter a boolean",d0="{caption} Required",h0="Please enter the title",y0="Please enter the bubble prompt",f0="Please enter the row title",v0="Please enter the prompt text",m0="Please bind data items",g0="Please bind the form",b0="Please bind the list",C0="Please bind the process",E0="Please enter the displayed value",_0="Please enter the stored value",I0="The document number is not bound to the data item",D0="Please select at least one display field",B0="Please enter a value greater than or equal to {min} and less than or equal to {max}",w0="Please enter a value greater than or equal to {min}",A0="Please enter a value less than or equal to {max}",T0="The value range is set incorrectly",F0="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",S0="The attachment size must be between 0MB and 1000MB",P0="Please fill in the total score setting",O0="The total score cannot be less than 1",k0="The default value must be between {min} and {max}",R0="The number of attachment uploads exceeds the limit",M0="Please re-select the optional quantity",x0="The maximum length of the control must be greater than the minimum length",N0="The minimum length of the control must be less than the maximum length",L0="Please select the correct option setting",$0="Option ID cannot be repeated",H0="Please enter at least one option",V0="Please bind the data source",j0="Please bind the stored value",q0="Please bind the service",W0="At least one display value must be bound",U0="Please select a province",z0="Please select a city",G0="Please select a district",K0="The minimum number of lines to fill in cannot be less than 0",Q0="The number of rows cannot be less than {min} rows",Z0="Please enter the column width",X0="Please set the logical relationship of all rule conditions",J0="Please complete all rules and conditions",Y0="please select control",p0="Please select the dashboard",eg="View name cannot be empty",tg="Please select recognition type",ig="Please select at least one field to fill in",ng="Please select at least one",ug="Please enter the button title",lg="Please bind the business model in the data settings",ag="Please bind storage values in data settings",rg="Please bind the service in the data settings",og="Please bind at least one display value in the data settings",cg="Please select the root node in the data settings",sg="Please enter the maximum height",dg="The input content cannot be empty",hg="Watermark cannot be empty",yg="File name cannot be empty",fg="Please upload at least one printing template!\uFF01",vg="Please select a specific business department",mg="Please select a specified external organization",gg="Please enter a sub table alias",bg="Please select the associated table to set the business model",Cg="Please select the association table to set the binding service",Eg="Select associated sub table fields",_g="Please select the associated main table field",Ig="Please select the sort field",Dg="\u6279\u91CF\u5220\u9664",Bg="\u6279\u91CF\u6253\u5370",wg="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",Ag="\u6309\u94AE",Tg="\u521B\u5EFA\u5355\u636E",Fg="\u4EEA\u8868\u76D8",Sg="\u5206\u5272\u7EBF",Pg="\u5BFC\u51FA",Og="\u8868\u5355\u64CD\u4F5C",kg="\u5BFC\u5165",Rg="\u53D1\u7968\u8BC6\u522B",Mg="\u94FE\u63A5",xg="\u5217\u8868\u9009\u62E9",Ng="\u5217\u8868\u89C6\u56FE",Lg="\u64CD\u4F5C\u6309\u94AE",$g="\u5206\u9875",Hg="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",Vg="\u8BF4\u660E\u6587\u5B57",jg="\u6587\u5B57\u8BC6\u522B",qg="\u6807\u9898\u7EC4\u4EF6",Wg="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",Ug="\u6570\u7EC4",zg="\u81EA\u52A8\u7F16\u53F7",Gg="\u81EA\u5B9A\u4E49",Kg="\u6570\u503C",Qg="\u90E8\u95E8",Zg="\u4EBA\u5458",Xg="\u9644\u4EF6",Jg="\u56FE\u7247",Yg="\u5730\u5740",pg="\u64CD\u4F5C",eb="\u5E8F\u53F7",tb="\u4EBA\u5458",ib="\u957F\u6587\u672C",nb="\u65E5\u671F\u533A\u95F4",ub="\u65E5\u671F",lb="\u77ED\u6587\u672C",ab="\u6362\u884C\u5BB9\u5668Wrap",rb="\u8868\u683C",ob="\u660E\u7EC6\u5B50\u8868",cb="\u5730\u5740",sb="\u91D1\u989D",db="\u8BA1\u7B97\u516C\u5F0F",hb="\u591A\u9009",yb="\u7535\u5B50\u7B7E\u7AE0",fb="\u5355\u884C\u6587\u672C",vb="\u6570\u5B57",mb="\u4E1A\u52A1\u7EC4\u7EC7",gb="\u5355\u9009",bb="\u5BCC\u6587\u672C",Cb="\u8BC4\u5206",Eb="\u6570\u5B57\u533A\u95F4",_b="\u4E0B\u62C9\u5355\u9009",Ib="\u4E0B\u62C9\u591A\u9009",Db="\u5173\u8054\u5355\u9009",Bb="\u591A\u884C\u6587\u672C",wb="\u6811",Ab="Vue\u5BB9\u5668",Tb="Vue\u9875\u9762",Fb="\u5728\u7EBF\u6587\u6863",Sb="\u6309\u94AE\u64CD\u4F5C\u680F",Pb="\u9AD8\u7EA7\u5BB9\u5668",Ob="\u5206\u7EC4",kb="\u6805\u683C\u5217",Rb="\u6570\u636E\u5BB9\u5668",Mb="\u753B\u5E03",xb="\u6362\u884C\u5BB9\u5668",Nb="\u6805\u683C\u7B49\u5206\u884C",Lb="\u5217\u8868\u5BB9\u5668",$b="\u81EA\u7531\u9875\u9762",Hb="\u5B9A\u4F4D\u5B50\u5BB9\u5668",Vb="\u5B9A\u4F4D\u5BB9\u5668",jb="\u6805\u683C\u5E03\u5C40",qb="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",Wb="\u660E\u7EC6\u5B50\u8868\u884C",Ub="\u6807\u7B7E\u9875",zb="\u6807\u7B7E\u5355\u5143",Gb="\u5DE5\u5177\u680F",Kb="\u6279\u91CF\u63D0\u4EA4",Qb="\u5BFC\u51FA\u8BB0\u5F55",Zb="\u5217\u8868\u89C6\u56FE",Xb="\u5F15\u7528\u5217\u8868",Jb="\u9009\u9879\u4E00",Yb="\u9009\u9879\u4E8C",pb="\u9009\u9879\u4E09",eC={isNotNumber:a0,isNotString:r0,isNotObject:o0,isNotArray:c0,isNotBoolean:s0,runtimeRequired:d0,pleaseEnterCaption:h0,pleaseEnterCaptionTip:y0,pleaseEnterRowCaption:f0,pleaseEnterPlaceholder:v0,pleaseEnterFieldCode:m0,pleaseEnterForm:g0,pleaseEnterList:b0,pleaseEnterProcess:C0,pleaseEnterLabel:E0,pleaseEnterValue:_0,bizKeyNotBindFiled:I0,pleaseSelectOneField:D0,pleaseEnterNumberRange:B0,pleaseEnterAValueGreaterThanMin:w0,pleaseEnterAValueLessThanMax:A0,numberRangeSetError:T0,stringRangeError:F0,attachmentMaxSize:S0,pleaseEnterTotalScoreSetting:P0,theTotalScoreMustNotBeLessThan1:O0,scoreDefaultValueRange:k0,attachmentLimitError:R0,PleaseReselectTheOptionalQuantity:M0,TheMaximumLengthIsGreaterThanTheMinimumLength:x0,TheMinimumLengthIsGreaterThanTheMaximumLength:N0,PleaseSelectTheCorrectOptionSettings:L0,optionIdIsRepeat:$0,optionIsRequired:H0,pleaseEnterDataCode:V0,pleaseEnterValueFieldCode:j0,pleaseEnterSvcCode:q0,pleaseBindAtLeastOneDisplayValue:W0,pleaseSelectProvince:U0,pleaseSelectCity:z0,pleaseSelectDistrict:G0,limitRowsCannotBeLessThan0:K0,TheNumberOfRowsCannotBeLessThanMinRows:Q0,pleaseEnterColumnWidth:Z0,pleaseSetTheLogicalRelationshipOfAllRuleConditions:X0,pleaseCompleteAllRulesAndConditions:J0,pleaseSelectControl:Y0,pleaseSelectDashboard:p0,theViewNameCannotBeEmpty:eg,pleaseSelectOcrType:tg,pleaseSelectAtLeastOneFieldToFillIn:ig,pleaseChooseAtLeastOne:ng,pleaseEnterButtonContent:ug,pleaseEnterDataCodeInDataSetting:lg,pleaseEnterValueFieldCodeInDataSetting:ag,pleaseEnterSvcCodeInDataSetting:rg,pleaseBindAtLeastOneDisplayValueInDataSetting:og,rootNodeIsRequiredInDataSetting:cg,pleaseEnterMaxHeight:sg,pleaseEnter:dg,pleaseEnterWatermark:hg,pleaseEnterFileName:yg,pleaseUploadAtLeastOnePrintTemplate:fg,pleaseAssignBusiness:vg,pleaseAssignExternal:mg,pleaseEnterAliasCode:gg,pleaseSelectDataCode:bg,pleaseSelectSvcCode:Cg,pleaseSelectJoinFieldCode:Eg,pleaseSelectMainFieldCode:_g,pleaseSelectSortFieldCode:Ig,batchDeleteButton:Dg,batchPrintListButton:Bg,batchPrintRecordList:wg,button:Ag,createFormListButton:Tg,dashboard:Fg,divider:Sg,exportListButton:Pg,formSelectButton:Og,importRecordListButton:kg,invoiceCheckButton:Rg,link:Mg,listSelectButton:xg,ListViewSelect:Ng,operationButton:Lg,pagination:$g,submissionRecordListButton:Hg,text:Vg,textOcrButton:jg,title:qg,approvalStatusColumn:Wg,array:Ug,autoNumber:zg,custom:Gg,decimal:Kg,department:Qg,employee:Zg,file:Xg,image:Jg,location:Yg,operation:pg,order:eb,people:tb,long:ib,timescope:nb,timestamp:ub,varchar:lb,gridLayoutWrap:ab,gridTable:rb,subTable:ob,address:cb,amount:sb,calc:db,checkBox:hb,electronicSignature:yb,input:fb,number:vb,organizationSelection:mb,radio:gb,richText:bb,score:Cb,searchNumberRange:Eb,select:_b,selectMultiple:Ib,selectRelation:Db,textarea:Bb,tree:wb,vueFormItem:Ab,vuePage:Tb,WPS:Fb,actionBar:Sb,advancedContainer:Pb,cardGroup:Ob,col:kb,dataView:Rb,grid:Mb,gridLayoutContainer:xb,gridRow:Nb,listView:Lb,page:$b,position:Hb,positioningContainer:Vb,row:jb,subtableColumn:qb,subtableRow:Wb,tab:Ub,tabPane:zb,toolbox:Gb,batchSubmissionListButton:Kb,exportRecordListButton:Qb,listViewSelect:Zb,referenceList:Xb,optionOne:Jb,optionTwo:Yb,optionThird:pb},tC="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",iC="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",nC="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",uC="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",lC="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",aC="{caption}\u5FC5\u9808",rC="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",oC="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",cC="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",sC="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",dC="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",hC="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",yC="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",fC="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",vC="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",mC="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",gC="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",bC="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",CC="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",EC="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",_C="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",IC="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",DC="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",BC="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",wC="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",AC="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",TC="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",FC="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306E\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u6570\u304C\u5236\u9650\u3092\u8D85\u3048\u3066\u3044\u307E\u3059",SC="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",PC="\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",OC="\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",kC="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",RC="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",MC="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",xC="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",NC="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",LC="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",$C="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",HC="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",VC="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",jC="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",qC="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",WC="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",UC="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",zC="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",GC="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",KC="please select control",QC="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",ZC="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",XC="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",JC="\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",YC="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",pC="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",e5="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",t5="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",i5="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",n5="\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",u5="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",l5="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",a5="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",r5="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",o5="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",c5="\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",s5="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",d5="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",h5="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",y5="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",f5="\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",v5="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",m5="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",g5="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",b5="\u6279\u91CF\u5220\u9664",C5="\u6279\u91CF\u6253\u5370",E5="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",_5="\u6309\u94AE",I5="\u521B\u5EFA\u5355\u636E",D5="\u4EEA\u8868\u76D8",B5="\u5206\u5272\u7EBF",w5="\u5BFC\u51FA",A5="\u8868\u5355\u64CD\u4F5C",T5="\u5BFC\u5165",F5="\u53D1\u7968\u8BC6\u522B",S5="\u94FE\u63A5",P5="\u5217\u8868\u9009\u62E9",O5="\u5217\u8868\u89C6\u56FE",k5="\u64CD\u4F5C\u6309\u94AE",R5="\u5206\u9875",M5="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",x5="\u8BF4\u660E\u6587\u5B57",N5="\u6587\u5B57\u8BC6\u522B",L5="\u6807\u9898\u7EC4\u4EF6",$5="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",H5="\u6570\u7EC4",V5="\u81EA\u52A8\u7F16\u53F7",j5="\u81EA\u5B9A\u4E49",q5="\u6570\u503C",W5="\u90E8\u95E8",U5="\u4EBA\u5458",z5="\u9644\u4EF6",G5="\u56FE\u7247",K5="\u5730\u5740",Q5="\u64CD\u4F5C",Z5="\u5E8F\u53F7",X5="\u4EBA\u5458",J5="\u957F\u6587\u672C",Y5="\u65E5\u671F\u533A\u95F4",p5="\u65E5\u671F",e7="\u77ED\u6587\u672C",t7="\u6362\u884C\u5BB9\u5668Wrap",i7="\u8868\u683C",n7="\u660E\u7EC6\u5B50\u8868",u7="\u5730\u5740",l7="\u91D1\u989D",a7="\u8BA1\u7B97\u516C\u5F0F",r7="\u591A\u9009",o7="\u7535\u5B50\u7B7E\u7AE0",c7="\u5355\u884C\u6587\u672C",s7="\u6570\u5B57",d7="\u4E1A\u52A1\u7EC4\u7EC7",h7="\u5355\u9009",y7="\u5BCC\u6587\u672C",f7="\u8BC4\u5206",v7="\u6570\u5B57\u533A\u95F4",m7="\u4E0B\u62C9\u5355\u9009",g7="\u4E0B\u62C9\u591A\u9009",b7="\u5173\u8054\u5355\u9009",C7="\u591A\u884C\u6587\u672C",E7="\u6811",_7="Vue\u5BB9\u5668",I7="Vue\u9875\u9762",D7="\u5728\u7EBF\u6587\u6863",B7="\u6309\u94AE\u64CD\u4F5C\u680F",w7="\u9AD8\u7EA7\u5BB9\u5668",A7="\u5206\u7EC4",T7="\u6805\u683C\u5217",F7="\u6570\u636E\u5BB9\u5668",S7="\u753B\u5E03",P7="\u6362\u884C\u5BB9\u5668",O7="\u6805\u683C\u7B49\u5206\u884C",k7="\u5217\u8868\u5BB9\u5668",R7="\u81EA\u7531\u9875\u9762",M7="\u5B9A\u4F4D\u5B50\u5BB9\u5668",x7="\u5B9A\u4F4D\u5BB9\u5668",N7="\u6805\u683C\u5E03\u5C40",L7="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",$7="\u660E\u7EC6\u5B50\u8868\u884C",H7="\u6807\u7B7E\u9875",V7="\u6807\u7B7E\u5355\u5143",j7="\u5DE5\u5177\u680F",q7="\u6279\u91CF\u63D0\u4EA4",W7="\u5BFC\u51FA\u8BB0\u5F55",U7="\u5217\u8868\u89C6\u56FE",z7="\u5F15\u7528\u5217\u8868",G7="\u9009\u9879\u4E00",K7="\u9009\u9879\u4E8C",Q7="\u9009\u9879\u4E09",Z7={isNotNumber:tC,isNotString:iC,isNotObject:nC,isNotArray:uC,isNotBoolean:lC,runtimeRequired:aC,pleaseEnterCaption:rC,pleaseEnterCaptionTip:oC,pleaseEnterRowCaption:cC,pleaseEnterPlaceholder:sC,pleaseEnterFieldCode:dC,pleaseEnterForm:hC,pleaseEnterList:yC,pleaseEnterProcess:fC,pleaseEnterLabel:vC,pleaseEnterValue:mC,bizKeyNotBindFiled:gC,pleaseSelectOneField:bC,pleaseEnterNumberRange:CC,pleaseEnterAValueGreaterThanMin:EC,pleaseEnterAValueLessThanMax:_C,numberRangeSetError:IC,stringRangeError:DC,attachmentMaxSize:BC,pleaseEnterTotalScoreSetting:wC,theTotalScoreMustNotBeLessThan1:AC,scoreDefaultValueRange:TC,attachmentLimitError:FC,PleaseReselectTheOptionalQuantity:SC,TheMaximumLengthIsGreaterThanTheMinimumLength:PC,TheMinimumLengthIsGreaterThanTheMaximumLength:OC,PleaseSelectTheCorrectOptionSettings:kC,optionIdIsRepeat:RC,optionIsRequired:MC,pleaseEnterDataCode:xC,pleaseEnterValueFieldCode:NC,pleaseEnterSvcCode:LC,pleaseBindAtLeastOneDisplayValue:$C,pleaseSelectProvince:HC,pleaseSelectCity:VC,pleaseSelectDistrict:jC,limitRowsCannotBeLessThan0:qC,TheNumberOfRowsCannotBeLessThanMinRows:WC,pleaseEnterColumnWidth:UC,pleaseSetTheLogicalRelationshipOfAllRuleConditions:zC,pleaseCompleteAllRulesAndConditions:GC,pleaseSelectControl:KC,pleaseSelectDashboard:QC,theViewNameCannotBeEmpty:ZC,pleaseSelectOcrType:XC,pleaseSelectAtLeastOneFieldToFillIn:JC,pleaseChooseAtLeastOne:YC,pleaseEnterButtonContent:pC,pleaseEnterDataCodeInDataSetting:e5,pleaseEnterValueFieldCodeInDataSetting:t5,pleaseEnterSvcCodeInDataSetting:i5,pleaseBindAtLeastOneDisplayValueInDataSetting:n5,rootNodeIsRequiredInDataSetting:u5,pleaseEnterMaxHeight:l5,pleaseEnter:a5,pleaseEnterWatermark:r5,pleaseEnterFileName:o5,pleaseUploadAtLeastOnePrintTemplate:c5,pleaseAssignBusiness:s5,pleaseAssignExternal:d5,pleaseEnterAliasCode:h5,pleaseSelectDataCode:y5,pleaseSelectSvcCode:f5,pleaseSelectJoinFieldCode:v5,pleaseSelectMainFieldCode:m5,pleaseSelectSortFieldCode:g5,batchDeleteButton:b5,batchPrintListButton:C5,batchPrintRecordList:E5,button:_5,createFormListButton:I5,dashboard:D5,divider:B5,exportListButton:w5,formSelectButton:A5,importRecordListButton:T5,invoiceCheckButton:F5,link:S5,listSelectButton:P5,ListViewSelect:O5,operationButton:k5,pagination:R5,submissionRecordListButton:M5,text:x5,textOcrButton:N5,title:L5,approvalStatusColumn:$5,array:H5,autoNumber:V5,custom:j5,decimal:q5,department:W5,employee:U5,file:z5,image:G5,location:K5,operation:Q5,order:Z5,people:X5,long:J5,timescope:Y5,timestamp:p5,varchar:e7,gridLayoutWrap:t7,gridTable:i7,subTable:n7,address:u7,amount:l7,calc:a7,checkBox:r7,electronicSignature:o7,input:c7,number:s7,organizationSelection:d7,radio:h7,richText:y7,score:f7,searchNumberRange:v7,select:m7,selectMultiple:g7,selectRelation:b7,textarea:C7,tree:E7,vueFormItem:_7,vuePage:I7,WPS:D7,actionBar:B7,advancedContainer:w7,cardGroup:A7,col:T7,dataView:F7,grid:S7,gridLayoutContainer:P7,gridRow:O7,listView:k7,page:R7,position:M7,positioningContainer:x7,row:N7,subtableColumn:L7,subtableRow:$7,tab:H7,tabPane:V7,toolbox:j7,batchSubmissionListButton:q7,exportRecordListButton:W7,listViewSelect:U7,referenceList:z7,optionOne:G7,optionTwo:K7,optionThird:Q7},Ju={zhCN:l0,enUS:eC,jaJP:Z7},Yu,X7=(Yu=window.localStorage.getItem("locale"))!==null&&Yu!==void 0?Yu:"zh-CN",Ki=function(t){return t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search",t}({}),w=function(t){return t.TITLE="title",t.LINK="link",t.IFRAME="iframe",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.COMMENT="comment",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.GROUP_COLUMN="group-column",t.ADDRESS="address",t.AMOUNT="amount",t.ATTACHMENT="attachment",t.AUTO_NUMBER="auto-number",t.CALC="calc",t.CHECKBOX="checkbox",t.CASCADER="cascader",t.COUNTER="counter",t.SLIDER="slider",t.SWITCH="switch",t.TAG="tag",t.BARCODE="barcode",t.QR_CODE="qr-code",t.DATE_PICKER="date-picker",t.DATE_RANGE="date-range",t.TIME_PICKER="time-picker",t.TIME_RANGE="time-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.BLANK_CONTAINER="blank-container",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.TABLE_LAYOUT="table-layout",t.TABLE_LAYOUT_ROW="table-layout-row",t.TABLE_LAYOUT_COL="table-layout-col",t.TABLE_LAYOUT_WRAPPER="table-layout-wrapper",t.COLLAPSE="collapse",t.COLLAPSE_PANE="collapse-pane",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.BAR_CHART="bar-chart",t.LINE_CHART="line-chart",t.PIE_CHART="pie-chart",t.TREE="tree",t.EMPLOYEE2="employee2",t.DEPARTMENT2="department2",t.GRID_LAYOUT_WRAP="grid-layout-wrap",t.VUE_PAGE="vue-page",t.REFERENCE_LIST="reference-list",t.STEP="step",t.STEP_PANE="step-pane",t}({}),C=function(t){return t.VARCHAR="varchar",t.TEXT="text",t.ARRAY="array",t.ADDRESS="location",t.DECIMAL="decimal",t.DECIMAL_RANGE="decimal_range",t.TIMESTAMP="timestamp",t.EMPLOYEES="people",t.DEPARTMENTS="department",t.MONEY="money",t.TIMESCOPE="timescope",t.FILE="file",t.IMAGE="image",t.AUTO_NUMBER="auto_number",t.CALC="calc",t.LIST="list",t.JSON="json",t.ANY="ANY",t}({}),at=function(t){return t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime",t.CUSTOM="custom",t}({}),Or=function(t){return t.HOURSEC="hoursec",t.HOURMIN="hourmin",t.CUSTOM="custom",t}({}),kr={DEFAULT:"default"},Rr="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",J7=Rr+"0123456789";function oe(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",i=0;i<t;i++){var n=i===0?Rr:J7,u=Math.random()*n.length;e+=n[parseInt(String(u),10)]}return e}function pu(t,e){(e==null||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function Y7(t){if(Array.isArray(t))return pu(t)}function p7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Mr(t,e,i){return e=xt(e),nE(t,tl()?Reflect.construct(e,i||[],xt(t).constructor):e.apply(t,i))}function xr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Qi(t,e,i){return tl()?Qi=Reflect.construct:Qi=function(u,l,r){var c=[null];c.push.apply(c,l);var s=Function.bind.apply(u,c),h=new s;return r&&Nt(h,r.prototype),h},Qi.apply(null,arguments)}function xt(t){return xt=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},xt(t)}function Nr(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&&Nt(t,e)}function eE(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function tE(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function iE(){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 nE(t,e){return e&&(uE(e)==="object"||typeof e=="function")?e:p7(t)}function Nt(t,e){return Nt=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Nt(t,e)}function Lr(t){return Y7(t)||tE(t)||lE(t)||iE()}function uE(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function lE(t,e){if(!!t){if(typeof t=="string")return pu(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);if(i==="Object"&&t.constructor&&(i=t.constructor.name),i==="Map"||i==="Set")return Array.from(i);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return pu(t,e)}}function el(t){var e=typeof Map=="function"?new Map:void 0;return el=function(n){if(n===null||!eE(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(n))return e.get(n);e.set(n,u)}function u(){return Qi(n,arguments,xt(this).constructor)}return u.prototype=Object.create(n.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Nt(u,n)},el(t)}function tl(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tl=function(){return!!t})()}var il=console;function nl(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];var n,u=e.slice(1);(n=il).warn.apply(n,["\u{1F9D0} Driven Warning:"+e[0]].concat(Lr(u)))}function $r(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];var n,u=e.slice(1);(n=il).log.apply(n,["\u{1F680} Driven Log:"+e[0]].concat(Lr(u)))}function aE(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var ul=function(t){Nr(e,t);function e(i){xr(this,e);var n;return n=Mr(this,e,[i]),n.name="\u{1F4A5} Driven Error",n.message=i?aE(i):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",n}return e}(el(Error)),rE=function(t){Nr(e,t);function e(i){xr(this,e);var n;return n=Mr(this,e,[i]),n.name="\u{1F6A8} Driven Reference Error",n}return e}(ul);function Lt(t){throw new ul(t)}function Hr(t){throw new rE(t)}function oE(t){il.error(new ul(t))}function cE(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Vr(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function sE(t,e,i){return e&&Vr(t.prototype,e),i&&Vr(t,i),t}function dE(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}var jr=function(){function t(){cE(this,t)}return sE(t,null,[{key:"getMessage",value:function(i){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u;return a("CMD."+i,n,Ju==null||(u=Ju[X7.split("-").join("")])===null||u===void 0?void 0:u[i])}},{key:"resetI18n",value:function(){}},{key:"setLocale",value:function(i,n){}}]),t}();dE(jr,"$i18n",jr.resetI18n());function hE(t,e,i){var n=e.replace(/\[(\d)]/g,function(l,r){return"."+r}).split("."),u=!1;return n.reduce(function(l,r,c,s){var h=l;if(!!l){if(!Object.prototype.hasOwnProperty.call(l,r)){nl("Can not set ".concat(e,"'s ").concat(r," property in current %o, Because there is no ").concat(r," property on the %o"),l,l);return}return c===s.length-1&&!Object.is(h[r],i)&&(h[r]=i,u=!0),h[r]}},t),u}var yE=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},fE={exports:{}};(function(t){(function(e){var i=function(m,I,R){if(!h(I)||f(I)||g(I)||E(I)||s(I))return I;var P,x=0,te=0;if(d(I))for(P=[],te=I.length;x<te;x++)P.push(i(m,I[x],R));else{P={};for(var V in I)Object.prototype.hasOwnProperty.call(I,V)&&(P[m(V,R)]=i(m,I[V],R))}return P},n=function(m,I){I=I||{};var R=I.separator||"_",P=I.split||/(?=[A-Z])/;return m.split(P).join(R)},u=function(m){return _(m)?m:(m=m.replace(/[\-_\s]+(.)?/g,function(I,R){return R?R.toUpperCase():""}),m.substr(0,1).toLowerCase()+m.substr(1))},l=function(m){var I=u(m);return I.substr(0,1).toUpperCase()+I.substr(1)},r=function(m,I){return n(m,I).toLowerCase()},c=Object.prototype.toString,s=function(m){return typeof m=="function"},h=function(m){return m===Object(m)},d=function(m){return c.call(m)=="[object Array]"},f=function(m){return c.call(m)=="[object Date]"},g=function(m){return c.call(m)=="[object RegExp]"},E=function(m){return c.call(m)=="[object Boolean]"},_=function(m){return m=m-0,m===m},b=function(m,I){var R=I&&"process"in I?I.process:I;return typeof R!="function"?m:function(P,x){return R(P,m,x)}},D={camelize:u,decamelize:r,pascalize:l,depascalize:r,camelizeKeys:function(m,I){return i(b(u,I),m)},decamelizeKeys:function(m,I){return i(b(r,I),m,I)},pascalizeKeys:function(m,I){return i(b(l,I),m)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=D:e.humps=D})(yE)})(fE);var qr={};Object.defineProperty(qr,"__esModule",{value:!0});function ll(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:ll(e));{const e={};for(const i in t){const n=t[i];e[i]=typeof n!="object"||n===null?n:ll(n)}return e}}var vE=qr.default=ll;function mE(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ce(t){if(t!==void 0)return(typeof t=="undefined"?"undefined":mE(t))==="object"?vE(t):t}function gE(t){return Object.prototype.toString.call(t)==="[object Object]"}function Zi(t){return Array.isArray(t)}function bE(t){return t.reduce(function(e,i){return e.includes(i)||e.push(i),e},[])}function al(t,e){(e==null||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function CE(t){if(Array.isArray(t))return al(t)}function Wr(t,e,i,n,u,l,r){try{var c=t[l](r),s=c.value}catch(h){i(h);return}c.done?e(s):Promise.resolve(s).then(n,u)}function EE(t){return function(){var e=this,i=arguments;return new Promise(function(n,u){var l=t.apply(e,i);function r(s){Wr(l,n,u,r,c,"next",s)}function c(s){Wr(l,n,u,r,c,"throw",s)}r(void 0)})}}function _E(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ur(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function IE(t,e,i){return e&&Ur(t.prototype,e),i&&Ur(t,i),t}function zr(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function DE(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function BE(){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 rl(t){return CE(t)||DE(t)||wE(t)||BE()}function wE(t,e){if(!!t){if(typeof t=="string")return al(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);if(i==="Object"&&t.constructor&&(i=t.constructor.name),i==="Map"||i==="Set")return Array.from(i);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return al(t,e)}}function AE(t,e){var i,n,u,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},r=Object.create((typeof Iterator=="function"?Iterator:Object).prototype),c=Object.defineProperty;return c(r,"next",{value:s(0)}),c(r,"throw",{value:s(1)}),c(r,"return",{value:s(2)}),typeof Symbol=="function"&&c(r,Symbol.iterator,{value:function(){return this}}),r;function s(d){return function(f){return h([d,f])}}function h(d){if(i)throw new TypeError("Generator is already executing.");for(;r&&(r=0,d[0]&&(l=0)),l;)try{if(i=1,n&&(u=d[0]&2?n.return:d[0]?n.throw||((u=n.return)&&u.call(n),0):n.next)&&!(u=u.call(n,d[1])).done)return u;switch(n=0,u&&(d=[d[0]&2,u.value]),d[0]){case 0:case 1:u=d;break;case 4:return l.label++,{value:d[1],done:!1};case 5:l.label++,n=d[1],d=[0];continue;case 7:d=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(d[0]===6||d[0]===2)){l=0;continue}if(d[0]===3&&(!u||d[1]>u[0]&&d[1]<u[3])){l.label=d[1];break}if(d[0]===6&&l.label<u[1]){l.label=u[1],u=d;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(d);break}u[2]&&l.ops.pop(),l.trys.pop();continue}d=e.call(t,l)}catch(f){d=[6,f],n=0}finally{i=u=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}}var TE=function(){function t(){_E(this,t),zr(this,"_events",new Map),zr(this,"debug",!1)}return IE(t,[{key:"emit",value:function(i){for(var n=arguments.length,u=new Array(n>1?n-1:0),l=1;l<n;l++)u[l-1]=arguments[l];return EE(function(){var r,c,s,h,d,f,g,E,_,b,D,m;return AE(this,function(I){switch(I.label){case 0:if(r=this._events.get(i),c=[],!r)return[3,10];s=r.slice(),h=!0,d=!1,f=void 0,I.label=1;case 1:I.trys.push([1,8,9,10]),g=s[Symbol.iterator](),I.label=2;case 2:if(h=(E=g.next()).done)return[3,7];if(_=E.value,!r.includes(_))return[3,6];I.label=3;case 3:return I.trys.push([3,5,,6]),this.debug&&$r.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(i," \u4E8B\u4EF6: ").concat(_.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+_.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"\u3002")].concat(rl(u))),[4,_.apply(null,rl(u))];case 4:return b=I.sent(),this.debug&&$r.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(i," \u4E8B\u4EF6: ").concat(_.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+_.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(rl(u),[b])),c.push(b),b===!1?[3,7]:[3,6];case 5:return D=I.sent(),oE(String(D)+":"+String(D.stack)),[3,6];case 6:return h=!0,[3,2];case 7:return[3,10];case 8:return m=I.sent(),d=!0,f=m,[3,10];case 9:try{!h&&g.return!=null&&g.return()}finally{if(d)throw f}return[7];case 10:return[2,c]}})}).call(this)}},{key:"on",value:function(i,n){if(this._events.has(i)){var u;(u=this._events.get(i))===null||u===void 0||u.push(n)}else this._events.set(i,[n])}},{key:"off",value:function(i,n){if(this._events.has(i)){var u=this._events.get(i),l=u==null?void 0:u.indexOf(n);u==null||u.splice(l,1)}}},{key:"delete",value:function(i){this._events.has(i)&&this._events.delete(i)}},{key:"clear",value:function(){this._events=new Map}}]),t}();function FE(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gr(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function SE(t,e,i){return e&&Gr(t.prototype,e),i&&Gr(t,i),t}function PE(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}var OE=[{key:"on_click",name:a("CMD.click",null,"\u70B9\u51FB\u65F6"),code:"click"},{key:"on_click_finish",name:a("CMD.finished",null,"\u6267\u884C\u5B8C\u6210\u65F6"),code:"click-finish"},{key:"on_change",name:a("CMD.valueChange",null,"\u503C\u53D1\u751F\u53D8\u5316\u65F6"),code:"change"},{key:"on_search",name:a("CMD.search",null,"\u641C\u7D22\u65F6"),code:"search"},{key:"on_file_actions",name:a("CMD.onClickFileBtn",null,"\u70B9\u51FB\u6587\u4EF6\u6309\u94AE\u65F6"),code:"file-actions"},{key:"on_tree_search",name:a("CMD.treeDataCreate",null,"\u6811\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6"),code:"tree-search"},{key:"on_list_change",name:a("CMD.listDataChange",null,"\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6"),code:"list-change"},{key:"on_chart_change",name:a("CMD.chartDataChange",null,"\u56FE\u8868\u6570\u636E\u53D8\u5316\u65F6"),code:"chart-change"},{key:"on_list_search",name:a("CMD.listDataCreate",null,"\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6"),code:"list-search"},{key:"on_list_mounted",name:a("CMD.listDataBack",null,"\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6"),code:"list-mounted"},{key:"on_list_delete",name:a("CMD.listDataDelete",null,"\u5217\u8868\u6570\u636E\u5220\u9664\u65F6"),code:"list-delete"},{key:"on_list_before_insert",name:a("CMD.listDataAdd",null,"\u5217\u8868\u6570\u636E\u63D2\u5165\u524D"),code:"list-before-insert"},{key:"on_input",name:a("CMD.onInput",null,"\u7528\u6237\u8F93\u5165\u65F6"),code:"input"},{key:"on_blur",name:a("CMD.onBlur",null,"\u5931\u53BB\u7126\u70B9\u65F6"),code:"blur"},{key:"on_focus",name:a("CMD.onFocus",null,"\u83B7\u53D6\u7126\u70B9\u65F6"),code:"focus"},{key:"on_wps_open",name:a("CMD.onOpenFile",null,"\u6253\u5F00\u6587\u4EF6\u65F6"),code:"wps-open"},{key:"on_wps_save",name:a("CMD.onSaveFile",null,"\u4FDD\u5B58\u6587\u4EF6\u65F6"),code:"wps-save"},{key:"on_wps_rename",name:a("CMD.rename",null,"\u91CD\u547D\u540D\u65F6"),code:"wps-rename"},{key:"on_list_actions",name:a("CMD.onClickBtn",null,"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6"),code:"list-actions"},{key:"on_list_render_operation",name:a("CMD.cellRender",null,"\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6"),code:"list-render-operation"},{key:"on_list_rowclick",name:a("CMD.rowClick",null,"\u884C\u70B9\u51FB\u65F6"),code:"list-rowclick"},{key:"on_list_before_rowdelete",name:a("CMD.rowDelete",null,"\u884C\u5220\u9664\u524D"),code:"list-before-rowdelete"},{key:"on_list_before_import",name:a("CMD.listDataImport",null,"\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D"),code:"list-before-import"},{key:"on_list_rows_checked",name:a("CMD.rowSelected",null,"\u884C\u9009\u4E2D\u65F6"),code:"list-rows-checked"},{key:"on_change_tab",name:a("CMD.tabChange",null,"\u6807\u7B7E\u9875\u5207\u6362\u65F6"),code:"change-tab"},{key:"on_modal_ok",name:a("CMD.modalConfirm",null,"\u5F39\u7A97\u786E\u8BA4\u65F6"),code:"modal-ok"},{key:"on_change_steps",name:a("CMD.stepsChange",null,"\u6B65\u9AA4\u5207\u6362\u65F6"),code:"change-steps"},{key:"on_option_selected",name:a("CMD.optionSelected",null,"DOM\u70B9\u51FBoption\u4E8B\u4EF6"),code:"option_selected"}],kE=function(){function t(){FE(this,t)}return SE(t,null,[{key:"getEventsFromKeys",value:function(i){var n=typeof i=="string"?[i]:i;return t.events.filter(function(u){return n.includes(u.key)})}},{key:"getEventsFromControl",value:function(i){var n=[],u=i.eventKeys;n=n.concat(t.events.filter(function(r){return u.includes(r.key)}));var l=i.customEvents.map(function(r){var c=r.key;return r.namespace!==void 0&&r.namespace!==null&&r.namespace!==""&&(c=r.namespace+":"+r.key),{key:c,code:r.key,name:r.name}});return n=n.concat(l),n}}]),t}();PE(kE,"events",OE);function ol(t,e){(e==null||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function RE(t){if(Array.isArray(t))return ol(t)}function ME(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function xE(){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 Kr(t){return RE(t)||ME(t)||NE(t)||xE()}function NE(t,e){if(!!t){if(typeof t=="string")return ol(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);if(i==="Object"&&t.constructor&&(i=t.constructor.name),i==="Map"||i==="Set")return Array.from(i);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return ol(t,e)}}function cl(t,e){var i;!((i=Object.getOwnPropertyDescriptors(t)[e])===null||i===void 0)&&i.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function Qr(t,e,i){i!=="Runtime"&&(t.parent=e,cl(t,"parent"))}function LE(t,e,i){t.forEach(function(n){Qr(n,e,i)})}var Zr=Symbol("targetKey");function Xr(t){var e;return(e=t[Zr])!==null&&e!==void 0?e:t}function Jr(t,e,i){return LE(t,e,i),new Proxy(t,{get:function(u,l){for(var r=arguments.length,c=new Array(r>2?r-2:0),s=2;s<r;s++)c[s-2]=arguments[s];var h;return l===Zr?u:(h=Reflect).get.apply(h,[u,l].concat(Kr(c)))},set:function(u,l,r){for(var c=arguments.length,s=new Array(c>3?c-3:0),h=3;h<c;h++)s[h-3]=arguments[h];var d;if(Zi(t)&&l==="length"&&r===t.length)return!0;var f=(d=Reflect).set.apply(d,[u,l,r].concat(Kr(s)));return gE(r)&&Qr(r,e,i),f}})}function se(t,e,i,n,u){var l=n!=null?n:t,r=Jr(Xr(i!=null?i:[]),l,u);Object.defineProperty(t,e,{get:function(){return r},set:function(s){r=Jr(Xr(s),l,u)},enumerable:!0})}function $E(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Yr(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function HE(t,e,i){return e&&Yr(t.prototype,e),i&&Yr(t,i),t}function De(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}var pr=[],Xi=function(){function t(e){$E(this,t),De(this,"registeredControlTypes",new Set),De(this,"controlConfigMap",new Map),De(this,"_controls",[]),De(this,"_type",void 0),this._type=e,this._initControls(e)}return HE(t,[{key:"registerControlConfig",value:function(i,n){return this.controlConfigMap.set(i,n),this}},{key:"getControlConfig",value:function(i){return this.controlConfigMap.get(i)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(i){i.__is_control__||Lt("".concat(i.name," is not a Control"));var n=this._controls.findIndex(function(u){return u.controlType===i.controlType});return n>-1&&(nl("The ".concat(i.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(n,1)),this.registeredControlTypes.add(i.controlType),this._controls.push(i),this}},{key:"isLayoutControl",value:function(i){return i.controlType===Ki.LAYOUT}},{key:"isFormControl",value:function(i){return i.controlType===Ki.FORM}},{key:"isListControl",value:function(i){return i.controlType===Ki.LIST}},{key:"isColumnControl",value:function(i){return i.controlType===Ki.COLUMN}},{key:"createControl",value:function(i,n){var u=this;if(Array.isArray(i))return i.map(function(d){return u.createControl(d,n)});if(i.children&&(i.children=i.children.map(function(d){return u.createControl(d,n)})),this.isListControl(i)){var l=i.props;l.headers&&(l.headers=l.headers.map(function(d){return u.createControl(d,n)}))}var r=this.getControlFormType(i.type);if(r){var c=i;if(typeof n=="function"){var s=n(c);s&&(c=s)}var h;return r.mode==="Runtime"?(h=c,h.fieldType=r.controlFieldType,this._setParentPrototypeToSchema(h,this)):h=new r(c),h}else Lt("The constructor of ".concat(i.type," could not be found, please confirm that the constructor has been registered"))}},{key:"resetInstanceParent",value:function(i,n){delete i.parent,Object.defineProperty(i,"parent",{configurable:!0,get:function(){return n}}),cl(i,"parent")}},{key:"_setParentPrototypeToSchema",value:function(i,n){n._type==="Runtime"&&(Object.defineProperty(i,"parent",{configurable:!0,get:function(){var l=i.id,r=n._controlParentIdMap,c=n.instanceMap;if(!(!r||!c)){var s=r[l],h=c[l];if(!(!s&&!h)){var d=h.findIndex(function(E){return E==i}),f=c[s]||[],g;return f.length!==h.length?g=f[0]:g=f[d],g}}}}),cl(i,"parent"))}},{key:"createControlInstance",value:function(i,n){var u=this.getControlFormType(i);if(u)return new u(n)}},{key:"getControlFormType",value:function(i){return this._controls.find(function(n){return n.controlType===i})}},{key:"_initControls",value:function(i){var n=this;this.constructor.staticControls.forEach(function(u){n.register(u[i]),t.staticControlsRuntimeRules.set(u.Runtime.controlType,u.Property.RuntimeRules),u.Property.mode=i})}}],[{key:"staticGetRules",value:function(i,n){var u=t.staticControlsRuntimeRules.get(i),l=[];if(u){var r=new u(n);l=Array.from(r)}return l}},{key:"register",value:function(i,n){var u=i.Designer,l=i.Runtime,r=i.Property;(!u||!l||!u.__is_control__||!l.__is_control__)&&Lt("".concat(i," is can't register as a Control"));var c=this.staticControls.findIndex(function(s){return s.Designer.controlType===u.controlType});return c>-1&&(nl("The ".concat(u.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(c,1)),this.staticRegisteredTypes.add(u.controlType),this.staticControls.push(i),r.mode=n,this}}]),t}();De(Xi,"staticControlsRuntimeRules",new Map),De(Xi,"staticControls",pr),De(Xi,"staticRegisteredTypes",new Set(pr.map(function(t){return t.Designer.controlType}))),De(Xi,"staticRegisteredConfigs",new Map);function VE(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ae(t,e,i){return e=Ji(e),jE(t,eo()?Reflect.construct(e,i||[],Ji(t).constructor):e.apply(t,i))}function B(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function y(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function Ji(t){return Ji=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},Ji(t)}function re(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&sl(t,e)}function jE(t,e){return e&&(qE(e)==="object"||typeof e=="function")?e:VE(t)}function sl(t,e){return sl=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},sl(t,e)}function qE(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function eo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(eo=function(){return!!t})()}var ye=function t(e){B(this,t);var i,n,u;y(this,"dataCode",void 0),y(this,"fieldCode",void 0),y(this,"fieldType",void 0),y(this,"aliasCode",void 0),this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"",this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:"",this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"",this.aliasCode=e==null?void 0:e.aliasCode},to=function t(e){B(this,t);var i,n;y(this,"minWidth",void 0),y(this,"maxWidth",void 0),y(this,"flex",void 0),this.minWidth=(i=e==null?void 0:e.minWidth)!==null&&i!==void 0?i:150,this.maxWidth=e==null?void 0:e.maxWidth,this.flex=(n=e==null?void 0:e.flex)!==null&&n!==void 0?n:1},io=function t(e){B(this,t);var i,n,u,l;y(this,"rowHeightType",void 0),y(this,"minRows",void 0),y(this,"maxRows",void 0),y(this,"fiexdRow",void 0),this.rowHeightType=(i=e==null?void 0:e.rowHeightType)!==null&&i!==void 0?i:"fixed",this.minRows=(n=e==null?void 0:e.minRows)!==null&&n!==void 0?n:4,this.maxRows=(u=e==null?void 0:e.maxRows)!==null&&u!==void 0?u:20,this.fiexdRow=(l=e==null?void 0:e.fiexdRow)!==null&&l!==void 0?l:4},WE=function t(e){B(this,t),y(this,"pc",void 0),y(this,"mobile",void 0),this.pc=new io(e==null?void 0:e.pc),this.mobile=new io(e==null?void 0:e.mobile)},dl=function(t){re(e,t);function e(i){B(this,e);var n,u,l;return n=ae(this,e,[i]),y(n,"width",void 0),y(n,"widthType",void 0),n.width=(u=i==null?void 0:i.width)!==null&&u!==void 0?u:240,n.widthType=(l=i==null?void 0:i.widthType)!==null&&l!==void 0?l:"auto",n}return e}(to),UE=function t(e){B(this,t),y(this,"pc",void 0),y(this,"mobile",void 0),this.pc=new dl(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new dl(e==null?void 0:e.mobile):new dl({width:130,minWidth:180})},zE=function t(e){B(this,t);var i,n;y(this,"type",void 0),y(this,"customOptions",void 0),this.type=(i=e==null?void 0:e.type)!==null&&i!==void 0?i:"firstThree",this.customOptions=(n=e==null?void 0:e.customOptions)!==null&&n!==void 0?n:[]},rt=function t(e){B(this,t);var i,n,u;y(this,"dataCode",void 0),y(this,"formKey",void 0),y(this,"appId",void 0),this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"",this.formKey=(n=e==null?void 0:e.formKey)!==null&&n!==void 0?n:"",this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:""},GE=function(t){re(e,t);function e(i){B(this,e);var n,u;return n=ae(this,e,[i]),y(n,"primaryControlId",void 0),n.primaryControlId=(u=i==null?void 0:i.primaryControlId)!==null&&u!==void 0?u:"",n}return e}(rt),no=function t(e){B(this,t);var i,n;y(this,"fieldCode",void 0),y(this,"dataCode",void 0),this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"",this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:""},hl=function t(e){B(this,t);var i,n,u,l;y(this,"appId",void 0),y(this,"formKey",void 0),y(this,"headers",void 0),this.appId=(i=e==null?void 0:e.appId)!==null&&i!==void 0?i:"",this.formKey=(n=e==null?void 0:e.formKey)!==null&&n!==void 0?n:"",this.headers=(u=e==null||(l=e.headers)===null||l===void 0?void 0:l.map(function(r){return new no(r)}))!==null&&u!==void 0?u:[]},KE=function t(e){B(this,t);var i,n,u;y(this,"fieldName",void 0),y(this,"fieldCode",void 0),y(this,"fieldType",void 0),this.fieldName=(i=e==null?void 0:e.fieldName)!==null&&i!==void 0?i:"",this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:"",this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:C.VARCHAR},QE=function(t){re(e,t);function e(i){B(this,e);var n,u,l,r,c;return n=ae(this,e,[i]),y(n,"title",void 0),y(n,"svcCode",void 0),y(n,"isOpenFilter",void 0),y(n,"filters",void 0),n.title=(u=i==null?void 0:i.title)!==null&&u!==void 0?u:"",n.svcCode=(l=i==null?void 0:i.svcCode)!==null&&l!==void 0?l:"",n.isOpenFilter=(r=i==null?void 0:i.isOpenFilter)!==null&&r!==void 0?r:!1,n.filters=(c=i==null?void 0:i.filters)!==null&&c!==void 0?c:[],n}return e}(rt),ZE=function t(e){B(this,t);var i,n,u,l;y(this,"type","sublist-page"),y(this,"formBind",void 0),y(this,"displayFields",void 0),y(this,"sublists",void 0),this.formBind=new rt(e==null?void 0:e.formBind),this.displayFields=(i=e==null||(u=e.displayFields)===null||u===void 0?void 0:u.map(function(r){return new KE(r)}))!==null&&i!==void 0?i:[],this.sublists=(n=e==null||(l=e.sublists)===null||l===void 0?void 0:l.map(function(r){return new QE(r)}))!==null&&n!==void 0?n:[]},XE=function t(e){B(this,t),y(this,"type",void 0),y(this,"value",void 0),y(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},Be=function t(e){B(this,t);var i,n,u;y(this,"type",void 0),y(this,"value",void 0),y(this,"displayBos",void 0),this.type=(i=e==null?void 0:e.type)!==null&&i!==void 0?i:"custom",this.value=(n=e==null?void 0:e.value)!==null&&n!==void 0?n:[],this.displayBos=(u=e==null?void 0:e.displayBos)!==null&&u!==void 0?u:[]},Yi=function t(e){var i=this;B(this,t);var n,u,l,r;y(this,"id",void 0),y(this,"ruleId",void 0),y(this,"type","conditions"),y(this,"level",void 0),y(this,"value",void 0),y(this,"children",void 0),this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:oe(),this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf(),this.level=(l=e==null?void 0:e.level)!==null&&l!==void 0?l:0,this.value=(r=e==null?void 0:e.value)!==null&&r!==void 0?r:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(function(c){if(c.children!==void 0){var s,h=new t(c);(s=i.children)===null||s===void 0||s.push(h)}else{var d,f=new $t(c);(d=i.children)===null||d===void 0||d.push(f)}}))},$t=function t(e){B(this,t);var i,n,u,l,r;y(this,"id",void 0),y(this,"ruleId",void 0),y(this,"type","condition"),y(this,"symbol",void 0),y(this,"checked",void 0),y(this,"describe",void 0),y(this,"leftVariableBo",void 0),y(this,"rightVariableBo",void 0),this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:oe(),this.ruleId=(n=e==null?void 0:e.ruleId)!==null&&n!==void 0?n:new Date().valueOf(),this.symbol=(u=e==null?void 0:e.symbol)!==null&&u!==void 0?u:"",this.checked=(l=e==null?void 0:e.checked)!==null&&l!==void 0?l:!1,this.describe=(r=e==null?void 0:e.describe)!==null&&r!==void 0?r:"",this.leftVariableBo=new XE(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new Be(e==null?void 0:e.rightVariableBo)},JE=function t(e){B(this,t);var i,n;y(this,"aliasCode",void 0),y(this,"datasourceBind",void 0),y(this,"relationFields",void 0),this.aliasCode=(i=e==null?void 0:e.aliasCode)!==null&&i!==void 0?i:"",this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.relationFields=(n=e==null?void 0:e.relationFields)!==null&&n!==void 0?n:[]},Q=function t(e){B(this,t);var i,n,u,l;y(this,"controlId",void 0),y(this,"fieldCode",void 0),y(this,"fieldType",void 0),y(this,"propName",void 0),this.controlId=(i=e==null?void 0:e.controlId)!==null&&i!==void 0?i:"",this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:"",this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"",this.propName=(l=e==null?void 0:e.propName)!==null&&l!==void 0?l:""},yl=function t(e){B(this,t);var i,n;y(this,"type",void 0),y(this,"value",void 0),y(this,"fieldType",void 0),this.type=(i=e==null?void 0:e.type)!==null&&i!==void 0?i:"FIELD",this.value=(n=e==null?void 0:e.value)!==null&&n!==void 0?n:"",this.fieldType=e==null?void 0:e.fieldType},YE=function t(e){B(this,t);var i,n;y(this,"columnName",void 0),y(this,"desc",void 0),this.columnName=(i=e.columnName)!==null&&i!==void 0?i:"",this.desc=(n=e.desc)!==null&&n!==void 0?n:!1};function fl(t){var e,i,n,u,l,r;this.filters=(e=t==null||(u=t.filters)===null||u===void 0?void 0:u.map(function(c){return c.children!==void 0?new Yi(c):new $t(c)}))!==null&&e!==void 0?e:[],this.viewFilters=(i=t==null||(l=t.viewFilters)===null||l===void 0?void 0:l.map(function(c){return c.children!==void 0?new Yi(c):new $t(c)}))!==null&&i!==void 0?i:[],this.orders=(n=t==null||(r=t.orders)===null||r===void 0?void 0:r.map(function(c){return new YE(c)}))!==null&&n!==void 0?n:[]}var W=function t(e){var i=this;B(this,t);var n,u,l,r,c,s,h,d;y(this,"dataCode",void 0),y(this,"valueFieldCode",void 0),y(this,"displayBoList",void 0),y(this,"keywordMapping",void 0),y(this,"svcCode",void 0),y(this,"appId",void 0),y(this,"filters",void 0),y(this,"viewFilters",void 0),y(this,"isOpenViewFilters",void 0),y(this,"orders",void 0),y(this,"showOrder",void 0),y(this,"assignDepartment",void 0),y(this,"openAssignDepartment",void 0),this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"",this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"",this.valueFieldCode=(l=e==null?void 0:e.valueFieldCode)!==null&&l!==void 0?l:"",this.displayBoList=[],this.isOpenViewFilters=(r=e==null?void 0:e.isOpenViewFilters)!==null&&r!==void 0?r:0,Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(function(f){var g;(g=i.displayBoList)===null||g===void 0||g.push(new yl(f))})),this.keywordMapping=(c=e==null?void 0:e.keywordMapping)!==null&&c!==void 0?c:"",this.showOrder=(s=e==null?void 0:e.showOrder)!==null&&s!==void 0?s:!0,this.svcCode=(h=e==null?void 0:e.svcCode)!==null&&h!==void 0?h:"",this.assignDepartment=new Be(e==null?void 0:e.assignDepartment),this.openAssignDepartment=(d=e==null?void 0:e.openAssignDepartment)!==null&&d!==void 0?d:!1,fl.call(this,e)},pE=function t(e){B(this,t);var i,n,u,l,r,c,s,h;y(this,"actionCode",void 0),y(this,"dataCode",void 0),y(this,"name",void 0),y(this,"appName",void 0),y(this,"dataName",void 0),y(this,"actionName",void 0),y(this,"displayName",void 0),y(this,"svcTypeEnum",void 0),this.actionCode=(i=e==null?void 0:e.actionCode)!==null&&i!==void 0?i:"",this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"",this.name=(u=e==null?void 0:e.name)!==null&&u!==void 0?u:"",this.appName=(l=e==null?void 0:e.appName)!==null&&l!==void 0?l:"",this.dataName=(r=e==null?void 0:e.dataName)!==null&&r!==void 0?r:"",this.actionName=(c=e==null?void 0:e.actionName)!==null&&c!==void 0?c:"",this.displayName=(s=e==null?void 0:e.displayName)!==null&&s!==void 0?s:"",this.svcTypeEnum=(h=e==null?void 0:e.svcTypeEnum)!==null&&h!==void 0?h:""},e_=function t(e){B(this,t);var i,n,u;y(this,"type",void 0),y(this,"value",void 0),y(this,"displayBos",void 0),this.type=(i=e==null?void 0:e.type)!==null&&i!==void 0?i:"custom",this.value=(n=e==null?void 0:e.value)!==null&&n!==void 0?n:[],this.displayBos=(u=e==null?void 0:e.displayBos)!==null&&u!==void 0?u:[]},t_=function t(e){B(this,t);var i,n,u,l;y(this,"id",void 0),y(this,"name",void 0),y(this,"required",void 0),y(this,"paramType",void 0),y(this,"rightVariableBo",void 0),this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:"",this.name=(n=e==null?void 0:e.name)!==null&&n!==void 0?n:"",this.required=(u=e==null?void 0:e.required)!==null&&u!==void 0?u:!1,this.paramType=(l=e==null?void 0:e.paramType)!==null&&l!==void 0?l:"",this.rightVariableBo=new e_(e==null?void 0:e.rightVariableBo)},i_=function t(e){B(this,t);var i,n;y(this,"serviceName",void 0),y(this,"inputParam",void 0),this.serviceName=new pE(e==null?void 0:e.serviceName),this.inputParam=(i=e==null||(n=e.inputParam)===null||n===void 0?void 0:n.map(function(u){return new t_(u)}))!==null&&i!==void 0?i:[]},n_=function t(e){B(this,t);var i,n;y(this,"actionCode",void 0),y(this,"actionType",void 0),y(this,"bizAction",void 0),this.actionCode=(i=e==null?void 0:e.actionCode)!==null&&i!==void 0?i:"",this.actionType=(n=e==null?void 0:e.actionType)!==null&&n!==void 0?n:"",this.bizAction=new i_(e==null?void 0:e.bizAction)},vl=function t(e){B(this,t);var i,n;y(this,"dataCode",void 0),y(this,"displayBoList",void 0),this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"",this.displayBoList=(n=e==null?void 0:e.displayBoList)!==null&&n!==void 0?n:[]},me=function t(e){B(this,t);var i,n,u,l,r,c,s,h,d,f;y(this,"code",void 0),y(this,"color",void 0),y(this,"command",void 0),y(this,"confirmMessage",void 0),y(this,"defaultState",void 0),y(this,"formKey",void 0),y(this,"formType",void 0),y(this,"icon",void 0),y(this,"needConfirm",void 0),y(this,"openType",void 0),y(this,"priorityProcess",void 0),this.code=(i=e==null?void 0:e.code)!==null&&i!==void 0?i:"view",this.color=(n=e==null?void 0:e.color)!==null&&n!==void 0?n:"primary",this.command=(u=e==null?void 0:e.command)!==null&&u!==void 0?u:"view",this.confirmMessage=(l=e==null?void 0:e.confirmMessage)!==null&&l!==void 0?l:void 0,this.defaultState=(r=e==null?void 0:e.defaultState)!==null&&r!==void 0?r:"default",this.formKey=(c=e==null?void 0:e.formKey)!==null&&c!==void 0?c:void 0,this.formType=e==null?void 0:e.formType,this.icon=(s=e==null?void 0:e.icon)!==null&&s!==void 0?s:"iconliulan1",this.needConfirm=(h=e==null?void 0:e.needConfirm)!==null&&h!==void 0?h:!1,this.openType=(d=e==null?void 0:e.openType)!==null&&d!==void 0?d:"modal",this.priorityProcess=(f=e==null?void 0:e.priorityProcess)!==null&&f!==void 0?f:!0},uo=function t(e){B(this,t);var i,n,u,l;y(this,"name",void 0),y(this,"key",void 0),y(this,"value",void 0),this.name=(i=e==null?void 0:e.name)!==null&&i!==void 0?i:"",this.key=(n=e==null?void 0:e.key)!==null&&n!==void 0?n:"",this.value=(u=e==null||(l=e.value)===null||l===void 0?void 0:l.map(function(r){return new yl(r)}))!==null&&u!==void 0?u:[]},pi=function(t){re(e,t);function e(i){B(this,e);var n,u,l;return n=ae(this,e,[i]),y(n,"attributes",void 0),n.attributes=(u=i==null||(l=i.attributes)===null||l===void 0?void 0:l.map(function(r){return new uo(r)}))!==null&&u!==void 0?u:[],n}return e}(W),u_=function(t){re(e,t);function e(i){B(this,e);var n,u,l,r;return n=ae(this,e,[i]),y(n,"attributes",void 0),y(n,"formCode",void 0),n.attributes=(u=i==null||(r=i.attributes)===null||r===void 0?void 0:r.map(function(c){return new uo(c)}))!==null&&u!==void 0?u:[],n.formCode=(l=i==null?void 0:i.formCode)!==null&&l!==void 0?l:"",n}return e}(W),en=function(t){re(e,t);function e(i){B(this,e);var n,u;return n=ae(this,e,[i]),y(n,"rootNode",void 0),y(n,"filterCode",void 0),n.rootNode=new Be(i==null?void 0:i.rootNode),n.filterCode=(u=i==null?void 0:i.filterCode)!==null&&u!==void 0?u:"",n}return e}(pi),lo=function t(e){B(this,t);var i,n,u,l;y(this,"dataCode",void 0),y(this,"appId",void 0),y(this,"fillList",void 0),this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"",this.appId=(n=e==null?void 0:e.appId)!==null&&n!==void 0?n:"",this.fillList=(u=e==null||(l=e.fillList)===null||l===void 0?void 0:l.map(function(r){return new Q(r)}))!==null&&u!==void 0?u:[]},ao=function(t){re(e,t);function e(i){B(this,e);var n;return n=ae(this,e,[i]),y(n,"filters",void 0),y(n,"viewFilters",void 0),y(n,"orders",void 0),fl.call(n,i),n}return e}(lo),ro=function(t){re(e,t);function e(i){B(this,e);var n,u,l;return n=ae(this,e,[i]),y(n,"mode",void 0),y(n,"multiple",void 0),n.mode=(u=i==null?void 0:i.mode)!==null&&u!==void 0?u:"current",n.multiple=(l=i==null?void 0:i.multiple)!==null&&l!==void 0?l:!1,n}return e}(lo),oo=function t(e){B(this,t);var i,n,u;y(this,"stencilName",void 0),y(this,"expression",void 0),y(this,"errMessage",void 0),this.stencilName=(i=e==null?void 0:e.stencilName)!==null&&i!==void 0?i:"",this.expression=(n=e==null?void 0:e.expression)!==null&&n!==void 0?n:"",this.errMessage=(u=e==null?void 0:e.errMessage)!==null&&u!==void 0?u:""},co=function t(e){B(this,t);var i,n,u,l;y(this,"id",void 0),y(this,"label",void 0),y(this,"value",void 0),y(this,"color",void 0),this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:oe(8),this.label=(n=e==null?void 0:e.label)!==null&&n!==void 0?n:"",this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:this.label,this.color=(l=e==null?void 0:e.color)!==null&&l!==void 0?l:""},l_=function(t){re(e,t);function e(i){B(this,e);var n,u,l;return n=ae(this,e,[i]),y(n,"cueWord",void 0),y(n,"checked",void 0),n.cueWord=(u=i==null?void 0:i.cueWord)!==null&&u!==void 0?u:"",n.checked=(l=i==null?void 0:i.checked)!==null&&l!==void 0?l:!1,n}return e}(co);function de(t){var e;return(e=t==null?void 0:t.map(function(i){return new co(i)}))!==null&&e!==void 0?e:[]}function so(t){var e;return(e=t==null?void 0:t.map(function(i){return new l_(i)}))!==null&&e!==void 0?e:[]}var ml=function t(){B(this,t)},a_=function(t){re(e,t);function e(i){B(this,e);var n;return n=ae(this,e),y(n,"amount",void 0),y(n,"currency",void 0),n.amount=new ye(i==null?void 0:i.amount),n.currency=new ye(i==null?void 0:i.currency),n}return e}(ml),r_=function t(e){B(this,t);var i,n;y(this,"amount",void 0),y(this,"currency",void 0),this.amount=(i=e==null?void 0:e.amount)!==null&&i!==void 0?i:"",this.currency=(n=e==null?void 0:e.currency)!==null&&n!==void 0?n:"CNY"},ho=function(t){re(e,t);function e(i){B(this,e);var n;return n=ae(this,e),y(n,"min",void 0),y(n,"max",void 0),n.min=new ye(i==null?void 0:i.min),n.max=new ye(i==null?void 0:i.max),n}return e}(ml),yo=function t(e){B(this,t);var i,n;y(this,"min",void 0),y(this,"max",void 0),this.min=(i=e==null?void 0:e.min)!==null&&i!==void 0?i:"",this.max=(n=e==null?void 0:e.max)!==null&&n!==void 0?n:""},o_=function t(e){B(this,t);var i,n,u,l,r,c,s,h;y(this,"country",void 0),y(this,"countryDisplay",void 0),y(this,"city",void 0),y(this,"cityDisplay",void 0),y(this,"district",void 0),y(this,"districtDisplay",void 0),y(this,"province",void 0),y(this,"provinceDisplay",void 0),this.country=(i=e==null?void 0:e.country)!==null&&i!==void 0?i:"",this.countryDisplay=(n=e==null?void 0:e.countryDisplay)!==null&&n!==void 0?n:"",this.city=(u=e==null?void 0:e.city)!==null&&u!==void 0?u:"",this.cityDisplay=(l=e==null?void 0:e.cityDisplay)!==null&&l!==void 0?l:"",this.district=(r=e==null?void 0:e.district)!==null&&r!==void 0?r:"",this.districtDisplay=(c=e==null?void 0:e.districtDisplay)!==null&&c!==void 0?c:"",this.province=(s=e==null?void 0:e.province)!==null&&s!==void 0?s:"",this.provinceDisplay=(h=e==null?void 0:e.provinceDisplay)!==null&&h!==void 0?h:""},c_=function(t){re(e,t);function e(i){B(this,e);var n;return n=ae(this,e),y(n,"result",void 0),y(n,"unit",void 0),n.result=new ye(i==null?void 0:i.result),n.unit=new ye(i==null?void 0:i.unit),n}return e}(ml),s_=function t(e){B(this,t);var i,n;y(this,"result",void 0),y(this,"unit",void 0),this.result=(i=e==null?void 0:e.result)!==null&&i!==void 0?i:0,this.unit=(n=e==null?void 0:e.unit)!==null&&n!==void 0?n:""},d_=function(t){return t.CNY="CNY",t.USD="USD",t.JPY="JPY",t.EUR="EUR",t.INR="INR",t.IDR="IDR",t.BRL="BRL",t.AED="AED",t.AUD="AUD",t.CAD="CAD",t.EGP="EGP",t.GBP="GBP",t.ZAR="ZAR",t.KRW="KRW",t.MAD="MAD",t.MXN="MXN",t.MYR="MYR",t.PHP="PHP",t.PLN="PLN",t.RUB="RUB",t.SGD="SGD",t.THB="THB",t.TRY="TRY",t.TWD="TWD",t.VND="VND",t.HKD="HKD",t.IEP="IEP",t}({}),o=function(t){return t.DEFAULT_DISPLAY="defaultDisplay",t.REQUIRED="required",t.IS_HIDE="isHide",t.IS_SHOW_UNIT="isShowUnit",t.IMD_SEARCH="immediatelySearch",t.MULTIPLE="multiple",t.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",t.CAPTION="caption",t.IS_HIDE_CAPTION="isHideCaption",t.DEFAULT_SHOW_OPTIONS="defaultShowOptions",t.CAN_SEARCH="canSearch",t.CAN_CHECK="canCheck",t.CAN_EDIT="canEdit",t.CAN_DELETE="canDelete",t.SHOW_UPPER_CASE="showUpperCase",t.MICROMETER="micrometer",t.PRECISION="precision",t.PERCENTAGE="percentage",t.OPTIONAL_LEVEL="optionalLevel",t.CONTAINS_SUB_NODE="containsSubNode",t.DEFAULT_COLLAPSE="defaultCollapse",t.CAN_VIEW_FORM="canViewForm",t.VIEW_FORM_MODEL_TYPE="viewFormModelType",t.SERVER_PAGINATION="serverPagination",t.IS_SHOW_CAPTION_TIP="isShowCaptionTip",t.IS_SHOW_WATERMARK="isShowWatermark",t.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions",t.IS_PASTE="isPaste",t.SORTABLE="sortable",t.IS_SHOW_SIMPLE_SEARCH="isShowSimpleSearch",t.IS_SHOW_TOOL_BAE="isShowToolbar",t.MAIN_DEPT_FLAG="mainDeptFlag",t.IS_INTERNATIONAL="isInternational",t.CAPTION_SIZE="captionSize",t.CAPTION_COLOR="captionColor",t.IS_CAPTION_ITALIC="isCaptionItalic",t.CAPTION_FONT_WEIGHT="captionFontWeight",t.SHOW_TABLE_INDEX="showTableIndex",t}({}),h_=function(t){return t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT",t}({}),we=function t(e){B(this,t);var i,n,u,l,r,c;y(this,"isShow",void 0),y(this,"priorityProcess",void 0),y(this,"formKey",void 0),y(this,"content",void 0),y(this,"openType",void 0),y(this,"type",void 0),this.isShow=(i=e==null?void 0:e.isShow)!==null&&i!==void 0?i:!0,this.content=(n=e==null?void 0:e.content)!==null&&n!==void 0?n:"",this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"",this.openType=(l=e==null?void 0:e.openType)!==null&&l!==void 0?l:"modal",this.type=(r=e==null?void 0:e.type)!==null&&r!==void 0?r:"",this.priorityProcess=(c=e==null?void 0:e.priorityProcess)!==null&&c!==void 0?c:!1},y_=function t(e){B(this,t);var i,n,u,l;y(this,"id",void 0),y(this,"title",void 0),y(this,"filters",void 0),y(this,"viewFilters",void 0),y(this,"headers",void 0),this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:oe(8),this.title=(n=e==null?void 0:e.title)!==null&&n!==void 0?n:"",this.headers=(u=e==null||(l=e.headers)===null||l===void 0?void 0:l.map(function(r){return new no(r)}))!==null&&u!==void 0?u:[],fl.call(this,e)},f_=function t(e){B(this,t);var i,n,u,l;y(this,"width",void 0),y(this,"height",void 0),y(this,"widthConfig",void 0),y(this,"heightConfig",void 0),this.width=(i=e==null?void 0:e.width)!==null&&i!==void 0?i:"",this.height=(n=e==null?void 0:e.height)!==null&&n!==void 0?n:"",this.widthConfig=(u=e==null?void 0:e.widthConfig)!==null&&u!==void 0?u:"fill",this.heightConfig=(l=e==null?void 0:e.heightConfig)!==null&&l!==void 0?l:"fill"},v_=function t(e){B(this,t);var i,n;y(this,"optCode",void 0),y(this,"optType",void 0),this.optCode=(i=e==null?void 0:e.optCode)!==null&&i!==void 0?i:"",this.optType=(n=e==null?void 0:e.optType)!==null&&n!==void 0?n:""},m_=function t(e){B(this,t);var i,n,u,l,r,c;y(this,"id",void 0),y(this,"name",void 0),y(this,"settings",void 0),y(this,"filters",void 0),y(this,"script",void 0),this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:oe(),this.name=(n=e==null?void 0:e.name)!==null&&n!==void 0?n:"",this.filters=(u=e==null||(r=e.filters)===null||r===void 0?void 0:r.map(function(s){return s.children!==void 0?new Yi(s):new $t(s)}))!==null&&u!==void 0?u:[],this.settings=(e==null?void 0:e.settings)&&Array.isArray(e==null?void 0:e.settings)?(l=e==null||(c=e.settings)===null||c===void 0?void 0:c.map(function(s){return new g_(s)}))!==null&&l!==void 0?l:[]:[],this.script=e==null?void 0:e.script},g_=function t(e){B(this,t);var i,n,u,l;y(this,"color",void 0),y(this,"fieldCodes",void 0),y(this,"type",void 0),y(this,"scope",void 0),this.type=(i=e.type)!==null&&i!==void 0?i:"background",this.fieldCodes=(n=e.fieldCodes)!==null&&n!==void 0?n:[],this.color=(u=e.color)!==null&&u!==void 0?u:"theme",this.scope=(l=e.scope)!==null&&l!==void 0?l:"row"},b_=function t(e){B(this,t);var i,n,u,l;y(this,"type",void 0),y(this,"interval",void 0),y(this,"rules",void 0),this.type=(i=e==null?void 0:e.type)!==null&&i!==void 0?i:"none",this.interval=(n=e==null?void 0:e.interval)!==null&&n!==void 0?n:{color:""},this.rules=(e==null?void 0:e.rules)&&Array.isArray(e==null?void 0:e.rules)?(u=e==null||(l=e.rules)===null||l===void 0?void 0:l.map(function(r){return new m_(r)}))!==null&&u!==void 0?u:[]:[]},C_=function t(e){B(this,t);var i,n,u,l,r;y(this,"groupDefaultExpanded",void 0),y(this,"suppressCount",void 0),y(this,"groupFields",void 0),y(this,"groupHeaderName",void 0),y(this,"showFooterStatistics",void 0),this.groupDefaultExpanded=(i=e==null?void 0:e.groupDefaultExpanded)!==null&&i!==void 0?i:!1,this.suppressCount=(n=e==null?void 0:e.suppressCount)!==null&&n!==void 0?n:!1,this.groupFields=(u=e==null?void 0:e.groupFields)!==null&&u!==void 0?u:[],this.groupHeaderName=(l=e==null?void 0:e.groupHeaderName)!==null&&l!==void 0?l:"",this.showFooterStatistics=(r=e==null?void 0:e.showFooterStatistics)!==null&&r!==void 0?r:!1},E_=function t(e){B(this,t);var i;y(this,"datasourceBind",void 0),y(this,"headers",void 0),this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.headers=(i=e==null?void 0:e.headers)!==null&&i!==void 0?i:[]},__=function t(e){B(this,t);var i,n,u,l;y(this,"marginTop",void 0),y(this,"marginRight",void 0),y(this,"marginBottom",void 0),y(this,"marginLeft",void 0),this.marginTop=(i=e==null?void 0:e.marginTop)!==null&&i!==void 0?i:"",this.marginRight=(n=e==null?void 0:e.marginRight)!==null&&n!==void 0?n:"",this.marginBottom=(u=e==null?void 0:e.marginBottom)!==null&&u!==void 0?u:"",this.marginLeft=(l=e==null?void 0:e.marginLeft)!==null&&l!==void 0?l:""},I_=function t(e){B(this,t);var i,n,u,l;y(this,"paddingTop",void 0),y(this,"paddingRight",void 0),y(this,"paddingBottom",void 0),y(this,"paddingLeft",void 0),this.paddingTop=(i=e==null?void 0:e.paddingTop)!==null&&i!==void 0?i:"",this.paddingRight=(n=e==null?void 0:e.paddingRight)!==null&&n!==void 0?n:"",this.paddingBottom=(u=e==null?void 0:e.paddingBottom)!==null&&u!==void 0?u:"",this.paddingLeft=(l=e==null?void 0:e.paddingLeft)!==null&&l!==void 0?l:""},D_=function t(e){B(this,t);var i,n;y(this,"icon",void 0),y(this,"label",void 0),this.icon=(i=e==null?void 0:e.icon)!==null&&i!==void 0?i:"iconleft",this.label=(n=e==null?void 0:e.label)!==null&&n!==void 0?n:a("CMD.09bf1774579034724")},B_=function t(e){B(this,t);var i,n;y(this,"icon",void 0),y(this,"label",void 0),this.icon=(i=e==null?void 0:e.icon)!==null&&i!==void 0?i:"iconxiangyou",this.label=(n=e==null?void 0:e.label)!==null&&n!==void 0?n:a("CMD.39131774579036296")},w_=function t(e){B(this,t),y(this,"prev",void 0),y(this,"next",void 0),this.prev=new D_(e==null?void 0:e.prev),this.next=new B_(e==null?void 0:e.next)};function A_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function T_(t,e,i){return e=Ht(e),P_(t,Cl()?Reflect.construct(e,i||[],Ht(t).constructor):e.apply(t,i))}function gl(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function tn(t,e,i){return Cl()?tn=Reflect.construct:tn=function(u,l,r){var c=[null];c.push.apply(c,l);var s=Function.bind.apply(u,c),h=new s;return r&&Vt(h,r.prototype),h},tn.apply(null,arguments)}function ge(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function Ht(t){return Ht=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},Ht(t)}function F_(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Vt(t,e)}function S_(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function P_(t,e){return e&&(O_(e)==="object"||typeof e=="function")?e:A_(t)}function Vt(t,e){return Vt=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Vt(t,e)}function O_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function bl(t){var e=typeof Map=="function"?new Map:void 0;return bl=function(n){if(n===null||!S_(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(n))return e.get(n);e.set(n,u)}function u(){return tn(n,arguments,Ht(this).constructor)}return u.prototype=Object.create(n.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Vt(u,n)},bl(t)}function Cl(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Cl=function(){return!!t})()}var U=function t(e){gl(this,t),ge(this,"isHide",{type:"boolean"})},Ne=function(t){F_(e,t);function e(i){return gl(this,e),T_(this,e)}return e}(bl(Array)),j=function t(e){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";gl(this,t);var n,u;ge(this,"isHide",void 0),ge(this,"className",void 0),ge(this,"style",void 0),ge(this,"caption",void 0),ge(this,"defaultState",void 0),this.isHide=(n=e==null?void 0:e.isHide)!==null&&n!==void 0?n:!1,this.style=new f_(e==null?void 0:e.style),this.caption=(u=e==null?void 0:e.caption)!==null&&u!==void 0?u:i};ge(j,"mode",void 0),ge(j,"Rules",U),ge(j,"RuntimeRules",Ne);function fe(){return fe=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t},fe.apply(this,arguments)}function k_(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function El(t){return El=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},El(t)}function nn(t,e){return nn=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},nn(t,e)}function R_(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function un(t,e,i){return R_()?un=Reflect.construct:un=function(u,l,r){var c=[null];c.push.apply(c,l);var s=Function.bind.apply(u,c),h=new s;return r&&nn(h,r.prototype),h},un.apply(null,arguments)}function M_(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function _l(t){var e=typeof Map=="function"?new Map:void 0;return _l=function(n){if(n===null||!M_(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(n))return e.get(n);e.set(n,u)}function u(){return un(n,arguments,El(this).constructor)}return u.prototype=Object.create(n.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),nn(u,n)},_l(t)}var x_=/%[sdj%]/g,fo=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(fo=function(e,i){typeof console!="undefined"&&console.warn&&i.every(function(n){return typeof n=="string"})&&console.warn(e,i)});function Il(t){if(!t||!t.length)return null;var e={};return t.forEach(function(i){var n=i.field;e[n]=e[n]||[],e[n].push(i)}),e}function ie(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];var n=1,u=e[0],l=e.length;if(typeof u=="function")return u.apply(null,e.slice(1));if(typeof u=="string"){var r=String(u).replace(x_,function(c){if(c==="%%")return"%";if(n>=l)return c;switch(c){case"%s":return String(e[n++]);case"%d":return Number(e[n++]);case"%j":try{return JSON.stringify(e[n++])}catch(s){return"[Circular]"}break;default:return c}});return r}return u}function N_(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function Z(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||N_(e)&&typeof t=="string"&&!t)}function L_(t,e,i){var n=[],u=0,l=t.length;function r(c){n.push.apply(n,c),u++,u===l&&i(n)}t.forEach(function(c){e(c,r)})}function vo(t,e,i){var n=0,u=t.length;function l(r){if(r&&r.length){i(r);return}var c=n;n=n+1,c<u?e(t[c],l):i([])}l([])}function $_(t){var e=[];return Object.keys(t).forEach(function(i){e.push.apply(e,t[i])}),e}var mo=function(t){k_(e,t);function e(i,n){var u;return u=t.call(this,"Async Validation Error")||this,u.errors=i,u.fields=n,u}return e}(_l(Error));function H_(t,e,i,n){if(e.first){var u=new Promise(function(f,g){var E=function(D){return n(D),D.length?g(new mo(D,Il(D))):f()},_=$_(t);vo(_,i,E)});return u.catch(function(f){return f}),u}var l=e.firstFields||[];l===!0&&(l=Object.keys(t));var r=Object.keys(t),c=r.length,s=0,h=[],d=new Promise(function(f,g){var E=function(b){if(h.push.apply(h,b),s++,s===c)return n(h),h.length?g(new mo(h,Il(h))):f()};r.length||(n(h),f()),r.forEach(function(_){var b=t[_];l.indexOf(_)!==-1?vo(b,i,E):L_(b,i,E)})});return d.catch(function(f){return f}),d}function go(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 bo(t,e){if(e){for(var i in e)if(e.hasOwnProperty(i)){var n=e[i];typeof n=="object"&&typeof t[i]=="object"?t[i]=fe(fe({},t[i]),n):t[i]=n}}return t}function Co(t,e,i,n,u,l){t.required&&(!i.hasOwnProperty(t.field)||Z(e,l||t.type))&&n.push(ie(u.messages.required,t.fullField))}function V_(t,e,i,n,u){(/^\s+$/.test(e)||e==="")&&n.push(ie(u.messages.whitespace,t.fullField))}var Dl={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},jt={integer:function(e){return jt.number(e)&&parseInt(e,10)===e},float:function(e){return jt.number(e)&&!jt.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(i){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"&&!jt.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(Dl.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(Dl.url)},hex:function(e){return typeof e=="string"&&!!e.match(Dl.hex)}};function j_(t,e,i,n,u){if(t.required&&e===void 0){Co(t,e,i,n,u);return}var l=["integer","float","array","regexp","object","method","email","number","date","url","hex"],r=t.type;l.indexOf(r)>-1?jt[r](e)||n.push(ie(u.messages.types[r],t.fullField,t.type)):r&&typeof e!==t.type&&n.push(ie(u.messages.types[r],t.fullField,t.type))}function q_(t,e,i,n,u){var l=typeof t.len=="number",r=typeof t.min=="number",c=typeof t.max=="number",s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,h=e,d=null,f=typeof e=="number",g=typeof e=="string",E=Array.isArray(e);if(f?d="number":g?d="string":E&&(d="array"),!d)return!1;E&&(h=e.length),g&&(h=e.replace(s,"_").length),l?h!==t.len&&n.push(ie(u.messages[d].len,t.fullField,t.len)):r&&!c&&h<t.min?n.push(ie(u.messages[d].min,t.fullField,t.min)):c&&!r&&h>t.max?n.push(ie(u.messages[d].max,t.fullField,t.max)):r&&c&&(h<t.min||h>t.max)&&n.push(ie(u.messages[d].range,t.fullField,t.min,t.max))}var ot="enum";function W_(t,e,i,n,u){t[ot]=Array.isArray(t[ot])?t[ot]:[],t[ot].indexOf(e)===-1&&n.push(ie(u.messages[ot],t.fullField,t[ot].join(", ")))}function U_(t,e,i,n,u){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||n.push(ie(u.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var l=new RegExp(t.pattern);l.test(e)||n.push(ie(u.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var S={required:Co,whitespace:V_,type:j_,range:q_,enum:W_,pattern:U_};function z_(t,e,i,n,u){var l=[],r=t.required||!t.required&&n.hasOwnProperty(t.field);if(r){if(Z(e,"string")&&!t.required)return i();S.required(t,e,n,l,u,"string"),Z(e,"string")||(S.type(t,e,n,l,u),S.range(t,e,n,l,u),S.pattern(t,e,n,l,u),t.whitespace===!0&&S.whitespace(t,e,n,l,u))}i(l)}function G_(t,e,i,n,u){var l=[],r=t.required||!t.required&&n.hasOwnProperty(t.field);if(r){if(Z(e)&&!t.required)return i();S.required(t,e,n,l,u),e!==void 0&&S.type(t,e,n,l,u)}i(l)}function K_(t,e,i,n,u){var l=[],r=t.required||!t.required&&n.hasOwnProperty(t.field);if(r){if(e===""&&(e=void 0),Z(e)&&!t.required)return i();S.required(t,e,n,l,u),e!==void 0&&(S.type(t,e,n,l,u),S.range(t,e,n,l,u))}i(l)}function Q_(t,e,i,n,u){var l=[],r=t.required||!t.required&&n.hasOwnProperty(t.field);if(r){if(Z(e)&&!t.required)return i();S.required(t,e,n,l,u),e!==void 0&&S.type(t,e,n,l,u)}i(l)}function Z_(t,e,i,n,u){var l=[],r=t.required||!t.required&&n.hasOwnProperty(t.field);if(r){if(Z(e)&&!t.required)return i();S.required(t,e,n,l,u),Z(e)||S.type(t,e,n,l,u)}i(l)}function X_(t,e,i,n,u){var l=[],r=t.required||!t.required&&n.hasOwnProperty(t.field);if(r){if(Z(e)&&!t.required)return i();S.required(t,e,n,l,u),e!==void 0&&(S.type(t,e,n,l,u),S.range(t,e,n,l,u))}i(l)}function J_(t,e,i,n,u){var l=[],r=t.required||!t.required&&n.hasOwnProperty(t.field);if(r){if(Z(e)&&!t.required)return i();S.required(t,e,n,l,u),e!==void 0&&(S.type(t,e,n,l,u),S.range(t,e,n,l,u))}i(l)}function Y_(t,e,i,n,u){var l=[],r=t.required||!t.required&&n.hasOwnProperty(t.field);if(r){if(e==null&&!t.required)return i();S.required(t,e,n,l,u,"array"),e!=null&&(S.type(t,e,n,l,u),S.range(t,e,n,l,u))}i(l)}function p_(t,e,i,n,u){var l=[],r=t.required||!t.required&&n.hasOwnProperty(t.field);if(r){if(Z(e)&&!t.required)return i();S.required(t,e,n,l,u),e!==void 0&&S.type(t,e,n,l,u)}i(l)}var e1="enum";function t1(t,e,i,n,u){var l=[],r=t.required||!t.required&&n.hasOwnProperty(t.field);if(r){if(Z(e)&&!t.required)return i();S.required(t,e,n,l,u),e!==void 0&&S[e1](t,e,n,l,u)}i(l)}function i1(t,e,i,n,u){var l=[],r=t.required||!t.required&&n.hasOwnProperty(t.field);if(r){if(Z(e,"string")&&!t.required)return i();S.required(t,e,n,l,u),Z(e,"string")||S.pattern(t,e,n,l,u)}i(l)}function n1(t,e,i,n,u){var l=[],r=t.required||!t.required&&n.hasOwnProperty(t.field);if(r){if(Z(e,"date")&&!t.required)return i();if(S.required(t,e,n,l,u),!Z(e,"date")){var c;e instanceof Date?c=e:c=new Date(e),S.type(t,c,n,l,u),c&&S.range(t,c.getTime(),n,l,u)}}i(l)}function u1(t,e,i,n,u){var l=[],r=Array.isArray(e)?"array":typeof e;S.required(t,e,n,l,u,r),i(l)}function Bl(t,e,i,n,u){var l=t.type,r=[],c=t.required||!t.required&&n.hasOwnProperty(t.field);if(c){if(Z(e,l)&&!t.required)return i();S.required(t,e,n,r,u,l),Z(e,l)||S.type(t,e,n,r,u)}i(r)}function l1(t,e,i,n,u){var l=[],r=t.required||!t.required&&n.hasOwnProperty(t.field);if(r){if(Z(e)&&!t.required)return i();S.required(t,e,n,l,u)}i(l)}var qt={string:z_,method:G_,number:K_,boolean:Q_,regexp:Z_,integer:X_,float:J_,array:Y_,object:p_,enum:t1,pattern:i1,date:n1,url:Bl,hex:Bl,email:Bl,required:u1,any:l1};function wl(){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 Al=wl();function Ae(t){this.rules=null,this._messages=Al,this.define(t)}Ae.prototype={messages:function(e){return e&&(this._messages=bo(wl(),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 i,n;for(i in e)e.hasOwnProperty(i)&&(n=e[i],this.rules[i]=Array.isArray(n)?n:[n])},validate:function(e,i,n){var u=this;i===void 0&&(i={}),n===void 0&&(n=function(){});var l=e,r=i,c=n;if(typeof r=="function"&&(c=r,r={}),!this.rules||Object.keys(this.rules).length===0)return c&&c(),Promise.resolve();function s(b){var D,m=[],I={};function R(P){if(Array.isArray(P)){var x;m=(x=m).concat.apply(x,P)}else m.push(P)}for(D=0;D<b.length;D++)R(b[D]);m.length?I=Il(m):(m=null,I=null),c(m,I)}if(r.messages){var h=this.messages();h===Al&&(h=wl()),bo(h,r.messages),r.messages=h}else r.messages=this.messages();var d,f,g={},E=r.keys||Object.keys(this.rules);E.forEach(function(b){d=u.rules[b],f=l[b],d.forEach(function(D){var m=D;typeof m.transform=="function"&&(l===e&&(l=fe({},l)),f=l[b]=m.transform(f)),typeof m=="function"?m={validator:m}:m=fe({},m),m.validator=u.getValidationMethod(m),m.field=b,m.fullField=m.fullField||b,m.type=u.getType(m),m.validator&&(g[b]=g[b]||[],g[b].push({rule:m,value:f,source:l,field:b}))})});var _={};return H_(g,r,function(b,D){var m=b.rule,I=(m.type==="object"||m.type==="array")&&(typeof m.fields=="object"||typeof m.defaultField=="object");I=I&&(m.required||!m.required&&b.value),m.field=b.field;function R(te,V){return fe(fe({},V),{},{fullField:m.fullField+"."+te})}function P(te){te===void 0&&(te=[]);var V=te;if(Array.isArray(V)||(V=[V]),!r.suppressWarning&&V.length&&Ae.warning("async-validator:",V),V.length&&m.message!==void 0&&(V=[].concat(m.message)),V=V.map(go(m)),r.first&&V.length)return _[m.field]=1,D(V);if(!I)D(V);else{if(m.required&&!b.value)return m.message!==void 0?V=[].concat(m.message).map(go(m)):r.error&&(V=[r.error(m,ie(r.messages.required,m.field))]),D(V);var le={};if(m.defaultField)for(var Ui in b.value)b.value.hasOwnProperty(Ui)&&(le[Ui]=m.defaultField);le=fe(fe({},le),b.rule.fields);for(var _e in le)if(le.hasOwnProperty(_e)){var Ku=Array.isArray(le[_e])?le[_e]:[le[_e]];le[_e]=Ku.map(R.bind(null,_e))}var zi=new Ae(le);zi.messages(r.messages),b.rule.options&&(b.rule.options.messages=r.messages,b.rule.options.error=r.error),zi.validate(b.value,b.rule.options||r,function(kt){var Ie=[];V&&V.length&&Ie.push.apply(Ie,V),kt&&kt.length&&Ie.push.apply(Ie,kt),D(Ie.length?Ie:null)})}}var x;m.asyncValidator?x=m.asyncValidator(m,b.value,P,b.source,r):m.validator&&(x=m.validator(m,b.value,P,b.source,r),x===!0?P():x===!1?P(m.message||m.field+" fails"):x instanceof Array?P(x):x instanceof Error&&P(x.message)),x&&x.then&&x.then(function(){return P()},function(te){return P(te)})},function(b){s(b)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!qt.hasOwnProperty(e.type))throw new Error(ie("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if(typeof e.validator=="function")return e.validator;var i=Object.keys(e),n=i.indexOf("message");return n!==-1&&i.splice(n,1),i.length===1&&i[0]==="required"?qt.required:qt[this.getType(e)]||!1}},Ae.register=function(e,i){if(typeof i!="function")throw new Error("Cannot register a validator by type, validator is not a function");qt[e]=i},Ae.warning=fo,Ae.messages=Al,Ae.validators=qt;var a1={required:a("CMD.aad41751712156995"),maxLength:a("CMD.890d1751712141808"),minLength:a("CMD.bb9b1751712143625"),string:{range:a("CMD.f7131751712147855")}};function r1(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=new Ae(t);return i.messages(Object.assign(a1,e)),i}var o1=new TE;function Tl(t,e){(e==null||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function c1(t){if(Array.isArray(t))return t}function s1(t){if(Array.isArray(t))return Tl(t)}function Eo(t,e,i,n,u,l,r){try{var c=t[l](r),s=c.value}catch(h){i(h);return}c.done?e(s):Promise.resolve(s).then(n,u)}function _o(t){return function(){var e=this,i=arguments;return new Promise(function(n,u){var l=t.apply(e,i);function r(s){Eo(l,n,u,r,c,"next",s)}function c(s){Eo(l,n,u,r,c,"throw",s)}r(void 0)})}}function d1(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Io(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function h1(t,e,i){return e&&Io(t.prototype,e),i&&Io(t,i),t}function M(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function Do(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Bo(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function y1(){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 f1(){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 wo(t){for(var e=1;e<arguments.length;e++){var i=arguments[e]!=null?arguments[e]:{},n=Object.keys(i);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(i).filter(function(u){return Object.getOwnPropertyDescriptor(i,u).enumerable}))),n.forEach(function(u){M(t,u,i[u])})}return t}function v1(t){return c1(t)||Bo(t)||Ao(t)||y1()}function Fl(t){return s1(t)||Bo(t)||Ao(t)||f1()}function m1(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ao(t,e){if(!!t){if(typeof t=="string")return Tl(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);if(i==="Object"&&t.constructor&&(i=t.constructor.name),i==="Map"||i==="Set")return Array.from(i);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return Tl(t,e)}}function To(t,e){var i,n,u,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},r=Object.create((typeof Iterator=="function"?Iterator:Object).prototype),c=Object.defineProperty;return c(r,"next",{value:s(0)}),c(r,"throw",{value:s(1)}),c(r,"return",{value:s(2)}),typeof Symbol=="function"&&c(r,Symbol.iterator,{value:function(){return this}}),r;function s(d){return function(f){return h([d,f])}}function h(d){if(i)throw new TypeError("Generator is already executing.");for(;r&&(r=0,d[0]&&(l=0)),l;)try{if(i=1,n&&(u=d[0]&2?n.return:d[0]?n.throw||((u=n.return)&&u.call(n),0):n.next)&&!(u=u.call(n,d[1])).done)return u;switch(n=0,u&&(d=[d[0]&2,u.value]),d[0]){case 0:case 1:u=d;break;case 4:return l.label++,{value:d[1],done:!1};case 5:l.label++,n=d[1],d=[0];continue;case 7:d=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(d[0]===6||d[0]===2)){l=0;continue}if(d[0]===3&&(!u||d[1]>u[0]&&d[1]<u[3])){l.label=d[1];break}if(d[0]===6&&l.label<u[1]){l.label=u[1],u=d;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(d);break}u[2]&&l.ops.pop(),l.trys.pop();continue}d=e.call(t,l)}catch(f){d=[6,f],n=0}finally{i=u=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}}var O=function(){function e(i){var n=this;d1(this,e);var u,l,r,c;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",So),M(this,"removeSetting",Fo),M(this,"removeSettingByKeyAndName",Sl),this._callControlHooks("preInstance",i);var s=Do(this,e)?this.constructor:void 0,h=s.controlName,d=s.controlIcon,f=s.controlType,g=s.controlFieldType,E=s.controlEventKeys,_=s.controlCustomEvents,b=s.name,D=s.setting,m=s.slots,I=s.slotPosition;h&&d&&f||Hr("The ".concat(b," controlName,controlIcon,controlType is not define")),this.id=(u=i==null?void 0:i.id)!==null&&u!==void 0?u:oe(10),this.name=h,this.icon=d,this.type=(l=i==null?void 0:i.type)!==null&&l!==void 0?l:f,this.props=new j(i==null?void 0:i.props,(Do(this,e)?this.constructor:void 0).controlName),this.controlType=(r=i==null?void 0:i.controlType)!==null&&r!==void 0?r:"base",this.setting=ce(D),this.fieldType=(c=i==null?void 0:i.fieldType)!==null&&c!==void 0?c:g,this.eventKeys=ce(E),this.customEvents=ce(_),this.slots=ce(m),this.slotPosition=ce(I),Promise.resolve().then(function(){n._callControlHooks("postInstance",i)})}return h1(e,[{key:"rules",get:function(){var n=this.props.constructor.Rules;return n?new n(this.props):{}}},{key:"_callControlHooks",value:function(){for(var n=arguments.length,u=new Array(n),l=0;l<n;l++)u[l]=arguments[l];var r,c=v1(u),s=c[0],h=c.slice(1);return(r=o1).emit.apply(r,[s,this].concat(Fl(h)))}},{key:"preUpdate",value:function(n,u){this._callControlHooks("preUpdateProps",n,u)}},{key:"postUpdate",value:function(n,u){this._callControlHooks("postUpdateProps",n,u)}},{key:"updateProps",value:function(n,u){this.preUpdate(n,u),hE(this.props,n,u),this.postUpdate(n,u)}},{key:"preValidate",value:function(){return _o(function(){var n,u,l;return To(this,function(r){switch(r.label){case 0:return n=wo({},this.rules),[4,this._callControlHooks("preValidate",n)];case 1:return u=r.sent(),l=u[u.length-1],[2,l===!1?void 0:l]}})}).call(this)}},{key:"validate",value:function(n,u){return _o(function(){var l,r,c,s;return To(this,function(h){switch(h.label){case 0:return[4,this.preValidate()];case 1:l=h.sent(),r=l!==void 0?l:wo({},this.rules),Array.isArray(u)&&u.forEach(function(d){r.hasOwnProperty(d)&&delete r[d]}),c=r1(r,n),h.label=2;case 2:return h.trys.push([2,4,,5]),[4,c.validate(this.props)];case 3:return h.sent(),[2,!0];case 4:throw s=h.sent(),s.control||(s.control=this),s;case 5:return[2]}})}).call(this)}},{key:"toDataBindModel",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=this.fieldType,l=this.id,r=this.type,c=this.props,s=c.dataBind,h=c.datasourceBind,d=c.optionConfig,f=c.caption,g=c.required,E=c.maxLength,_=c.options,b=c.encrypted,D=c.encryptedMode;if(!(!u&&!s&&!h)){var m={parentId:n,fieldType:u,controlId:l,caption:f,type:r,props:{}};switch(s&&(m.dataBind=s),d){case"datasource":case void 0:h&&(m.datasourceBind=h);break;case"custom":m.props.options=_;break}return g!==void 0&&(m.required=g),E!==void 0&&(m.maxLength=E),b!==void 0&&(m.encrypted=b),D!==void 0&&(m.encryptedMode=D),m}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:ce(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(n,u){if(n==="setting"){if(u.add){var l;(l=this.setting).push.apply(l,Fl(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),e}();M(O,"mode","Designer"),M(O,"slots",void 0),M(O,"slotPosition",void 0),M(O,"controlName",a("CMD.7baf1751712168384")),M(O,"controlIcon","icon"),M(O,"controlType","control"),M(O,"controlFieldType",void 0),M(O,"controlEventKeys",[]),M(O,"controlCustomEvents",[]),M(O,"setting",[]),M(O,"__is_control__",!0),M(O,"removeSettingItem",Fo),M(O,"removeSettingByKeyAndName",Sl),M(O,"removeSettingItemByKeyAndName",Sl),M(O,"updateSettingItem",So);function Fo(t){var e=this,i=Array.isArray(t)?t:[t];i.forEach(function(n){var u,l=typeof n!="string",r=(u=e.setting)===null||u===void 0?void 0:u.findIndex(function(h){return h.key===(l?n.key:n)});if(r!==-1){var c,s;l?e.setting[r].showItems=(c=e.setting[r].showItems)===null||c===void 0?void 0:c.filter(function(h){return!n.hideItems.includes(h)}):e.setting.splice(r,1),l&&!(!((s=e.setting[r].showItems)===null||s===void 0)&&s.length)&&e.setting.splice(r,1)}})}function Sl(t,e){var i=this,n=typeof t=="string"?[{key:t,name:e}]:t;n.forEach(function(u){var l,r=(l=i.setting)===null||l===void 0?void 0:l.findIndex(function(c){return c.key===u.key&&c.name===u.name});r!==-1&&i.setting.splice(r,1)})}function So(t,e){var i=this,n=typeof t=="string"?[t]:t;n.forEach(function(u){var l=i.setting.find(function(h){return h.key===u});if(l){if(typeof e=="boolean")l.visible=e;else if((typeof e=="undefined"?"undefined":m1(e))==="object"){var r,c=(r=e.type)!==null&&r!==void 0?r:"replace";if(c==="replace")l.showItems=e.showItems;else{var s;(s=l.showItems).push.apply(s,Fl(e.showItems))}}}})}function g1(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Po(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function b1(t,e,i){return e&&Po(t.prototype,e),i&&Po(t,i),t}function ne(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function C1(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var q=function(){function e(i){g1(this,e);var n,u,l,r,c;ne(this,"id",void 0),ne(this,"type",void 0),ne(this,"controlType",void 0),ne(this,"props",void 0),ne(this,"fieldType",void 0),ne(this,"customEvents",[]),ne(this,"pageStatus",void 0),ne(this,"parent",null);var s=C1(this,e)?this.constructor:void 0,h=s.controlType,d=s.controlFieldType,f=s.name,g=s.controlCustomEvents;h||Hr("The ".concat(f," controlType is not define")),this.id=(n=i==null?void 0:i.id)!==null&&n!==void 0?n:oe(10),this.type=(u=i==null?void 0:i.type)!==null&&u!==void 0?u:h,this.props=new j(i==null?void 0:i.props),this.customEvents=g,this.controlType=(l=i==null?void 0:i.controlType)!==null&&l!==void 0?l:"base",this.fieldType=(r=i==null?void 0:i.fieldType)!==null&&r!==void 0?r:d,this.pageStatus=(c=i==null?void 0:i.pageStatus)!==null&&c!==void 0?c:h_.UNKNOWN}return b1(e,[{key:"rules",get:function(){var n=this.props.constructor.RuntimeRules;if(n){var u=new n(this.props);return Array.from(u)}return[]}}]),e}();ne(q,"mode","Runtime"),ne(q,"controlType","control"),ne(q,"controlFieldType",void 0),ne(q,"__is_control__",!0),ne(q,"controlCustomEvents",[]);function Pl(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:a("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:a("CMD.pleaseEnterLabel",null,"\u8BF7\u8F93\u5165\u663E\u793A\u503C")},value:{type:"string",required:!0,message:a("CMD.pleaseEnterValue",null,"\u8BF7\u8F93\u5165\u5B58\u50A8\u503C")}}}},{type:"array",validator:function(i,n,u){n.length===0&&u(a("CMD.optionIsRequired",null,"\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879")),u()}},{type:"array",validator:function(i,n,u){var l=n.map(function(c){return c.value}),r=bE(l);l.length!==r.length?u(a("CMD.optionIdIsRepeat",null,"\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D")):u()},message:a("CMD.optionIdIsRepeat",null,"\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:a("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},valueFieldCode:{type:"string",required:!0,message:a("CMD.pleaseEnterValueFieldCode",null,"\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C")},svcCode:{type:"string",required:!0,message:a("CMD.pleaseEnterSvcCode",null,"\u8BF7\u7ED1\u5B9A\u670D\u52A1")},displayBoList:[{type:"array",message:a("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",validator:function(i,n,u){n.length===0&&u(a("CMD.pleaseBindAtLeastOneDisplayValue",null,"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")),u()},message:a("CMD.pleaseBindAtLeastOneDisplayValue",null,"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")}],orders:[{type:"array",message:a("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:a("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},desc:{type:"boolean",message:a("CMD.isNotBoolean",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14")}}}}]}}])}function ln(t,e){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:a(i?"CMD.pleaseEnterDataCodeInDataSetting":"CMD.pleaseEnterDataCode",null,a(i?"CMD.c4901751712137782":"CMD.8e161751712150947"))},valueFieldCode:{type:"string",required:!0,message:a(i?"CMD.pleaseEnterValueFieldCodeInDataSetting":"CMD.pleaseEnterValueFieldCode",null,a(i?"CMD.9af91751712139782":"CMD.92701751712154242"))},svcCode:{type:"string",required:!0,message:a(i?"CMD.pleaseEnterSvcCodeInDataSetting":"CMD.pleaseEnterSvcCode",null,a(i?"CMD.203c1751712145631":"CMD.9d361751712158465"))},attributes:[{type:"array",message:a("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:a("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},key:{type:"string",required:!0,message:a("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},value:[{type:"array",message:a("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",validator:function(u,l,r){l.length===0&&r(a(i?"CMD.pleaseBindAtLeastOneDisplayValueInDataSetting":"CMD.pleaseBindAtLeastOneDisplayValue",null,a(i?"CMD.6a071751712131459":"CMD.52351751712149286"))),r()},message:a(i?"CMD.pleaseBindAtLeastOneDisplayValueInDataSetting":"CMD.pleaseBindAtLeastOneDisplayValue",null,a(i?"CMD.6a071751712131459":"CMD.52351751712149286"))}]}}}],orders:[{type:"array",message:a("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:a("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},desc:{type:"boolean",message:a("CMD.isNotBoolean",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14")}}}}]}}]}function E1(t){return(t==null?void 0:t.dataCode)!==void 0&&(t==null?void 0:t.fieldCode)!==void 0}function _1(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function an(t,e,i){return e=on(e),I1(t,Oo()?Reflect.construct(e,i||[],on(t).constructor):e.apply(t,i))}function rn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function H(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function on(t){return on=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},on(t)}function cn(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&&Ol(t,e)}function I1(t,e){return e&&(D1(e)==="object"||typeof e=="function")?e:_1(t)}function Ol(t,e){return Ol=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Ol(t,e)}function D1(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Oo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Oo=function(){return!!t})()}var z=function(t){cn(e,t);function e(i){rn(this,e);var n;n=an(this,e,[i]),H(n,"dataBind",{}),H(n,"caption",{type:"string",required:!0,message:a("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),H(n,"isHideCaption",{type:"boolean"}),H(n,"labelPosition",{type:"enum",enum:["top","left"]}),H(n,"defaultState",{type:"enum",enum:["default","readonly"]}),H(n,"required",{type:"boolean"}),H(n,"captionTip",{type:"string",required:!1,message:a("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")});var u={fieldCode:{type:"string",required:!0,message:a("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},dataCode:{type:"string",required:!0,message:a("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}};if(E1(i.dataBind))n.dataBind={type:"object",required:!0,fields:ce(u),message:a("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};else{var l={type:"object",required:!0,fields:{},message:a("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};Object.keys(i.dataBind).forEach(function(r){l.fields[r]={type:"object",required:!0,fields:ce(u),message:a("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}}),n.dataBind=l}return i.isShowCaptionTip&&(n.captionTip.required=!0),n}return e}(U),N=function(t){cn(e,t);function e(i){rn(this,e);var n;n=an(this,e,[i]);var u=i.isHide?!1:i.required;return u&&n.push({type:"string",required:u,message:i.requiredMessage!==""?i.requiredMessage:a("CMD.runtimeRequired",{caption:i.caption},"{caption}\u5FC5\u586B")}),n}return e}(Ne),A=function(t){cn(e,t);function e(i){rn(this,e);var n,u,l,r,c,s,h,d,f,g,E,_,b,D,m,I;return n=an(this,e,[i]),H(n,"caption",void 0),H(n,"captionSize",void 0),H(n,"captionColor",void 0),H(n,"isCaptionItalic",void 0),H(n,"captionFontWeight",void 0),H(n,"className",void 0),H(n,"isHideCaption",void 0),H(n,"isShowCaptionTip",void 0),H(n,"captionTip",void 0),H(n,"labelPosition",void 0),H(n,"dataBind",void 0),H(n,"defaultValue",void 0),H(n,"placeholder",void 0),H(n,"defaultState",void 0),H(n,"required",void 0),H(n,"requiredMessage",void 0),n.caption=(u=i==null?void 0:i.caption)!==null&&u!==void 0?u:"",n.captionSize=(l=i==null?void 0:i.captionSize)!==null&&l!==void 0?l:"",n.captionColor=(r=i==null?void 0:i.captionColor)!==null&&r!==void 0?r:"",n.isCaptionItalic=(c=i==null?void 0:i.isCaptionItalic)!==null&&c!==void 0?c:!1,n.captionFontWeight=(s=i==null?void 0:i.captionFontWeight)!==null&&s!==void 0?s:"normal",n.className=(h=i==null?void 0:i.className)!==null&&h!==void 0?h:[],n.isHideCaption=(d=i==null?void 0:i.isHideCaption)!==null&&d!==void 0?d:!1,n.isShowCaptionTip=(f=i==null?void 0:i.isShowCaptionTip)!==null&&f!==void 0?f:!1,n.captionTip=(g=i==null?void 0:i.captionTip)!==null&&g!==void 0?g:"",n.defaultState=(E=i==null?void 0:i.defaultState)!==null&&E!==void 0?E:"default",n.labelPosition=(_=i==null?void 0:i.labelPosition)!==null&&_!==void 0?_:"top",n.placeholder=(b=i==null?void 0:i.placeholder)!==null&&b!==void 0?b:"",n.required=(D=i==null?void 0:i.required)!==null&&D!==void 0?D:!1,n.requiredMessage=(m=i==null?void 0:i.requiredMessage)!==null&&m!==void 0?m:"",n.dataBind=new ye(i==null?void 0:i.dataBind),n.defaultValue=(I=i==null?void 0:i.defaultValue)!==null&&I!==void 0?I:"",n}return e}(j);H(A,"Rules",z),H(A,"RuntimeRules",N);var Le=function(t){cn(e,t);function e(i){rn(this,e);var n;return n=an(this,e,[i]),H(n,"optionConfig",{type:"enum",enum:["custom","datasource"],message:a("CMD.PleaseSelectTheCorrectOptionSettings",null,"\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E")}),H(n,"options",[{type:"array",message:a("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")}]),H(n,"datasourceBind",[{type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),Pl.call(n,i),n}return e}(z);function B1(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function w1(t,e,i){return e=dn(e),F1(t,ko()?Reflect.construct(e,i||[],dn(t).constructor):e.apply(t,i))}function A1(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function sn(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function dn(t){return dn=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},dn(t)}function T1(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&&kl(t,e)}function F1(t,e){return e&&(S1(e)==="object"||typeof e=="function")?e:B1(t)}function kl(t,e){return kl=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},kl(t,e)}function S1(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ko(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ko=function(){return!!t})()}var T=function(t){T1(e,t);function e(i){A1(this,e);var n;return n=w1(this,e,[i]),sn(n,"controlType","form"),sn(n,"props",void 0),n.props=new A(i==null?void 0:i.props),n}return e}(O);sn(T,"controlEventKeys",["on_change","on_focus","on_blur"]),sn(T,"controlCustomAttributes",void 0);function P1(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function O1(t,e,i){return e=hn(e),M1(t,Ro()?Reflect.construct(e,i||[],hn(t).constructor):e.apply(t,i))}function k1(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Rl(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function hn(t){return hn=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},hn(t)}function R1(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&&Ml(t,e)}function M1(t,e){return e&&(x1(e)==="object"||typeof e=="function")?e:P1(t)}function Ml(t,e){return Ml=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Ml(t,e)}function x1(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ro(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ro=function(){return!!t})()}var F=function(t){R1(e,t);function e(i){k1(this,e);var n;return n=O1(this,e,[i]),Rl(n,"controlType","form"),Rl(n,"props",void 0),Rl(n,"value",void 0),n.props=new A(i==null?void 0:i.props),n}return e}(q);function N1(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function L1(t,e,i){return e=yn(e),V1(t,Mo()?Reflect.construct(e,i||[],yn(t).constructor):e.apply(t,i))}function $1(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function yn(t){return yn=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},yn(t)}function H1(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&&xl(t,e)}function V1(t,e){return e&&(j1(e)==="object"||typeof e=="function")?e:N1(t)}function xl(t,e){return xl=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},xl(t,e)}function j1(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Mo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Mo=function(){return!!t})()}var k=function(t){H1(e,t);function e(i){return $1(this,e),L1(this,e,[i])}return e}(j);function Nl(t,e){(e==null||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function q1(t){if(Array.isArray(t))return Nl(t)}function W1(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function xo(t,e,i,n,u,l,r){try{var c=t[l](r),s=c.value}catch(h){i(h);return}c.done?e(s):Promise.resolve(s).then(n,u)}function U1(t){return function(){var e=this,i=arguments;return new Promise(function(n,u){var l=t.apply(e,i);function r(s){xo(l,n,u,r,c,"next",s)}function c(s){xo(l,n,u,r,c,"throw",s)}r(void 0)})}}function z1(t,e,i){return e=Fe(e),t6(t,$o()?Reflect.construct(e,i||[],Fe(t).constructor):e.apply(t,i))}function G1(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function No(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function K1(t,e,i){return e&&No(t.prototype,e),i&&No(t,i),t}function Te(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function ct(t,e,i){return typeof Reflect!="undefined"&&Reflect.get?ct=Reflect.get:ct=function(u,l,r){var c=i6(u,l);if(!!c){var s=Object.getOwnPropertyDescriptor(c,l);return s.get?s.get.call(r||u):s.value}},ct(t,e,i||t)}function Fe(t){return Fe=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},Fe(t)}function Q1(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ll(t,e)}function Z1(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function X1(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function J1(){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 Y1(t){for(var e=1;e<arguments.length;e++){var i=arguments[e]!=null?arguments[e]:{},n=Object.keys(i);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(i).filter(function(u){return Object.getOwnPropertyDescriptor(i,u).enumerable}))),n.forEach(function(u){Te(t,u,i[u])})}return t}function p1(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(u){return Object.getOwnPropertyDescriptor(t,u).enumerable})),i.push.apply(i,n)}return i}function e6(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):p1(Object(e)).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))}),t}function t6(t,e){return e&&(n6(e)==="object"||typeof e=="function")?e:W1(t)}function Ll(t,e){return Ll=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Ll(t,e)}function i6(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Fe(t),t!==null););return t}function Lo(t){return q1(t)||X1(t)||u6(t)||J1()}function n6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function u6(t,e){if(!!t){if(typeof t=="string")return Nl(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);if(i==="Object"&&t.constructor&&(i=t.constructor.name),i==="Map"||i==="Set")return Array.from(i);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return Nl(t,e)}}function $o(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return($o=function(){return!!t})()}function l6(t,e){var i,n,u,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},r=Object.create((typeof Iterator=="function"?Iterator:Object).prototype),c=Object.defineProperty;return c(r,"next",{value:s(0)}),c(r,"throw",{value:s(1)}),c(r,"return",{value:s(2)}),typeof Symbol=="function"&&c(r,Symbol.iterator,{value:function(){return this}}),r;function s(d){return function(f){return h([d,f])}}function h(d){if(i)throw new TypeError("Generator is already executing.");for(;r&&(r=0,d[0]&&(l=0)),l;)try{if(i=1,n&&(u=d[0]&2?n.return:d[0]?n.throw||((u=n.return)&&u.call(n),0):n.next)&&!(u=u.call(n,d[1])).done)return u;switch(n=0,u&&(d=[d[0]&2,u.value]),d[0]){case 0:case 1:u=d;break;case 4:return l.label++,{value:d[1],done:!1};case 5:l.label++,n=d[1],d=[0];continue;case 7:d=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(d[0]===6||d[0]===2)){l=0;continue}if(d[0]===3&&(!u||d[1]>u[0]&&d[1]<u[3])){l.label=d[1];break}if(d[0]===6&&l.label<u[1]){l.label=u[1],u=d;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(d);break}u[2]&&l.ops.pop(),l.trys.pop();continue}d=e.call(t,l)}catch(f){d=[6,f],n=0}finally{i=u=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}}var a6=1e4,L=function(e){Q1(i,e);function i(n){G1(this,i);var u;u=z1(this,i,[n]),Te(u,"controlType","layout"),Te(u,"children",void 0),Te(u,"excludes",void 0),Te(u,"childrenMaxLength",void 0),Te(u,"props",void 0);var l=Z1(this,i)?this.constructor:void 0,r=l.excludes,c=l.childrenMaxLength;return u.props=new k(n==null?void 0:n.props),se(u,"children",n==null?void 0:n.children,void 0,"Designer"),u.excludes=ce(r),u.childrenMaxLength=c,u}return K1(i,[{key:"judgeExcludesChildren",value:function(u){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(u)}},{key:"judgeJoinChildren",value:function(u){var l=this.judgeExcludesChildren(u);return l&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(u,l){var r=this,c=this,s=function(){return ct(Fe(i.prototype),"validate",r)};return U1(function(){return l6(this,function(h){switch(h.label){case 0:return[4,s().call(c,u,l)];case 1:return h.sent(),[4,Promise.all(this.children.map(function(d){return d.validate(u,l)}))];case 2:return h.sent(),[2,!0]}})}).call(this)}},{key:"toDataBindModel",value:function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,l=ct(Fe(i.prototype),"toDataBindModel",this).call(this),r=l?[l]:[];return this.children.reduce(function(c,s){var h=s.toDataBindModel(u);if(Array.isArray(h)){var d=h.filter(function(f){return!!f});return Lo(c).concat(Lo(d))}return h&&c.push(h),c},r)}},{key:"toSchema",value:function(){var u=ct(Fe(i.prototype),"toSchema",this).call(this),l=this.children.map(function(r){var c=r.toSchema();return c});return e6(Y1({},u),{children:l})}}]),i}(O);Te(L,"excludes",!1),Te(L,"childrenMaxLength",a6);function r6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function o6(t,e,i){return e=fn(e),d6(t,Ho()?Reflect.construct(e,i||[],fn(t).constructor):e.apply(t,i))}function c6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $l(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function fn(t){return fn=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},fn(t)}function s6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Hl(t,e)}function d6(t,e){return e&&(h6(e)==="object"||typeof e=="function")?e:r6(t)}function Hl(t,e){return Hl=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Hl(t,e)}function h6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ho(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ho=function(){return!!t})()}var $=function(t){s6(e,t);function e(i){c6(this,e);var n;return n=o6(this,e,[i]),$l(n,"controlType","layout"),$l(n,"children",void 0),$l(n,"props",void 0),n.props=new k(i==null?void 0:i.props),se(n,"children",i==null?void 0:i.children,void 0,"Runtime"),n}return e}(q);function y6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function f6(t,e,i){return e=vn(e),g6(t,Vo()?Reflect.construct(e,i||[],vn(t).constructor):e.apply(t,i))}function v6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function st(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function vn(t){return vn=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},vn(t)}function m6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Vl(t,e)}function g6(t,e){return e&&(b6(e)==="object"||typeof e=="function")?e:y6(t)}function Vl(t,e){return Vl=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Vl(t,e)}function b6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Vo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Vo=function(){return!!t})()}var mn=function(t){m6(e,t);function e(i,n,u){v6(this,e);var l,r,c,s,h;return l=f6(this,e,[n]),st(l,"headers",void 0),st(l,"footers",void 0),st(l,"pageIndex",void 0),st(l,"pageSize",void 0),st(l,"pageSizeOptions",void 0),st(l,"totalCount",void 0),se(l,"headers",n==null?void 0:n.headers,i,u),se(l,"footers",n==null?void 0:n.footers,i),l.pageIndex=(r=n==null?void 0:n.pageIndex)!==null&&r!==void 0?r:1,l.pageSize=(c=n==null?void 0:n.pageSize)!==null&&c!==void 0?c:20,l.pageSizeOptions=(s=n==null?void 0:n.pageSizeOptions)!==null&&s!==void 0?s:[20],l.totalCount=(h=n==null?void 0:n.totalCount)!==null&&h!==void 0?h:0,l}return e}(j);function jl(t,e){(e==null||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function C6(t){if(Array.isArray(t))return jl(t)}function E6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function jo(t,e,i,n,u,l,r){try{var c=t[l](r),s=c.value}catch(h){i(h);return}c.done?e(s):Promise.resolve(s).then(n,u)}function _6(t){return function(){var e=this,i=arguments;return new Promise(function(n,u){var l=t.apply(e,i);function r(s){jo(l,n,u,r,c,"next",s)}function c(s){jo(l,n,u,r,c,"throw",s)}r(void 0)})}}function I6(t,e,i){return e=Se(e),S6(t,Go()?Reflect.construct(e,i||[],Se(t).constructor):e.apply(t,i))}function D6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function qo(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function B6(t,e,i){return e&&qo(t.prototype,e),i&&qo(t,i),t}function gn(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function dt(t,e,i){return typeof Reflect!="undefined"&&Reflect.get?dt=Reflect.get:dt=function(u,l,r){var c=P6(u,l);if(!!c){var s=Object.getOwnPropertyDescriptor(c,l);return s.get?s.get.call(r||u):s.value}},dt(t,e,i||t)}function Se(t){return Se=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},Se(t)}function w6(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&&ql(t,e)}function A6(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function T6(){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 Wo(t){for(var e=1;e<arguments.length;e++){var i=arguments[e]!=null?arguments[e]:{},n=Object.keys(i);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(i).filter(function(u){return Object.getOwnPropertyDescriptor(i,u).enumerable}))),n.forEach(function(u){gn(t,u,i[u])})}return t}function F6(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(u){return Object.getOwnPropertyDescriptor(t,u).enumerable})),i.push.apply(i,n)}return i}function Uo(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):F6(Object(e)).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))}),t}function S6(t,e){return e&&(O6(e)==="object"||typeof e=="function")?e:E6(t)}function ql(t,e){return ql=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},ql(t,e)}function P6(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Se(t),t!==null););return t}function zo(t){return C6(t)||A6(t)||k6(t)||T6()}function O6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function k6(t,e){if(!!t){if(typeof t=="string")return jl(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);if(i==="Object"&&t.constructor&&(i=t.constructor.name),i==="Map"||i==="Set")return Array.from(i);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return jl(t,e)}}function Go(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Go=function(){return!!t})()}function R6(t,e){var i,n,u,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},r=Object.create((typeof Iterator=="function"?Iterator:Object).prototype),c=Object.defineProperty;return c(r,"next",{value:s(0)}),c(r,"throw",{value:s(1)}),c(r,"return",{value:s(2)}),typeof Symbol=="function"&&c(r,Symbol.iterator,{value:function(){return this}}),r;function s(d){return function(f){return h([d,f])}}function h(d){if(i)throw new TypeError("Generator is already executing.");for(;r&&(r=0,d[0]&&(l=0)),l;)try{if(i=1,n&&(u=d[0]&2?n.return:d[0]?n.throw||((u=n.return)&&u.call(n),0):n.next)&&!(u=u.call(n,d[1])).done)return u;switch(n=0,u&&(d=[d[0]&2,u.value]),d[0]){case 0:case 1:u=d;break;case 4:return l.label++,{value:d[1],done:!1};case 5:l.label++,n=d[1],d=[0];continue;case 7:d=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(d[0]===6||d[0]===2)){l=0;continue}if(d[0]===3&&(!u||d[1]>u[0]&&d[1]<u[3])){l.label=d[1];break}if(d[0]===6&&l.label<u[1]){l.label=u[1],u=d;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(d);break}u[2]&&l.ops.pop(),l.trys.pop();continue}d=e.call(t,l)}catch(f){d=[6,f],n=0}finally{i=u=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}}var Wl=function(t){w6(e,t);function e(i){D6(this,e);var n;return n=I6(this,e,[i]),gn(n,"controlType","list"),gn(n,"props",void 0),n.props=new mn(n,i==null?void 0:i.props,"Designer"),n}return B6(e,[{key:"validate",value:function(n,u){var l=this,r=this,c=function(){return dt(Se(e.prototype),"validate",l)};return _6(function(){return R6(this,function(s){switch(s.label){case 0:return[4,c().call(r,n)];case 1:return s.sent(),[4,Promise.all(this.props.headers.map(function(h){return h.validate(n,u)}))];case 2:return s.sent(),[2,!0]}})}).call(this)}},{key:"toDataBindModel",value:function(){var n=dt(Se(e.prototype),"toDataBindModel",this).call(this),u=n?[n]:[],l=this.id;return this.props.headers.reduce(function(r,c){var s=c.toDataBindModel(l);if(Array.isArray(s)){var h=s.filter(function(d){return!!d});return zo(r).concat(zo(h))}return s&&r.push(s),r},u)}},{key:"toSchema",value:function(){var n=dt(Se(e.prototype),"toSchema",this).call(this),u=this.props.headers.map(function(l){return l.toSchema()});return Uo(Wo({},n),{props:Uo(Wo({},this.props),{headers:u})})}}]),e}(O);gn(Wl,"controlFieldType",C.LIST);function M6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function x6(t,e,i){return e=bn(e),H6(t,Qo()?Reflect.construct(e,i||[],bn(t).constructor):e.apply(t,i))}function N6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ko(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function L6(t,e,i){return e&&Ko(t.prototype,e),i&&Ko(t,i),t}function Ul(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function bn(t){return bn=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},bn(t)}function $6(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&&zl(t,e)}function H6(t,e){return e&&(V6(e)==="object"||typeof e=="function")?e:M6(t)}function zl(t,e){return zl=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},zl(t,e)}function V6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Qo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Qo=function(){return!!t})()}var Zo=function(t){$6(e,t);function e(i){N6(this,e);var n;return n=x6(this,e,[i]),Ul(n,"controlType","list"),Ul(n,"children",void 0),Ul(n,"props",void 0),n.props=new mn(n,i==null?void 0:i.props,"Runtime"),se(n,"children",i==null?void 0:i.children,void 0,"Runtime"),n}return L6(e,[{key:"length",get:function(){return this.children.length}}]),e}(q);function j6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Gl(t,e,i){return e=Cn(e),q6(t,Xo()?Reflect.construct(e,i||[],Cn(t).constructor):e.apply(t,i))}function Kl(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Y(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function Cn(t){return Cn=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},Cn(t)}function Ql(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&&Zl(t,e)}function q6(t,e){return e&&(W6(e)==="object"||typeof e=="function")?e:j6(t)}function Zl(t,e){return Zl=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Zl(t,e)}function W6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Xo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Xo=function(){return!!t})()}var be=function(t){Ql(e,t);function e(i){Kl(this,e);var n;return n=Gl(this,e,[i]),Y(n,"caption",{type:"string",required:!0,message:a("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),Y(n,"width",{type:"number",required:!1,message:a("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")}),n.width.required=i.widthType==="px",n}return e}(U),G=function(t){Ql(e,t);function e(i){Kl(this,e);var n,u,l,r,c,s;return n=Gl(this,e,[i]),Y(n,"widthType",void 0),Y(n,"width",void 0),Y(n,"caption",void 0),Y(n,"dataBind",void 0),Y(n,"autoWidth",void 0),Y(n,"fixed",void 0),Y(n,"sort",void 0),Y(n,"align",void 0),Y(n,"colSpan",void 0),Y(n,"autoHeight",void 0),Y(n,"children",void 0),n.width=(u=i==null?void 0:i.width)!==null&&u!==void 0?u:150,n.widthType=(i==null?void 0:i.widthType)||"auto",n.caption=(l=i==null?void 0:i.caption)!==null&&l!==void 0?l:"",n.fixed=(r=i==null?void 0:i.fixed)!==null&&r!==void 0?r:"none",n.autoWidth=new to(i==null?void 0:i.autoWidth),n.dataBind=new ye(i==null?void 0:i.dataBind),n.sort=(c=i==null?void 0:i.sort)!==null&&c!==void 0?c:!0,n.align=i==null?void 0:i.align,n.colSpan=i==null?void 0:i.colSpan,n.autoHeight=(s=i==null?void 0:i.autoHeight)!==null&&s!==void 0?s:!1,n}return e}(j);Y(G,"Rules",be);var Xl=function(t){Ql(e,t);function e(i){Kl(this,e);var n;return n=Gl(this,e,[i]),Y(n,"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:a("CMD.PleaseSelectTheCorrectOptionSettings",null,"\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E")}),Y(n,"options",[{type:"array",message:a("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")}]),Y(n,"datasourceBind",[{type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),Pl.call(n,i),n}return e}(be);function U6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function z6(t,e,i){return e=ht(e),Y6(t,Yo()?Reflect.construct(e,i||[],ht(t).constructor):e.apply(t,i))}function G6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Jo(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function K6(t,e,i){return e&&Jo(t.prototype,e),i&&Jo(t,i),t}function En(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function _n(t,e,i){return typeof Reflect!="undefined"&&Reflect.get?_n=Reflect.get:_n=function(u,l,r){var c=p6(u,l);if(!!c){var s=Object.getOwnPropertyDescriptor(c,l);return s.get?s.get.call(r||u):s.value}},_n(t,e,i||t)}function ht(t){return ht=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},ht(t)}function Q6(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&&Jl(t,e)}function Z6(t){for(var e=1;e<arguments.length;e++){var i=arguments[e]!=null?arguments[e]:{},n=Object.keys(i);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(i).filter(function(u){return Object.getOwnPropertyDescriptor(i,u).enumerable}))),n.forEach(function(u){En(t,u,i[u])})}return t}function X6(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(u){return Object.getOwnPropertyDescriptor(t,u).enumerable})),i.push.apply(i,n)}return i}function J6(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):X6(Object(e)).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))}),t}function Y6(t,e){return e&&(eI(e)==="object"||typeof e=="function")?e:U6(t)}function Jl(t,e){return Jl=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Jl(t,e)}function p6(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=ht(t),t!==null););return t}function eI(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Yo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Yo=function(){return!!t})()}var X=function(t){Q6(e,t);function e(i){G6(this,e);var n;return n=z6(this,e,[i]),En(n,"controlType","column"),En(n,"props",void 0),En(n,"children",void 0),n.props=new G(i==null?void 0:i.props),se(n,"children",i==null?void 0:i.children,void 0,"Designer"),n}return K6(e,[{key:"toSchema",value:function(){var n=_n(ht(e.prototype),"toSchema",this).call(this);return J6(Z6({},n),{children:this.children?this.children.map(function(u){return u.toSchema()}):[]})}}]),e}(O);function tI(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function iI(t,e,i){return e=In(e),lI(t,po()?Reflect.construct(e,i||[],In(t).constructor):e.apply(t,i))}function nI(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Yl(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function In(t){return In=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},In(t)}function uI(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&pl(t,e)}function lI(t,e){return e&&(aI(e)==="object"||typeof e=="function")?e:tI(t)}function pl(t,e){return pl=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},pl(t,e)}function aI(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function po(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(po=function(){return!!t})()}var J=function(t){uI(e,t);function e(i){nI(this,e);var n;return n=iI(this,e,[i]),Yl(n,"controlType","column"),Yl(n,"props",void 0),Yl(n,"children",void 0),n.props=new G(i==null?void 0:i.props),se(n,"children",i==null?void 0:i.children,void 0,"Runtime"),n}return e}(q);function rI(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function oI(t,e,i){return e=Dn(e),hI(t,ec()?Reflect.construct(e,i||[],Dn(t).constructor):e.apply(t,i))}function cI(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function sI(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function Dn(t){return Dn=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},Dn(t)}function dI(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ea(t,e)}function hI(t,e){return e&&(yI(e)==="object"||typeof e=="function")?e:rI(t)}function ea(t,e){return ea=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},ea(t,e)}function yI(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ec(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ec=function(){return!!t})()}var ta=function(t){dI(e,t);function e(i){cI(this,e);var n;return n=oI(this,e,[i]),sI(n,"dataBind",void 0),n.dataBind=new ye(i==null?void 0:i.dataBind),n}return e}(k);function fI(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function vI(t,e,i){return e=Bn(e),bI(t,ic()?Reflect.construct(e,i||[],Bn(t).constructor):e.apply(t,i))}function mI(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function tc(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function Bn(t){return Bn=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},Bn(t)}function gI(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&&ia(t,e)}function bI(t,e){return e&&(CI(e)==="object"||typeof e=="function")?e:fI(t)}function ia(t,e){return ia=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},ia(t,e)}function CI(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ic(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ic=function(){return!!t})()}var EI=function(t){gI(e,t);function e(i){mI(this,e);var n;return n=vI(this,e,[i]),tc(n,"controlType","search"),tc(n,"props",void 0),n.props=new ta(i==null?void 0:i.props),n}return e}(L);function _I(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function II(t,e,i){return e=wn(e),wI(t,uc()?Reflect.construct(e,i||[],wn(t).constructor):e.apply(t,i))}function DI(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function nc(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function wn(t){return wn=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},wn(t)}function BI(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&&na(t,e)}function wI(t,e){return e&&(AI(e)==="object"||typeof e=="function")?e:_I(t)}function na(t,e){return na=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},na(t,e)}function AI(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function uc(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(uc=function(){return!!t})()}var TI=function(t){BI(e,t);function e(i){DI(this,e);var n;return n=II(this,e,[i]),nc(n,"controlType","search"),nc(n,"props",void 0),n.props=new ta(i==null?void 0:i.props),n}return e}($);function FI(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function SI(t,e,i){return e=An(e),kI(t,lc()?Reflect.construct(e,i||[],An(t).constructor):e.apply(t,i))}function PI(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function An(t){return An=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},An(t)}function OI(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ua(t,e)}function kI(t,e){return e&&(RI(e)==="object"||typeof e=="function")?e:FI(t)}function ua(t,e){return ua=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},ua(t,e)}function RI(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function lc(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(lc=function(){return!!t})()}var la=function(t){OI(e,t);function e(i){return PI(this,e),SI(this,e,[i])}return e}(k);function MI(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function xI(t,e,i){return e=Tn(e),$I(t,rc()?Reflect.construct(e,i||[],Tn(t).constructor):e.apply(t,i))}function NI(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ac(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function Tn(t){return Tn=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},Tn(t)}function LI(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&aa(t,e)}function $I(t,e){return e&&(HI(e)==="object"||typeof e=="function")?e:MI(t)}function aa(t,e){return aa=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},aa(t,e)}function HI(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function rc(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(rc=function(){return!!t})()}var VI=function(t){LI(e,t);function e(i){NI(this,e);var n;return n=xI(this,e,[i]),ac(n,"controlType","wrap"),ac(n,"props",void 0),n.props=new la(i==null?void 0:i.props),n}return e}(L);function jI(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function qI(t,e,i){return e=Fn(e),zI(t,cc()?Reflect.construct(e,i||[],Fn(t).constructor):e.apply(t,i))}function WI(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function oc(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function Fn(t){return Fn=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},Fn(t)}function UI(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ra(t,e)}function zI(t,e){return e&&(GI(e)==="object"||typeof e=="function")?e:jI(t)}function ra(t,e){return ra=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},ra(t,e)}function GI(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function cc(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(cc=function(){return!!t})()}var KI=function(t){UI(e,t);function e(i){WI(this,e);var n;return n=qI(this,e,[i]),oc(n,"controlType","wrap"),oc(n,"props",void 0),n.props=new la(i==null?void 0:i.props),n}return e}($);function Pe(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:a("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}])}var Oe=(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))(Oe||{}),sc=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(sc||{}),dc=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(dc||{});class Sn{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:oe(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}class oa{constructor(e){var i,n,u;this.id=(i=e==null?void 0:e.id)!=null?i:oe(8),this.limitType=(n=e==null?void 0:e.limitType)!=null?n:"hour",this.value=(u=e==null?void 0:e.value)!=null?u:[]}}var ca=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(ca||{});class Pn{constructor(e){var i,n,u;this.id=(i=e==null?void 0:e.id)!=null?i:oe(),this.text=(n=e==null?void 0:e.text)!=null?n:"",this.color=(u=e==null?void 0:e.color)!=null?u:""}}var sa=(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))(sa||{}),ke=(t=>(t.NORMAL="normal",t.BOLD="bold",t.LIGHTER="lighter",t))(ke||{});class da{constructor(e){var i,n,u,l,r,c,s,h,d,f,g,E,_,b,D,m,I,R;this.type=(i=e==null?void 0:e.type)!=null?i:"private",this.person=new Be((n=e==null?void 0:e.person)!=null?n:{type:"form"}),this.signatureType=(u=e==null?void 0:e.signatureType)!=null?u:[],this.telephone=(r=e==null?void 0:e.telephone)!=null?r:new Be((l=e==null?void 0:e.telephone)!=null?l:{type:"form"}),this.company=(s=e==null?void 0:e.company)!=null?s:new Be((c=e==null?void 0:e.company)!=null?c:{type:"form"}),this.indexSignature=(d=e==null?void 0:e.indexSignature)!=null?d:new Be((h=e==null?void 0:e.indexSignature)!=null?h:{type:"form"}),this.signaturePosition=(f=e==null?void 0:e.signaturePosition)!=null?f:"free",this.seal=new Be((g=e==null?void 0:e.seal)!=null?g:{type:"form"}),this.platformAutoSign=(E=e==null?void 0:e.platformAutoSign)!=null?E:!1,this.signDateBeanType=(_=e==null?void 0:e.signDateBeanType)!=null?_:0,this.signDateFontSize=(b=e==null?void 0:e.signDateFontSize)!=null?b:12,this.signOrder=(D=e==null?void 0:e.signOrder)!=null?D:1,this.forceReadTime=e==null?void 0:e.forceReadTime,this.posX=(m=e==null?void 0:e.posX)!=null?m:0,this.posY=(I=e==null?void 0:e.posY)!=null?I:0,this.remark=(R=e==null?void 0:e.remark)!=null?R:""}}class hc{constructor(e){var i,n,u,l,r,c;this.fileControl=(i=e==null?void 0:e.fileControl)!=null?i:"",this.undersignedList=(u=(n=e==null?void 0:e.undersignedList)==null?void 0:n.map(s=>new da(s)))!=null?u:[new da],this.statusControl=(l=e==null?void 0:e.statusControl)!=null?l:"",this.completeControl=(r=e==null?void 0:e.completeControl)!=null?r:"",this.completeTimeControl=(c=e==null?void 0:e.completeTimeControl)!=null?c:""}}class Wt{constructor(e){var i,n,u,l,r,c,s;this.id=(i=e==null?void 0:e.id)!=null?i:oe(8),this.appId=(n=e==null?void 0:e.appId)!=null?n:"",this.dataCode=(u=e==null?void 0:e.dataCode)!=null?u:"",this.svcCode=(l=e==null?void 0:e.svcCode)!=null?l:"",this.name=(r=e==null?void 0:e.name)!=null?r:"",this.fieldList=(c=e==null?void 0:e.fieldList)!=null?c:[],this.active=(s=e==null?void 0:e.active)!=null?s:!1}}class ha{constructor(e){var i,n;this.active=(i=e==null?void 0:e.active)!=null?i:!1,this.text=(n=e==null?void 0:e.text)!=null?n:""}}class yc{constructor(e){var i,n,u,l;this.types=(i=e==null?void 0:e.types)!=null?i:["word","ppt","excel"],this.history=(n=e==null?void 0:e.history)!=null?n:!1,this.collaborativeRecord=(u=e==null?void 0:e.collaborativeRecord)!=null?u:!1,this.logicToDelete=(l=e==null?void 0:e.logicToDelete)!=null?l:!0,this.watermark=new ha(e==null?void 0:e.watermark),this.autoRename=new ha(e==null?void 0:e.autoRename)}}class ya{constructor(e){var i,n,u,l,r,c,s;this.appId=(i=e==null?void 0:e.appId)!=null?i:"",this.dataCode=(n=e==null?void 0:e.dataCode)!=null?n:"",this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.orders=(l=e==null?void 0:e.orders)!=null?l:[],this.filters=(r=e==null?void 0:e.filters)!=null?r:[],this.isRelation=(c=e==null?void 0:e.isRelation)!=null?c:!1,this.relationBindCode=(s=e==null?void 0:e.relationBindCode)!=null?s:""}}class fa{constructor(e){var i,n;this.type=(i=e==null?void 0:e.type)!=null?i:"auto",this.row=(n=e==null?void 0:e.row)!=null?n:20,this.height=e==null?void 0:e.height}}class fc{constructor(e){this.dataCode=e.dataCode}}class vc{constructor(e){var i,n,u;this.templateType=(i=e==null?void 0:e.templateType)!=null?i:"system",this.templateList=(u=(n=e==null?void 0:e.templateList)==null?void 0:n.map(l=>new fc(l)))!=null?u:[]}}class mc{constructor(e){var i,n,u;this.templateType=(i=e==null?void 0:e.templateType)!=null?i:"system",this.templateList=(u=(n=e==null?void 0:e.templateList)==null?void 0:n.map(l=>new Wt(l)))!=null?u:[new Wt({id:"default",name:a("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u677F"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}const gc=480;function Ut(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class bc{constructor(e){var i,n,u,l,r;this.fileId=(i=e==null?void 0:e.fileId)!=null?i:"",this.fileName=(n=e==null?void 0:e.fileName)!=null?n:"",this.ruleName=(u=e==null?void 0:e.ruleName)!=null?u:"",this.isDefault=(l=e.isDefault)!=null?l:!1,this.rules=(r=e.rules)!=null?r:[]}}class Cc{constructor(e){var i,n,u;this.direction=(i=e==null?void 0:e.direction)!=null?i:"row",this.justifyContent=(n=e==null?void 0:e.justifyContent)!=null?n:"flex-start",this.alignItems=(u=e==null?void 0:e.alignItems)!=null?u:"flex-start"}}var Ec=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(Ec||{}),va=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(va||{}),On=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(On||{}),Re=(t=>(t.ALL="all",t.ASSIGN="assign",t))(Re||{}),ma=(t=>(t.ALL="all",t.ADMIN="admin",t))(ma||{}),ga=(t=>(t.NO_COMPRESS="0",t.RATIO_COMPRESS="1",t.PIXEL_COMPRESS="2",t))(ga||{});class ba extends j{constructor(e){var i,n,u,l,r,c,s,h,d;super(e),this.captionColor=(e==null?void 0:e.captionColor)||"",this.captionSize=(e==null?void 0:e.captionSize)||"",this.isCaptionItalic=(e==null?void 0:e.isCaptionItalic)||!1,this.captionFontWeight=(i=e==null?void 0:e.captionFontWeight)!=null?i:ke.NORMAL,this.icon=(n=e==null?void 0:e.icon)!=null?n:"page-hint",this.showState=(u=e==null?void 0:e.showState)!=null?u:"text",this.content=(l=e==null?void 0:e.content)!=null?l:a("CMD.text",null,"\u8BF4\u660E\u6587\u5B57"),this.align=(r=e==null?void 0:e.align)!=null?r:"",this.aiContentSearch=(c=e==null?void 0:e.aiContentSearch)!=null?c:!1,this.isLabel=(s=e==null?void 0:e.isLabel)!=null?s:!1,this.background=(h=e==null?void 0:e.background)!=null?h:{type:"backgroundColor",backgroundColor:"",backgroundImage:"",placementMode:"contain"},this.close=(d=e==null?void 0:e.close)!=null?d:{show:!1,text:a("CMD.closeText",null,"\u5173\u95ED")}}}class _c extends O{constructor(e){super(e),this.props=new ba(e==null?void 0:e.props)}static get controlName(){return a("CMD.text",null,"\u8BF4\u660E\u6587\u5B57")}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}_c.setting=[{key:"content",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"close-setting",visible:!0},{key:"dynamic-background",visible:!0},{key:"ai-content-search",visible:!0},{key:"common-button-radio",visible:!0,name:"align",label:a("CMD.54641777541642981"),default:"left",options:[{value:"left",label:a("CMD.79471774579023855")},{value:"center",label:a("CMD.3c361774579037653")},{value:"right",label:a("CMD.9e811774579025727")}]},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class QI extends q{constructor(e){super(e),this.props=new ba(e==null?void 0:e.props)}static get controlType(){return"text"}}var Ic={Designer:_c,Runtime:QI,Property:ba};class Ca extends j{constructor(e){var i,n,u,l,r,c;super(e),this.content=(i=e==null?void 0:e.content)!=null?i:a("CMD.linkContent",null,"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5"),this.position=(n=e==null?void 0:e.position)!=null?n:"left",this.color=(u=e==null?void 0:e.color)!=null?u:"primary",this.url=(l=e==null?void 0:e.url)!=null?l:"",this.openMode=(r=e==null?void 0:e.openMode)!=null?r:"new",this.icon=(c=e==null?void 0:e.icon)!=null?c:""}}class Ea extends O{constructor(e){super(e),this.props=new Ca(e==null?void 0:e.props)}static get controlName(){return a("CMD.link",null,"\u94FE\u63A5")}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}Ea.controlEventKeys=["on_click"],Ea.setting=[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-button-radio",visible:!0,name:"position",label:a("CMD.90741774578992730"),default:"left",options:[{value:"left",label:a("CMD.79471774579023855")},{value:"center",label:a("CMD.3c361774579037653")},{value:"right",label:a("CMD.9e811774579025727")}]},{key:"common-color-type",visible:!0,name:"color",label:a("CMD.d1ed1774579042905")},{key:"common-icon",visible:!0,name:"icon",label:a("CMD.1a781774579044216")},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];class ZI extends q{constructor(e){super(e),this.props=new Ca(e==null?void 0:e.props)}static get controlType(){return"link"}}var Dc={Designer:Ea,Runtime:ZI,Property:Ca};class XI extends U{constructor(){super(...arguments),this.content={type:"string",required:!0,message:a("CMD.cacc1777541637293")},this.width={type:"number",required:!0,min:1,message:a("CMD.2f901777541688219")},this.height={type:"number",required:!0,min:1,message:a("CMD.156e1777541690112")}}}class kn extends j{constructor(e){var i,n,u;super(e),this.content=(i=e==null?void 0:e.content)!=null?i:"",this.width=(n=e==null?void 0:e.width)!=null?n:600,this.height=(u=e==null?void 0:e.height)!=null?u:400}}kn.Rules=XI;class Bc extends O{constructor(e){super(e),this.props=new kn(e==null?void 0:e.props)}static get controlName(){return a("CMD.iframe",null,"\u7F51\u9875\u5D4C\u5165")}static get controlIcon(){return"iconiframe"}static get controlType(){return"iframe"}}Bc.setting=[{key:"content",visible:!0,name:"content",label:"URL"},{key:"common-input-number",visible:!0,name:"width",label:a("CMD.f5311777541773110"),min:1,tip:a("CMD.ee791777541581639")},{key:"common-input-number",visible:!0,name:"height",label:a("CMD.ea8c1777541774421"),min:1},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"super-setting",visible:!0}];class JI extends q{constructor(e){super(e),this.props=new kn(e==null?void 0:e.props)}static get controlType(){return"iframe"}}var wc={Designer:Bc,Runtime:JI,Property:kn};class ee extends j{constructor(e){var i,n,u,l,r,c,s,h,d,f,g;super(e),this.content=(i=e==null?void 0:e.content)!=null?i:a("CMD.button",null,"\u6309\u94AE"),this.buttonType=(n=e==null?void 0:e.buttonType)!=null?n:"primary",this.showType=(u=e==null?void 0:e.showType)!=null?u:"text",this.color=(l=e==null?void 0:e.color)!=null?l:"primary",this.icon=(r=e==null?void 0:e.icon)!=null?r:"iconfenlei2",this.defaultState=(c=e==null?void 0:e.defaultState)!=null?c:"default",this.command=(s=e==null?void 0:e.command)!=null?s:"custom",this.isLoading=(h=e==null?void 0:e.isLoading)!=null?h:!1,this.optObj=new v_((d=e==null?void 0:e.optObj)!=null?d:{}),this.actionObj=new n_((f=e==null?void 0:e.actionObj)!=null?f:{}),this.optButtonType=(g=e==null?void 0:e.optButtonType)!=null?g:"button"}}class p extends O{constructor(e){super(e),this.props=new ee(e==null?void 0:e.props)}static get controlName(){return a("CMD.button",null,"\u6309\u94AE")}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}p.slots=["grid-table-toolbar-slot","action-bar-slot",kr.DEFAULT],p.controlEventKeys=["on_click"],p.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:[o.IS_HIDE]},{key:"super-setting",visible:!0}];class ue extends q{constructor(e){super(e),this.props=new ee(e==null?void 0:e.props)}static get controlType(){return"button"}}var Ac={Designer:p,Runtime:ue,Property:ee};class _a extends j{constructor(e){var i,n,u,l,r,c;super(e),this.color=(i=e==null?void 0:e.color)!=null?i:"#000",this.lineStyle=(n=e==null?void 0:e.lineStyle)!=null?n:sa.SOLID,this.content=(u=e==null?void 0:e.content)!=null?u:"",this.position=(l=e==null?void 0:e.position)!=null?l:"left",this.captionColor=(e==null?void 0:e.captionColor)||"",this.captionSize=(e==null?void 0:e.captionSize)||"",this.isCaptionItalic=(e==null?void 0:e.isCaptionItalic)||!1,this.captionFontWeight=(r=e==null?void 0:e.captionFontWeight)!=null?r:ke.NORMAL,this.verticalPosition=(c=e==null?void 0:e.verticalPosition)!=null?c:"middle"}}class Tc extends O{constructor(e){super(e),this.props=new _a(e==null?void 0:e.props)}static get controlName(){return a("CMD.divider",null,"\u5206\u5272\u7EBF")}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}Tc.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"content",visible:!0},{key:"common-button-radio",visible:!0,name:"position",label:a("CMD.30971774578990996"),default:"left",options:[{value:"left",label:a("CMD.77f61774579023852")},{value:"center",label:a("CMD.c2061774579037651")},{value:"right",label:a("CMD.92fa1774579025725")}]},{key:"common-button-radio",visible:!0,name:"verticalPosition",label:a("CMD.e9f61774578968941"),default:"middle",options:[{value:"top",label:a("CMD.2bfb1774579038746")},{value:"middle",label:a("CMD.9e231774579040279")},{value:"bottom",label:a("CMD.36d71774579041637")}]},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]}];class YI extends q{constructor(e){super(e),this.props=new _a(e==null?void 0:e.props)}static get controlType(){return"divider"}}var Fc={Designer:Tc,Runtime:YI,Property:_a};class pI extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:a("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.dataBind={type:"any"},this.config={type:"array"},e.config.includes(Oe.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:a("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")},dataCode:{type:"string",required:!0,message:a("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")}},message:a("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")}),!e.isHide&&e.config.length===0&&(this.config={type:"array",min:1,required:!0,message:a("CMD.pleaseSelectOneField",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01")})}}class Rn extends j{constructor(e){var i,n,u,l;super(e),this.dataBind=new ye(e==null?void 0:e.dataBind),this.config=(i=e==null?void 0:e.config)!=null?i:[Oe.ShowSubmitUser,Oe.ShowSubmitDept,Oe.ShowSubmitTime,Oe.ShowCurrentApprovar,Oe.ShowTitle],this.caption=(u=(n=e==null?void 0:e.caption)!=null?n:yt==null?void 0:yt.controlName)!=null?u:"",this.position=(l=e==null?void 0:e.position)!=null?l:"top"}}Rn.Rules=pI;class yt extends O{constructor(e){super(e),this.props=new Rn(e==null?void 0:e.props)}static get controlName(){return a("CMD.title",null,"\u6807\u9898\u7EC4\u4EF6")}static get controlIcon(){return"title"}static get controlType(){return"title"}}yt.controlFieldType=C.AUTO_NUMBER,yt.setting=[{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class eD extends q{constructor(e){super(e),this.props=new Rn(e==null?void 0:e.props)}static get controlType(){return"title"}}var Sc={Designer:yt,Runtime:eD,Property:Rn};class tD extends U{constructor(e){super(e),this.formKey={type:"string",required:!0,message:a("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}class Mn extends ee{constructor(e){var i,n,u,l;super(e),this.icon=(i=e==null?void 0:e.icon)!=null?i:ft.controlIcon,this.content=(n=e==null?void 0:e.content)!=null?n:ft.controlName,this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(l=e==null?void 0:e.openType)!=null?l:"modal"}}Mn.Rules=tD;class ft extends p{constructor(e){super(e),this.props=new Mn(e==null?void 0:e.props)}static get controlName(){return a("CMD.createFormListButton",null,"\u521B\u5EFA\u5355\u636E")}static get controlIcon(){return"iconchuangjiandanju"}static get controlType(){return"list-page-btn-create-form"}}ft.slots=["grid-table-toolbar-slot"],ft.controlEventKeys=["on_click","on_click_finish"],ft.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 iD extends ue{constructor(e){super(e),this.props=new Mn(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var Pc={Designer:ft,Runtime:iD,Property:Mn};class nD extends U{constructor(e){super(e),this.processKey=[{type:"string",message:a("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{type:"string",required:!0,message:a("CMD.pleaseEnterProcess",null,"\u8BF7\u7ED1\u5B9A\u6D41\u7A0B")}]}}class xn extends ee{constructor(e){var i,n,u,l,r,c;super(e),this.icon=(i=e==null?void 0:e.icon)!=null?i:vt.controlIcon,this.content=(n=e==null?void 0:e.content)!=null?n:vt.controlName,this.initiatorMode=(u=e==null?void 0:e.initiatorMode)!=null?u:"currentInitiator",this.processKey=(l=e==null?void 0:e.processKey)!=null?l:"",this.fieldCode=(r=e==null?void 0:e.fieldCode)!=null?r:"",this.employeeId=(c=e==null?void 0:e.employeeId)!=null?c:""}}xn.Rules=nD;class vt extends p{constructor(e){super(e),this.props=new xn(e==null?void 0:e.props)}static get controlName(){return a("CMD.batchSubmissionListButton",null,"\u6279\u91CF\u63D0\u4EA4")}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-submission"}}vt.slots=["grid-table-toolbar-slot"],vt.controlEventKeys=["on_click","on_click_finish"],vt.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 uD extends ue{constructor(e){super(e),this.props=new xn(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var Oc={Designer:vt,Runtime:uD,Property:xn};class Ia extends ee{constructor(e){var i,n;super(e),this.content=(i=e==null?void 0:e.content)!=null?i:mt.controlName,this.icon=(n=e==null?void 0:e.icon)!=null?n:mt.controlIcon}}class mt extends p{constructor(e){super(e),this.props=new Ia(e==null?void 0:e.props)}static get controlName(){return a("CMD.submissionRecordListButton",null,"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55")}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-submission-record"}}mt.slots=["grid-table-toolbar-slot"],mt.controlEventKeys=["on_click"],mt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class lD extends ue{constructor(e){super(e),this.props=new Ia(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var kc={Designer:mt,Runtime:lD,Property:Ia};class Da extends ee{constructor(e){var i,n,u,l,r;super(e),this.icon=(i=e==null?void 0:e.icon)!=null?i:gt.controlIcon,this.content=(n=e==null?void 0:e.content)!=null?n:gt.controlName,this.templateType=(u=e==null?void 0:e.templateType)!=null?u:"system",this.templateList=(r=(l=e==null?void 0:e.templateList)==null?void 0:l.map(c=>new Wt(c)))!=null?r:[new Wt({id:"default",name:a("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u7248"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class gt extends p{constructor(e){super(e),this.props=new Da(e==null?void 0:e.props)}static get controlName(){return a("CMD.exportListButton",null,"\u5BFC\u51FA")}static get controlIcon(){return"iconxiazai1"}static get controlType(){return"list-page-btn-export-list"}}gt.slots=["grid-table-toolbar-slot"],gt.controlEventKeys=["on_click","on_click_finish"],gt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"export-list-template",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class aD extends ue{constructor(e){super(e),this.props=new Da(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var Rc={Designer:gt,Runtime:aD,Property:Da};class Ba extends ee{constructor(e){var i,n;super(e),this.content=(i=e==null?void 0:e.content)!=null?i:bt.controlName,this.icon=(n=e==null?void 0:e.icon)!=null?n:bt.controlIcon}}class bt extends p{constructor(e){super(e),this.props=new Ba(e==null?void 0:e.props)}static get controlName(){return a("CMD.exportRecordListButton",null,"\u5BFC\u51FA\u8BB0\u5F55")}static get controlIcon(){return"icondaochujilu"}static get controlType(){return"list-page-btn-export-record"}}bt.slots=["grid-table-toolbar-slot"],bt.controlEventKeys=["on_click"],bt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class rD extends ue{constructor(e){super(e),this.props=new Ba(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var Mc={Designer:bt,Runtime:rD,Property:Ba};class oD{constructor(e){this.dataCode=e.dataCode}}class wa extends ee{constructor(e){var i,n,u,l,r;super(e),this.content=(i=e==null?void 0:e.content)!=null?i:Ct.controlName,this.icon=(n=e==null?void 0:e.icon)!=null?n:Ct.controlIcon,this.canImportList=(l=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(c=>new oD(c)))!=null?l:[],this.templateType=(r=e==null?void 0:e.templateType)!=null?r:"system"}}class Ct extends p{constructor(e){super(e),this.props=new wa(e==null?void 0:e.props)}static get controlName(){return a("CMD.importRecordListButton",null,"\u5BFC\u5165")}static get controlIcon(){return"iconshangchuan3"}static get controlType(){return"list-page-btn-import-record"}}Ct.slots=["grid-table-toolbar-slot"],Ct.controlEventKeys=["on_click","on_click_finish"],Ct.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"import-list-template",visible:!0},{key:"super-setting",visible:!0}];class cD extends ue{constructor(e){super(e),this.props=new wa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var xc={Designer:Ct,Runtime:cD,Property:wa};function sD(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}function dD(t){if(!t.trim())return{};try{const e=JSON.parse(t);return sD(e)?e:{}}catch(e){return{}}}function hD(t){return Array.isArray(t)?t:t?[t]:[]}function Nc(t){return typeof t!="string"||t.trim()===""}function yD(t,e){const i=dD(t);return hD(i[e]).some(n=>n.type==="category")}function Nn(t,e,i){return{type:"string",validator(n,u,l){if(yD(t.optionJson,e)&&Nc(u)){l(i);return}l()}}}function Aa(t){return{type:"array",validator(e,i,n){if(!Array.isArray(i)||i.length===0||i.some(u=>Nc(u==null?void 0:u.valueField))){n(t);return}n()}}}function Ln(){return{dataCode:{type:"string",required:!0,message:a("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:a("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},controlId:{type:"string",required:!0,message:a("CMD.pleaseSelectControl",null,"\u8BF7\u9009\u62E9\u63A7\u4EF6")}}}}}}class fD extends U{constructor(e){super(e),this.fillPayload={type:"object",fields:lt({},Ln())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:a("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}}},this.fillBack={type:"object",fields:lt({mode:{type:"string",required:!0,message:a("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},Ln())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:a("CMD.pleaseSelectControl",null,"\u8BF7\u9009\u62E9\u63A7\u4EF6")})}}class $n extends ee{constructor(e){var i,n,u;super(e),this.content=(i=e==null?void 0:e.content)!=null?i:zt.controlName,this.icon=(n=e==null?void 0:e.icon)!=null?n:zt.controlIcon,this.command=(u=e==null?void 0:e.command)!=null?u:"create",this.fillPayload=new ao(e==null?void 0:e.fillPayload),this.formBind=new GE(e==null?void 0:e.formBind),this.fillBack=new ro(e==null?void 0:e.fillBack)}}$n.Rules=fD;class zt extends p{constructor(e){super(e),this.props=new $n(e==null?void 0:e.props)}static get controlName(){return a("CMD.formSelectButton",null,"\u8868\u5355\u64CD\u4F5C")}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:[o.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class vD extends ue{constructor(e){super(e),this.props=new $n(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var Lc={Designer:zt,Runtime:vD,Property:$n};class mD extends U{constructor(e){super(e),this.fillPayload={type:"object",fields:lt({},Ln())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:a("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")},headers:{type:"array",required:!0,message:a("CMD.pleaseSelectAtLeastOneColumn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5")}}},this.fillBack={type:"object",fields:lt({mode:{type:"string",required:!0,message:a("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},Ln())}}}class Hn extends ee{constructor(e){var i,n,u,l,r;super(e),this.content=(i=e==null?void 0:e.content)!=null?i:Gt.controlName,this.icon=(n=e==null?void 0:e.icon)!=null?n:Gt.controlIcon,this.fillPayload=new ao(e==null?void 0:e.fillPayload),this.listPageBind=new hl(e==null?void 0:e.listPageBind),this.fillBack=new ro(e==null?void 0:e.fillBack),this.showSelectedDetail=(u=e==null?void 0:e.showSelectedDetail)!=null?u:!1,this.selectedContentConfig=new vl(e==null?void 0:e.selectedContentConfig),this.isSelectedRowFill=(l=e==null?void 0:e.isSelectedRowFill)!=null?l:!1,this.disableFilling=(r=e==null?void 0:e.disableFilling)!=null?r:!0}}Hn.Rules=mD;class Gt extends p{constructor(e){super(e),this.props=new Hn(e==null?void 0:e.props)}static get controlName(){return a("CMD.listSelectButton",null,"\u5217\u8868\u9009\u62E9")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-select-button"}}Gt.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],Gt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class gD extends ue{constructor(e){super(e),this.props=new Hn(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var $c={Designer:Gt,Runtime:gD,Property:Hn};class bD extends U{constructor(e){super(e)}}class CD extends Ne{constructor(e){super(e)}}class Kt extends j{constructor(e){super(e)}}Kt.Rules=bD,Kt.RuntimeRules=CD;class Hc extends O{constructor(e){super(e),this.props=new Kt(e==null?void 0:e.props)}static get controlName(){return a("CMD.pagination",null,"\u5206\u9875")}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}Hc.setting=[];class ED extends q{constructor(e){super(e),this.props=new Kt(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var Vc={Designer:Hc,Runtime:ED,Property:Kt};class _D extends U{constructor(e){super(e),this.dashboardKey={type:"string",required:!0,message:a("CMD.pleaseSelectDashboard",null,"\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8")},this.caption={type:"string",required:!0,message:a("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.captionTip={type:"string",required:!1,message:a("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},this.isShowReportParams={type:"boolean"},this.reportParams={type:"array",min:0},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Vn extends j{constructor(e){var i,n,u,l,r,c,s,h;super(e),this.dashboardKey=(i=e==null?void 0:e.dashboardKey)!=null?i:"",this.caption=(n=e==null?void 0:e.caption)!=null?n:"",this.isHideCaption=(u=e==null?void 0:e.isHideCaption)!=null?u:!1,this.isShowCaptionTip=(l=e==null?void 0:e.isShowCaptionTip)!=null?l:!1,this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",this.labelPosition=(c=e==null?void 0:e.labelPosition)!=null?c:"top",this.isShowReportParams=(s=e==null?void 0:e.isShowReportParams)!=null?s:!1,this.reportParams=(h=e==null?void 0:e.reportParams)!=null?h:[]}}Vn.Rules=_D;class jc extends O{constructor(e){super(e),this.props=new Vn(e==null?void 0:e.props)}static get controlName(){return a("CMD.dashboard",null,"\u4EEA\u8868\u76D8")}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}jc.setting=[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_SHOW_CAPTION_TIP]},{key:"report-params-setting",visible:!0},{key:"super-setting",visible:!0}];class ID extends q{constructor(e){super(e),this.props=new Vn(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var qc={Designer:jc,Runtime:ID,Property:Vn};class DD extends U{constructor(e){super(e),this.seriesConfig=Aa(a("CMD.pleaseSelectSeriesValueField",null,"\u8BF7\u7ED1\u5B9A\u7CFB\u5217\u503C\u5B57\u6BB5")),this.xField=Nn(e,"xAxis",a("CMD.pleaseSelectXAxisField",null,"\u8BF7\u7ED1\u5B9A X \u8F74\u5B57\u6BB5")),this.yField=Nn(e,"yAxis",a("CMD.pleaseSelectYAxisField",null,"\u8BF7\u7ED1\u5B9A Y \u8F74\u5B57\u6BB5"))}}const BD={grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},xAxis:{type:"category",data:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"]},yAxis:{type:"value"},series:[{type:"bar",data:[120,200,150,80,70,110,130]}]};class jn extends j{constructor(e){var i,n,u,l,r,c,s,h,d,f,g,E,_,b,D,m;super(e),this.optionConfig="datasource",this.caption=(i=e==null?void 0:e.caption)!=null?i:qn.controlName,this.isHideCaption=(n=e==null?void 0:e.isHideCaption)!=null?n:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top",this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",this.captionColor=(e==null?void 0:e.captionColor)||"",this.captionSize=(e==null?void 0:e.captionSize)||"",this.isCaptionItalic=(e==null?void 0:e.isCaptionItalic)||!1,this.captionFontWeight=(c=e==null?void 0:e.captionFontWeight)!=null?c:ke.NORMAL,this.isHide=(s=e==null?void 0:e.isHide)!=null?s:!1,this.template=(h=e==null?void 0:e.template)!=null?h:"bar-basic",this.optionJson=(d=e==null?void 0:e.optionJson)!=null?d:JSON.stringify(BD,null,2),this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.filterItemDatasourceBind=new W(e==null?void 0:e.filterItemDatasourceBind),this.multistageFilling=(g=(f=e==null?void 0:e.multistageFilling)==null?void 0:f.map(I=>new Q(I)))!=null?g:[],this.defaultValue=(E=e==null?void 0:e.defaultValue)!=null?E:[],this.openMultistageFilling=(_=e==null?void 0:e.openMultistageFilling)!=null?_:!1,this.xField=(b=e==null?void 0:e.xField)!=null?b:"",this.yField=(D=e==null?void 0:e.yField)!=null?D:"",this.seriesConfig=(m=e==null?void 0:e.seriesConfig)!=null?m:[]}}jn.Rules=DD;class qn extends O{constructor(e){super(e),this.props=new jn(e==null?void 0:e.props)}static get controlName(){return a("CMD.barChart",null,"\u67F1\u72B6\u56FE")}static get controlIcon(){return"iconBarchart"}static get controlType(){return"bar-chart"}static get controlCustomAttributes(){return[]}}qn.controlEventKeys=["on_chart_change"],qn.setting=[{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_SHOW_CAPTION_TIP]},{key:"common-select",visible:!0,name:"template",label:a("CMD.d6d01777541754654"),default:"default",options:[{value:"bar-basic",label:a("CMD.50c71777541662435")},{value:"bar-background",label:a("CMD.29961777541608579")},{value:"bar-waterfall",label:a("CMD.0de61777541732843")},{value:"bar-alternating",label:a("CMD.15241777541626614")},{value:"bar-multi-y",label:a("CMD.12c91777541629189")},{value:"bar-stacked",label:a("CMD.30e11777541664430")},{value:"bar-stacked-rounded",label:a("CMD.44721777541599841")},{value:"bar-stacked-horizontal",label:a("CMD.6f651777541666780")},{value:"bar-positive-negative",label:a("CMD.95b31777541669068")}]},{key:"chart-setting",visible:!0},{key:"chart-data-bind",visible:!0},{key:"super-setting",visible:!0}];class wD extends q{constructor(e){super(e),this.props=new jn(e==null?void 0:e.props)}static get controlType(){return"bar-chart"}}var Wc={Designer:qn,Runtime:wD,Property:jn};class AD extends U{constructor(e){super(e),this.seriesConfig=Aa(a("CMD.pleaseSelectSeriesValueField",null,"\u8BF7\u7ED1\u5B9A\u7CFB\u5217\u503C\u5B57\u6BB5")),this.xField=Nn(e,"xAxis",a("CMD.pleaseSelectXAxisField",null,"\u8BF7\u7ED1\u5B9A X \u8F74\u5B57\u6BB5")),this.yField=Nn(e,"yAxis",a("CMD.pleaseSelectYAxisField",null,"\u8BF7\u7ED1\u5B9A Y \u8F74\u5B57\u6BB5"))}}const TD={grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},xAxis:{type:"category",data:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"]},yAxis:{type:"value"},series:[{type:"line",data:[120,200,150,80,70,110,130]}]};class Wn extends j{constructor(e){var i,n,u,l,r,c,s,h,d,f,g,E,_,b,D,m;super(e),this.optionConfig="datasource",this.caption=(i=e==null?void 0:e.caption)!=null?i:Un.controlName,this.isHideCaption=(n=e==null?void 0:e.isHideCaption)!=null?n:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top",this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",this.captionColor=(e==null?void 0:e.captionColor)||"",this.captionSize=(e==null?void 0:e.captionSize)||"",this.isCaptionItalic=(e==null?void 0:e.isCaptionItalic)||!1,this.captionFontWeight=(c=e==null?void 0:e.captionFontWeight)!=null?c:ke.NORMAL,this.isHide=(s=e==null?void 0:e.isHide)!=null?s:!1,this.template=(h=e==null?void 0:e.template)!=null?h:"line-basic",this.optionJson=(d=e==null?void 0:e.optionJson)!=null?d:JSON.stringify(TD,null,2),this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.filterItemDatasourceBind=new W(e==null?void 0:e.filterItemDatasourceBind),this.multistageFilling=(g=(f=e==null?void 0:e.multistageFilling)==null?void 0:f.map(I=>new Q(I)))!=null?g:[],this.defaultValue=(E=e==null?void 0:e.defaultValue)!=null?E:[],this.openMultistageFilling=(_=e==null?void 0:e.openMultistageFilling)!=null?_:!1,this.xField=(b=e==null?void 0:e.xField)!=null?b:"",this.yField=(D=e==null?void 0:e.yField)!=null?D:"",this.seriesConfig=(m=e==null?void 0:e.seriesConfig)!=null?m:[]}}Wn.Rules=AD;class Un extends O{constructor(e){super(e),this.props=new Wn(e==null?void 0:e.props)}static get controlName(){return a("CMD.lineChart",null,"\u6298\u7EBF\u56FE")}static get controlIcon(){return"iconLinechart"}static get controlType(){return"line-chart"}static get controlCustomAttributes(){return[]}}Un.controlEventKeys=["on_chart_change"],Un.setting=[{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_SHOW_CAPTION_TIP]},{key:"common-select",visible:!0,name:"template",label:a("CMD.e89a1777541754655"),default:"line-basic",options:[{value:"line-basic",label:a("CMD.9bf11777541671154")},{value:"line-smooth",label:a("CMD.50231777541632244")},{value:"line-area",label:a("CMD.bad61777541673203")},{value:"line-stacked",label:a("CMD.8e651777541675555")},{value:"line-stacked-area",label:a("CMD.a75e1777541677634")}]},{key:"chart-setting",visible:!0},{key:"chart-data-bind",visible:!0},{key:"super-setting",visible:!0}];class FD extends q{constructor(e){super(e),this.props=new Wn(e==null?void 0:e.props)}static get controlType(){return"line-chart"}}var Uc={Designer:Un,Runtime:FD,Property:Wn};const SD={tooltip:{trigger:"item"},legend:{top:"bottom"},series:[{type:"pie",radius:["40%","70%"],itemStyle:{borderRadius:10},data:[{value:1048,name:a("CMD.31801777541696784")},{value:735,name:a("CMD.30781777541698808")},{value:580,name:a("CMD.53ce1777541700854")},{value:484,name:a("CMD.aab91777541703228")},{value:300,name:a("CMD.cb9d1777541704940")}]}],grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0}};class PD extends U{constructor(e){super(e),this.seriesConfig=Aa(a("CMD.pleaseSelectSeriesValueField",null,"\u8BF7\u7ED1\u5B9A\u7CFB\u5217\u503C\u5B57\u6BB5"))}}class zn extends j{constructor(e){var i,n,u,l,r,c,s,h,d,f,g,E,_,b;super(e),this.optionConfig="datasource",this.caption=(i=e==null?void 0:e.caption)!=null?i:Gn.controlName,this.isHideCaption=(n=e==null?void 0:e.isHideCaption)!=null?n:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top",this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",this.captionColor=(e==null?void 0:e.captionColor)||"",this.captionSize=(e==null?void 0:e.captionSize)||"",this.isCaptionItalic=(e==null?void 0:e.isCaptionItalic)||!1,this.captionFontWeight=(c=e==null?void 0:e.captionFontWeight)!=null?c:ke.NORMAL,this.isHide=(s=e==null?void 0:e.isHide)!=null?s:!1,this.template=(h=e==null?void 0:e.template)!=null?h:"pie-rounded-ring",this.optionJson=(d=e==null?void 0:e.optionJson)!=null?d:JSON.stringify(SD,null,2),this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.filterItemDatasourceBind=new W(e==null?void 0:e.filterItemDatasourceBind),this.multistageFilling=(g=(f=e==null?void 0:e.multistageFilling)==null?void 0:f.map(D=>new Q(D)))!=null?g:[],this.defaultValue=(E=e==null?void 0:e.defaultValue)!=null?E:[],this.openMultistageFilling=(_=e==null?void 0:e.openMultistageFilling)!=null?_:!1,this.seriesConfig=(b=e==null?void 0:e.seriesConfig)!=null?b:[]}}zn.Rules=PD;class Gn extends O{constructor(e){super(e),this.props=new zn(e==null?void 0:e.props)}static get controlName(){return a("CMD.pieChart",null,"\u997C\u56FE")}static get controlIcon(){return"iconPiechart"}static get controlType(){return"pie-chart"}static get controlCustomAttributes(){return[]}}Gn.controlEventKeys=["on_chart_change"],Gn.setting=[{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_SHOW_CAPTION_TIP]},{key:"common-select",visible:!0,name:"template",label:a("CMD.f5361777541754658"),default:"default",options:[{value:"pie-rounded-ring",label:a("CMD.81a51777541679974")},{value:"pie-ring",label:a("CMD.a4281777541734255")},{value:"pie-half-ring",label:a("CMD.24b41777541692257")},{value:"pie-gap",label:a("CMD.5ce91777541640370")},{value:"pie-rose",label:a("CMD.3f911777541602899")},{value:"pie-texture",label:a("CMD.13a21777541694793")}]},{key:"chart-setting",visible:!0},{key:"chart-data-bind",visible:!0},{key:"super-setting",visible:!0}];class OD extends q{constructor(e){super(e),this.props=new zn(e==null?void 0:e.props)}static get controlType(){return"pie-chart"}}var zc={Designer:Gn,Runtime:OD,Property:zn};class kD extends U{constructor(e){super(e),this.showType={type:"enum",enum:["select","tabs"]},this.viewList={type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:a("CMD.theViewNameCannotBeEmpty",null,"\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A")},headers:{type:"array",required:!0,min:1,message:a("CMD.pleaseSelectAtLeastOneColumn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5")}}}}}}class Kn extends j{constructor(e){var i,n,u;super(e),this.showType=(i=e==null?void 0:e.showType)!=null?i:"select",this.viewList=(u=(n=e==null?void 0:e.viewList)==null?void 0:n.map(l=>new y_(l)))!=null?u:[]}}Kn.Rules=kD;class Gc extends O{constructor(e){super(e),this.props=new Kn(e==null?void 0:e.props)}static get controlName(){return a("CMD.listViewSelect",null,"\u5217\u8868\u89C6\u56FE")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-view-select"}}Gc.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class RD extends q{constructor(e){super(e),this.props=new Kn(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var Kc={Designer:Gc,Runtime:RD,Property:Kn};class MD extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:a("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:a("CMD.pleaseSelectOcrType",null,"\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B")},this.fillList={type:"array",validator(i,n,u){if(n.every(r=>!r.controlId)){u(a("CMD.pleaseSelectAtLeastOneFieldToFillIn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145"));return}u()}},this.captionTip={type:"string",required:!1,message:a("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Qn extends ee{constructor(e){var i,n,u,l,r,c,s,h,d,f;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:Et.controlName,this.isHideCaption=(n=e==null?void 0:e.isHideCaption)!=null?n:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(l=e==null?void 0:e.captionTip)!=null?l:"",this.labelPosition=(r=e==null?void 0:e.labelPosition)!=null?r:"top",this.content=(c=e==null?void 0:e.content)!=null?c:Et.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:Et.controlIcon,this.ocrType=(h=e==null?void 0:e.ocrType)!=null?h:"",this.fillList=(f=(d=e==null?void 0:e.fillList)==null?void 0:d.map(g=>new Q(g)))!=null?f:[]}}Qn.Rules=MD;class Et extends p{constructor(e){super(e),this.props=new Qn(e==null?void 0:e.props)}static get controlName(){return a("CMD.textOcrButton",null,"\u6587\u5B57\u8BC6\u522B")}static get controlIcon(){return"iconwenzishibie"}static get controlType(){return"text-ocr-button"}}Et.controlEventKeys=["on_click","on_click_finish"],Et.setting=[{key:"caption",showItems:[o.CAPTION,o.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:[o.IS_HIDE,o.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class xD extends ue{constructor(e){super(e),this.props=new Qn(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var Qc={Designer:Et,Runtime:xD,Property:Qn};class ND extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:a("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.invoiceCheck={type:"boolean"},this.fillList={type:"array",validator(i,n,u){if(n.every(r=>!r.controlId)){u(a("CMD.pleaseSelectAtLeastOneFieldToFillIn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145"));return}u()}},this.captionTip={type:"string",required:!1,message:a("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Zn extends ee{constructor(e){var i,n,u,l,r,c,s,h,d,f;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:_t.controlName,this.isHideCaption=(n=e==null?void 0:e.isHideCaption)!=null?n:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(l=e==null?void 0:e.captionTip)!=null?l:"",this.labelPosition=(r=e==null?void 0:e.labelPosition)!=null?r:"top",this.content=(c=e==null?void 0:e.content)!=null?c:_t.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:_t.controlIcon,this.invoiceCheck=(h=e==null?void 0:e.invoiceCheck)!=null?h:!0,this.fillList=(f=(d=e==null?void 0:e.fillList)==null?void 0:d.map(g=>new Q(g)))!=null?f:[]}}Zn.Rules=ND;class _t extends p{constructor(e){super(e),this.props=new Zn(e==null?void 0:e.props)}static get controlName(){return a("CMD.invoiceCheckButton",null,"\u53D1\u7968\u8BC6\u522B")}static get controlIcon(){return"iconfabiaoshibie1"}static get controlType(){return"invoice-check-button"}}_t.controlEventKeys=["on_click","on_click_finish"],_t.setting=[{key:"caption",showItems:[o.CAPTION,o.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:[o.IS_HIDE,o.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class LD extends ue{constructor(e){super(e),this.props=new Zn(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var Zc={Designer:_t,Runtime:LD,Property:Zn};class $D extends U{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:a("CMD.pleaseUploadAtLeastOnePrintTemplate",null,"\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01")}}}class Xn extends ee{constructor(e){var i,n,u,l,r;super(e),this.icon=(i=e==null?void 0:e.icon)!=null?i:It.controlIcon,this.content=(n=e==null?void 0:e.content)!=null?n:It.controlName,this.printTemplates=(l=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(c=>new bc(c)))!=null?l:[],this.autoSelectTemplate=(r=e==null?void 0:e.autoSelectTemplate)!=null?r:!1}}Xn.Rules=$D;class It extends p{constructor(e){super(e),this.props=new Xn(e==null?void 0:e.props)}static get controlName(){return a("CMD.batchPrintListButton",null,"\u6279\u91CF\u6253\u5370")}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-print"}}It.slots=["grid-table-toolbar-slot"],It.controlEventKeys=["on_click","on_click_finish"],It.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 HD extends ue{constructor(e){super(e),this.props=new Xn(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var Xc={Designer:It,Runtime:HD,Property:Xn};class Ta extends ee{constructor(e){var i,n;super(e),this.content=(i=e==null?void 0:e.content)!=null?i:Dt.controlName,this.icon=(n=e==null?void 0:e.icon)!=null?n:Dt.controlIcon}}class Dt extends p{constructor(e){super(e),this.props=new Ta(e==null?void 0:e.props)}static get controlName(){return a("CMD.batchPrintRecordList",null,"\u6279\u91CF\u6253\u5370\u8BB0\u5F55")}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-batch-print-record"}}Dt.slots=["grid-table-toolbar-slot"],Dt.controlEventKeys=["on_click"],Dt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class VD extends ue{constructor(e){super(e),this.props=new Ta(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var Jc={Designer:Dt,Runtime:VD,Property:Ta};class jD extends U{constructor(e){super(e),this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:a("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")})}}class Jn extends j{constructor(e){var i,n,u,l,r,c;super(e),this.content=(i=e==null?void 0:e.content)!=null?i:a("CMD.button",null,"\u6309\u94AE"),this.code=e==null?void 0:e.code,this.command=(n=e==null?void 0:e.command)!=null?n:"custom",this.color=(u=e==null?void 0:e.color)!=null?u:"primary",this.icon=e==null?void 0:e.icon,this.formKey=e==null?void 0:e.formKey,this.openType=e==null?void 0:e.openType,this.needConfirm=e==null?void 0:e.needConfirm,this.confirmMessage=e==null?void 0:e.confirmMessage,this.options=e==null?void 0:e.options,this.defaultState=(l=e==null?void 0:e.defaultState)!=null?l:"default",this.priorityProcess=e==null?void 0:e.priorityProcess,this.isLoading=(r=e==null?void 0:e.isLoading)!=null?r:!1,this.isSyncDelete=(c=e==null?void 0:e.isSyncDelete)!=null?c:!1}}Jn.Rules=jD;class Yn extends O{constructor(e){super(e),this.props=new Jn(e==null?void 0:e.props)}static get controlName(){return a("CMD.operationButton",null,"\u64CD\u4F5C\u6309\u94AE")}static get controlIcon(){return"iconbtn"}static get controlType(){return"operation-button"}}Yn.controlEventKeys=["on_click"],Yn.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:[o.IS_HIDE]},{key:"super-setting",visible:!0}];class qD extends q{constructor(e){super(e),this.props=new Jn(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var Yc={Designer:Yn,Runtime:qD,Property:Jn};class Fa extends j{constructor(e){var i,n,u,l,r,c,s,h,d;super(e),this.content=(i=e==null?void 0:e.content)!=null?i:Bt.controlName,this.icon=(n=e==null?void 0:e.icon)!=null?n:Bt.controlIcon,this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(l=e==null?void 0:e.showType)!=null?l:"iconText",this.color=(r=e==null?void 0:e.color)!=null?r:"danger",this.isHide=(c=e==null?void 0:e.isHide)!=null?c:!1,this.defaultState=(s=e==null?void 0:e.defaultState)!=null?s:"default",this.command=(h=e==null?void 0:e.command)!=null?h:"custom",this.isLoading=(d=e==null?void 0:e.isLoading)!=null?d:!1}}class Bt extends O{constructor(e){super(e),this.props=new Fa(e==null?void 0:e.props)}static get controlName(){return a("CMD.batchDeleteButton",null,"\u6279\u91CF\u5220\u9664")}static get controlIcon(){return"iconlajitong"}static get controlType(){return"list-page-btn-batch-delete"}}Bt.slots=["grid-table-toolbar-slot"],Bt.controlEventKeys=["on_click"],Bt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"super-setting",visible:!0}];class WD extends q{constructor(e){super(e),this.props=new Fa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var pc={Designer:Bt,Runtime:WD,Property:Fa};class UD extends U{constructor(e){super(e),this.actionSetting={type:"object",fields:{dataCode:{type:"string",required:!0,message:a("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},formKey:{type:"string",required:!0,message:a("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}}}}}class pn extends j{constructor(e){var i,n,u,l,r,c;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:eu.controlName,this.isShowSimpleSearch=(n=e==null?void 0:e.isShowSimpleSearch)!=null?n:!0,this.isShowToolbar=(u=e==null?void 0:e.isShowToolbar)!=null?u:!0,this.isHideCaption=(l=e==null?void 0:e.isHideCaption)!=null?l:!1,this.actionSetting=(r=new ya(e==null?void 0:e.actionSetting))!=null?r:new ya,this.listHeightSetting=(c=new fa(e==null?void 0:e.listHeightSetting))!=null?c:new fa}}pn.Rules=UD;class eu extends O{constructor(e){super(e),this.props=new pn(e==null?void 0:e.props)}static get controlName(){return a("CMD.referenceList",null,"\u5F15\u7528\u5217\u8868")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"reference-list"}}eu.controlEventKeys=["on_list_rowclick"],eu.setting=[{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_SHOW_SIMPLE_SEARCH,o.IS_SHOW_TOOL_BAE]},{key:"action-setting",visible:!0},{key:"line-height-setting",visible:!0},{key:"super-setting",visible:!0}];class zD extends q{constructor(e){super(e),this.props=new pn(e==null?void 0:e.props)}static get controlType(){return"reference-list"}}var es={Designer:eu,Runtime:zD,Property:pn};class Sa extends j{constructor(e){var i;super(e),this.content=(i=e==null?void 0:e.content)!=null?i:"",this.commentOptions=(e==null?void 0:e.commentOptions)||[]}}class ts extends O{constructor(e){super(e),this.props=new Sa(e==null?void 0:e.props)}static get controlName(){return a("CMD.comment",null,"\u610F\u89C1\u6807\u7B7E")}static get controlIcon(){return"icona-fenlei22"}static get controlType(){return"comment"}}ts.setting=[{key:"content",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"comment-option",visible:!0},{key:"super-setting",visible:!0}];class GD extends q{constructor(e){super(e),this.props=new Sa(e==null?void 0:e.props)}static get controlType(){return"comment"}}var is={Designer:ts,Runtime:GD,Property:Sa},KD=Object.freeze({__proto__:null,Text:Ic,Link:Dc,Iframe:wc,Button:Ac,Divider:Fc,Title:Sc,CreateFormListButton:Pc,BatchSubmissionListButton:Oc,SubmissionRecordListButton:kc,ExportListButton:Rc,ExportRecordListButton:Mc,ImportRecordListButton:xc,FormSelectButton:Lc,ListSelectButton:$c,Pagination:Vc,Dashboard:qc,BarChart:Wc,LineChart:Uc,PieChart:zc,ListViewSelect:Kc,TextOcrButton:Qc,InvoiceCheckButton:Zc,BatchPrintListButton:Xc,BatchPrintRecordListButton:Jc,OperationButton:Yc,BatchDeleteButton:pc,ReferenceList:es,CommentControl:is});class QD extends z{constructor(e){super(e),this.maxLength={type:"number",min:0,message:a("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:200,message:a("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")},this.defaultValue=[{type:"string",max:200,min:0,message:a("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")},{pattern:"",message:""}],this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue[0].max=e.maxLength,this.defaultValue[0].min=e.minLength,this.defaultValue[0].message=a("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C"),this.defaultValue[1].pattern=Ut(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class ZD extends N{constructor(e){super(e),this.push({type:"string",message:a("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{max:e.maxLength,min:e.minLength,message:a("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:Ut(e.regularRules.expression),message:e.regularRules.errMessage})}}class wt extends A{constructor(e){var i,n,u,l,r,c,s,h,d,f;super(e),this.maxLength=(i=e==null?void 0:e.maxLength)!=null?i:200,this.minLength=(n=e==null?void 0:e.minLength)!=null?n:0,this.regularRules=new oo(e==null?void 0:e.regularRules),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(l=e==null?void 0:e.caption)!=null?l:At.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:a("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.encrypted=(c=e==null?void 0:e.encrypted)!=null?c:!1,this.encryptedMode=(s=e==null?void 0:e.encryptedMode)!=null?s:"",this.aiContentSearch=(h=e==null?void 0:e.aiContentSearch)!=null?h:!1,this.autoHeight=(d=e==null?void 0:e.autoHeight)!=null?d:!1,this.lineEllipsis=(f=e==null?void 0:e.lineEllipsis)!=null?f:1}}wt.Rules=QD,wt.RuntimeRules=ZD;class At extends T{constructor(e){super(e),this.props=new wt(e==null?void 0:e.props)}static get controlName(){return a("CMD.input",null,"\u5355\u884C\u6587\u672C")}static get controlIcon(){return"iconSingleline_new1"}static get controlType(){return"input"}}At.controlEventKeys=["on_change","on_input","on_focus","on_blur"],At.controlFieldType=C.VARCHAR,At.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.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:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP,o.ENCRYPTED]},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"ai-content-search",visible:!0},{key:"column-autoHeight",visible:!1},{key:"column-line-ellipsis",visible:!1},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class ns extends F{constructor(e){super(e),this.props=new wt(e==null?void 0:e.props)}static get controlType(){return"input"}}ns.controlFieldType=C.VARCHAR;var us={Designer:At,Runtime:ns,Property:wt};class XD extends Le{constructor(e){super(e),this.limitMax={type:"number",min:void 0,message:a("CMD.PleaseReselectTheOptionalQuantity",null,"\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const n=u=>u==="unlimited"?void 0:u;this.limitMax.min=n(e.limitMin)}}class JD extends N{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 Qt extends A{constructor(e){var i,n,u,l,r,c,s,h,d,f,g,E,_,b,D;super(e),this.options=de((i=e==null?void 0:e.options)!=null?i:[{label:a("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:a("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:a("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:a("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:a("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:a("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.checkboxMode=(n=e==null?void 0:e.checkboxMode)!=null?n:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.optionsOrder=(l=e==null?void 0:e.optionsOrder)!=null?l:!1,this.otherOption=(r=e==null?void 0:e.otherOption)!=null?r:!1,this.limitMin=(c=e==null?void 0:e.limitMin)!=null?c:"unlimited",this.limitMax=(s=e==null?void 0:e.limitMax)!=null?s:"unlimited",this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.interreaction=(h=e==null?void 0:e.interreaction)!=null?h:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:Zt.controlName,this.defaultValue=(f=e==null?void 0:e.defaultValue)!=null?f:[],this.optionsFormat=(g=e==null?void 0:e.optionsFormat)!=null?g:"horizontal",this.defaultShowOptions=(E=e==null?void 0:e.defaultShowOptions)!=null?E:!0,this.openMultistageFilling=(_=e==null?void 0:e.openMultistageFilling)!=null?_:!1,this.isUseCustomColor=(b=e==null?void 0:e.isUseCustomColor)!=null?b:!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 Q(m))})),this.aiContentSearch=(D=e==null?void 0:e.aiContentSearch)!=null?D:!1}}Qt.Rules=XD,Qt.RuntimeRules=JD;class Zt extends T{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlName(){return a("CMD.checkBox",null,"\u591A\u9009")}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}Zt.controlEventKeys=["on_change","on_click"],Zt.controlFieldType=C.ARRAY,Zt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!0},{key:"options-setting",visible:!0},{key:"limit-select",visible:!0},{key:"options-order",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class ls extends F{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}ls.controlFieldType=C.ARRAY;var as={Designer:Zt,Runtime:ls,Property:Qt};class Pa extends A{constructor(e){var i,n,u,l,r,c,s,h,d,f,g,E,_,b,D,m;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:$e.controlName,this.placeholder=(n=e==null?void 0:e.placeholder)!=null?n:a("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.showSearch=(l=e==null?void 0:e.showSearch)!=null?l:!0,this.expandTrigger=(r=e==null?void 0:e.expandTrigger)!=null?r:"click",this.allowClear=(c=e==null?void 0:e.allowClear)!=null?c:!0,this.showCheckedStrategy=(s=e==null?void 0:e.showCheckedStrategy)!=null?s:"",this.saveCheckedStrategy=(h=e==null?void 0:e.saveCheckedStrategy)!=null?h:"CHILD",this.separator=(d=e==null?void 0:e.separator)!=null?d:"/",this.optionConfig=(f=e==null?void 0:e.optionConfig)!=null?f:"custom",this.datasourceBind=new en((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:$e.controlCustomAttributes}),this.filterItemDatasourceBind=new en((E=e==null?void 0:e.filterItemDatasourceBind)!=null?E:{attributes:$e.controlCustomAttributes}),this.openMultistageFilling=(_=e==null?void 0:e.openMultistageFilling)!=null?_:!1,this.multistageFilling=(D=(b=e==null?void 0:e.multistageFilling)==null?void 0:b.map(I=>new Q(I)))!=null?D:[],this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:[]}}class $e extends T{constructor(e){super(e),this.props=new Pa(e==null?void 0:e.props)}static get controlName(){return a("CMD.c8ad1774578994488")}static get controlIcon(){return"iconziyou_dagangshu"}static get controlType(){return"cascader"}static get controlCustomAttributes(){return[{key:"displayBoList",name:a("CMD.6cb51751712162323"),required:!0},{key:"parentField",name:a("CMD.33ee1751712159752"),required:!0}]}}$e.controlEventKeys=["on_change","on_focus","on_blur"],$e.controlFieldType=C.ARRAY,$e.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.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:[o.REQUIRED,o.IS_HIDE,o.MULTIPLE,o.CAN_SEARCH,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"cascader-trigger-type",visible:!0},{key:"cascader-select-value-type",visible:!0},{key:"cascader-show-type",visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class rs extends F{constructor(e){super(e),this.props=new Pa(e==null?void 0:e.props)}static get controlType(){return"cascader"}}rs.controlFieldType=C.VARCHAR;var os={Designer:$e,Runtime:rs,Property:Pa};class YD extends z{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:100,message:a("CMD.pleaseEnterNumberRange",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")}],this.max={type:"any"};const i=e.max===""?void 0:e.max,n=e.min===""?void 0:e.min;this.defaultValue[0].max=i,this.defaultValue[0].min=n,this.defaultValue[0].message=a("CMD.pleaseEnterNumberRange",{max:i,min:n},"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"),n&&i!==void 0&&(this.max={type:"number",min:n,message:a("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")})}}class pD extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const i=e.max===""?void 0:e.max,n=e.min===""?void 0:e.min;this.push({type:"number",min:n,max:i,message:a(i===void 0?"CMD.pleaseEnterAValueGreaterThanMin":n===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:i,min:n},a(i===void 0?"CMD.51051751712133507":n===void 0?"CMD.41d01751712135567":"CMD.affe1751712129045"))})}}class Xt extends A{constructor(e){var i,n,u,l,r,c,s,h,d;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:Jt.controlName,this.placeholder=(n=e==null?void 0:e.placeholder)!=null?n:a("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.min=(l=e==null?void 0:e.min)!=null?l:0,this.max=(r=e==null?void 0:e.max)!=null?r:100,this.step=(c=e==null?void 0:e.step)!=null?c:1,this.precision=(s=e==null?void 0:e.precision)!=null?s:0,this.controls=(h=e==null?void 0:e.controls)!=null?h:!0,this.controlPosition=(d=e==null?void 0:e.controlPosition)!=null?d:"both"}}Xt.Rules=YD,Xt.RuntimeRules=pD;class Jt extends T{constructor(e){super(e),this.props=new Xt(e==null?void 0:e.props)}static get controlName(){return a("CMD.78aa1774579027114")}static get controlType(){return"counter"}static get controlIcon(){return"iconjishuqi"}}Jt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Jt.controlFieldType=C.DECIMAL,Jt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"counter-setting",visible:!0},{key:"super-setting",visible:!0}];class cs extends F{constructor(e){super(e),this.props=new Xt(e==null?void 0:e.props)}static get controlType(){return"counter"}}cs.controlFieldType=C.DECIMAL;var ss={Designer:Jt,Runtime:cs,Property:Xt};class eB extends Le{constructor(e){super(e)}}class tu extends A{constructor(e){var i,n,u,l,r,c,s,h,d,f,g,E,_,b;super(e),this.options=de((i=e==null?void 0:e.options)!=null?i:[{label:a("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:a("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:a("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:a("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:a("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:a("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.radioMode=(n=e==null?void 0:e.radioMode)!=null?n:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.otherOption=(l=e==null?void 0:e.otherOption)!=null?l:!1,this.optionsOrder=(r=e==null?void 0:e.optionsOrder)!=null?r:!1,this.defaultShowOptions=(c=e==null?void 0:e.defaultShowOptions)!=null?c:!0,this.optionsFormat=(s=e==null?void 0:e.optionsFormat)!=null?s:"horizontal",this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.interreaction=(h=e==null?void 0:e.interreaction)!=null?h:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:Yt.controlName,this.defaultValue=(f=e==null?void 0:e.defaultValue)!=null?f:"",this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.type=(E=e==null?void 0:e.type)!=null?E:"default",this.isUseCustomColor=(_=e==null?void 0:e.isUseCustomColor)!=null?_:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(D=>{var m;(m=this.multistageFilling)==null||m.push(new Q(D))})),this.aiContentSearch=(b=e==null?void 0:e.aiContentSearch)!=null?b:!1}}tu.Rules=eB;class Yt extends T{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}static get controlName(){return a("CMD.radio",null,"\u5355\u9009")}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}Yt.controlEventKeys=["on_change","on_click"],Yt.controlFieldType=C.VARCHAR,Yt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:a("CMD.79a61774578997632"),default:"default",options:[{value:"default",label:a("CMD.a1171774579045618")},{value:"button",label:a("CMD.a4b41774579046938")}]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class ds extends F{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}static get controlType(){return"radio"}}ds.controlFieldType=C.VARCHAR;var hs={Designer:Yt,Runtime:ds,Property:tu};class tB extends z{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:200,message:a("CMD.pleaseEnterNumberRange",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")},{pattern:"",message:""}],this.rangeMax={type:"any"};const i=e.rangeMax===""?void 0:e.rangeMax,n=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue[0].max=i,this.defaultValue[0].min=n,this.defaultValue[0].message=a("CMD.pleaseEnterNumberRange",{max:i,min:n},"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"),n&&i!==void 0&&(this.rangeMax={type:"number",min:n,message:a("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")}),this.defaultValue[1].pattern=Ut(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class iB extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const i=e.rangeMax!==""?e.rangeMax:void 0,n=e.rangeMin!==""?e.rangeMin:void 0;this.push({type:"number",max:i,min:n,message:a(i===void 0?"CMD.pleaseEnterAValueGreaterThanMin":n===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:i,min:n},a(i===void 0?"CMD.16921751712133509":n===void 0?"CMD.f0231751712135569":"CMD.78ab1751712129046"))}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:Ut(e.regularRules.expression),message:e.regularRules.errMessage})}}class pt extends A{constructor(e){var i,n,u,l,r,c,s,h,d,f,g,E,_,b,D,m;super(e),this.rangeMin=(i=e==null?void 0:e.rangeMin)!=null?i:"",this.rangeMax=(n=e==null?void 0:e.rangeMax)!=null?n:"",this.numberType=(u=e==null?void 0:e.numberType)!=null?u:"number",this.percentageFormat=(l=e==null?void 0:e.percentageFormat)!=null?l:!1,this.micrometer=(r=e==null?void 0:e.micrometer)!=null?r:!1,this.precision=(c=e==null?void 0:e.precision)!=null?c:0,this.showUpperCase=(s=e==null?void 0:e.showUpperCase)!=null?s:!1,this.isShowUnit=(h=e==null?void 0:e.isShowUnit)!=null?h:!1,this.unitPosition=(d=e==null?void 0:e.unitPosition)!=null?d:"right",this.unit=(f=e==null?void 0:e.unit)!=null?f:"",this.caption=(g=e==null?void 0:e.caption)!=null?g:ei.controlName,this.placeholder=(E=e==null?void 0:e.placeholder)!=null?E:a("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.defaultValue=(_=e==null?void 0:e.defaultValue)!=null?_:"",this.regularRules=new oo(e==null?void 0:e.regularRules),this.isShowControlButton=(b=e==null?void 0:e.isShowControlButton)!=null?b:!1,this.controlButtonPosition=(D=e==null?void 0:e.controlButtonPosition)!=null?D:"between",this.step=(m=e==null?void 0:e.step)!=null?m:1}}pt.Rules=tB,pt.RuntimeRules=iB;class ei extends T{constructor(e){super(e),this.props=new pt(e==null?void 0:e.props)}static get controlName(){return a("CMD.number",null,"\u6570\u5B57")}static get controlIcon(){return"iconnuminput_new"}static get controlType(){return"number"}toDataBindModel(e){const i=super.toDataBindModel(e);if(i&&!Array.isArray(i)){const{precision:n,micrometer:u}=this.props;n!==""&&(i.props.precision=n),i.props.micrometer=u}return i}}ei.controlEventKeys=["on_change","on_input","on_focus","on_blur"],ei.controlFieldType=C.DECIMAL,ei.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.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:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_UNIT,o.IS_SHOW_CAPTION_TIP]},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[o.SHOW_UPPER_CASE,o.MICROMETER,o.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class ys extends F{constructor(e){super(e),this.props=new pt(e==null?void 0:e.props)}static get controlType(){return"number"}}ys.controlFieldType=C.DECIMAL;var fs={Designer:ei,Runtime:ys,Property:pt};class nB extends z{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:100,message:a("CMD.5d051777541586591")}],this.max={type:"any"};const i=e.max===""?void 0:e.max,n=e.min===""?void 0:e.min;this.defaultValue[0].max=i,this.defaultValue[0].min=n,this.defaultValue[0].message=a("CMD.5d051777541586591"),n!==void 0&&i!==void 0&&(this.max={type:"number",min:n,message:a("CMD.03c61777541622820")})}}class uB extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const i=e.max===""?void 0:e.max,n=e.min===""?void 0:e.min;this.push({type:"number",min:n,max:i,message:a(i===void 0?"CMD.0ea31777541589957":n===void 0?"CMD.61eb1777541593375":"CMD.5d051777541586591")})}}class ti extends A{constructor(e){var i,n,u,l,r,c,s,h;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:ii.controlName,this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:"",this.min=(u=e==null?void 0:e.min)!=null?u:0,this.max=(l=e==null?void 0:e.max)!=null?l:100,this.step=(r=e==null?void 0:e.step)!=null?r:1,this.showInput=(c=e==null?void 0:e.showInput)!=null?c:!0,this.showMarks=(s=e==null?void 0:e.showMarks)!=null?s:!1,this.marks=de((h=e==null?void 0:e.marks)!=null?h:[])}}ti.Rules=nB,ti.RuntimeRules=uB;class ii extends T{constructor(e){super(e),this.props=new ti(e==null?void 0:e.props)}static get controlName(){return a("CMD.7fa81777541762879")}static get controlType(){return"slider"}static get controlIcon(){return"iconhuakuai"}}ii.controlEventKeys=["on_change"],ii.controlFieldType=C.DECIMAL,ii.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"slider-setting",visible:!0},{key:"super-setting",visible:!0}];class vs extends F{constructor(e){super(e),this.props=new ti(e==null?void 0:e.props)}static get controlType(){return"slider"}}vs.controlFieldType=C.DECIMAL;var ms={Designer:ii,Runtime:vs,Property:ti};class lB extends z{constructor(e){super(e)}}class aB extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="number",this[0].min=0,this[0].max=1)}}class ni extends A{constructor(e){var i,n,u,l,r,c,s,h,d;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:ui.controlName,this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:1,this.textDisplayStyle=(u=e==null?void 0:e.textDisplayStyle)!=null?u:"inside",this.checkedText=(l=e==null?void 0:e.checkedText)!=null?l:a("CMD.f0301777541765473"),this.checkedTextColor=(r=e==null?void 0:e.checkedTextColor)!=null?r:"#ffffff",this.checkedBackgroundColor=(c=e==null?void 0:e.checkedBackgroundColor)!=null?c:"#4C78FC",this.uncheckedText=(s=e==null?void 0:e.uncheckedText)!=null?s:a("CMD.106d1777541766792"),this.uncheckedTextColor=(h=e==null?void 0:e.uncheckedTextColor)!=null?h:"#ffffff",this.uncheckedBackgroundColor=(d=e==null?void 0:e.uncheckedBackgroundColor)!=null?d:"#BFBFBF"}}ni.Rules=lB,ni.RuntimeRules=aB;class ui extends T{constructor(e){super(e),this.props=new ni(e==null?void 0:e.props)}static get controlName(){return a("CMD.e11c1777541764390")}static get controlIcon(){return"iconkaiguanguan"}static get controlType(){return"switch"}}ui.controlEventKeys=["on_change"],ui.controlFieldType=C.DECIMAL,ui.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"common-button-radio",visible:!0,name:"defaultValue",label:a("CMD.760c1777541720778"),default:0,options:[{value:1,label:a("CMD.f48b1777541765472")},{value:0,label:a("CMD.4a541777541766791")}]},{key:"common-button-radio",visible:!0,name:"textDisplayStyle",label:a("CMD.478a1777541651375"),default:"inside",options:[{value:"inside",label:a("CMD.e7ef1777541748888")},{value:"outside",label:a("CMD.38711777541750404")}]},{key:"common-group",visible:!0,label:a("CMD.35f21777541706717"),children:[{key:"common-input",visible:!0,name:"checkedText",layout:"horizontal",label:a("CMD.9a801777541722584")},{key:"color",visible:!0,name:"checkedTextColor",layout:"horizontal",label:a("CMD.d1da1777541653501")},{key:"color",visible:!0,name:"checkedBackgroundColor",layout:"horizontal",label:a("CMD.4e821777541655793")},{key:"common-input",visible:!0,name:"uncheckedText",layout:"horizontal",label:a("CMD.886f1777541724447")},{key:"color",visible:!0,name:"uncheckedTextColor",layout:"horizontal",label:a("CMD.93231777541658161")},{key:"color",visible:!0,name:"uncheckedBackgroundColor",layout:"horizontal",label:a("CMD.04e91777541660486")}]},{key:"super-setting",visible:!0}];class gs extends F{constructor(e){super(e),this.props=new ni(e==null?void 0:e.props)}static get controlType(){return"switch"}}gs.controlFieldType=C.DECIMAL;var bs={Designer:ui,Runtime:gs,Property:ni};class rB extends Le{constructor(e){super(e)}}class oB extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class li extends A{constructor(e){var i,n,u,l,r,c,s,h,d;super(e),this.options=de((i=e==null?void 0:e.options)!=null?i:[{label:a("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:a("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:a("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:a("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:a("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:a("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.defaultShowOptions=(n=e==null?void 0:e.defaultShowOptions)!=null?n:!0,this.caption=(u=e==null?void 0:e.caption)!=null?u:ai.controlName,this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.size=(r=e==null?void 0:e.size)!=null?r:"medium",this.align=(c=e==null?void 0:e.align)!=null?c:"left",this.color=(s=e==null?void 0:e.color)!=null?s:"default",this.optionConfig=(h=e==null?void 0:e.optionConfig)!=null?h:"custom",this.datasourceBind=new W(e==null?void 0:e.datasourceBind),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.forEach(f=>{var g;(g=this.multistageFilling)==null||g.push(new Q(f))}))}}li.Rules=rB,li.RuntimeRules=oB;class ai extends T{constructor(e){super(e),this.props=new li(e==null?void 0:e.props)}static get controlName(){return a("CMD.tag",null,"\u6807\u7B7E")}static get controlIcon(){return"iconbiaoqian"}static get controlType(){return"tag"}}ai.controlEventKeys=["on_click"],ai.controlFieldType=C.ARRAY,ai.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP,o.DEFAULT_SHOW_OPTIONS]},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"common-button-radio",visible:!0,name:"size",label:a("CMD.size",null,"\u6807\u7B7E\u5C3A\u5BF8"),default:"medium",options:[{value:"large",label:a("CMD.88fc1777541775429")},{value:"medium",label:a("CMD.f7b51777541776645")},{value:"small",label:a("CMD.6b7d1777541777847")}]},{key:"common-button-radio",visible:!0,name:"align",label:a("CMD.dc011777541726235"),default:"left",tip:a("CMD.1e6c1777541596761"),options:[{value:"left",label:a("CMD.e29a1777541743101")},{value:"center",label:a("CMD.f0c51777541758749")},{value:"right",label:a("CMD.b69e1777541744540")}]},{key:"common-select",visible:!0,name:"color",label:a("CMD.8fc41777541768092"),default:"default",options:[{value:"default",label:a("CMD.8fc41777541768092")},{value:"success",label:a("CMD.4ad61777541769394")},{value:"processing",label:a("CMD.d74b1777541751881")},{value:"error",label:a("CMD.64911777541770890")},{value:"warning",label:a("CMD.b6eb1777541772158")}]},{key:"options-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Cs extends F{constructor(e){super(e),this.props=new li(e==null?void 0:e.props)}static get controlType(){return"tag"}}Cs.controlFieldType=C.ARRAY;var Es={Designer:ai,Runtime:Cs,Property:li};class cB extends z{constructor(e){super(e)}}class sB extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="string")}}class ri extends A{constructor(e){var i,n,u,l,r,c,s,h,d;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:oi.controlName,this.placeholder=(n=e==null?void 0:e.placeholder)!=null?n:a("CMD.5c5a1777541746080"),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.codeHeight=(l=e==null?void 0:e.codeHeight)!=null?l:80,this.codeWidth=(r=e==null?void 0:e.codeWidth)!=null?r:1,this.codeMargin=(c=e==null?void 0:e.codeMargin)!=null?c:0,this.barcodeColor=(s=e==null?void 0:e.barcodeColor)!=null?s:"#000000",this.align=(h=e==null?void 0:e.align)!=null?h:"left",this.displayValue=(d=e==null?void 0:e.displayValue)!=null?d:!1}}ri.Rules=cB,ri.RuntimeRules=sB;class oi extends T{constructor(e){super(e),this.props=new ri(e==null?void 0:e.props)}static get controlName(){return a("CMD.9fb91777541735669")}static get controlIcon(){return"icontiaoxingma"}static get controlType(){return"barcode"}}oi.controlEventKeys=["on_change"],oi.controlFieldType=C.VARCHAR,oi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"common-group",visible:!0,label:a("CMD.6e021777541706714"),children:[{key:"common-input-number",visible:!0,name:"codeHeight",layout:"horizontal",label:a("CMD.a5611777541611406")},{key:"common-input-number",visible:!0,name:"codeWidth",layout:"horizontal",label:a("CMD.453a1777541614098")},{key:"common-input-number",visible:!0,name:"codeMargin",layout:"horizontal",label:a("CMD.fc751777541645066")},{key:"common-switch",visible:!0,name:"displayValue",layout:"horizontal",label:a("CMD.6c311777541737079")}]},{key:"common-group",visible:!0,label:a("CMD.7a091777541710451"),children:[{key:"common-select",visible:!0,name:"barcodeColor",label:a("CMD.01a11777541712546"),default:"#000000",options:[{value:"#000000",label:a("CMD.c1fb1777541756177")},{value:"#001F3F",label:a("CMD.c5de1777541714576")},{value:"#004225",label:a("CMD.91211777541716842")},{value:"#4A0404",label:a("CMD.49421777541738691")},{value:"#2F2F2F",label:a("CMD.99701777541740192")},{value:"#1A237E",label:a("CMD.5c681777541741804")}]},{key:"common-button-radio",visible:!0,name:"align",label:a("CMD.6abe1777541757478"),default:"left",options:[{value:"left",label:a("CMD.70c61777541743098")},{value:"center",label:a("CMD.41551777541758747")},{value:"right",label:a("CMD.1fc91777541744537")}]}]},{key:"super-setting",visible:!0}];class _s extends F{constructor(e){super(e),this.props=new ri(e==null?void 0:e.props)}static get controlType(){return"barcode"}}_s.controlFieldType=C.VARCHAR;var Is={Designer:oi,Runtime:_s,Property:ri};class dB extends z{constructor(e){super(e)}}class hB extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="string")}}class ci extends A{constructor(e){var i,n,u,l,r,c,s,h,d;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:si.controlName,this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:"",this.qrVersion=(u=e==null?void 0:e.qrVersion)!=null?u:"auto",this.errorCorrectionLevel=(l=e==null?void 0:e.errorCorrectionLevel)!=null?l:"M",this.codeMode=(r=e==null?void 0:e.codeMode)!=null?r:"qrCode",this.size=(c=e==null?void 0:e.size)!=null?c:160,this.codeMargin=(s=e==null?void 0:e.codeMargin)!=null?s:0,this.qrColor=(h=e==null?void 0:e.qrColor)!=null?h:"#000000",this.align=(d=e==null?void 0:e.align)!=null?d:"left"}}ci.Rules=dB,ci.RuntimeRules=hB;class si extends T{constructor(e){super(e),this.props=new ci(e==null?void 0:e.props)}static get controlName(){return a("CMD.034d1777541747382")}static get controlIcon(){return"iconerweima"}static get controlType(){return"qr-code"}}si.controlEventKeys=["on_change"],si.controlFieldType=C.VARCHAR,si.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"common-group",visible:!0,label:a("CMD.48ab1777541706716"),children:[{key:"common-select",visible:!0,name:"qrVersion",label:a("CMD.9f5f1777541682089"),default:"auto",options:[{value:"auto",label:a("CMD.43211777541760099")},{value:"1",label:"1 (21*21)"},{value:"2",label:"2 (25*25)"},{value:"3",label:"3 (29*29)"},{value:"4",label:"4 (33*33)"},{value:"5",label:"5 (37*37)"},{value:"6",label:"6 (41*41)"},{value:"7",label:"7 (45*45)"},{value:"8",label:"8 (49*49)"},{value:"9",label:"9 (53*53)"},{value:"10",label:"10 (57*57)"},{value:"11",label:"11 (61*61)"},{value:"12",label:"12 (65*65)"},{value:"13",label:"13 (69*69)"},{value:"14",label:"14 (73*73)"},{value:"15",label:"15 (77*77)"},{value:"16",label:"16 (81*81)"},{value:"17",label:"17 (85*85)"},{value:"18",label:"18 (89*89)"},{value:"19",label:"19 (93*93)"},{value:"20",label:"20 (97*97)"},{value:"21",label:"21 (101*101)"},{value:"22",label:"22 (105*105)"},{value:"23",label:"23 (109*109)"},{value:"24",label:"24 (113*113)"},{value:"25",label:"25 (117*117)"},{value:"26",label:"26 (121*121)"},{value:"27",label:"27 (125*125)"},{value:"28",label:"28 (129*129)"},{value:"29",label:"29 (133*133)"},{value:"30",label:"30 (137*137)"},{value:"31",label:"31 (141*141)"},{value:"32",label:"32 (145*145)"},{value:"33",label:"33 (149*149)"},{value:"34",label:"34 (153*153)"},{value:"35",label:"35 (157*157)"},{value:"36",label:"36 (161*161)"},{value:"37",label:"37 (165*165)"},{value:"38",label:"38 (169*169)"},{value:"39",label:"39 (173*173)"},{value:"40",label:"40 (177*177)"}]},{key:"common-select",visible:!0,name:"errorCorrectionLevel",label:a("CMD.a9b81777541718919"),default:"M",options:[{value:"L",label:a("CMD.3e9b1777541634899")},{value:"M",label:a("CMD.bc7a1777541617060")},{value:"Q",label:a("CMD.3ce71777541620174")},{value:"H",label:a("CMD.b5841777541605769")}]},{key:"common-select",visible:!0,name:"codeMode",label:a("CMD.ae891777541761573"),default:"qrCode",options:[{value:"qrCode",label:"QR Code"}]},{key:"common-input-number",visible:!0,name:"size",layout:"horizontal",label:a("CMD.dd381777541646923")},{key:"common-input-number",visible:!0,name:"codeMargin",layout:"horizontal",label:a("CMD.71a11777541645070")}]},{key:"common-group",visible:!0,label:a("CMD.523e1777541710452"),children:[{key:"common-select",visible:!0,name:"qrColor",label:a("CMD.41081777541683947"),default:"#000000",options:[{value:"#000000",label:a("CMD.a5211777541756178")},{value:"#001F3F",label:a("CMD.18241777541714577")},{value:"#004225",label:a("CMD.cb4e1777541716843")},{value:"#4A0404",label:a("CMD.e0d51777541738692")},{value:"#2F2F2F",label:a("CMD.98df1777541740192")},{value:"#1A237E",label:a("CMD.9e1f1777541741805")}]},{key:"common-button-radio",visible:!0,name:"align",label:a("CMD.d82e1777541757479"),default:"left",options:[{value:"left",label:a("CMD.2e381777541743100")},{value:"center",label:a("CMD.262c1777541758748")},{value:"right",label:a("CMD.c4ee1777541744538")}]}]},{key:"super-setting",visible:!0}];class Ds extends F{constructor(e){super(e),this.props=new ci(e==null?void 0:e.props)}static get controlType(){return"qr-code"}}Ds.controlFieldType=C.VARCHAR;var Bs={Designer:si,Runtime:Ds,Property:ci};class Oa extends A{constructor(e){var i,n,u,l,r,c,s,h,d,f,g,E,_,b;super(e),this.dateType=(i=e==null?void 0:e.dateType)!=null?i:at.DATE,this.dateFormat=(n=e==null?void 0:e.dateFormat)!=null?n:"",this.commonTimeSetting=(u=e==null?void 0:e.commonTimeSetting)!=null?u:[],this.setValueType=(l=e==null?void 0:e.setValueType)!=null?l:"custom",this.caption=(r=e==null?void 0:e.caption)!=null?r:iu.controlName,this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c:a("CMD.pleaseEnterDate",null,"\u8BF7\u8F93\u5165\u65E5\u671F"),this.defaultValue=(s=e==null?void 0:e.defaultValue)!=null?s:"",this.limitDateList=(d=(h=e==null?void 0:e.limitDateList)==null?void 0:h.map(D=>new Sn(D)))!=null?d:[],this.allowDateRange=(f=e==null?void 0:e.allowDateRange)!=null?f:["",""],this.filterWeekend=(g=e==null?void 0:e.filterWeekend)!=null?g:!1,this.isInternational=(E=e==null?void 0:e.isInternational)!=null?E:!1,this.isShowCustomDateFormat=(_=e==null?void 0:e.isShowCustomDateFormat)!=null?_:!1,this.customDateFormat=(b=e==null?void 0:e.customDateFormat)!=null?b:""}}class iu extends T{constructor(e){super(e),this.props=new Oa(e==null?void 0:e.props)}static get controlName(){return a("CMD.timestamp",null,"\u65E5\u671F")}static get controlIcon(){return"iconriqi1"}static get controlType(){return"date-picker"}toDataBindModel(e){const i=super.toDataBindModel(e);if(i&&!Array.isArray(i)){const{dateType:n,isInternational:u}=this.props;i.props.dateType=n,i.props.isInternational=u}return i}}iu.controlFieldType=C.TIMESTAMP,iu.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"custom-date-format",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP,o.IS_INTERNATIONAL]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class ws extends F{constructor(e){super(e),this.props=new Oa(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}ws.controlFieldType=C.TIMESTAMP;var As={Designer:iu,Runtime:ws,Property:Oa};class yB extends N{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 nu extends A{constructor(e){var i,n,u,l,r,c,s,h,d,f,g,E;super(e),this.dataBind=new ho(e==null?void 0:e.dataBind),this.defaultValue=new yo(e==null?void 0:e.defaultValue),this.dateType=(i=e==null?void 0:e.dateType)!=null?i:at.DATE,this.dateFormat=(n=e==null?void 0:e.dateFormat)!=null?n:"",this.commonTimeSetting=(u=e==null?void 0:e.commonTimeSetting)!=null?u:[],this.setValueType=(l=e==null?void 0:e.setValueType)!=null?l:"custom",this.rangeMin=(r=e==null?void 0:e.rangeMin)!=null?r:"",this.rangeMax=(c=e==null?void 0:e.rangeMax)!=null?c:"",this.placeholderStart=(s=e==null?void 0:e.placeholderStart)!=null?s:a("CMD.pleaseSelectStartDate",null,"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F"),this.placeholderEnd=(h=e==null?void 0:e.placeholderEnd)!=null?h:a("CMD.pleaseSelectEndDate",null,"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F"),this.caption=(d=e==null?void 0:e.caption)!=null?d:uu.controlName,this.limitDateList=(g=(f=e==null?void 0:e.limitDateList)==null?void 0:f.map(_=>new Sn(_)))!=null?g:[],this.isInternational=(E=e==null?void 0:e.isInternational)!=null?E:!1}}nu.RuntimeRules=yB;class uu extends T{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}static get controlName(){return a("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"date-range"}toDataBindModel(e){const i=super.toDataBindModel(e);if(i&&!Array.isArray(i)){const{dateType:n,isInternational:u}=this.props;i.props.dateType=n,i.props.isInternational=u}return i}}uu.controlFieldType=C.TIMESCOPE,uu.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],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:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP,o.IS_INTERNATIONAL]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Ts extends F{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}static get controlType(){return"date-range"}}Ts.controlFieldType=C.TIMESCOPE;var Fs={Designer:uu,Runtime:Ts,Property:nu};class ka extends A{constructor(e){var i,n,u,l,r,c,s,h;super(e),this.timeType=(i=e==null?void 0:e.timeType)!=null?i:Or.HOURSEC,this.format=(n=e==null?void 0:e.format)!=null?n:"",this.caption=(u=e==null?void 0:e.caption)!=null?u:lu.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:a("CMD.c9dc1774578987545"),this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:"",this.limitTimeList=(s=(c=e==null?void 0:e.limitTimeList)==null?void 0:c.map(d=>new oa(d)))!=null?s:[],this.isInternational=(h=e==null?void 0:e.isInternational)!=null?h:!1}}class lu extends T{constructor(e){super(e),this.props=new ka(e==null?void 0:e.props)}static get controlName(){return a("CMD.9e0e1774579048265")}static get controlIcon(){return"iconshijian31"}static get controlType(){return"time-picker"}}lu.controlFieldType=C.TIMESTAMP,lu.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"time-type",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP,o.IS_INTERNATIONAL]},{key:"time-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Ss extends F{constructor(e){super(e),this.props=new ka(e==null?void 0:e.props)}static get controlType(){return"time-picker"}}Ss.controlFieldType=C.TIMESTAMP;var Ps={Designer:lu,Runtime:Ss,Property:ka};class fB extends N{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 au extends A{constructor(e){var i,n,u,l,r,c,s,h,d,f;super(e),this.dataBind=new ho(e==null?void 0:e.dataBind),this.defaultValue=new yo(e==null?void 0:e.defaultValue),this.timeType=(i=e==null?void 0:e.timeType)!=null?i:Or.HOURSEC,this.format=(n=e==null?void 0:e.format)!=null?n:"",this.rangeMin=(u=e==null?void 0:e.rangeMin)!=null?u:"",this.rangeMax=(l=e==null?void 0:e.rangeMax)!=null?l:"",this.placeholderStart=(r=e==null?void 0:e.placeholderStart)!=null?r:a("CMD.be931774579000687"),this.placeholderEnd=(c=e==null?void 0:e.placeholderEnd)!=null?c:a("CMD.0a501774579002398"),this.caption=(s=e==null?void 0:e.caption)!=null?s:ru.controlName,this.limitTimeList=(d=(h=e==null?void 0:e.limitTimeList)==null?void 0:h.map(g=>new oa(g)))!=null?d:[],this.isInternational=(f=e==null?void 0:e.isInternational)!=null?f:!1}}au.RuntimeRules=fB;class ru extends T{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}static get controlName(){return a("CMD.103e1774578999219")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"time-range"}}ru.controlFieldType=C.TIMESCOPE,ru.setting=[{key:"data-bind-time-range",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-input",visible:!0,name:"placeholderStart",label:a("CMD.b54f1774578958298")},{key:"common-input",visible:!0,name:"placeholderEnd",label:a("CMD.680d1774578960613")},{key:"time-type",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP,o.IS_INTERNATIONAL]},{key:"time-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Os extends F{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}static get controlType(){return"time-range"}}Os.controlFieldType=C.TIMESCOPE;var ks={Designer:ru,Runtime:Os,Property:au};class vB extends z{constructor(e){super(e),this.maxLength={type:"number",min:0,message:a("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:1e6,message:a("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")},this.defaultValue={type:"string",max:200,min:0,message:a("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=a("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}}class mB extends N{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:a("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")})}}class di extends A{constructor(e){var i,n,u,l,r,c,s,h,d,f;super(e),this.maxLength=(i=e==null?void 0:e.maxLength)!=null?i:5e4,this.minLength=(n=e==null?void 0:e.minLength)!=null?n:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(l=e==null?void 0:e.caption)!=null?l:hi.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:a("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.rowHeightSetting=new WE(e==null?void 0:e.rowHeightSetting),this.aiContentSearch=(c=e==null?void 0:e.aiContentSearch)!=null?c:!1,this.aiGeneration=(s=e==null?void 0:e.aiGeneration)!=null?s:!1,this.aiOptions=so((h=e==null?void 0:e.aiOptions)!=null?h:[{label:a("CMD.aiOptionOneLabel",null,"\u603B\u7ED3"),cueWord:a("CMD.aiOptionOneCurword",null,"SUMM"),checked:!0},{label:a("CMD.aiOptionTwoLabel",null,"\u4E30\u5BCC"),cueWord:a("CMD.aiOptionTwoCurword",null,"RICH"),checked:!1},{label:a("CMD.aiOptionThreeLabel",null,"\u7FFB\u8BD1"),cueWord:a("CMD.aiOptionThreeCurword",null,"TRANS"),checked:!1}]),this.autoHeight=(d=e==null?void 0:e.autoHeight)!=null?d:!1,this.lineEllipsis=(f=e==null?void 0:e.lineEllipsis)!=null?f:1}}di.Rules=vB,di.RuntimeRules=mB;class hi extends T{constructor(e){super(e),this.props=new di(e==null?void 0:e.props)}static get controlName(){return a("CMD.textarea",null,"\u591A\u884C\u6587\u672C")}static get controlIcon(){return"iconMultilineline_new1"}static get controlType(){return"textarea"}}hi.controlEventKeys=["on_change","on_input","on_focus","on_blur"],hi.controlFieldType=C.TEXT,hi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!1},{key:"ai-generation",visible:!0},{key:"column-autoHeight",visible:!1},{key:"column-line-ellipsis",visible:!1},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"row-height-setting",visible:!0},{key:"super-setting",visible:!0}];class Rs extends F{constructor(e){super(e),this.props=new di(e==null?void 0:e.props)}static get controlType(){return"textarea"}}Rs.controlFieldType=C.TEXT;var Ms={Designer:hi,Runtime:Rs,Property:di};class gB extends z{constructor(e){super(e),this.maxLength={type:"number",min:0,message:a("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:1e6,message:a("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")},this.defaultValue={type:"string",max:200,min:0,message:a("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=a("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}}class bB extends N{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:a("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")})}}class yi extends A{constructor(e){var i,n,u,l,r,c,s,h,d,f,g;super(e),this.maxLength=(i=e==null?void 0:e.maxLength)!=null?i:5e4,this.minLength=(n=e==null?void 0:e.minLength)!=null?n:0,this.height=(u=e==null?void 0:e.height)!=null?u:300,this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:"",this.caption=(r=e==null?void 0:e.caption)!=null?r:fi.controlName,this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c:a("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.aiContentSearch=(s=e==null?void 0:e.aiContentSearch)!=null?s:!1,this.aiGeneration=(h=e==null?void 0:e.aiGeneration)!=null?h:!1,this.aiOptions=so((d=e==null?void 0:e.aiOptions)!=null?d:[{label:a("CMD.aiOptionOneLabel",null,"\u603B\u7ED3"),cueWord:a("CMD.aiOptionOneCurword",null,"SUMM"),checked:!0},{label:a("CMD.aiOptionTwoLabel",null,"\u4E30\u5BCC"),cueWord:a("CMD.aiOptionTwoCurword",null,"RICH"),checked:!1},{label:a("CMD.aiOptionThreeLabel",null,"\u7FFB\u8BD1"),cueWord:a("CMD.aiOptionThreeCurword",null,"TRANS"),checked:!1}]),this.autoHeight=(f=e==null?void 0:e.autoHeight)!=null?f:!1,this.lineEllipsis=(g=e==null?void 0:e.lineEllipsis)!=null?g:1}}yi.Rules=gB,yi.RuntimeRules=bB;class fi extends T{constructor(e){super(e),this.props=new yi(e==null?void 0:e.props)}static get controlName(){return a("CMD.richText",null,"\u5BCC\u6587\u672C")}static get controlIcon(){return"iconRichtextbox_new"}static get controlType(){return"rich-text"}}fi.controlEventKeys=["on_change","on_input","on_focus","on_blur"],fi.controlFieldType=C.TEXT,fi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.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:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"ai-content-search",visible:!1},{key:"ai-generation",visible:!0},{key:"column-autoHeight",visible:!1},{key:"column-line-ellipsis",visible:!1},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"common-input-number",visible:!0,name:"height",layout:"horizontal",label:a("CMD.131c1777541649034"),min:300},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}];class xs extends F{constructor(e){super(e),this.props=new yi(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}xs.controlFieldType=C.TEXT;var Ns={Designer:fi,Runtime:xs,Property:yi};class CB extends Le{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:a("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class ou extends A{constructor(e){var i,n,u,l,r,c,s,h,d,f,g,E;super(e),this.options=de((i=e==null?void 0:e.options)!=null?i:[{label:a("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:a("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:a("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:a("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:a("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:a("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.defaultShowOptions=(n=e==null?void 0:e.defaultShowOptions)!=null?n:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.caption=(l=e==null?void 0:e.caption)!=null?l:cu.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:a("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(c=e==null?void 0:e.defaultValue)!=null?c:"",this.allowCopyOptions=(s=e==null?void 0:e.allowCopyOptions)!=null?s:!1,this.openMultistageFilling=(h=e==null?void 0:e.openMultistageFilling)!=null?h:!1,this.type=(d=e==null?void 0:e.type)!=null?d:"default",this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var b;(b=this.multistageFilling)==null||b.push(new Q(_))})),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 rt(e==null?void 0:e.formBind),this.aiContentSearch=(E=e==null?void 0:e.aiContentSearch)!=null?E:!1}}ou.Rules=CB;class cu extends T{constructor(e){super(e),this.props=new ou(e==null?void 0:e.props)}static get controlName(){return a("CMD.select",null,"\u4E0B\u62C9\u5355\u9009")}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}cu.controlFieldType=C.VARCHAR,cu.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.DEFAULT_SHOW_OPTIONS,o.IS_SHOW_CAPTION_TIP,o.ALLOW_COPY_OPTIONS]},{key:"ai-content-search",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:a("CMD.de501774578997633"),default:"default",options:[{value:"default",label:a("CMD.10a31774579045620")},{value:"button",label:a("CMD.db4d1774579046939")}]},{key:"options-setting",visible:!0,showItems:[o.CAN_VIEW_FORM,o.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Ls extends F{constructor(e){super(e),this.props=new ou(e==null?void 0:e.props)}static get controlType(){return"select"}}Ls.controlFieldType=C.VARCHAR;var $s={Designer:cu,Runtime:Ls,Property:ou};class EB extends Le{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:a("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class _B extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class vi extends A{constructor(e){var i,n,u,l,r,c,s,h,d,f,g;super(e),this.options=de((i=e==null?void 0:e.options)!=null?i:[{label:a("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:a("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:a("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:a("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:a("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:a("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.defaultShowOptions=(n=e==null?void 0:e.defaultShowOptions)!=null?n:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.caption=(l=e==null?void 0:e.caption)!=null?l:su.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:a("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(c=e==null?void 0:e.defaultValue)!=null?c:[],this.openMultistageFilling=(s=e==null?void 0:e.openMultistageFilling)!=null?s:!1,this.type=(h=e==null?void 0:e.type)!=null?h:"default",this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(E=>{var _;(_=this.multistageFilling)==null||_.push(new Q(E))})),this.canViewForm=(d=e==null?void 0:e.canViewForm)!=null?d:!1,this.viewFormModelType=(f=e==null?void 0:e.viewFormModelType)!=null?f:"window",this.formBind=new rt(e==null?void 0:e.formBind),this.aiContentSearch=(g=e==null?void 0:e.aiContentSearch)!=null?g:!1}}vi.Rules=EB,vi.RuntimeRules=_B;class su extends T{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlName(){return a("CMD.selectMultiple",null,"\u4E0B\u62C9\u591A\u9009")}static get controlIcon(){return"iconxialaduoxuan"}static get controlType(){return"select-multiple"}}su.controlFieldType=C.ARRAY,su.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.DEFAULT_SHOW_OPTIONS,o.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!0},{key:"options-setting",visible:!0,showItems:[o.CAN_VIEW_FORM,o.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Hs extends F{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}Hs.controlFieldType=C.ARRAY;var Vs={Designer:su,Runtime:Hs,Property:vi};class IB extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class du extends A{constructor(e){var i,n,u,l,r,c,s,h,d;super(e),this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.range=(n=e==null?void 0:e.range)!=null?n:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(l=e==null?void 0:e.multiple)!=null?l:!1,this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.defaultValue=(c=e==null?void 0:e.defaultValue)!=null?c:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:hu.controlName,this.placeholder=(h=e==null?void 0:e.placeholder)!=null?h:a("CMD.pleaseEnterNameorEmail",null,"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1"),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(f=>{var g;(g=this.multistageFilling)==null||g.push(new Q(f))}))}}du.RuntimeRules=IB;class hu extends T{constructor(e){super(e),this.props=new du(e==null?void 0:e.props)}static get controlName(){return a("CMD.people",null,"\u4EBA\u5458")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}hu.controlFieldType=C.EMPLOYEES,hu.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.MULTIPLE,o.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 js extends F{constructor(e){super(e),this.props=new du(e==null?void 0:e.props)}static get controlType(){return"employee"}}js.controlFieldType=C.EMPLOYEES;var qs={Designer:hu,Runtime:js,Property:du};const DB=10485760,BB=104857600,wB=1048576e3;class AB extends z{constructor(e){super(e),this.maxSize={type:"number",min:0,max:wB,message:a("CMD.attachmentMaxSize",null,"\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4")}}}class TB extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:a("CMD.attachmentLimitError",{max:e.maxLimit,min:e.minLimit},"\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236")})}}class Tt extends A{constructor(e){var i,n,u,l,r,c,s,h,d,f,g,E,_,b,D,m,I;super(e),this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:[],this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.resultShowType=(u=e==null?void 0:e.resultShowType)!=null?u:"simple",this.attachmentAccept=(l=e==null?void 0:e.attachmentAccept)!=null?l:[],this.maxLimit=(r=e==null?void 0:e.maxLimit)!=null?r:10,this.minLimit=(c=e==null?void 0:e.minLimit)!=null?c:0,this.maxSize=(s=e==null?void 0:e.maxSize)!=null?s:BB,this.caption=(h=e==null?void 0:e.caption)!=null?h:Ft.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:a("CMD.uploadFile",null,"\u4E0A\u4F20\u9644\u4EF6"),this.isShowWatermark=(f=e==null?void 0:e.isShowWatermark)!=null?f:!1,this.watermarkFx=(g=e==null?void 0:e.watermarkFx)!=null?g:{},this.operation=(E=e==null?void 0:e.operation)!=null?E:["info","preview","download"],this.aiExplanation=(_=e==null?void 0:e.aiExplanation)!=null?_:!1,this.aiExplanationLength=(b=e==null?void 0:e.aiExplanationLength)!=null?b:500,this.storageType=(D=e==null?void 0:e.storageType)!=null?D:"local",this.customOperation=(m=e==null?void 0:e.customOperation)!=null?m:[],this.describe=(I=e==null?void 0:e.describe)!=null?I:""}}Tt.Rules=AB,Tt.RuntimeRules=TB;class Ft extends T{constructor(e){super(e),this.props=new Tt(e==null?void 0:e.props)}static get controlName(){return a("CMD.file",null,"\u9644\u4EF6")}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}Ft.controlEventKeys=["on_change","on_file_actions"],Ft.controlFieldType=C.FILE,Ft.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"ai-explanation",visible:!0},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-custom-operation",visible:!0},{key:"attachment-operation",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Ra extends F{constructor(e){super(e),this.props=new Tt(e==null?void 0:e.props)}static get controlType(){return"attachment"}}Ra.controlFieldType=C.FILE;var Ws={Designer:Ft,Runtime:Ra,Property:Tt};const FB=10485760,SB=31457280;class PB extends z{constructor(e){super(e),this.maxSize={type:"number",min:0,max:SB,message:a("CMD.attachmentMaxSize",null,"\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F330MB\u4E4B\u95F4")}}}class yu extends Tt{constructor(e){var i,n,u,l,r,c,s,h;super(e),this.showType="image",this.maxLimit=(i=e==null?void 0:e.maxLimit)!=null?i:10,this.caption=(u=(n=e==null?void 0:e.caption)!=null?n:fu.controlName)!=null?u:a("CMD.image",null,"\u56FE\u7247"),this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:a("CMD.uploadImg",null,"\u4E0A\u4F20\u56FE\u7247"),this.compressTypeCode=(r=e==null?void 0:e.compressTypeCode)!=null?r:ga.NO_COMPRESS,this.compressRatio=(c=e==null?void 0:e.compressRatio)!=null?c:1,this.maxPixel=(s=e==null?void 0:e.maxPixel)!=null?s:1080,this.maxSize=(h=e==null?void 0:e.maxSize)!=null?h:FB}}yu.Rules=PB;class fu extends Ft{constructor(e){super(e),this.props=new yu(e==null?void 0:e.props)}static get controlName(){return a("CMD.image",null,"\u56FE\u7247")}static get controlIcon(){return"iconpic_new"}static get controlType(){return"image"}}fu.controlFieldType=C.IMAGE,fu.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"common-input",visible:!0,name:"describe",label:a("CMD.84591774578995829")},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP,o.IS_SHOW_WATERMARK]},{key:"compression-setting",visible:!0},{key:"ai-explanation",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class OB extends Ra{constructor(e){super(e),this.props=new yu(e==null?void 0:e.props)}static get controlType(){return"image"}}var Us={Designer:fu,Runtime:OB,Property:yu};class kB extends Le{constructor(e){super(e),this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:a("CMD.pleaseEnterNumberRange",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")}]}},this.rangeMax={type:"any"};const i=e.rangeMax===""?void 0:e.rangeMax,n=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue.fields.amount[0].max=i,this.defaultValue.fields.amount[0].min=n,this.defaultValue.fields.amount[0].message=a("CMD.pleaseEnterNumberRange",{max:i,min:n},"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"),n&&i!==void 0&&(this.rangeMax={type:"number",min:n,message:a("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")})}}class RB extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="object");const i=e.rangeMax===""?void 0:e.rangeMax,n=e.rangeMin===""?void 0:e.rangeMin;this.push({type:"object",fields:{amount:[Fr(lt({},this[0]),{type:"number"}),{type:"number",min:n,max:i,message:a(i===void 0?"CMD.pleaseEnterAValueGreaterThanMin":n===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:i,min:n},a(i===void 0?"CMD.51051751712133507":n===void 0?"CMD.41d01751712135567":"CMD.affe1751712129045"))}],currency:{type:"string"}}})}}class mi extends A{constructor(e){var i,n,u,l,r,c,s,h,d,f,g,E;super(e),this.rangeMin=(i=e==null?void 0:e.rangeMin)!=null?i:"",this.rangeMax=(n=e==null?void 0:e.rangeMax)!=null?n:"",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"datasource",this.micrometer=(l=e==null?void 0:e.micrometer)!=null?l:!1,this.precision=(r=e==null?void 0:e.precision)!=null?r:2,this.dataBind=new a_(e==null?void 0:e.dataBind),this.datasourceBind=new W((c=e==null?void 0:e.datasourceBind)!=null?c:{displayBoList:[new yl({value:"name"})]}),this.defaultValue=new r_((s=e==null?void 0:e.defaultValue)!=null?s:{amount:"",currency:d_.CNY}),this.unitPosition=(h=e==null?void 0:e.unitPosition)!=null?h:"right",this.options=de(e==null?void 0:e.options),this.caption=(d=e==null?void 0:e.caption)!=null?d:gi.controlName,this.placeholder=(f=e==null?void 0:e.placeholder)!=null?f:a("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.submitSelectCurrency=(g=e==null?void 0:e.submitSelectCurrency)!=null?g:!1,this.showUpperCase=(E=e==null?void 0:e.showUpperCase)!=null?E:!1}}mi.Rules=kB,mi.RuntimeRules=RB;class gi extends T{constructor(e){super(e),this.props=new mi(e==null?void 0:e.props)}static get controlName(){return a("CMD.amount",null,"\u91D1\u989D")}static get controlType(){return"amount"}static get controlIcon(){return"iconjine"}toDataBindModel(e){const i=super.toDataBindModel(e);if(i&&!Array.isArray(i)){const{precision:n,micrometer:u}=this.props;n!==""&&(i.props.precision=n),i.props.micrometer=u}return i}}gi.controlEventKeys=["on_change","on_input","on_focus","on_blur"],gi.controlFieldType=C.MONEY,gi.setting=[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.SUBMIT_SELECT_CURRENCY,o.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:[o.SHOW_UPPER_CASE,o.MICROMETER,o.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class zs extends F{constructor(e){super(e),this.props=new mi(e==null?void 0:e.props)}static get controlType(){return"amount"}}zs.controlFieldType=C.MONEY;var Gs={Designer:gi,Runtime:zs,Property:mi};class MB extends z{constructor(e){super(e),this.totalScore=[{type:"number",required:!0,message:a("CMD.pleaseEnterTotalScoreSetting",null,"\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E")},{type:"number",min:1,message:a("CMD.theTotalScoreMustNotBeLessThan1",null,"\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1")}],this.defaultValue={type:"number",min:0,max:5,message:a("CMD.scoreDefaultValueRange",null,"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")},this.defaultValue.max=e.totalScore,this.defaultValue.message=a("CMD.scoreDefaultValueRange",{max:e.totalScore,min:0},"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")}}class xB extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const i=e.required?1:0;this.push({type:"number",min:i,max:e.totalScore,message:a("CMD.scoreDefaultValueRange",{max:e.totalScore,min:i},"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")})}}class bi extends A{constructor(e){var i,n,u,l,r,c,s,h,d;super(e),this.totalScore=(i=e==null?void 0:e.totalScore)!=null?i:5,this.scoreType=(n=e==null?void 0:e.scoreType)!=null?n:ca.STAR,this.isShowExplain=(u=e==null?void 0:e.isShowExplain)!=null?u:!0,this.explain=(r=(l=e==null?void 0:e.explain)==null?void 0:l.map(f=>new Pn(f)))!=null?r:Array(this.totalScore).fill(void 0).map(()=>new Pn),this.defaultValue=(c=e==null?void 0:e.defaultValue)!=null?c:0,this.caption=(s=e==null?void 0:e.caption)!=null?s:Ci.controlName,this.explainColor=(h=e==null?void 0:e.explainColor)!=null?h:"primary",this.isShowCurrentScore=(d=e==null?void 0:e.isShowCurrentScore)!=null?d:!1}}bi.Rules=MB,bi.RuntimeRules=xB;class Ci extends T{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlName(){return a("CMD.score",null,"\u8BC4\u5206")}static get controlIcon(){return"iconpingfen"}static get controlType(){return"score"}postUpdate(e,i){if(e==="totalScore"){if(i===this.props.explain.length)return;if(this.props.explain.length>i)this.props.explain=this.props.explain.slice(0,i);else{const n=i-this.props.explain.length,u=Array(n).fill(void 0).map(()=>new Pn);this.props.explain.push(...u)}}super.postUpdate(e,i)}}Ci.controlEventKeys=["on_change","on_click"],Ci.controlFieldType=C.DECIMAL,Ci.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"common-color-type",visible:!0,name:"explainColor",label:a("CMD.71be1774578971263")},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"common-switch",visible:!0,name:"isShowCurrentScore",label:a("CMD.ded61774578956109"),default:!1},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Ks extends F{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlType(){return"score"}}Ks.controlFieldType=C.DECIMAL;var Qs={Designer:Ci,Runtime:Ks,Property:bi};class NB extends N{constructor(e){if(super(e),this[0]!==void 0&&(this[0].type="object"),e.required&&!e.isHide){const i={type:"object",fields:{}};e.addressType.includes("country")&&(i.fields.country={type:"string",required:e.required,message:a("CMD.pleaseSelectCountry",null,"\u8BF7\u9009\u62E9\u56FD\u5BB6")}),e.addressType.includes("province")&&(i.fields.province={type:"string",required:e.required,message:a("CMD.pleaseSelectProvince",null,"\u8BF7\u9009\u62E9\u7701")}),e.addressType.includes("city")&&(i.fields.city={type:"string",required:e.required,message:a("CMD.pleaseSelectCity",null,"\u8BF7\u9009\u62E9\u5E02")}),e.addressType.includes("district")&&(i.fields.district={type:"string",required:e.required,message:a("CMD.pleaseSelectDistrict",null,"\u8BF7\u9009\u62E9\u533A")}),this.push(i)}}}class vu extends A{constructor(e){var i,n,u,l,r,c;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:mu.controlName,this.defaultValueType=(n=e==null?void 0:e.defaultValueType)!=null?n:"default",this.countryScope=(u=e==null?void 0:e.countryScope)!=null?u:["100000"],this.addressType=(l=e==null?void 0:e.addressType)!=null?l:["country","province","city","district"],this.defaultValue=new o_((r=e==null?void 0:e.defaultValue)!=null?r:{}),this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c:a("CMD.pleaseChooseAddress",null,"\u8BF7\u9009\u62E9\u5730\u5740")}}vu.RuntimeRules=NB;class mu extends T{constructor(e){super(e),this.props=new vu(e==null?void 0:e.props)}static get controlName(){return a("CMD.address",null,"\u5730\u5740")}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}mu.controlFieldType=C.ADDRESS,mu.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Zs extends F{constructor(e){super(e),this.props=new vu(e==null?void 0:e.props)}static get controlName(){return a("CMD.e7c91751712163978")}static get controlIcon(){return"iconicon_site_management11"}static get controlType(){return"address"}}Zs.controlFieldType=C.ADDRESS;var Xs={Designer:mu,Runtime:Zs,Property:vu};class LB extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class gu extends A{constructor(e){var i,n,u,l,r,c,s,h,d,f,g;super(e),this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.multiple=(n=e==null?void 0:e.multiple)!=null?n:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(c=e==null?void 0:e.defaultValue)!=null?c:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(h=e==null?void 0:e.showSubDept)!=null?h:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:Ei.controlName,this.placeholder=(f=e==null?void 0:e.placeholder)!=null?f:a("CMD.pleaseSelectDept",null,"\u8BF7\u9009\u62E9\u90E8\u95E8"),this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(E=>{var _;(_=this.multistageFilling)==null||_.push(new Q(E))}))}}gu.RuntimeRules=LB;class Ei extends T{constructor(e){super(e),this.props=new gu(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department"}toDataBindModel(e){const i=super.toDataBindModel(e);if(i&&!Array.isArray(i)){const{displayLevel:n,showSubDept:u}=this.props;i.props.displayLevel=n,i.props.showSubDept=u}return i}}Ei.controlName=a("CMD.department",null,"\u90E8\u95E8"),Ei.controlFieldType=C.DEPARTMENTS,Ei.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.MULTIPLE,o.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 Js extends F{constructor(e){super(e),this.props=new gu(e==null?void 0:e.props)}static get controlType(){return"department"}}Js.controlFieldType=C.DEPARTMENTS;var Ys={Designer:Ei,Runtime:Js,Property:gu};class Ma extends A{constructor(e){var i,n,u;super(e),this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:"",this.caption=(n=e==null?void 0:e.caption)!=null?n:_i.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:a("CMD.pleaseEnterAutonumber",null,"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7")}}class _i extends T{constructor(e){super(e),this.props=new Ma(e==null?void 0:e.props)}static get controlName(){return a("CMD.autoNumber",null,"\u81EA\u52A8\u7F16\u53F7")}static get controlIcon(){return"iconnumber_new"}static get controlType(){return"auto-number"}}_i.controlEventKeys=["on_change"],_i.controlFieldType=C.AUTO_NUMBER,_i.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class ps extends F{constructor(e){super(e),this.props=new Ma(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}ps.controlFieldType=C.AUTO_NUMBER;var ed={Designer:_i,Runtime:ps,Property:Ma};class $B 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 HB extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),this.push({type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61"),fields:{result:[{type:"number",message:a("CMD.isNotNumber",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57")}],unit:{type:"string",message:a("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")}}})}}class Ii extends A{constructor(e){var i,n,u,l,r,c,s,h,d;super(e),this.precision=(i=e==null?void 0:e.precision)!=null?i:0,this.micrometer=(n=e==null?void 0:e.micrometer)!=null?n:!1,this.showUpperCase=(u=e==null?void 0:e.showUpperCase)!=null?u:!1,this.dataBind=new c_(e==null?void 0:e.dataBind),this.defaultValue=new s_(e==null?void 0:e.defaultValue),this.caption=(l=e==null?void 0:e.caption)!=null?l:Di.controlName,this.unitPosition=(r=e==null?void 0:e.unitPosition)!=null?r:"right",this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c:a("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.scriptEcho=(s=e==null?void 0:e.scriptEcho)!=null?s:[],this.scriptSrc=(h=e==null?void 0:e.scriptSrc)!=null?h:"",this.calcOnMounted=(d=e==null?void 0:e.calcOnMounted)!=null?d:!1}}Ii.Rules=$B,Ii.RuntimeRules=HB;class Di extends T{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}static get controlName(){return a("CMD.calc",null,"\u8BA1\u7B97\u516C\u5F0F")}static get controlType(){return"calc"}static get controlIcon(){return"iconcalculation_new"}toDataBindModel(e){const i=super.toDataBindModel(e);if(i&&!Array.isArray(i)){const{precision:n,micrometer:u}=this.props;n!==""&&(i.props.precision=n),i.props.micrometer=u}return i}}Di.controlEventKeys=["on_change"],Di.controlFieldType=C.CALC,Di.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],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:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"unit-position",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[o.SHOW_UPPER_CASE,o.MICROMETER,o.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class td extends F{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}static get controlType(){return"calc"}}td.controlFieldType=C.CALC;var id={Designer:Di,Runtime:td,Property:Ii};class VB extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({validator(i,n){return e.required&&n.every(l=>!l)?Promise.reject(a("CMD.runtimeRequired",{caption:e.caption},"{caption}\u5FC5\u586B")):Promise.resolve()}})}}class bu extends A{constructor(e){var i,n,u,l,r,c;super(e),this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:["",""],this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(u=e==null?void 0:e.rangeMax)!=null?u:"",this.placeholderStart=(l=e==null?void 0:e.placeholderStart)!=null?l:a("CMD.min",null,"\u6700\u5C0F\u503C"),this.placeholderEnd=(r=e==null?void 0:e.placeholderEnd)!=null?r:a("CMD.max",null,"\u6700\u5927\u503C"),this.caption=(c=e==null?void 0:e.caption)!=null?c:Cu.controlName}}bu.RuntimeRules=VB;class Cu extends T{constructor(e){super(e),this.props=new bu(e==null?void 0:e.props)}static get controlName(){return a("CMD.searchNumberRange",null,"\u6570\u5B57\u533A\u95F4")}static get controlIcon(){return"iconshuziqujian"}static get controlType(){return"search-number-range"}}Cu.controlFieldType=C.DECIMAL_RANGE,Cu.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],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:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class nd extends F{constructor(e){super(e),this.props=new bu(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}nd.controlFieldType=C.DECIMAL_RANGE;var ud={Designer:Cu,Runtime:nd,Property:bu};class jB extends N{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 Eu extends A{constructor(e){var i,n,u,l,r,c,s,h,d,f,g,E,_;super(e),this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:["",""],this.dateType=(n=e==null?void 0:e.dateType)!=null?n:at.DATE,this.dateFormat=(u=e==null?void 0:e.dateFormat)!=null?u:"",this.commonTimeSetting=(l=e==null?void 0:e.commonTimeSetting)!=null?l:[],this.setValueType=(r=e==null?void 0:e.setValueType)!=null?r:"custom",this.rangeMin=(c=e==null?void 0:e.rangeMin)!=null?c:"",this.rangeMax=(s=e==null?void 0:e.rangeMax)!=null?s:"",this.placeholderStart=(h=e==null?void 0:e.placeholderStart)!=null?h:a("CMD.startDate",null,"\u5F00\u59CB\u65E5\u671F"),this.placeholderEnd=(d=e==null?void 0:e.placeholderEnd)!=null?d:a("CMD.endDate",null,"\u7ED3\u675F\u65E5\u671F"),this.caption=(f=e==null?void 0:e.caption)!=null?f:_u.controlName,this.limitDateList=(E=(g=e==null?void 0:e.limitDateList)==null?void 0:g.map(b=>new Sn(b)))!=null?E:[],this.isInternational=(_=e==null?void 0:e.isInternational)!=null?_:!1}}Eu.RuntimeRules=jB;class _u extends T{constructor(e){super(e),this.props=new Eu(e==null?void 0:e.props)}static get controlName(){return a("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"search-date-range"}}_u.controlFieldType=C.ARRAY,_u.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],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:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class ld extends F{constructor(e){super(e),this.props=new Eu(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}ld.controlFieldType=C.ARRAY;var ad={Designer:_u,Runtime:ld,Property:Eu};class qB extends z{constructor(e){super(e),this.dataBind={type:"any"}}}class WB extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class Bi extends A{constructor(e){var i,n,u,l,r;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:St.controlName,this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:void 0,this.controlExportName=(u=e==null?void 0:e.controlExportName)!=null?u:"",this.permissions=(l=e==null?void 0:e.permissions)!=null?l:[],this.isInlineEdit=(r=e==null?void 0:e.isInlineEdit)!=null?r:!1}}Bi.Rules=qB,Bi.RuntimeRules=WB;class St extends T{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlName(){return a("CMD.vueFormItem",null,"Vue\u5BB9\u5668")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return"vue-form-item"}}St.controlFieldType=C.ANY,St.controlEventKeys=[],St.slots=["grid-table-toolbar-slot",kr.DEFAULT],St.setting=[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_HIDE_CAPTION,o.REQUIRED,o.IS_SHOW_CAPTION_TIP,o.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}];class rd extends F{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}rd.controlFieldType=C.ANY;var od={Designer:St,Runtime:rd,Property:Bi};class UB extends Le{constructor(e){super(e),this.listPageBind=[{type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:a("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{type:"string",required:!0,message:a("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}]}}],this.formBind={type:"object",fields:{formKey:{type:"string",message:a("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class Iu extends A{constructor(e){var i,n,u,l,r,c,s,h,d,f,g,E,_;super(e),this.options=de((i=e==null?void 0:e.options)!=null?i:[]),this.optionConfig=(n=e==null?void 0:e.optionConfig)!=null?n:"datasource",this.listPageBind=new hl(e==null?void 0:e.listPageBind),this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.caption=(u=e==null?void 0:e.caption)!=null?u:wi.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:a("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:"",this.openMultistageFilling=(c=e==null?void 0:e.openMultistageFilling)!=null?c:!1,this.showSelectedDetail=(s=e==null?void 0:e.showSelectedDetail)!=null?s:!1,this.selectedContentConfig=new vl(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(b=>{var D;(D=this.multistageFilling)==null||D.push(new Q(b))})),this.canViewForm=(h=e==null?void 0:e.canViewForm)!=null?h:!1,this.viewFormModelType=(d=e==null?void 0:e.viewFormModelType)!=null?d:"window",this.formBind=new rt(e==null?void 0:e.formBind),this.optionDisplayConfig=(f=e==null?void 0:e.optionDisplayConfig)!=null?f:[],this.canSearch=(g=e==null?void 0:e.canSearch)!=null?g:!1,this.aiContentSearch=(E=e==null?void 0:e.aiContentSearch)!=null?E:!1,this.defaultShowOptions=(_=e==null?void 0:e.defaultShowOptions)!=null?_:!1}}Iu.Rules=UB;class wi extends T{constructor(e){super(e),this.props=new Iu(e==null?void 0:e.props)}static get controlName(){return a("CMD.selectRelation",null,"\u5173\u8054\u5355\u9009")}static get controlIcon(){return"iconguanliandanxuan"}static get controlType(){return"select-relation"}toDataBindModel(e){const i=super.toDataBindModel(e);if(i&&!Array.isArray(i)){const{optionDisplayConfig:n}=this.props;i.props.optionDisplayConfig=n}return i}}wi.controlFieldType=C.VARCHAR,wi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_SHOW_CAPTION_TIP,o.CAN_SEARCH,o.DEFAULT_SHOW_OPTIONS]},{key:"ai-content-search",visible:!0},{key:"relation-setting",visible:!0,showItems:[o.CAN_VIEW_FORM,o.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"option-config-setting",visible:!0},{key:"super-setting",visible:!0}],wi.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class cd extends F{constructor(e){super(e),this.props=new Iu(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}cd.controlFieldType=C.VARCHAR;var sd={Designer:wi,Runtime:cd,Property:Iu};class xa extends wt{constructor(e){super(e)}}class dd extends At{constructor(e){super(e),this.props=new xa(e==null?void 0:e.props)}static get controlName(){return a("CMD.input",null,"\u5355\u884C\u6587\u672C")}static get controlType(){return"search-input"}}dd.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED]},{key:"super-setting",visible:!0}];class hd extends F{constructor(e){super(e),this.props=new xa(e==null?void 0:e.props)}static get controlType(){return"search-input"}}hd.controlFieldType=C.VARCHAR;var yd={Designer:dd,Runtime:hd,Property:xa};class zB extends z{constructor(e){super(e),this.datasourceBind=[{type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],ln.call(this,e,Me.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:a("CMD.rootNodeIsRequired",null,"\u8BF7\u9009\u62E9\u6839\u8282\u70B9")}}}])}}class GB extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Ai extends A{constructor(e){var i,n,u,l,r,c,s,h,d,f,g,E,_,b,D,m,I,R,P,x;super(e),this.optionConfig="datasource",this.caption=(i=e==null?void 0:e.caption)!=null?i:Me.controlName,this.placeholder=(n=e==null?void 0:e.placeholder)!=null?n:a("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.canSearch=(l=e==null?void 0:e.canSearch)!=null?l:!0,this.levelType=(r=e==null?void 0:e.levelType)!=null?r:"all",this.optionalLevel=(c=e==null?void 0:e.optionalLevel)!=null?c:1,this.containsSubNode=(s=e==null?void 0:e.containsSubNode)!=null?s:!1,this.isShowFilterItem=(h=e==null?void 0:e.isShowFilterItem)!=null?h:!1,this.isShowIncludeSub=(d=e==null?void 0:e.isShowIncludeSub)!=null?d:!1,this.isDefaultCheckSub=(f=e==null?void 0:e.isDefaultCheckSub)!=null?f:!1,this.defaultCollapse=(g=e==null?void 0:e.defaultCollapse)!=null?g:"all",this.defaultCollapseLevel=(E=e==null?void 0:e.defaultCollapseLevel)!=null?E:1,this.datasourceBind=new en((_=e==null?void 0:e.datasourceBind)!=null?_:{attributes:Me.controlCustomAttributes}),this.filterItemDatasourceBind=new en((b=e==null?void 0:e.filterItemDatasourceBind)!=null?b:{attributes:Me.controlCustomAttributes}),this.openMultistageFilling=(D=e==null?void 0:e.openMultistageFilling)!=null?D:!1,this.defaultDisplay=(m=e==null?void 0:e.defaultDisplay)!=null?m:!1,this.multistageFilling=(R=(I=e==null?void 0:e.multistageFilling)==null?void 0:I.map(te=>new Q(te)))!=null?R:[],this.defaultValue=(P=e==null?void 0:e.defaultValue)!=null?P:[],this.treeQuery=(x=e==null?void 0:e.treeQuery)!=null?x:[]}}Ai.Rules=zB,Ai.RuntimeRules=GB;class Me extends T{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlName(){return a("CMD.tree",null,"\u6811")}static get controlIcon(){return"icontree"}static get controlType(){return"tree"}static get controlCustomAttributes(){return[{key:"displayBoList",name:a("CMD.6cb51751712162323"),required:!0},{key:"parentField",name:a("CMD.33ee1751712159752"),required:!0}]}}Me.controlEventKeys=["on_change","on_click","on_tree_search"],Me.controlFieldType=C.ARRAY,Me.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.MULTIPLE,o.CAN_SEARCH,o.DEFAULT_DISPLAY,o.CONTAINS_SUB_NODE,o.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 fd extends F{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlType(){return"tree"}}fd.controlFieldType=C.ARRAY;var vd={Designer:Me,Runtime:fd,Property:Ai};class KB extends z{constructor(e){super(e),this.datasourceBind=[{type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.externalScope={type:"any"},ln.call(this,e,He.controlCustomAttributes),e.externalType===Re.ASSIGN&&(this.externalScope={type:"array",required:!0,message:a("CMD.pleaseAssignExternal",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7")})}}class QB extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Ti extends A{constructor(e){var i,n,u,l,r,c,s,h,d,f,g,E,_,b,D,m;super(e),this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.range=(n=e==null?void 0:e.range)!=null?n:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(l=e==null?void 0:e.multiple)!=null?l:!1,this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.defaultValue=(c=e==null?void 0:e.defaultValue)!=null?c:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:He.controlName,this.placeholder=(h=e==null?void 0:e.placeholder)!=null?h:a("CMD.pleaseEnterNameorEmail",null,"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1"),this.datasourceBind=new pi((d=e==null?void 0:e.datasourceBind)!=null?d:{attributes:He.controlCustomAttributes}),this.datasourceType=(f=e==null?void 0:e.datasourceType)!=null?f:va.INTERNAL,this.insideType=(g=e==null?void 0:e.insideType)!=null?g:ma.ADMIN,this.externalType=(E=e==null?void 0:e.externalType)!=null?E:Re.ALL,this.externalScope=(_=e==null?void 0:e.externalScope)!=null?_:[],this.openMultistageFilling=(b=e==null?void 0:e.openMultistageFilling)!=null?b:!1,this.mainDeptFlag=(D=e==null?void 0:e.mainDeptFlag)!=null?D:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(I=>{var R;(R=this.multistageFilling)==null||R.push(new Q(I))})),this.defaultShowOptions=(m=e==null?void 0:e.defaultShowOptions)!=null?m:!1}}Ti.Rules=KB,Ti.RuntimeRules=QB;class He extends T{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlName(){return a("CMD.people",null,"\u4EBA\u5458")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:a("CMD.ffd71751712162321"),required:!0}]}}He.controlFieldType=C.EMPLOYEES,He.controlEventKeys=["on_change","on_focus","on_blur","on_option_selected"],He.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.MULTIPLE,o.IS_SHOW_CAPTION_TIP,o.MAIN_DEPT_FLAG,o.DEFAULT_SHOW_OPTIONS]},{key:"employee-datasource-setting",visible:!0},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class md extends F{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlType(){return"employee2"}}md.controlFieldType=C.EMPLOYEES;var gd={Designer:He,Runtime:md,Property:Ti};class ZB extends z{constructor(e){super(e),this.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:a("CMD.pleaseSelectSignFile",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6")},undersignedList:{type:"array",required:!0,min:1,message:a("CMD.pleaseSelectOnlyOne",null,"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA"),fields:e.signatureConfig.undersignedList.reduce((i,n,u)=>(i[u]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:a("CMD.pleaseSelectSigner",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA")}}},signatureType:{type:"array",required:!0,min:1,message:a("CMD.pleaseSelectSignType",null,"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B")},telephone:{type:"object",required:!0,validator(l,r,c){if(n.type==="public"&&Zi(r.value)&&r.value.length===0){c(a("CMD.pleaseSelectPhoneOrEmail",null,"\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1"));return}c()}},indexSignature:{type:"object",required:!0,validator(l,r,c){if((n==null?void 0:n.signaturePosition)==="index"&&Zi(r.value)&&r.value.length===0){c(a("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"));return}c()}},company:{type:"object",required:!0,validator(l,r,c){if(n.type==="public"&&n.signatureType.includes("company")&&Zi(r.value)&&r.value.length===0){c(a("CMD.pleaseSelectCompanyName",null,"\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0"));return}c()}}}},i),{})}}}}}class Du extends A{constructor(e){var i,n,u,l,r,c;super(e),this.command="",this.isLoading=!1,this.caption=(i=e==null?void 0:e.caption)!=null?i:Fi.controlName,this.content=(n=e==null?void 0:e.content)!=null?n:a("CMD.signature",null,"\u53D1\u8D77\u7B7E\u7F72"),this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(l=e==null?void 0:e.showType)!=null?l:"text",this.color=(r=e==null?void 0:e.color)!=null?r:"primary",this.icon=(c=e==null?void 0:e.icon)!=null?c:"iconfenlei2",this.signatureConfig=new hc(e==null?void 0:e.signatureConfig)}}Du.Rules=ZB;class Fi extends T{constructor(e){super(e),this.props=new Du(e==null?void 0:e.props)}static get controlName(){return a("CMD.electronicSignature",null,"\u7535\u5B50\u7B7E\u7AE0")}static get controlIcon(){return"icondianziqianzhang"}static get controlType(){return"electronic-signature"}}Fi.controlEventKeys=["on_click","on_click_finish"],Fi.controlFieldType=C.VARCHAR,Fi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.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 bd extends F{constructor(e){super(e),this.props=new Du(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}bd.controlFieldType=C.VARCHAR;var Cd={Designer:Fi,Runtime:bd,Property:Du};class XB extends z{constructor(e){super(e),this.content={type:"string",required:!0,message:a("CMD.pleaseEnterButtonContent",null,"\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(i,n,u){if(n.active&&!n.text){u(a("CMD.pleaseEnterWatermark",null,"\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A"));return}u()}},autoRename:{type:"object",validator(i,n,u){if(n.active&&!n.text){u(a("CMD.pleaseEnterFileName",null,"\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A"));return}u()}}}},this.canAdd={type:"boolean",validator(i,n,u){if(e.canAdd&&!e.addLocal&&!e.addOnline){u(a("CMD.pleaseChooseAtLeastOne",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A"));return}u()}}}}class JB extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Si extends A{constructor(e){var i,n,u,l,r,c,s,h,d,f,g,E;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:Pi.controlName,this.content=(n=e==null?void 0:e.content)!=null?n:a("CMD.createWPS",null,"\u65B0\u5EFA\u6587\u6863"),this.canAdd=(u=e==null?void 0:e.canAdd)!=null?u:!0,this.addLocal=(l=e==null?void 0:e.addLocal)!=null?l:!0,this.addOnline=(r=e==null?void 0:e.addOnline)!=null?r:!0,this.canEdit=(c=e==null?void 0:e.canEdit)!=null?c:!0,this.canDownload=(s=e==null?void 0:e.canDownload)!=null?s:!0,this.canExport=(h=e==null?void 0:e.canExport)!=null?h:!0,this.canDelete=(d=e==null?void 0:e.canDelete)!=null?d:!1,this.maxSize=(f=e==null?void 0:e.maxSize)!=null?f:DB,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:[],this.wpsSetting=new yc(e==null?void 0:e.wpsSetting),this.revisionsMode=(E=e==null?void 0:e.revisionsMode)!=null?E:!1}}Si.Rules=XB,Si.RuntimeRules=JB;class Pi extends T{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlName(){return a("CMD.WPS",null,"\u5728\u7EBF\u6587\u6863")}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}Pi.controlEventKeys=["on_change","on_wps_open"],Pi.controlFieldType=C.FILE,Pi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_SHOW_CAPTION_TIP,o.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 Ed extends F{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlType(){return"wps"}}Ed.controlFieldType=C.FILE;var _d={Designer:Pi,Runtime:Ed,Property:Si};class YB extends z{constructor(e){super(e),this.datasourceBind=[{type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.businessScope={type:"any"},ln.call(this,e,Ve.controlCustomAttributes),e.businessType===Re.ASSIGN&&(this.businessScope={type:"array",required:!0,message:a("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")})}}class pB extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Oi extends A{constructor(e){var i,n,u,l,r,c,s,h,d,f,g,E,_,b,D,m,I,R;super(e),this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.multiple=(n=e==null?void 0:e.multiple)!=null?n:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(c=e==null?void 0:e.defaultValue)!=null?c:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(h=e==null?void 0:e.showSubDept)!=null?h:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:Ve.controlName,this.placeholder=(f=e==null?void 0:e.placeholder)!=null?f:a("CMD.pleaseSelectDept",null,"\u8BF7\u9009\u62E9\u90E8\u95E8"),this.datasourceBind=new pi((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Ve.controlCustomAttributes}),this.datasourceType=(E=e==null?void 0:e.datasourceType)!=null?E:On.INTERNAL,this.businessScope=(_=e==null?void 0:e.businessScope)!=null?_:[],this.businessType=(b=e==null?void 0:e.businessType)!=null?b:Re.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(P=>{var x;(x=this.multistageFilling)==null||x.push(new Q(P))})),this.defaultShowOptions=(m=e==null?void 0:e.defaultShowOptions)!=null?m:!1,this.disabledSelectedFilters=(R=(I=e==null?void 0:e.disabledSelectedFilters)==null?void 0:I.map(P=>P.children!==void 0?new Yi(P):new $t(P)))!=null?R:[]}}Oi.Rules=YB,Oi.RuntimeRules=pB;class Ve extends T{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:a("CMD.72d21751712162321"),required:!0}]}toDataBindModel(e){const i=super.toDataBindModel(e);if(i&&!Array.isArray(i)){const{displayLevel:n,showSubDept:u}=this.props;i.props.displayLevel=n,i.props.showSubDept=u}return i}}Ve.controlName=a("CMD.department",null,"\u90E8\u95E8"),Ve.controlFieldType=C.DEPARTMENTS,Ve.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.MULTIPLE,o.IS_SHOW_CAPTION_TIP,o.DEFAULT_SHOW_OPTIONS]},{key:"department-datasource-setting",visible:!0},{key:"department-disabled-filter",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 Id extends F{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlType(){return"department2"}}Id.controlFieldType=C.DEPARTMENTS;var Dd={Designer:Ve,Runtime:Id,Property:Oi};class ew extends z{constructor(e){super(e),this.datasourceBind=[{type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.businessScope={type:"any"},ln.call(this,e,Pt.controlCustomAttributes),e.businessType===Re.ASSIGN&&(this.businessScope={type:"array",required:!0,message:a("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")})}}class tw extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class ki extends A{constructor(e){var i,n,u,l,r,c,s,h,d,f,g,E,_,b,D,m,I,R;super(e),this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.multiple=(n=e==null?void 0:e.multiple)!=null?n:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.listPageBind=new hl(e==null?void 0:e.listPageBind),this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(c=e==null?void 0:e.defaultValue)!=null?c:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(h=e==null?void 0:e.showSubDept)!=null?h:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:Pt.controlName,this.placeholder=(f=e==null?void 0:e.placeholder)!=null?f:a("CMD.pleaseSelectOrg",null,"\u8BF7\u9009\u62E9\u7EC4\u7EC7"),this.datasourceBind=new u_((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Pt.controlCustomAttributes}),this.datasourceType=(E=e==null?void 0:e.datasourceType)!=null?E:On.INTERNAL,this.businessScope=(_=e==null?void 0:e.businessScope)!=null?_:[],this.businessType=(b=e==null?void 0:e.businessType)!=null?b:Re.ALL,this.organizingFunction=(D=e==null?void 0:e.organizingFunction)!=null?D:void 0,this.organizationView=(m=e==null?void 0:e.organizationView)!=null?m:void 0,this.showSelectedDetail=(I=e==null?void 0:e.showSelectedDetail)!=null?I:!1,this.selectedContentConfig=new vl(e==null?void 0:e.selectedContentConfig),this.openMultistageFilling=(R=e==null?void 0:e.openMultistageFilling)!=null?R:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(P=>{var x;(x=this.multistageFilling)==null||x.push(new Q(P))}))}}ki.Rules=ew,ki.RuntimeRules=tw;class Pt extends T{constructor(e){super(e),this.props=new ki(e==null?void 0:e.props)}static get controlName(){return a("CMD.organizationSelection",null,"\u4E1A\u52A1\u7EC4\u7EC7")}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"organization-selection"}static get controlCustomAttributes(){return[{key:"displayBoList",name:a("CMD.895a1751712162322"),required:!0}]}toDataBindModel(e){const i=super.toDataBindModel(e);if(i&&!Array.isArray(i)){const{displayLevel:n,showSubDept:u}=this.props;i.props.displayLevel=n,i.props.showSubDept=u}return i}}Pt.controlFieldType=C.DEPARTMENTS,Pt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.MULTIPLE,o.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 Bd extends F{constructor(e){super(e),this.props=new ki(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}Bd.controlFieldType=C.DEPARTMENTS;var wd={Designer:Pt,Runtime:Bd,Property:ki};class iw extends z{constructor(e){super(e),this.dataBind={type:"any"}}}class nw extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class Ri extends A{constructor(e){var i,n,u,l,r;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:Mi.controlName,this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:void 0,this.controlExportName=(u=e==null?void 0:e.controlExportName)!=null?u:"",this.permissions=(l=e==null?void 0:e.permissions)!=null?l:[],this.isInlineEdit=(r=e==null?void 0:e.isInlineEdit)!=null?r:!1}}Ri.Rules=iw,Ri.RuntimeRules=nw;class Mi extends T{constructor(e){super(e),this.props=new Ri(e==null?void 0:e.props)}static get controlName(){return a("CMD.vuePage",null,"Vue\u9875\u9762")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return w.VUE_PAGE}}Mi.controlFieldType=C.ANY,Mi.controlEventKeys=[],Mi.setting=[];class Ad extends F{constructor(e){super(e),this.props=new Ri(e==null?void 0:e.props)}static get controlType(){return w.VUE_PAGE}}Ad.controlFieldType=C.ANY;var Td={Designer:Mi,Runtime:Ad,Property:Ri},uw=Object.freeze({__proto__:null,Input:us,Checkbox:as,Cascader:os,Counter:ss,Radio:hs,Number:fs,Slider:ms,Switch:bs,Tag:Es,Barcode:Is,QrCode:Bs,DatePicker:As,DateRange:Fs,TimePicker:Ps,TimeRange:ks,Textarea:Ms,RichText:Ns,Select:$s,SelectMultiple:Vs,Employee:qs,Image:Us,Attachment:Ws,Amount:Gs,Score:Qs,Address:Xs,Department:Ys,AutoNumber:ed,Calc:id,SearchNumberRange:ud,SearchDateRange:ad,VueFormItem:od,SelectRelation:sd,SearchInput:yd,Tree:vd,Employee2:gd,ElectronicSignature:Cd,WPS:_d,Department2:Dd,OrganizationSelection:wd,VuePage:Td});class Fd extends L{static get controlName(){return a("CMD.grid",null,"\u753B\u5E03")}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}Fd.excludes=[w.GRID];class lw extends ${static get controlType(){return"grid"}constructor(e){super(e)}}class aw extends k{constructor(e){super(e)}}var Sd={Designer:Fd,Runtime:lw,Property:aw};const rw=24;class je extends k{constructor(e){var i,n,u;super(e),this.span=(i=e==null?void 0:e.span)!=null?i:rw,this.offset=(n=e==null?void 0:e.offset)!=null?n:0,this.isNoFull=(u=e==null?void 0:e.isNoFull)!=null?u:!1}}class xi extends L{constructor(e){super(e),this.props=new je(e==null?void 0:e.props)}static get controlName(){return a("CMD.col",null,"\u6805\u683C\u5217")}static get controlType(){return"col"}static get controlIcon(){return"col"}}xi.excludes=[w.COL,w.SUBTABLE,w.SUBTABLE_COLUMN,w.GRID_LAYOUT_CONTAINER,w.DIVIDER],xi.childrenMaxLength=1;class Na extends ${constructor(e){super(e),this.props=new je(e==null?void 0:e.props)}static get controlType(){return"col"}}var Pd={Designer:xi,Runtime:Na,Property:je};class Bu extends k{constructor(e){var i,n,u,l,r;super(e),this.layoutMode=(i=e==null?void 0:e.layoutMode)!=null?i:"select",this.gutter=(n=e==null?void 0:e.gutter)!=null?n:0,this.align=(u=e==null?void 0:e.align)!=null?u:"",this.justify=(l=e==null?void 0:e.justify)!=null?l:"",this.padding=new I_(e==null?void 0:e.padding),this.margin=new __(e==null?void 0:e.margin),this.isFull=(r=e==null?void 0:e.isFull)!=null?r:!1}}class wu extends L{constructor(e){super(e),this.props=new Bu(e==null?void 0:e.props)}static get controlName(){return a("CMD.row",null,"\u6805\u683C\u5E03\u5C40")}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}wu.excludes=[w.ROW],wu.setting=[{key:"col-setting",visible:!0},{key:"dynamic-margin-padding",visible:!0}];class Od extends ${constructor(e){super(e),this.props=new Bu(e==null?void 0:e.props)}static get controlType(){return"row"}}var kd={Designer:wu,Runtime:Od,Property:Bu};const ow=4;class Au extends wu{static get controlName(){return a("CMD.gridRow",null,"\u6805\u683C\u7B49\u5206\u884C")}static get controlType(){return"grid-row"}static get controlIcon(){return"grid-row"}constructor(e){super(e)}}Au.excludes=[w.GRID_ROW],Au.setting=[],Au.childrenMaxLength=ow;class cw extends Od{static get controlType(){return"grid-row"}constructor(e){super(e)}}class sw extends Bu{constructor(e){super(e)}}var Rd={Designer:Au,Runtime:cw,Property:sw};class dw extends k.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:a("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class Tu extends k{constructor(e){var i,n,u,l,r,c,s,h,d,f;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:a("CMD.cardGroup",null,"\u5206\u7EC4"),this.isHideCaption=(n=e==null?void 0:e.isHideCaption)!=null?n:!1,this.collapse=(u=e==null?void 0:e.collapse)!=null?u:"none",this.describe=(l=e==null?void 0:e.describe)!=null?l:"",this.position=(r=e==null?void 0:e.position)!=null?r:"left",this.captionType=(c=e==null?void 0:e.captionType)!=null?c:"default",this.borderType=(s=e==null?void 0:e.borderType)!=null?s:"none",this.divider=(h=e==null?void 0:e.divider)!=null?h:"solid",this.triggerShadow=(d=e==null?void 0:e.triggerShadow)!=null?d:"never",this.type=(f=e==null?void 0:e.type)!=null?f:"default"}}Tu.Rules=dw;class La extends L{constructor(e){super(e),this.props=new Tu(e==null?void 0:e.props)}static get controlName(){return a("CMD.cardGroup",null,"\u5206\u7EC4")}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}La.setting=[{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"common-input",visible:!0,name:"describe",label:a("CMD.c9451774578995831")},{key:"common-button-radio",visible:!0,name:"divider",label:a("CMD.6bdd1774579030243"),default:"solid",options:[{value:"none",label:a("CMD.6a321774579067900")},{value:"dotted",label:a("CMD.6bf61774579053844")},{value:"solid",label:a("CMD.1d291774579055379")}],tip:a("CMD.de3f1774580653034")},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:a("CMD.93ae1774579004149"),default:"default",options:[{value:"default",label:a("CMD.1ef01774579045622")},{value:"card",label:a("CMD.9d551774579049605")}]},{key:"common-button-radio",visible:!0,name:"position",label:a("CMD.b1761774579005863"),default:"left",options:[{value:"left",label:a("CMD.23f71774579023855")},{value:"center",label:a("CMD.ecb71774579037654")},{value:"right",label:a("CMD.5e991774579025728")}]},{key:"common-select",visible:!0,name:"captionType",label:a("CMD.87c01774579007616"),default:"default",options:[{value:"default",label:a("CMD.1ef01774579045622")},{value:"warning",label:a("CMD.80581774579050943")},{value:"success",label:a("CMD.98331774579052281")}]},{key:"common-select",visible:!0,name:"borderType",label:a("CMD.852f1774579009314"),default:"none",options:[{value:"none",label:a("CMD.83e11774579028684")},{value:"dotted",label:a("CMD.6bf61774579053844")},{value:"solid",label:a("CMD.1d291774579055379")}]},{key:"common-select",visible:!0,name:"triggerShadow",label:a("CMD.1a941774578973189"),default:"never",options:[{value:"never",label:a("CMD.16b21774579011405")},{value:"hover",label:a("CMD.cef21774578966959")},{value:"always",label:a("CMD.74351774579013248")}]},{key:"super-setting",visible:!0}],La.excludes=[w.CARD_GROUP];class hw extends ${constructor(e){super(e),this.props=new Tu(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var Md={Designer:La,Runtime:hw,Property:Tu};class yw extends k.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:a("CMD.c7ee1777541686092")}}}class Fu extends k{constructor(e){var i,n,u,l,r,c;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:a("CMD.fbd81777541728197"),this.isHideCaption=(n=e==null?void 0:e.isHideCaption)!=null?n:!1,this.captionColor=(e==null?void 0:e.captionColor)||"",this.captionSize=(e==null?void 0:e.captionSize)||"",this.isCaptionItalic=(e==null?void 0:e.isCaptionItalic)||!1,this.captionFontWeight=(u=e==null?void 0:e.captionFontWeight)!=null?u:ke.NORMAL,this.position=(l=e==null?void 0:e.position)!=null?l:"left",this.backgroundColor=(r=e==null?void 0:e.backgroundColor)!=null?r:"#ffffff",this.showShadow=(c=e==null?void 0:e.showShadow)!=null?c:!1}}Fu.Rules=yw;class $a extends L{constructor(e){super(e),this.props=new Fu(e==null?void 0:e.props)}static get controlName(){return a("CMD.48611777541728194")}static get controlIcon(){return"iconkongbairongqi"}static get controlType(){return"blank-container"}}$a.excludes=[],$a.setting=[{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"common-button-radio",visible:!0,name:"position",label:a("CMD.4b761777541729796"),default:"left",options:[{value:"left",label:a("CMD.321d1777541743102")},{value:"center",label:a("CMD.00281777541758750")},{value:"right",label:a("CMD.534c1777541744540")}]},{key:"color",visible:!0,name:"backgroundColor",layout:"horizontal",label:a("CMD.22b11777541753145")},{key:"common-switch",visible:!0,name:"showShadow",label:a("CMD.238b1777541731433"),default:!1},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"super-setting",visible:!0}];class fw extends ${constructor(e){super(e),this.props=new Fu(e==null?void 0:e.props)}static get controlType(){return"blank-container"}}var xd={Designer:$a,Runtime:fw,Property:Fu};class vw extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:a("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.width={type:"number",required:!1,message:a("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")},this.captionTip={type:"string",required:!1,message:a("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Su extends k{constructor(e){var i,n,u,l,r;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.fixed=(n=e==null?void 0:e.fixed)!=null?n:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(l=e==null?void 0:e.captionTip)!=null?l:"",this.isHideCaption=(r=e==null?void 0:e.isHideCaption)!=null?r:!1,this.metaAutoWidth=new UE(e==null?void 0:e.metaAutoWidth)}}Su.Rules=vw;class he extends L{constructor(e){super(e),this.props=new Su(e==null?void 0:e.props)}}he.controlName=a("CMD.subtableColumn",null,"\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C"),he.controlType="subtable-column",he.controlIcon="subtable-column",he.childrenMaxLength=1,he.excludes=[w.SUBTABLE,w.SUBTABLE_COLUMN,w.ROW,w.COL,w.CARD_GROUP,w.DIVIDER,w.TEXT,w.GRID_LAYOUT_CONTAINER],he.setting=[{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"common-setting",showItems:[o.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class Nd extends ${constructor(e){super(e),this.props=new Su(e==null?void 0:e.props)}}Nd.controlType="subtable-column";var Ld={Designer:he,Runtime:Nd,Property:Su};class Ha extends k{constructor(e){super(e)}}class qe extends L{constructor(e){super(e),this.props=new Ha(e==null?void 0:e.props)}}qe.controlName=a("CMD.subtableRow",null,"\u660E\u7EC6\u5B50\u8868\u884C"),qe.controlType="subtable-row",qe.controlIcon="subtable-row",qe.childrenMaxLength=1,qe.excludes=[w.SUBTABLE,w.SUBTABLE_COLUMN,w.SUBTABLE_ROW,w.ROW,w.COL,w.CARD_GROUP,w.DIVIDER,w.TEXT],qe.setting=[{key:"caption",showItems:[o.CAPTION],visible:!0}];class mw extends ${constructor(e){super(e),this.props=new Ha(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var $d={Designer:qe,Runtime:mw,Property:Ha};class Va extends k{constructor(e){var i,n,u,l,r,c,s,h,d,f;super(e),this.width=(i=e==null?void 0:e.width)!=null?i:200,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(n=e==null?void 0:e.caption)!=null?n:"",this.fixed=(u=e==null?void 0:e.fixed)!=null?u:!1,this.fieldCode=(l=e==null?void 0:e.fieldCode)!=null?l:"",this.fieldType=(r=e==null?void 0:e.fieldType)!=null?r:C.VARCHAR,this.fieldName=(c=e==null?void 0:e.fieldName)!=null?c:"",this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.textCleanFormart=(s=e==null?void 0:e.textCleanFormart)!=null?s:!1,this.decimalKeepPrecision=(h=e==null?void 0:e.decimalKeepPrecision)!=null?h:0,this.timestampDateType=(d=e==null?void 0:e.timestampDateType)!=null?d:at.DATE,this.departmentDisplayLevel=(f=e==null?void 0:e.departmentDisplayLevel)!=null?f:1}}class We extends L{constructor(e){super(e),this.props=new Va(e==null?void 0:e.props)}}We.controlName=a("CMD.8ba01751712155518"),We.controlType="gridtable-column",We.controlIcon="gridtable-column",We.childrenMaxLength=1,We.excludes=[w.GRID_TABLE,w.GRID_TABLE_COLUMN,w.ROW,w.COL,w.CARD_GROUP,w.DIVIDER,w.TEXT],We.setting=[{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class Hd extends ${constructor(e){super(e),this.props=new Va(e==null?void 0:e.props)}}Hd.controlType="gridtable-column";var Vd={Designer:We,Runtime:Hd,Property:Va};class ja extends k{constructor(e){var i,n;super(e),this.childMinWidth=(i=e==null?void 0:e.childMinWidth)!=null?i:230,this.colGap=(n=e==null?void 0:e.colGap)!=null?n:24}}class qa extends L{constructor(e){super(e),this.props=new ja(e==null?void 0:e.props)}static get controlName(){return a("CMD.gridLayoutContainer",null,"\u6362\u884C\u5BB9\u5668")}static get controlType(){return"grid-layout-container"}static get controlIcon(){return"icona-huanhangrongqi1"}}qa.excludes=[w.GRID_LAYOUT_CONTAINER,w.CARD_GROUP,w.TAB],qa.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}];class gw extends ${constructor(e){super(e),this.props=new ja(e==null?void 0:e.props)}static get controlType(){return"grid-layout-container"}}var jd={Designer:qa,Runtime:gw,Property:ja};class Wa extends k{constructor(e){var i,n,u,l,r;super(e),this.mobileShowType=(i=e==null?void 0:e.mobileShowType)!=null?i:"vertical",this.type=(n=e==null?void 0:e.type)!=null?n:"line",this.tabPosition=(u=e==null?void 0:e.tabPosition)!=null?u:"top",this.isLabelFlat=(l=e==null?void 0:e.isLabelFlat)!=null?l:!1,this.isDelay=(r=e==null?void 0:e.isDelay)!=null?r:!1}}class bw extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:a("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class Pu extends k{constructor(e){var i;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:Li.controlName}}Pu.Rules=bw;class Ni extends L{constructor(e){super(e),this.props=new Pu(e==null?void 0:e.props)}static get controlName(){return a("CMD.tabPane",null,"\u6807\u7B7E\u5355\u5143")}static get controlType(){return"tab-pane"}static get controlIcon(){return"tab-pane"}}Ni.excludes=[w.TAB],Ni.setting=[{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"super-setting",visible:!0}];class Cw extends ${constructor(e){super(e),this.props=new Pu(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var qd={Designer:Ni,Runtime:Cw,Property:Pu};class Li extends L{constructor(e){var i;super(e),this.props=new Wa(e==null?void 0:e.props),this.children=(i=e==null?void 0:e.children)!=null?i:[new Ni,new Ni]}static get controlName(){return a("CMD.tab",null,"\u6807\u7B7E\u9875")}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}Li.excludes=[w.TAB],Li.controlEventKeys=["on_change_tab"],Li.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:a("CMD.2a051774579020300"),default:"line",options:[{value:"line",label:a("CMD.4b041774579045624")},{value:"card",label:a("CMD.f38f1774579033217")}]},{key:"common-button-radio",visible:!0,name:"tabPosition",label:a("CMD.b9af1774579022229"),default:"top",options:[{value:"top",label:a("CMD.1efb1774579069467")},{value:"bottom",label:a("CMD.24c01774579070698")},{value:"left",label:a("CMD.13f41774579072043")},{value:"right",label:a("CMD.ebe01774579073490")}]},{key:"common-switch",visible:!0,name:"isLabelFlat",label:a("CMD.65361774578950526"),default:!1},{key:"common-switch",visible:!0,name:"isDelay",label:a("CMD.d1641774578983962"),default:!1},{key:"super-setting",visible:!0}];class Ew extends ${constructor(e){super(e),this.props=new Wa(e==null?void 0:e.props)}static get controlType(){return"tab"}}var Wd={Designer:Li,Runtime:Ew,Property:Wa};class Ud extends k{constructor(e){super(e)}}class zd extends L{constructor(e){super(e),this.props=new Ud({}),this.children=(e==null?void 0:e.children)||[new xi({props:new je({span:12})}),new xi({props:new je({span:12})})]}static get controlName(){return a("CMD.toolbox",null,"\u5DE5\u5177\u680F")}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}zd.excludes=[w.GRID_ROW,w.ROW,w.GRID,w.SUBTABLE,w.TAB,w.TOOLBOX];class _w extends ${static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new Na({props:new je({span:12})}),new Na({props:new je({span:12})})]}}var Gd={Designer:zd,Runtime:_w,Property:Ud};class Iw extends Ne{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Dw extends U{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:a("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}),e.isShowJoinRelation&&(this.joinRelation=[{type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:a("CMD.pleaseEnterAliasCode",null,"\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D")},datasourceBind:[{type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:a("CMD.pleaseSelectDataCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B")},svcCode:{type:"string",required:!0,message:a("CMD.pleaseSelectSvcCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1")}}}],relationFields:[{type:"array",message:a("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:a("CMD.pleaseSelectJoinFieldCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5")},mainFieldCode:{type:"string",required:!0,message:a("CMD.pleaseSelectMainFieldCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5")}}}}]}}]),Pl.call(this,{optionConfig:"datasource",datasourceBind:e.datasourceBind,options:[]}),Array.isArray(this.datasourceBind)&&this.datasourceBind.length>1){const i=this.datasourceBind.find(n=>n.type==="object"&&n.fields);i&&(delete i.fields.valueFieldCode,delete i.fields.displayBoList)}}}class $i extends k{constructor(e){var i,n,u,l,r,c,s,h,d,f,g,E,_,b;super(e),this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.isLoading=(i=e==null?void 0:e.isLoading)!=null?i:!1,this.isShowSubList=(n=e==null?void 0:e.isShowSubList)!=null?n:!1,this.triggerType=(u=e==null?void 0:e.triggerType)!=null?u:1,this.triggerFieldCode=(l=e==null?void 0:e.triggerFieldCode)!=null?l:"",this.sublistPage=new ZE(e==null?void 0:e.sublistPage),this.isShowJoinRelation=(r=e==null?void 0:e.isShowJoinRelation)!=null?r:!1,this.joinRelation=new JE(e==null?void 0:e.joinRelation),this.showType=(c=e==null?void 0:e.showType)!=null?c:"stretch",this.showFullScreen=(s=e==null?void 0:e.showFullScreen)!=null?s:!1,this.selectionType=(h=e==null?void 0:e.selectionType)!=null?h:"multiple",this.isFixedHeader=(d=e==null?void 0:e.isFixedHeader)!=null?d:!1,this.isShowSelection=(f=e==null?void 0:e.isShowSelection)!=null?f:!1,this.isAllLoaded=(g=e==null?void 0:e.isAllLoaded)!=null?g:!0,this.countType=e==null?void 0:e.countType,this.countLimit=(E=e==null?void 0:e.countLimit)!=null?E:1e5,this.rowStyle=new b_(e==null?void 0:e.rowStyle),this.isTreeData=(_=e==null?void 0:e.isTreeData)!=null?_:!1,this.treeData=new C_(e==null?void 0:e.treeData),this.isMasterDetail=(b=e==null?void 0:e.isMasterDetail)!=null?b:!1,this.masterDetail=new E_(e==null?void 0:e.masterDetail)}}$i.Rules=Dw,$i.RuntimeRules=Iw;class Hi extends L{constructor(e){super(e),this.props=new $i(e==null?void 0:e.props)}static get controlName(){return a("CMD.listView",null,"\u5217\u8868\u5BB9\u5668")}static get controlType(){return"list-view"}static get controlIcon(){return"iconyihangduolie"}}Hi.slotPosition={left:"list-view-left-slot"},Hi.excludes=[w.ROW],Hi.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"],Hi.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-tree-setting",visible:!0},{key:"list-master-detail",visible:!0},{key:"list-row-style",visible:!0},{key:"super-setting",visible:!0}];class Bw extends ${constructor(e){super(e),this.props=new $i(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var Kd={Designer:Hi,Runtime:Bw,Property:$i};class ww extends Ne{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Ou extends k{constructor(e){var i,n,u,l,r,c,s;super(e),this.save=new we((i=e==null?void 0:e.save)!=null?i:{content:a("CMD.save",null,"\u4FDD\u5B58"),type:"save",isShow:!1}),this.cancel=new we((n=e==null?void 0:e.cancel)!=null?n:{content:a("CMD.cancel",null,"\u53D6\u6D88"),type:"cancel",isShow:!1}),this.saveAs=new we((u=e==null?void 0:e.saveAs)!=null?u:{content:a("CMD.draft",null,"\u4FDD\u5B58\u8349\u7A3F"),type:"saveAs",isShow:!1}),this.print=new we((l=e==null?void 0:e.print)!=null?l:{content:a("CMD.print",null,"\u6253\u5370"),type:"print",isShow:!1}),this.custom=((r=e==null?void 0:e.custom)!=null?r:[]).map(h=>new we(h)),this.isLoading=(c=e==null?void 0:e.isLoading)!=null?c:!1,this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.processFormReadonlyControlMode=(s=e==null?void 0:e.processFormReadonlyControlMode)!=null?s:"disabled"}}Ou.RuntimeRules=ww;class Qd extends L{constructor(e){super(e),this.props=new Ou(e==null?void 0:e.props)}static get controlName(){return a("CMD.dataView",null,"\u6570\u636E\u5BB9\u5668")}static get controlType(){return"data-view"}}Qd.excludes=[];class Aw extends ${constructor(e){super(e),this.props=new Ou(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var Zd={Designer:Qd,Runtime:Aw,Property:Ou};class Tw extends L{static get controlName(){return a("CMD.page",null,"\u81EA\u7531\u9875\u9762")}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class Fw extends ${static get controlType(){return"page"}constructor(e){super(e)}}class Sw extends k{constructor(e){var i;super(e),this.background="#fff",this.minWidth="",this.maxWidth="",this.heightConfig="auto",this.hideHeader=(i=e==null?void 0:e.hideHeader)!=null?i:!1}}var Xd={Designer:Tw,Runtime:Fw,Property:Sw};class Pw extends L{static get controlName(){return a("CMD.advancedContainer",null,"\u9AD8\u7EA7\u5BB9\u5668")}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class Ow extends ${static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class kw extends k{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new Cc(e==null?void 0:e.flexConfig)}}var Jd={Designer:Pw,Runtime:Ow,Property:kw};class Rw extends L{static get controlName(){return a("CMD.positioningContainer",null,"\u5B9A\u4F4D\u5BB9\u5668")}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class Mw extends ${static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class xw extends k{constructor(e){super(e)}}var Yd={Designer:Rw,Runtime:Mw,Property:xw};class Nw extends L{static get controlName(){return a("CMD.position",null,"\u5B9A\u4F4D\u5B50\u5BB9\u5668")}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class Lw extends ${static get controlType(){return"position"}constructor(e){super(e)}}class $w extends k{constructor(e){var i,n,u,l;super(e),this.widthSpan=(i=e==null?void 0:e.widthSpan)!=null?i:12,this.heightSpan=(n=e==null?void 0:e.heightSpan)!=null?n:12,this.left=(u=e==null?void 0:e.left)!=null?u:0,this.top=(l=e==null?void 0:e.top)!=null?l:0}}var pd={Designer:Nw,Runtime:Lw,Property:$w};class Ua extends k{constructor(e){var i,n,u;super(e),this.position=(i=e==null?void 0:e.position)!=null?i:"bottom",this.opacity=(n=e==null?void 0:e.opacity)!=null?n:!0,this.align=(u=e==null?void 0:e.align)!=null?u:"right"}}class ku extends L{constructor(e){var i;super(e),this.props=new Ua((i=e==null?void 0:e.props)!=null?i:{})}static get controlName(){return a("CMD.actionBar",null,"\u6309\u94AE\u64CD\u4F5C\u680F")}static get controlType(){return"action-bar"}static get controlIcon(){return"action-bar"}}ku.slotPosition={default:"action-bar-slot"},ku.excludes=[],ku.setting=[{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"super-setting",visible:!0}];class Hw extends ${constructor(e){var i;super(e),this.props=new Ua((i=e==null?void 0:e.props)!=null?i:{})}static get controlType(){return"action-bar"}}var eh={Designer:ku,Runtime:Hw,Property:Ua};class za extends k{constructor(e){var i,n,u,l,r,c,s,h,d,f,g;super(e),this.direction=(i=e==null?void 0:e.direction)!=null?i:"horizontal",this.labelPlacement=(n=e==null?void 0:e.labelPlacement)!=null?n:"horizontal",this.size=(u=e==null?void 0:e.size)!=null?u:"default",this.type=(l=e==null?void 0:e.type)!=null?l:"default",this.isSticky=(r=e==null?void 0:e.isSticky)!=null?r:!1,this.step=(c=e==null?void 0:e.step)!=null?c:"",this.isCenter=(s=e==null?void 0:e.isCenter)!=null?s:!1,this.isStopStepClick=(h=e==null?void 0:e.isStopStepClick)!=null?h:!0,this.status=(d=e==null?void 0:e.status)!=null?d:"process",this.stopStatus=(f=e==null?void 0:e.stopStatus)!=null?f:"finish",this.isShowStepButton=(g=e==null?void 0:e.isShowStepButton)!=null?g:!1,this.stepButtons=new w_(e==null?void 0:e.stepButtons)}}class Ga extends k{constructor(e){var i,n,u,l,r,c,s,h;super(e),this.title=(i=e==null?void 0:e.title)!=null?i:"",this.subTitle=(n=e==null?void 0:e.subTitle)!=null?n:"",this.disabled=(u=e==null?void 0:e.disabled)!=null?u:!1,this.icon=(l=e==null?void 0:e.icon)!=null?l:"",this.color=(r=e==null?void 0:e.color)!=null?r:"",this.status=(c=e==null?void 0:e.status)!=null?c:"wait",this.description=(s=e==null?void 0:e.description)!=null?s:"",this.isDefault=(h=e==null?void 0:e.isDefault)!=null?h:!1}}class Ot extends L{constructor(e){super(e),this.props=new Ga(e==null?void 0:e.props)}static get controlName(){return a("CMD.stepPane",null,"\u6B65\u9AA4\u5355\u5143")}static get controlType(){return"step-pane"}static get controlIcon(){return"step-pane"}}Ot.excludes=[w.TAB],Ot.setting=[];class Vw extends ${constructor(e){super(e),this.props=new Ga(e==null?void 0:e.props)}static get controlType(){return"step-pane"}}var th={Designer:Ot,Runtime:Vw,Property:Ga};class Ru extends L{constructor(e){var i;super(e),this.props=new za(e==null?void 0:e.props),this.children=(i=e==null?void 0:e.children)!=null?i:[new Ot,new Ot,new Ot]}static get controlName(){return a("CMD.step",null,"\u6B65\u9AA4\u6761")}static get controlType(){return"step"}static get controlIcon(){return"icondaiban1"}}Ru.excludes=[],Ru.controlEventKeys=["on_change_steps"],Ru.setting=[{key:"step-direction",visible:!0},{key:"step-label-placement",visible:!0},{key:"step-size",visible:!0},{key:"step-type",visible:!0},{key:"is-sticky",visible:!0},{key:"step",visible:!0},{key:"common-switch",visible:!0,name:"isCenter",label:a("CMD.924f1774579018766"),default:!1,tip:a("CMD.16b71774578977696")},{key:"common-switch",visible:!0,name:"isStopStepClick",label:a("CMD.2d331774578964504"),default:!0},{key:"common-select",visible:!0,name:"status",label:a("CMD.bd571774578979668"),default:"process",options:[{value:"wait",label:a("CMD.69fe1774579059983")},{value:"process",label:a("CMD.0d9e1774579031802")},{value:"finish",label:a("CMD.b1021774579061754")},{value:"error",label:a("CMD.a24d1774579063219")}]},{key:"common-select",visible:!0,name:"stopStatus",label:a("CMD.328c1774578981653"),default:"finish",options:[{value:"wait",label:a("CMD.69fe1774579059983")},{value:"process",label:a("CMD.0d9e1774579031802")},{value:"finish",label:a("CMD.b1021774579061754")},{value:"error",label:a("CMD.a24d1774579063219")}]},{key:"step-buttons",visible:!0},{key:"step-pane",visible:!0},{key:"super-setting",visible:!0}];class jw extends ${constructor(e){super(e),this.props=new za(e==null?void 0:e.props)}static get controlType(){return"step"}}var ih={Designer:Ru,Runtime:jw,Property:za};class Ka extends k{constructor(e){var i,n,u,l,r,c,s,h,d,f,g,E,_,b,D;super(e),this.rowCount=(i=e==null?void 0:e.rowCount)!=null?i:2,this.colCount=(n=e==null?void 0:e.colCount)!=null?n:2,this.labelPosition=(u=e==null?void 0:e.labelPosition)!=null?u:"left",this.colWidthType=(l=e==null?void 0:e.colWidthType)!=null?l:"average",this.colWidth=(r=e==null?void 0:e.colWidth)!=null?r:"12:12",this.isLabelBold=(c=e==null?void 0:e.isLabelBold)!=null?c:!1,this.labelWidth=(s=e==null?void 0:e.labelWidth)!=null?s:"",this.align=(h=e==null?void 0:e.align)!=null?h:"",this.verticalAlign=(d=e==null?void 0:e.verticalAlign)!=null?d:"center",this.padding=(f=e==null?void 0:e.padding)!=null?f:{paddingTop:"",paddingRight:"",paddingBottom:"",paddingLeft:""},this.margin=(g=e==null?void 0:e.margin)!=null?g:{marginTop:"",marginRight:"",marginBottom:"",marginLeft:""},this.border=(E=e==null?void 0:e.border)!=null?E:{borderTop:!0,borderBottom:!0,borderLeft:!0,borderRight:!0,borderWidth:1,borderColor:"",borderType:"solid"},this.borderRadius=(_=e==null?void 0:e.borderRadius)!=null?_:{borderTopLeftRadius:"",borderTopRightRadius:"",borderBottomRightRadius:"",borderBottomLeftRadius:""},this.background=(b=e==null?void 0:e.background)!=null?b:{type:"backgroundColor",backgroundColor:"",backgroundImage:"",placementMode:"contain"},this.innerBorder=(D=e==null?void 0:e.innerBorder)!=null?D:{borderWidth:1,borderColor:"",borderType:"solid"}}}class Qa extends L{constructor(e){super(e),this.props=new Ka(e==null?void 0:e.props)}static get controlName(){return a("CMD.6a6c1769566515442")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"table-layout"}}Qa.excludes=[],Qa.setting=[{key:"row-count",visible:!0},{key:"col-count",visible:!0},{key:"col-width",visible:!0},{key:"label-position",visible:!0},{key:"label-width",visible:!0},{key:"label-bold",visible:!0},{key:"text-align",visible:!0},{key:"vertical-align",visible:!0},{key:"dynamic-border",visible:!0},{key:"inner-border",visible:!0},{key:"dynamic-border-radius",visible:!0},{key:"dynamic-margin-padding",visible:!0},{key:"dynamic-background",visible:!0}];class qw extends ${constructor(e){super(e),this.props=new Ka(e==null?void 0:e.props)}static get controlType(){return"table-layout"}}var nh={Designer:Qa,Runtime:qw,Property:Ka};class Za extends k{constructor(e){var i,n;super(e),this.layoutMode=(i=e==null?void 0:e.layoutMode)!=null?i:"select",this.gutter=(n=e==null?void 0:e.gutter)!=null?n:0}}class Xa extends L{constructor(e){super(e),this.props=new Za(e==null?void 0:e.props)}static get controlName(){return a("CMD.table-layout-row",null,"\u6805\u683C\u5E03\u5C40")}static get controlType(){return"table-layout-row"}static get controlIcon(){return"iconyihangduolie"}}Xa.excludes=[w.ROW,w.TABLE_LAYOUT_ROW],Xa.setting=[{key:"col-setting",visible:!0}];class Ww extends ${constructor(e){super(e),this.props=new Za(e==null?void 0:e.props)}static get controlType(){return"table-layout-row"}}var uh={Designer:Xa,Runtime:Ww,Property:Za};const Uw=24;class Ja extends k{constructor(e){var i,n,u,l,r,c,s,h,d,f;super(e),this.span=(i=e==null?void 0:e.span)!=null?i:Uw,this.offset=(n=e==null?void 0:e.offset)!=null?n:0,this.tableLayoutColSpan=(u=e==null?void 0:e.tableLayoutColSpan)!=null?u:0,this.tableLayoutColSpanType=(l=e==null?void 0:e.tableLayoutColSpanType)!=null?l:"",this.layout=(r=e==null?void 0:e.layout)!=null?r:"flex",this.flexDirection=(c=e==null?void 0:e.flexDirection)!=null?c:"column",this.alignItems=(s=e==null?void 0:e.alignItems)!=null?s:"flex-start",this.justifyContent=(h=e==null?void 0:e.justifyContent)!=null?h:"flex-start",this.background=(d=e==null?void 0:e.background)!=null?d:{type:"backgroundColor",backgroundColor:"",backgroundImage:"",placementMode:"contain"},this.isLabelCol=(f=e==null?void 0:e.isLabelCol)!=null?f:!1}}class Ya extends L{constructor(e){super(e),this.props=new Ja(e==null?void 0:e.props)}static get controlName(){return a("CMD.table-layout-col",null,"\u8868\u683C\u5E03\u5C40\u6805\u683C\u5217")}static get controlType(){return"table-layout-col"}static get controlIcon(){return"table-layout-col"}}Ya.excludes=[w.COL,w.SUBTABLE_COLUMN,w.GRID_LAYOUT_CONTAINER,w.TABLE_LAYOUT_COL],Ya.setting=[{key:"col-span",visible:!0},{key:"is-label-col",visible:!0},{key:"layout-config",visible:!0},{key:"flex-config",visible:!0},{key:"dynamic-background",visible:!0}];class zw extends ${constructor(e){super(e),this.props=new Ja(e==null?void 0:e.props)}static get controlType(){return"table-layout-col"}}var lh={Designer:Ya,Runtime:zw,Property:Ja};class pa extends k{constructor(e){var i,n,u;super(e),this.width=(i=e==null?void 0:e.width)!=null?i:"",this.widthCompany=(n=e==null?void 0:e.widthCompany)!=null?n:"px",this.showFormBorder=(u=e==null?void 0:e.showFormBorder)!=null?u:!1}}class er extends L{constructor(e){super(e),this.props=new pa(e==null?void 0:e.props)}static get controlName(){return a("CMD.table-layout-wrapper",null,"\u8868\u683C\u5E03\u5C40\u6805\u683C\u5217")}static get controlType(){return"table-layout-wrapper"}static get controlIcon(){return"table-layout-wrapper"}}er.excludes=[],er.setting=[{key:"dynamic-size",visible:!0},{key:"show-form-border",visible:!0}];class Gw extends ${constructor(e){super(e),this.props=new pa(e==null?void 0:e.props)}static get controlType(){return"table-layout-wrapper"}}var ah={Designer:er,Runtime:Gw,Property:pa};class tr extends k{constructor(e){var i,n;super(e),this.accordion=(i=e==null?void 0:e.accordion)!=null?i:!1,this.bordered=(e==null?void 0:e.bordered)!==!1,this.isShowHighlightBar=(n=e==null?void 0:e.isShowHighlightBar)!=null?n:!1}}class ir extends k{constructor(e){var i;super(e),this.header=(i=e==null?void 0:e.header)!=null?i:a("CMD.08411774579056771")}}class Vi extends L{constructor(e){super(e),this.props=new ir(e==null?void 0:e.props)}static get controlName(){return a("CMD.e2b61774578975402")}static get controlType(){return"collapse-pane"}static get controlIcon(){return"collapse-pane"}}Vi.excludes=[w.TAB],Vi.setting=[];class Kw extends ${constructor(e){super(e),this.props=new ir(e==null?void 0:e.props)}static get controlType(){return"collapse-pane"}}var rh={Designer:Vi,Runtime:Kw,Property:ir};class Mu extends L{constructor(e){var i;super(e),this.props=new tr(e==null?void 0:e.props),this.children=(i=e==null?void 0:e.children)!=null?i:[new Vi,new Vi]}static get controlName(){return a("CMD.0c811774579014810")}static get controlType(){return"collapse"}static get controlIcon(){return"iconziyuan1"}}Mu.excludes=[],Mu.controlEventKeys=["on_change_collapse"],Mu.setting=[{key:"common-switch",visible:!0,name:"accordion",label:a("CMD.48f31774578989481"),default:!1},{key:"common-switch",visible:!0,name:"bordered",label:a("CMD.02b21774579016858"),default:!0},{key:"common-switch",visible:!0,name:"isShowHighlightBar",label:a("CMD.41b81774578953649"),default:!1},{key:"collapse-pane",visible:!0}];class Qw extends ${constructor(e){super(e),this.props=new tr(e==null?void 0:e.props)}static get controlType(){return"collapse"}}var oh={Designer:Mu,Runtime:Qw,Property:tr},Zw=Object.freeze({__proto__:null,Grid:Sd,Col:Pd,Row:kd,GridRow:Rd,CardGroup:Md,BlankContainer:xd,SubTableColumn:Ld,SubTableRow:$d,GridTableColumn:Vd,GridLayoutContainer:jd,Tab:Wd,TabPane:qd,Toolbox:Gd,ListView:Kd,DataView:Zd,Page:Xd,AdvancedContainer:Jd,PositioningContainer:Yd,Position:pd,ActionBar:eh,Step:ih,StepPane:th,TableLayout:nh,TableLayoutRow:uh,TableLayoutCol:lh,TableLayoutWrapper:ah,Collapse:oh,CollapsePane:rh});class Xw extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:a("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.limitRows=[{type:"number",required:!0,message:a("CMD.isNotNumber",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57")},{type:"number",min:0,message:a("CMD.limitRowsCannotBeLessThan0",null,"\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0")}],this.formKey={type:"string",required:!1,message:a("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")},this.maxHeight={type:"number",required:!0,message:a("CMD.pleaseEnterMaxHeight",null,"\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6")},this.captionTip={type:"string",required:!1,message:a("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},this.mobileRowCaption={type:"string",required:!1,message:a("CMD.pleaseEnterRowCaption",null,"\u8BF7\u8F93\u5165\u884C\u6807\u9898")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0),e.mobileShowType==="tile"&&(this.mobileRowCaption.required=!0)}}class Jw extends Ne{constructor(e){super(e),e.isHide||this.push({type:"array",required:e.limitRows>0,message:a("CMD.runtimeRequired",{caption:e.caption},"{caption}\u5FC5\u586B")},{type:"array",validator(i,n,u){n.length<e.limitRows&&u(a("CMD.TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows},"\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C")),u()},message:a("CMD.TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows},"\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C")})}}const ch=class extends mn{constructor(t,e){var i,n,u,l,r,c,s,h,d,f,g,E,_,b,D,m,I,R,P,x,te,V,le,Ui,_e,Ku,zi,kt,Ie,Nh,Lh,$h,Hh,Vh,jh;super(t,e,ch.mode),this.caption=(i=e==null?void 0:e.caption)!=null?i:qi.controlName,this.isHideCaption=(n=e==null?void 0:e.isHideCaption)!=null?n:!1,this.defaultState=(u=e==null?void 0:e.defaultState)!=null?u:"default",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top",this.openType=(r=e==null?void 0:e.openType)!=null?r:"default",this.formKey=(c=e==null?void 0:e.formKey)!=null?c:"",this.useCustomHeight=(s=e==null?void 0:e.useCustomHeight)!=null?s:!1,this.maxHeight=(h=e==null?void 0:e.maxHeight)!=null?h:gc,this.printMode=(d=e==null?void 0:e.printMode)!=null?d:"row",this.limitRows=(f=e==null?void 0:e.limitRows)!=null?f:1,this.maxRows=(g=e==null?void 0:e.maxRows)!=null?g:null,this.defaultRows=(E=e==null?void 0:e.defaultRows)!=null?E:1,this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.canAdd=(_=e==null?void 0:e.canAdd)!=null?_:!0,this.canDelete=(b=e==null?void 0:e.canDelete)!=null?b:!0,this.canCheck=(D=e==null?void 0:e.canCheck)!=null?D:!1,this.canEdit=(m=e==null?void 0:e.canEdit)!=null?m:!1,this.canImport=(I=e==null?void 0:e.canImport)!=null?I:!1,this.canExport=(R=e==null?void 0:e.canExport)!=null?R:!1,this.canClear=(P=e==null?void 0:e.canClear)!=null?P:!0,this.serverPagination=(x=e==null?void 0:e.serverPagination)!=null?x:!1,this.isShowCaptionTip=(te=e==null?void 0:e.isShowCaptionTip)!=null?te:!1,this.captionTip=(V=e==null?void 0:e.captionTip)!=null?V:"",this.mobileShowType=(le=e==null?void 0:e.mobileShowType)!=null?le:"list",this.mobileDefaultNum=(Ui=e==null?void 0:e.mobileDefaultNum)!=null?Ui:10,this.dataStorageDoc=(_e=e==null?void 0:e.dataStorageDoc)!=null?_e:new zE,this.fixedColumn=(Ku=e==null?void 0:e.fixedColumn)!=null?Ku:[],this.mobileRowCaption=(zi=e==null?void 0:e.mobileRowCaption)!=null?zi:a("CMD.detailed",null,"\u660E\u7EC6"),this.mobileIsTile=(kt=e==null?void 0:e.mobileIsTile)!=null?kt:!1,this.isPaste=(Ie=e==null?void 0:e.isPaste)!=null?Ie:!1,this.pageSize=(Nh=e==null?void 0:e.pageSize)!=null?Nh:10,this.pageSizeOptions=(Lh=e==null?void 0:e.pageSizeOptions)!=null?Lh:[10,20,50,100],this.importConfig=new vc(e==null?void 0:e.importConfig),this.exportConfig=new mc(e==null?void 0:e.exportConfig),this.sortable=($h=e==null?void 0:e.sortable)!=null?$h:!1,this.sortKey=(Hh=e==null?void 0:e.sortKey)!=null?Hh:{},this.showTableIndex=(Vh=e==null?void 0:e.showTableIndex)!=null?Vh:!0,this.triggerEdit=(jh=e==null?void 0:e.triggerEdit)!=null?jh:"single"}};let ji=ch;ji.Rules=Xw,ji.RuntimeRules=Jw;class qi extends Wl{constructor(e){var i;super(e),this.props=new ji(this,e==null?void 0:e.props),((i=e==null?void 0:e.props)==null?void 0:i.headers)===void 0&&(this.props.headers=[new he,new he,new he])}static get controlName(){return a("CMD.subTable",null,"\u660E\u7EC6\u5B50\u8868")}static get controlIcon(){return"iconGroup11"}static get controlType(){return"subtable"}addColumn(e,i){const n=e!==void 0&&typeof e!="number"?e:new he,u=typeof e=="number"?e:i;return u===void 0?this.props.headers.push(n):this.props.headers.splice(u,0,n),n}}qi.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],qi.slotPosition={toolbar:"subtable-toolbar-slot"},qi.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_SHOW_CAPTION_TIP,o.IS_PASTE,o.SERVER_PAGINATION,o.SORTABLE,o.SHOW_TABLE_INDEX]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"common-button-radio",visible:!0,name:"triggerEdit",label:a("CMD.65531774578985876"),default:"single",options:[{value:"single",label:a("CMD.315e1774579064681")},{value:"double",label:a("CMD.22281774579066498")}]},{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 Yw extends Zo{constructor(e){super(e),this.props=new ji(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){Lt("Method not implemented.")}getChildrenFormControl(){return[]}}var sh={Designer:qi,Runtime:Yw,Property:ji};class nr extends mn{constructor(e,i){var n,u,l,r,c;super(e,i),this.isFixedHeader=(n=i==null?void 0:i.isFixedHeader)!=null?n:!1,this.selectionType=i==null?void 0:i.selectionType,this.isShowToolbar=(u=i==null?void 0:i.isShowToolbar)!=null?u:!0,this.isShowSelection=(l=i==null?void 0:i.isShowSelection)!=null?l:!1,this.isShowCustomColumns=(r=i==null?void 0:i.isShowCustomColumns)!=null?r:!0,this.pageSizeOptions=(c=i==null?void 0:i.pageSizeOptions)!=null?c:[10,20,50,100,500]}}class pw extends be{constructor(e){super(e),this.caption.required=!1}}class xu extends G{constructor(e){var i,n,u,l,r,c,s,h;super(e),this.fixed=(i=e==null?void 0:e.fixed)!=null?i:"left",this.caption=(n=e==null?void 0:e.caption)!=null?n:Ue.controlName,this.width=(u=e==null?void 0:e.width)!=null?u:60,this.autoWidth.minWidth=(r=(l=e==null?void 0:e.autoWidth)==null?void 0:l.minWidth)!=null?r:60,this.autoWidth.flex=(s=(c=e==null?void 0:e.autoWidth)==null?void 0:c.flex)!=null?s:.4,this.widthType=(h=e==null?void 0:e.widthType)!=null?h:"px"}}xu.Rules=pw;class Ue extends X{constructor(e){super(e),this.props=new xu(e==null?void 0:e.props)}}Ue.controlType="order-column",Ue.controlName=a("CMD.order",null,"\u5E8F\u53F7"),Ue.controlIcon="order-column",Ue.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"super-setting",visible:!0}];class ur extends J{constructor(e){super(e),this.props=new xu(e==null?void 0:e.props)}}ur.controlType="order-column",ur.controlFieldType=C.DECIMAL;var dh={Designer:Ue,Runtime:ur,Property:xu};class lr extends G{constructor(e){var i,n,u,l,r,c;super(e),this.fixed=(i=e==null?void 0:e.fixed)!=null?i:"right",this.widthType="auto",this.autoWidth.minWidth=(u=(n=e==null?void 0:e.autoWidth)==null?void 0:n.minWidth)!=null?u:84,this.caption=(l=e==null?void 0:e.caption)!=null?l:Ce.controlName,this.showType=(r=e==null?void 0:e.showType)!=null?r:"icon",this.limit=(c=e==null?void 0:e.limit)!=null?c:3}}class Ce extends X{constructor(e){super(e),this.props=new lr(e==null?void 0:e.props)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(i=>{if(i.type===Yn.controlType){const n=i;e.props[n.props.command]=n.props}}),e}validate(e,i){return Pr(this,null,function*(){return yield Sr(Ce.prototype,this,"validate").call(this,e,i),yield Promise.all(this.children.map(n=>n.validate(e,i))),!0})}}Ce.controlType="operation-column",Ce.controlName=a("CMD.operation",null,"\u64CD\u4F5C"),Ce.controlIcon="operation-column",Ce.setting=[{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class ar extends J{constructor(e){super(e),this.props=new lr(e==null?void 0:e.props)}}ar.controlType="operation-column",ar.controlFieldType=C.FILE;var hh={Designer:Ce,Runtime:ar,Property:lr};const e8=1e4;class ze extends Wl{constructor(e){super(e);const{excludes:i,childrenMaxLength:n}=new.target;this.props=new nr(this,e==null?void 0:e.props),se(this,"children",e==null?void 0:e.children,void 0,"Designer"),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new Ue,new Ce]),this.excludes=ce(i),this.childrenMaxLength=n}static get controlName(){return a("CMD.gridTable",null,"\u8868\u683C")}static get controlIcon(){return"iconlistview"}static get controlType(){return"grid-table"}judgeJoinChildren(e){const i=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return i&&this.childrenMaxLength>this.children.length}toSchema(){const e=super.toSchema(),i=this.children.map(n=>n.toSchema());return Fr(lt({},e),{children:i})}validate(e,i){return Pr(this,null,function*(){return yield Sr(ze.prototype,this,"validate").call(this,e,i),yield Promise.all(this.children.map(n=>n.validate(e,i))),!0})}}ze.slotPosition={toolbar:"grid-table-toolbar-slot"},ze.setting=[{key:"list-fixed-header",visible:!0}],ze.excludes=[],ze.childrenMaxLength=e8;class t8 extends Zo{constructor(e){super(e),this.props=new nr(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){Lt("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var yh={Designer:ze,Runtime:t8,Property:nr},i8=Object.freeze({__proto__:null,SubTable:sh,GridTable:yh});class n8 extends Xl{constructor(e){super(e),Pe.call(this,e)}}class Nu extends G{constructor(e){var i,n,u,l,r,c;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:Ge.controlName,this.optionConfig=(n=e==null?void 0:e.optionConfig)!=null?n:"none",this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.options=de((u=e==null?void 0:e.options)!=null?u:[{}]),this.showLinkOperation=(l=e==null?void 0:e.showLinkOperation)!=null?l:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(r=e==null?void 0:e.lineEllipsis)!=null?r:1,this.dictionaryTagConfig=(c=e==null?void 0:e.dictionaryTagConfig)!=null?c:{isTag:!1}}}Nu.Rules=n8;class Ge extends X{constructor(e){super(e),this.props=new Nu(e==null?void 0:e.props)}}Ge.controlType="varchar-column",Ge.controlName=a("CMD.varchar",null,"\u77ED\u6587\u672C"),Ge.controlIcon="varchar-column",Ge.controlFieldType=C.VARCHAR,Ge.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0},{key:"super-setting",visible:!0}];class rr extends J{constructor(e){super(e),this.props=new Nu(e==null?void 0:e.props)}}rr.controlType="varchar-column",rr.controlFieldType=C.VARCHAR;var fh={Designer:Ge,Runtime:rr,Property:Nu};class u8 extends be{constructor(e){super(e),Pe.call(this,e)}}class Lu extends G{constructor(e){var i,n,u,l;super(e),this.escapeHTML=(i=e==null?void 0:e.escapeHTML)!=null?i:!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:Ke.controlName,this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1,this.showLinkOperation=(l=e==null?void 0:e.showLinkOperation)!=null?l:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption)}}Lu.Rules=u8;class Ke extends X{constructor(e){super(e),this.props=new Lu(e==null?void 0:e.props)}toDataBindModel(e){const i=super.toDataBindModel(e);if(i){const{escapeHTML:n}=this.props;i.props.escapeHTML=n}return i}}Ke.controlType="text-column",Ke.controlName=a("CMD.long",null,"\u957F\u6587\u672C"),Ke.controlIcon="text-column",Ke.controlFieldType=C.TEXT,Ke.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0},{key:"super-setting",visible:!0}];class or extends J{constructor(e){super(e),this.props=new Lu(e==null?void 0:e.props)}}or.controlType="text-column",or.controlFieldType=C.TEXT;var vh={Designer:Ke,Runtime:or,Property:Lu};class l8 extends Xl{constructor(e){super(e),Pe.call(this,e)}}class $u extends G{constructor(e){var i,n,u,l,r,c,s;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:Qe.controlName,this.precision=(n=e==null?void 0:e.precision)!=null?n:0,this.micrometer=(u=e==null?void 0:e.micrometer)!=null?u:!1,this.percentageFormat=(l=e==null?void 0:e.percentageFormat)!=null?l:!1,this.optionConfig=(r=e==null?void 0:e.optionConfig)!=null?r:"none",this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.options=de((c=e==null?void 0:e.options)!=null?c:[{}]),this.showLinkOperation=(s=e==null?void 0:e.showLinkOperation)!=null?s:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption)}}$u.Rules=l8;class Qe extends X{constructor(e){super(e),this.props=new $u(e==null?void 0:e.props)}toDataBindModel(e){const i=super.toDataBindModel(e);if(i){const{precision:n,micrometer:u}=this.props;n!==""&&(i.props.precision=n),i.props.micrometer=u}return i}}Qe.controlType="decimal-column",Qe.controlName=a("CMD.decimal",null,"\u6570\u503C"),Qe.controlIcon="decimal-column",Qe.controlFieldType=C.DECIMAL,Qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.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:[o.MICROMETER,o.PRECISION,o.PERCENTAGE],visible:!0},{key:"column-align-content",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0},{key:"super-setting",visible:!0}];class cr extends J{constructor(e){super(e),this.props=new $u(e==null?void 0:e.props)}}cr.controlType="decimal-column",cr.controlFieldType=C.DECIMAL;var mh={Designer:Qe,Runtime:cr,Property:$u};class a8 extends be{constructor(e){super(e),Pe.call(this,e)}}class Hu extends G{constructor(e){var i,n,u,l;super(e),this.dateType=(i=e==null?void 0:e.dateType)!=null?i:at.DATE,this.showLinkOperation=(n=e==null?void 0:e.showLinkOperation)!=null?n:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:Ze.controlName,this.isInternational=(l=e==null?void 0:e.isInternational)!=null?l:!1}}Hu.Rules=a8;class Ze extends X{constructor(e){super(e),this.props=new Hu(e==null?void 0:e.props)}toDataBindModel(e){const i=super.toDataBindModel(e);if(i){const{dateType:n,isInternational:u}=this.props;i.props.dateType=n,i.props.isInternational=u}return i}}Ze.controlType="timescope-column",Ze.controlName=a("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4"),Ze.controlIcon="timescope-column",Ze.controlFieldType=C.TIMESCOPE,Ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class sr extends J{constructor(e){super(e),this.props=new Hu(e==null?void 0:e.props)}}sr.controlType="timescope-column",sr.controlFieldType=C.TIMESCOPE;var gh={Designer:Ze,Runtime:sr,Property:Hu};class r8 extends be{constructor(e){super(e),Pe.call(this,e)}}class Vu extends G{constructor(e){var i,n,u,l;super(e),this.dateType=(i=e==null?void 0:e.dateType)!=null?i:at.DATE,this.showLinkOperation=(n=e==null?void 0:e.showLinkOperation)!=null?n:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:Xe.controlName,this.isInternational=(l=e==null?void 0:e.isInternational)!=null?l:!1}}Vu.Rules=r8;class Xe extends X{constructor(e){super(e),this.props=new Vu(e==null?void 0:e.props)}toDataBindModel(e){const i=super.toDataBindModel(e);if(i){const{dateType:n,isInternational:u}=this.props;i.props.dateType=n,i.props.isInternational=u}return i}}Xe.controlType="timestamp-column",Xe.controlName=a("CMD.timestamp",null,"\u65E5\u671F"),Xe.controlIcon="timestamp-column",Xe.controlFieldType=C.TIMESTAMP,Xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class dr extends J{constructor(e){super(e),this.props=new Vu(e==null?void 0:e.props)}}dr.controlType="timestamp-column",dr.controlFieldType=C.TIMESTAMP;var bh={Designer:Xe,Runtime:dr,Property:Vu};class o8 extends Xl{constructor(e){super(e),Pe.call(this,e)}}class ju extends G{constructor(e){var i,n,u,l;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:Je.controlName,this.optionConfig=(n=e==null?void 0:e.optionConfig)!=null?n:"none",this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption),this.options=de((l=e==null?void 0:e.options)!=null?l:[{}])}}ju.Rules=o8;class Je extends X{constructor(e){super(e),this.props=new ju(e==null?void 0:e.props)}}Je.controlType="array-column",Je.controlName=a("CMD.array",null,"\u6570\u7EC4"),Je.controlIcon="array-column",Je.controlFieldType=C.ARRAY,Je.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class hr extends J{constructor(e){super(e),this.props=new ju(e==null?void 0:e.props)}}hr.controlType="array-column",hr.controlFieldType=C.ARRAY;var Ch={Designer:Je,Runtime:hr,Property:ju};class yr extends G{constructor(e){var i,n;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:Ye.controlName,this.displayLevel=(n=e==null?void 0:e.displayLevel)!=null?n:1}}class Ye extends X{constructor(e){super(e),this.props=new yr(e==null?void 0:e.props)}toDataBindModel(e){const i=super.toDataBindModel(e);if(i){const{displayLevel:n}=this.props;i.props.displayLevel=n}return i}}Ye.controlType="department-column",Ye.controlName=a("CMD.department",null,"\u90E8\u95E8"),Ye.controlIcon="department-column",Ye.controlFieldType=C.DEPARTMENTS,Ye.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class fr extends J{constructor(e){super(e),this.props=new yr(e==null?void 0:e.props)}}fr.controlType="department-column",fr.controlFieldType=C.DEPARTMENTS;var Eh={Designer:Ye,Runtime:fr,Property:yr};class c8 extends be{constructor(e){super(e),Pe.call(this,e)}}class qu extends G{constructor(e){var i,n;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:pe.controlName,this.showLinkOperation=(n=e==null?void 0:e.showLinkOperation)!=null?n:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption)}}qu.Rules=c8;class pe extends X{constructor(e){super(e),this.props=new qu(e==null?void 0:e.props)}}pe.controlType="auto-number-column",pe.controlName=a("CMD.autoNumber",null,"\u81EA\u52A8\u7F16\u53F7"),pe.controlIcon="auto-number-column",pe.controlFieldType=C.AUTO_NUMBER,pe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class vr extends J{constructor(e){super(e),this.props=new qu(e==null?void 0:e.props)}}vr.controlType="auto-number-column",vr.controlFieldType=C.AUTO_NUMBER;var _h={Designer:pe,Runtime:vr,Property:qu};class mr extends G{constructor(e){var i,n;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:et.controlName,this.operation=(n=e==null?void 0:e.operation)!=null?n:["info","preview","download"]}}class et extends X{constructor(e){super(e),this.props=new mr(e==null?void 0:e.props)}}et.controlType="file-column",et.controlName=a("CMD.file",null,"\u9644\u4EF6"),et.controlIcon="file-column",et.controlFieldType=C.FILE,et.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"attachment-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class gr extends J{constructor(e){super(e),this.props=new mr(e==null?void 0:e.props)}}gr.controlType="file-column",gr.controlFieldType=C.FILE;var Ih={Designer:et,Runtime:gr,Property:mr};class br extends G{constructor(e){var i;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:tt.controlName}}class tt extends X{constructor(e){super(e),this.props=new br(e==null?void 0:e.props)}}tt.controlType="image-column",tt.controlName=a("CMD.image",null,"\u56FE\u7247"),tt.controlIcon="image-column",tt.controlFieldType=C.IMAGE,tt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Cr extends J{constructor(e){super(e),this.props=new br(e==null?void 0:e.props)}}Cr.controlType="image-column",Cr.controlFieldType=C.IMAGE;var Dh={Designer:tt,Runtime:Cr,Property:br};class Er extends G{constructor(e){var i;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:it.controlName}}class it extends X{constructor(e){super(e),this.props=new Er(e==null?void 0:e.props)}}it.controlType="people-column",it.controlName=a("CMD.people",null,"\u4EBA\u5458"),it.controlIcon="people-column",it.controlFieldType=C.EMPLOYEES,it.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class _r extends J{constructor(e){super(e),this.props=new Er(e==null?void 0:e.props)}}_r.controlType="people-column",_r.controlFieldType=C.EMPLOYEES;var Bh={Designer:it,Runtime:_r,Property:Er};class s8 extends be{constructor(e){super(e),Pe.call(this,e)}}class Wu extends G{constructor(e){var i,n;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:nt.controlName,this.showLinkOperation=(n=e==null?void 0:e.showLinkOperation)!=null?n:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption)}}Wu.Rules=s8;class nt extends X{constructor(e){super(e),this.props=new Wu(e==null?void 0:e.props)}}nt.controlType="location-column",nt.controlName=a("CMD.location",null,"\u5730\u5740"),nt.controlIcon="location-column",nt.controlFieldType=C.ADDRESS,nt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Ir extends J{constructor(e){super(e),this.props=new Wu(e==null?void 0:e.props)}}Ir.controlType="location-column",Ir.controlFieldType=C.ADDRESS;var wh={Designer:nt,Runtime:Ir,Property:Wu};class d8 extends be{constructor(e){super(e),this.sortFieldCode={type:"string",message:a("CMD.pleaseSelectSortFieldCode",null,"\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5")},e.sort===!0&&(this.sortFieldCode.required=!0)}}class Uu extends G{constructor(e){var i,n,u;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:Ee.controlName,this.fieldCodeList=(n=e==null?void 0:e.fieldCodeList)!=null?n:[],this.sortFieldCode=(u=e==null?void 0:e.sortFieldCode)!=null?u:""}}Uu.Rules=d8;const h8=1;class Ee extends X{constructor(e){super(e);const{excludes:i,childrenMaxLength:n}=new.target;this.props=new Uu(e==null?void 0:e.props),se(this,"children",e==null?void 0:e.children,void 0,"Designer"),this.excludes=ce(i),this.childrenMaxLength=n}judgeJoinChildren(e){const i=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return i&&this.childrenMaxLength>this.children.length}toDataBindModel(e){const i=super.toDataBindModel(e);if(i){const{fieldCodeList:n}=this.props;i.props.fieldCodeList=n}return i}}Ee.controlType="custom-column",Ee.controlName=a("CMD.custom",null,"\u81EA\u5B9A\u4E49"),Ee.controlIcon="custom-column",Ee.slots=["column-column-slot"],Ee.excludes=[],Ee.childrenMaxLength=h8,Ee.setting=[{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"column-sort-field",visible:!0},{key:"super-setting",visible:!0}];class Ah extends J{constructor(e){super(e),this.props=new Uu(e==null?void 0:e.props),se(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}Ah.controlType="custom-column";var Th={Designer:Ee,Runtime:Ah,Property:Uu};class Dr extends G{constructor(e){var i,n;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:xe.controlName,this.datasourceBind=new pi((n=e==null?void 0:e.datasourceBind)!=null?n:{attributes:xe.controlCustomAttributes})}}class xe extends X{constructor(e){super(e),this.props=new Dr(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:a("CMD.81231751712162319"),required:!0}]}}xe.controlType="employee-column",xe.controlName=a("CMD.employee",null,"\u4EBA\u5458"),xe.controlIcon="employee-column",xe.controlFieldType=C.EMPLOYEES,xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Br extends J{constructor(e){super(e),this.props=new Dr(e==null?void 0:e.props)}}Br.controlType="employee-column",Br.controlFieldType=C.EMPLOYEES;var Fh={Designer:xe,Runtime:Br,Property:Dr};class wr extends G{constructor(e){var i,n,u;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:ut.controlName,this.showLinkOperation=(n=e==null?void 0:e.showLinkOperation)!=null?n:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1}}class ut extends X{constructor(e){super(e),this.props=new wr(e==null?void 0:e.props)}}ut.controlType="approval-status-column",ut.controlName=a("CMD.approvalStatusColumn",null,"\u5F53\u524D\u5BA1\u6279\u72B6\u6001"),ut.controlIcon="approval-status-column",ut.excludes=[],ut.setting=[{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"super-setting",visible:!0}];class Sh extends J{constructor(e){super(e),this.props=new wr(e==null?void 0:e.props)}}Sh.controlType="approval-status-column";var Ph={Designer:ut,Runtime:Sh,Property:wr};class Ar extends G{constructor(e){var i;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:""}}class Wi extends X{constructor(e){super(e),this.props=new Ar(e==null?void 0:e.props)}}Wi.controlType="group-column",Wi.controlName=a("CMD.43541769566517351"),Wi.controlIcon="group-column",Wi.setting=[{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Oh extends J{constructor(e){super(e),this.props=new Ar(e==null?void 0:e.props),se(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}Oh.controlType="group-column";var kh={Designer:Wi,Runtime:Oh,Property:Ar},y8=Object.freeze({__proto__:null,VarcharColumn:fh,TextColumn:vh,DecimalColumn:mh,TimescopeColumn:gh,TimestampColumn:bh,ArrayColumn:Ch,DepartmentColumn:Eh,AutoNumberColumn:_h,FileColumn:Ih,ImageColumn:Dh,PeopleColumn:Bh,LocationColumn:wh,CustomColumn:Th,OrderColumn:dh,OperationColumn:hh,EmployeeColumn:Fh,ApprovalStatusColumn:Ph,GroupColumn:kh});class f8 extends Ne{constructor(e){super(e),this.push({type:"object",fields:{}})}}class zu extends ta{constructor(e){var i,n,u,l,r,c,s,h,d,f,g,E;super(e),this.searchType=(i=e==null?void 0:e.searchType)!=null?i:"model",this.labelPosition=(n=e==null?void 0:e.labelPosition)!=null?n:"top",this.viewType=(u=e==null?void 0:e.viewType)!=null?u:"mini",this.search=new we((l=e==null?void 0:e.search)!=null?l:{content:a("CMD.query",null,"\u67E5\u8BE2"),isShow:!0}),this.cancel=new we((r=e==null?void 0:e.cancel)!=null?r:{content:a("CMD.reset",null,"\u91CD\u7F6E"),isShow:!0}),this.isLoading=(c=e==null?void 0:e.isLoading)!=null?c:!1,this.custom=((s=e==null?void 0:e.custom)!=null?s:[]).map(_=>new we(_)),this.queryTypeMap=(h=e==null?void 0:e.queryTypeMap)!=null?h:[],this.childMinWidth=(d=e==null?void 0:e.childMinWidth)!=null?d:230,this.colGap=(f=e==null?void 0:e.colGap)!=null?f:24,this.viewConfig=(g=e==null?void 0:e.viewConfig)!=null?g:[],this.simpleConfig=(E=e==null?void 0:e.simpleConfig)!=null?E:[]}}zu.RuntimeRules=f8;class Gu extends EI{constructor(e){super(e),this.props=new zu(e==null?void 0:e.props)}}Gu.controlType="simple-search",Gu.slotPosition={default:"search"},Gu.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:[o.IS_HIDE]},{key:"search-view-type",visible:!0}];class Rh extends TI{constructor(e){var i;super(e),this.props=new zu(e==null?void 0:e.props),this.children=(i=e==null?void 0:e.children)!=null?i:[]}}Rh.controlType="simple-search";var Mh={Designer:Gu,Runtime:Rh,Property:zu},v8=Object.freeze({__proto__:null,SimpleSearch:Mh});class Tr extends la{constructor(e){var i;super(e),this.wholeRow=(i=e==null?void 0:e.wholeRow)!=null?i:!1}}class m8 extends VI{constructor(e){super(e),this.props=new Tr(e==null?void 0:e.props)}static get controlName(){return a("CMD.gridLayoutWrap",null,"\u6362\u884C\u5BB9\u5668Wrap")}static get controlIcon(){return"page"}static get controlType(){return"grid-layout-wrap"}}class g8 extends KI{constructor(e){super(e),this.props=new Tr(e==null?void 0:e.props)}static get controlType(){return"grid-layout-wrap"}}function T8(t){return t}var b8={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:a("CMD.fullLine",null,"\u5145\u6EE1\u6574\u884C"),props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},xh={Designer:m8,Runtime:g8,Property:Tr,Setting:b8},C8=Object.freeze({__proto__:null,GridLayoutWrap:xh});v.ActionBar=eh,v.ActionSetting=ya,v.Address=Xs,v.AdvancedContainer=Jd,v.Amount=Gs,v.ApprovalStatusColumn=Ph,v.ArrayColumn=Ch,v.AssignType=Re,v.Attachment=Ws,v.AutoNumber=ed,v.AutoNumberColumn=_h,v.BarChart=Wc,v.Barcode=Is,v.BatchDeleteButton=pc,v.BatchPrintListButton=Xc,v.BatchPrintRecordListButton=Jc,v.BatchSubmissionListButton=Oc,v.BlankContainer=xd,v.Button=Ac,v.Calc=id,v.CardGroup=Md,v.Cascader=os,v.Checkbox=as,v.Col=Pd,v.Collapse=oh,v.CollapsePane=rh,v.CommentControl=is,v.Counter=ss,v.CreateFormListButton=Pc,v.CustomColumn=Th,v.DATE_CONFIG_TYPE=sc,v.DATE_LIMIT_TYPE=dc,v.Dashboard=qc,v.DataView=Zd,v.DatePicker=As,v.DateRange=Fs,v.DecimalColumn=mh,v.Department=Ys,v.Department2=Dd,v.DepartmentColumn=Eh,v.DepartmentType=On,v.Divider=Fc,v.ElectronicSignature=Cd,v.ElectronicSignatureConfig=hc,v.Employee=qs,v.Employee2=gd,v.EmployeeColumn=Fh,v.EncryptTypeEnum=Ec,v.Explain=Pn,v.ExportConfig=mc,v.ExportListButton=Rc,v.ExportRecordListButton=Mc,v.ExportTemplate=Wt,v.FONT_WEIGHT=ke,v.FileColumn=Ih,v.FlexStyleConfig=Cc,v.FormSelectButton=Lc,v.Grid=Sd,v.GridLayoutContainer=jd,v.GridLayoutWrap=xh,v.GridRow=Rd,v.GridTable=yh,v.GridTableColumn=Vd,v.GroupColumn=kh,v.Iframe=wc,v.Image=Us,v.ImageColumn=Dh,v.ImageCompressType=ga,v.ImportConfig=vc,v.ImportListBind=fc,v.ImportRecordListButton=xc,v.Input=us,v.InternalType=ma,v.InvoiceCheckButton=Zc,v.LINE_STYLE=sa,v.LimitDate=Sn,v.LimitTime=oa,v.LineChart=Uc,v.Link=Dc,v.ListHeightSetting=fa,v.ListSelectButton=$c,v.ListView=Kd,v.ListViewSelect=Kc,v.LocationColumn=wh,v.Number=fs,v.OperationButton=Yc,v.OperationColumn=hh,v.OrderColumn=dh,v.OrganizationSelection=wd,v.OrganizeType=va,v.Page=Xd,v.Pagination=Vc,v.PeopleColumn=Bh,v.PieChart=zc,v.Position=pd,v.PositioningContainer=Yd,v.PrintTemplate=bc,v.QrCode=Bs,v.Radio=hs,v.ReferenceList=es,v.RichText=Ns,v.Row=kd,v.SCORE_TYPE=ca,v.SUBTABLE_DEFAULT_MAX_HEIGHT=gc,v.Score=Qs,v.SearchDateRange=ad,v.SearchInput=yd,v.SearchNumberRange=ud,v.Select=$s,v.SelectMultiple=Vs,v.SelectRelation=sd,v.SimpleSearch=Mh,v.Slider=ms,v.Step=ih,v.StepPane=th,v.SubTable=sh,v.SubTableColumn=Ld,v.SubTableRow=$d,v.SubmissionRecordListButton=kc,v.Switch=bs,v.Tab=Wd,v.TabPane=qd,v.TableLayout=nh,v.TableLayoutCol=lh,v.TableLayoutRow=uh,v.TableLayoutWrapper=ah,v.Tag=Es,v.Text=Ic,v.TextColumn=vh,v.TextOcrButton=Qc,v.Textarea=Ms,v.TimePicker=Ps,v.TimeRange=ks,v.TimescopeColumn=gh,v.TimestampColumn=bh,v.Title=Sc,v.TitleConfigEnum=Oe,v.Toolbox=Gd,v.Tree=vd,v.UndersignedPerson=da,v.VarcharColumn=fh,v.VueFormItem=od,v.VuePage=Td,v.WPS=_d,v.WPSSetting=yc,v.WpsOperationItem=ha,v.baseControls=KD,v.columnControls=y8,v.formControls=uw,v.initExpression=Ut,v.layoutControls=Zw,v.listControls=i8,v.searchControls=v8,v.wrapControls=C8,Object.defineProperty(v,"__esModule",{value:!0})});
|