@byteluck-fe/model-driven-controls 6.1.0-2-beta.1 → 6.1.0-2-beta.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +99 -99
- package/dist/esm/baseControls/BatchDeleteButton/property.js +10 -18
- package/dist/esm/baseControls/BatchPrintListButton/property.js +6 -9
- package/dist/esm/baseControls/BatchPrintRecordListButton/property.js +3 -4
- package/dist/esm/baseControls/BatchSubmissionListButton/property.js +14 -19
- package/dist/esm/baseControls/Button/property.js +42 -50
- package/dist/esm/baseControls/CreateFormListButton/property.js +5 -8
- package/dist/esm/baseControls/Dashboard/property.js +9 -16
- package/dist/esm/baseControls/Divider/property.js +4 -5
- package/dist/esm/baseControls/ExportListButton/property.js +6 -9
- package/dist/esm/baseControls/ExportRecordListButton/property.js +3 -4
- package/dist/esm/baseControls/FormSelectButton/property.js +4 -6
- package/dist/esm/baseControls/ImportRecordListButton/property.js +8 -11
- package/dist/esm/baseControls/InvoiceCheckButton/property.js +11 -19
- package/dist/esm/baseControls/Link/property.js +4 -6
- package/dist/esm/baseControls/ListSelectButton/property.js +21 -25
- package/dist/esm/baseControls/ListViewSelect/property.js +4 -5
- package/dist/esm/baseControls/OperationButton/property.js +7 -12
- package/dist/esm/baseControls/ReferenceList/property.js +10 -15
- package/dist/esm/baseControls/SubmissionRecordListButton/property.js +3 -4
- package/dist/esm/baseControls/Text/property.js +12 -18
- package/dist/esm/baseControls/TextOcrButton/property.js +11 -19
- package/dist/esm/baseControls/Title/property.js +4 -6
- package/dist/esm/columnControls/ApprovalStatusColumn/property.js +15 -17
- package/dist/esm/columnControls/ArrayColumn/property.js +30 -33
- package/dist/esm/columnControls/AutoNumberColumn/property.js +12 -13
- package/dist/esm/columnControls/CustomColumn/property.js +7 -9
- package/dist/esm/columnControls/DecimalColumn/property.js +40 -46
- package/dist/esm/columnControls/DepartmentColumn/property.js +10 -11
- package/dist/esm/columnControls/EmployeeColumn/property.js +9 -10
- package/dist/esm/columnControls/FileColumn/property.js +5 -6
- package/dist/esm/columnControls/ImageColumn/property.js +4 -4
- package/dist/esm/columnControls/LocationColumn/property.js +12 -13
- package/dist/esm/columnControls/OperationColumn/designer.js +12 -4
- package/dist/esm/columnControls/OperationColumn/property.js +17 -21
- package/dist/esm/columnControls/OrderColumn/property.js +10 -15
- package/dist/esm/columnControls/PeopleColumn/property.js +4 -4
- package/dist/esm/columnControls/TextColumn/property.js +22 -25
- package/dist/esm/columnControls/TimescopeColumn/property.js +18 -21
- package/dist/esm/columnControls/TimestampColumn/property.js +18 -21
- package/dist/esm/columnControls/VarcharColumn/property.js +31 -36
- package/dist/esm/formControls/Address/property.js +17 -21
- package/dist/esm/formControls/Amount/property.js +47 -58
- package/dist/esm/formControls/Attachment/designer.js +1 -4
- package/dist/esm/formControls/Attachment/property.js +27 -42
- package/dist/esm/formControls/AutoNumber/property.js +4 -6
- package/dist/esm/formControls/Calc/property.js +35 -43
- package/dist/esm/formControls/Checkbox/property.js +20 -33
- package/dist/esm/formControls/DatePicker/property.js +13 -23
- package/dist/esm/formControls/DateRange/property.js +58 -68
- package/dist/esm/formControls/Department/property.js +30 -40
- package/dist/esm/formControls/Department2/property.js +39 -54
- package/dist/esm/formControls/ElectronicSignature/property.js +7 -12
- package/dist/esm/formControls/Employee/property.js +12 -20
- package/dist/esm/formControls/Employee2/property.js +19 -34
- package/dist/esm/formControls/Image/designer.js +8 -8
- package/dist/esm/formControls/Image/property.js +13 -18
- package/dist/esm/formControls/Input/property.js +11 -20
- package/dist/esm/formControls/Number/property.js +64 -76
- package/dist/esm/formControls/OrganizationSelection/property.js +44 -61
- package/dist/esm/formControls/Radio/property.js +17 -28
- package/dist/esm/formControls/RichText/property.js +11 -20
- package/dist/esm/formControls/Score/property.js +8 -13
- package/dist/esm/formControls/SearchDateRange/property.js +14 -25
- package/dist/esm/formControls/SearchNumberRange/property.js +7 -12
- package/dist/esm/formControls/Select/property.js +28 -38
- package/dist/esm/formControls/SelectMultiple/property.js +27 -36
- package/dist/esm/formControls/SelectRelation/property.js +59 -71
- package/dist/esm/formControls/Textarea/property.js +11 -20
- package/dist/esm/formControls/Tree/property.js +20 -37
- package/dist/esm/formControls/VueFormItem/property.js +6 -10
- package/dist/esm/formControls/VuePage/property.js +6 -10
- package/dist/esm/formControls/WPS/designer.js +9 -9
- package/dist/esm/formControls/WPS/property.js +13 -24
- package/dist/esm/framework.js +131 -175
- package/dist/esm/index.js +6 -6
- package/dist/esm/layoutControls/ActionBar/designer.js +2 -2
- package/dist/esm/layoutControls/ActionBar/property.js +4 -6
- package/dist/esm/layoutControls/ActionBar/runtime.js +2 -2
- package/dist/esm/layoutControls/CardGroup/property.js +9 -11
- package/dist/esm/layoutControls/Col/property.js +3 -4
- package/dist/esm/layoutControls/DataView/property.js +19 -24
- package/dist/esm/layoutControls/GridLayoutContainer/property.js +3 -4
- package/dist/esm/layoutControls/GridTableColumn/property.js +11 -20
- package/dist/esm/layoutControls/ListView/property.js +81 -92
- package/dist/esm/layoutControls/Page/property.js +6 -6
- package/dist/esm/layoutControls/Position/property.js +5 -8
- package/dist/esm/layoutControls/Row/property.js +3 -4
- package/dist/esm/layoutControls/Step/designer.js +2 -2
- package/dist/esm/layoutControls/Step/property.js +6 -10
- package/dist/esm/layoutControls/StepPane/property.js +9 -16
- package/dist/esm/layoutControls/SubTableColumn/property.js +19 -23
- package/dist/esm/layoutControls/Tab/designer.js +2 -2
- package/dist/esm/layoutControls/Tab/property.js +2 -2
- package/dist/esm/layoutControls/TabPane/property.js +2 -2
- package/dist/esm/listControls/GridTable/designer.js +12 -4
- package/dist/esm/listControls/GridTable/property.js +37 -41
- package/dist/esm/listControls/SubTable/property.js +148 -181
- package/dist/esm/searchControls/SimpleSearch/property.js +58 -69
- package/dist/esm/searchControls/SimpleSearch/runtime.js +2 -2
- package/dist/esm/wrapControls/GridLayoutWrap/Setting.js +6 -6
- package/dist/esm/wrapControls/GridLayoutWrap/designer.js +8 -8
- package/dist/esm/wrapControls/GridLayoutWrap/index.js +6 -6
- package/dist/esm/wrapControls/GridLayoutWrap/property.js +2 -2
- package/dist/esm/wrapControls/GridLayoutWrap/runtime.js +8 -8
- package/dist/index.umd.js +1 -1
- package/dist/types/api-doc-index.d.ts +90 -90
- package/dist/types/baseControls/BatchDeleteButton/designer.d.ts +14 -14
- package/dist/types/baseControls/BatchDeleteButton/index.d.ts +12 -12
- package/dist/types/baseControls/BatchDeleteButton/property.d.ts +14 -14
- package/dist/types/baseControls/BatchDeleteButton/runtime.d.ts +9 -9
- package/dist/types/baseControls/BatchPrintListButton/designer.d.ts +15 -15
- package/dist/types/baseControls/BatchPrintListButton/index.d.ts +12 -12
- package/dist/types/baseControls/BatchPrintListButton/property.d.ts +15 -15
- package/dist/types/baseControls/BatchPrintListButton/runtime.d.ts +10 -10
- package/dist/types/baseControls/BatchPrintRecordListButton/designer.d.ts +16 -16
- package/dist/types/baseControls/BatchPrintRecordListButton/index.d.ts +12 -12
- package/dist/types/baseControls/BatchPrintRecordListButton/property.d.ts +6 -6
- package/dist/types/baseControls/BatchPrintRecordListButton/runtime.d.ts +10 -10
- package/dist/types/baseControls/BatchSubmissionListButton/designer.d.ts +15 -15
- package/dist/types/baseControls/BatchSubmissionListButton/index.d.ts +12 -12
- package/dist/types/baseControls/BatchSubmissionListButton/property.d.ts +27 -27
- package/dist/types/baseControls/BatchSubmissionListButton/runtime.d.ts +10 -10
- package/dist/types/baseControls/Button/designer.d.ts +14 -14
- package/dist/types/baseControls/Button/index.d.ts +12 -12
- package/dist/types/baseControls/Button/property.d.ts +55 -55
- package/dist/types/baseControls/Button/runtime.d.ts +9 -9
- package/dist/types/baseControls/CreateFormListButton/designer.d.ts +15 -15
- package/dist/types/baseControls/CreateFormListButton/index.d.ts +12 -12
- package/dist/types/baseControls/CreateFormListButton/property.d.ts +15 -15
- package/dist/types/baseControls/CreateFormListButton/runtime.d.ts +10 -10
- package/dist/types/baseControls/Dashboard/designer.d.ts +12 -12
- package/dist/types/baseControls/Dashboard/index.d.ts +12 -12
- package/dist/types/baseControls/Dashboard/property.d.ts +26 -26
- package/dist/types/baseControls/Dashboard/runtime.d.ts +10 -10
- package/dist/types/baseControls/Divider/designer.d.ts +12 -12
- package/dist/types/baseControls/Divider/index.d.ts +12 -12
- package/dist/types/baseControls/Divider/property.d.ts +9 -9
- package/dist/types/baseControls/Divider/runtime.d.ts +10 -10
- package/dist/types/baseControls/ExportListButton/designer.d.ts +16 -16
- package/dist/types/baseControls/ExportListButton/index.d.ts +12 -12
- package/dist/types/baseControls/ExportListButton/property.d.ts +9 -9
- package/dist/types/baseControls/ExportListButton/runtime.d.ts +10 -10
- package/dist/types/baseControls/ExportRecordListButton/designer.d.ts +16 -16
- package/dist/types/baseControls/ExportRecordListButton/index.d.ts +12 -12
- package/dist/types/baseControls/ExportRecordListButton/property.d.ts +6 -6
- package/dist/types/baseControls/ExportRecordListButton/runtime.d.ts +10 -10
- package/dist/types/baseControls/FormSelectButton/designer.d.ts +15 -15
- package/dist/types/baseControls/FormSelectButton/index.d.ts +12 -12
- package/dist/types/baseControls/FormSelectButton/property.d.ts +19 -19
- package/dist/types/baseControls/FormSelectButton/runtime.d.ts +10 -10
- package/dist/types/baseControls/ImportRecordListButton/designer.d.ts +16 -16
- package/dist/types/baseControls/ImportRecordListButton/index.d.ts +12 -12
- package/dist/types/baseControls/ImportRecordListButton/property.d.ts +12 -12
- package/dist/types/baseControls/ImportRecordListButton/runtime.d.ts +10 -10
- package/dist/types/baseControls/InvoiceCheckButton/designer.d.ts +15 -15
- package/dist/types/baseControls/InvoiceCheckButton/index.d.ts +12 -12
- package/dist/types/baseControls/InvoiceCheckButton/property.d.ts +25 -25
- package/dist/types/baseControls/InvoiceCheckButton/runtime.d.ts +10 -10
- package/dist/types/baseControls/Link/designer.d.ts +13 -13
- package/dist/types/baseControls/Link/index.d.ts +12 -12
- package/dist/types/baseControls/Link/property.d.ts +9 -9
- package/dist/types/baseControls/Link/runtime.d.ts +10 -10
- package/dist/types/baseControls/ListSelectButton/designer.d.ts +15 -15
- package/dist/types/baseControls/ListSelectButton/index.d.ts +12 -12
- package/dist/types/baseControls/ListSelectButton/property.d.ts +42 -42
- package/dist/types/baseControls/ListSelectButton/runtime.d.ts +10 -10
- package/dist/types/baseControls/ListViewSelect/designer.d.ts +12 -12
- package/dist/types/baseControls/ListViewSelect/index.d.ts +12 -12
- package/dist/types/baseControls/ListViewSelect/property.d.ts +15 -15
- package/dist/types/baseControls/ListViewSelect/runtime.d.ts +9 -9
- package/dist/types/baseControls/OperationButton/designer.d.ts +13 -13
- package/dist/types/baseControls/OperationButton/index.d.ts +12 -12
- package/dist/types/baseControls/OperationButton/property.d.ts +26 -26
- package/dist/types/baseControls/OperationButton/runtime.d.ts +9 -9
- package/dist/types/baseControls/Pagination/designer.d.ts +13 -13
- package/dist/types/baseControls/Pagination/index.d.ts +12 -12
- package/dist/types/baseControls/Pagination/property.d.ts +14 -14
- package/dist/types/baseControls/Pagination/runtime.d.ts +10 -10
- package/dist/types/baseControls/ReferenceList/designer.d.ts +14 -14
- package/dist/types/baseControls/ReferenceList/index.d.ts +12 -12
- package/dist/types/baseControls/ReferenceList/property.d.ts +22 -22
- package/dist/types/baseControls/ReferenceList/runtime.d.ts +9 -9
- package/dist/types/baseControls/SubmissionRecordListButton/designer.d.ts +16 -16
- package/dist/types/baseControls/SubmissionRecordListButton/index.d.ts +12 -12
- package/dist/types/baseControls/SubmissionRecordListButton/property.d.ts +6 -6
- package/dist/types/baseControls/SubmissionRecordListButton/runtime.d.ts +10 -10
- package/dist/types/baseControls/Text/designer.d.ts +12 -12
- package/dist/types/baseControls/Text/index.d.ts +12 -12
- package/dist/types/baseControls/Text/property.d.ts +18 -18
- package/dist/types/baseControls/Text/runtime.d.ts +10 -10
- package/dist/types/baseControls/TextOcrButton/designer.d.ts +15 -15
- package/dist/types/baseControls/TextOcrButton/index.d.ts +12 -12
- package/dist/types/baseControls/TextOcrButton/property.d.ts +25 -25
- package/dist/types/baseControls/TextOcrButton/runtime.d.ts +10 -10
- package/dist/types/baseControls/Title/designer.d.ts +14 -14
- package/dist/types/baseControls/Title/index.d.ts +12 -12
- package/dist/types/baseControls/Title/property.d.ts +19 -19
- package/dist/types/baseControls/Title/runtime.d.ts +10 -10
- package/dist/types/baseControls/index.d.ts +23 -23
- package/dist/types/baseControls/utils.d.ts +2 -2
- package/dist/types/columnControls/ApprovalStatusColumn/designer.d.ts +14 -14
- package/dist/types/columnControls/ApprovalStatusColumn/index.d.ts +12 -12
- package/dist/types/columnControls/ApprovalStatusColumn/property.d.ts +28 -28
- package/dist/types/columnControls/ApprovalStatusColumn/runtime.d.ts +12 -12
- package/dist/types/columnControls/ArrayColumn/designer.d.ts +14 -14
- package/dist/types/columnControls/ArrayColumn/index.d.ts +12 -12
- package/dist/types/columnControls/ArrayColumn/property.d.ts +48 -48
- package/dist/types/columnControls/ArrayColumn/runtime.d.ts +12 -12
- package/dist/types/columnControls/AutoNumberColumn/designer.d.ts +14 -14
- package/dist/types/columnControls/AutoNumberColumn/index.d.ts +12 -12
- package/dist/types/columnControls/AutoNumberColumn/property.d.ts +24 -24
- package/dist/types/columnControls/AutoNumberColumn/runtime.d.ts +12 -12
- package/dist/types/columnControls/CustomColumn/designer.d.ts +20 -20
- package/dist/types/columnControls/CustomColumn/index.d.ts +12 -12
- package/dist/types/columnControls/CustomColumn/property.d.ts +18 -18
- package/dist/types/columnControls/CustomColumn/runtime.d.ts +12 -12
- package/dist/types/columnControls/DecimalColumn/designer.d.ts +15 -15
- package/dist/types/columnControls/DecimalColumn/index.d.ts +12 -12
- package/dist/types/columnControls/DecimalColumn/property.d.ts +59 -59
- package/dist/types/columnControls/DecimalColumn/runtime.d.ts +12 -12
- package/dist/types/columnControls/DepartmentColumn/designer.d.ts +15 -15
- package/dist/types/columnControls/DepartmentColumn/index.d.ts +12 -12
- package/dist/types/columnControls/DepartmentColumn/property.d.ts +16 -16
- package/dist/types/columnControls/DepartmentColumn/runtime.d.ts +12 -12
- package/dist/types/columnControls/EmployeeColumn/designer.d.ts +19 -19
- package/dist/types/columnControls/EmployeeColumn/index.d.ts +12 -12
- package/dist/types/columnControls/EmployeeColumn/property.d.ts +15 -15
- package/dist/types/columnControls/EmployeeColumn/runtime.d.ts +12 -12
- package/dist/types/columnControls/FileColumn/designer.d.ts +14 -14
- package/dist/types/columnControls/FileColumn/index.d.ts +12 -12
- package/dist/types/columnControls/FileColumn/property.d.ts +10 -10
- package/dist/types/columnControls/FileColumn/runtime.d.ts +12 -12
- package/dist/types/columnControls/ImageColumn/designer.d.ts +14 -14
- package/dist/types/columnControls/ImageColumn/index.d.ts +12 -12
- package/dist/types/columnControls/ImageColumn/property.d.ts +9 -9
- package/dist/types/columnControls/ImageColumn/runtime.d.ts +12 -12
- package/dist/types/columnControls/LocationColumn/designer.d.ts +14 -14
- package/dist/types/columnControls/LocationColumn/index.d.ts +12 -12
- package/dist/types/columnControls/LocationColumn/property.d.ts +24 -24
- package/dist/types/columnControls/LocationColumn/runtime.d.ts +12 -12
- package/dist/types/columnControls/OperationColumn/designer.d.ts +14 -14
- package/dist/types/columnControls/OperationColumn/index.d.ts +12 -12
- package/dist/types/columnControls/OperationColumn/property.d.ts +22 -22
- package/dist/types/columnControls/OperationColumn/runtime.d.ts +12 -12
- package/dist/types/columnControls/OrderColumn/designer.d.ts +12 -12
- package/dist/types/columnControls/OrderColumn/index.d.ts +12 -12
- package/dist/types/columnControls/OrderColumn/property.d.ts +14 -14
- package/dist/types/columnControls/OrderColumn/runtime.d.ts +12 -12
- package/dist/types/columnControls/PeopleColumn/designer.d.ts +14 -14
- package/dist/types/columnControls/PeopleColumn/index.d.ts +12 -12
- package/dist/types/columnControls/PeopleColumn/property.d.ts +9 -9
- package/dist/types/columnControls/PeopleColumn/runtime.d.ts +12 -12
- package/dist/types/columnControls/TextColumn/designer.d.ts +15 -15
- package/dist/types/columnControls/TextColumn/index.d.ts +12 -12
- package/dist/types/columnControls/TextColumn/property.d.ts +36 -36
- package/dist/types/columnControls/TextColumn/runtime.d.ts +12 -12
- package/dist/types/columnControls/TimescopeColumn/designer.d.ts +15 -15
- package/dist/types/columnControls/TimescopeColumn/index.d.ts +12 -12
- package/dist/types/columnControls/TimescopeColumn/property.d.ts +32 -32
- package/dist/types/columnControls/TimescopeColumn/runtime.d.ts +12 -12
- package/dist/types/columnControls/TimestampColumn/designer.d.ts +15 -15
- package/dist/types/columnControls/TimestampColumn/index.d.ts +12 -12
- package/dist/types/columnControls/TimestampColumn/property.d.ts +32 -32
- package/dist/types/columnControls/TimestampColumn/runtime.d.ts +12 -12
- package/dist/types/columnControls/VarcharColumn/designer.d.ts +14 -14
- package/dist/types/columnControls/VarcharColumn/index.d.ts +12 -12
- package/dist/types/columnControls/VarcharColumn/property.d.ts +52 -52
- package/dist/types/columnControls/VarcharColumn/runtime.d.ts +12 -12
- package/dist/types/columnControls/index.d.ts +17 -17
- package/dist/types/formControls/Address/designer.d.ts +14 -14
- package/dist/types/formControls/Address/index.d.ts +12 -12
- package/dist/types/formControls/Address/property.d.ts +28 -28
- package/dist/types/formControls/Address/runtime.d.ts +14 -14
- package/dist/types/formControls/Amount/designer.d.ts +16 -16
- package/dist/types/formControls/Amount/index.d.ts +12 -12
- package/dist/types/formControls/Amount/property.d.ts +76 -76
- package/dist/types/formControls/Amount/runtime.d.ts +12 -12
- package/dist/types/formControls/Attachment/designer.d.ts +15 -15
- package/dist/types/formControls/Attachment/index.d.ts +12 -12
- package/dist/types/formControls/Attachment/property.d.ts +42 -42
- package/dist/types/formControls/Attachment/runtime.d.ts +12 -12
- package/dist/types/formControls/AutoNumber/designer.d.ts +15 -15
- package/dist/types/formControls/AutoNumber/index.d.ts +12 -12
- package/dist/types/formControls/AutoNumber/property.d.ts +7 -7
- package/dist/types/formControls/AutoNumber/runtime.d.ts +12 -12
- package/dist/types/formControls/Calc/designer.d.ts +16 -16
- package/dist/types/formControls/Calc/index.d.ts +12 -12
- package/dist/types/formControls/Calc/property.d.ts +58 -58
- package/dist/types/formControls/Calc/runtime.d.ts +12 -12
- package/dist/types/formControls/Checkbox/designer.d.ts +15 -15
- package/dist/types/formControls/Checkbox/index.d.ts +12 -12
- package/dist/types/formControls/Checkbox/property.d.ts +36 -36
- package/dist/types/formControls/Checkbox/runtime.d.ts +12 -12
- package/dist/types/formControls/DatePicker/designer.d.ts +15 -15
- package/dist/types/formControls/DatePicker/index.d.ts +12 -12
- package/dist/types/formControls/DatePicker/property.d.ts +17 -17
- package/dist/types/formControls/DatePicker/runtime.d.ts +12 -12
- package/dist/types/formControls/DateRange/designer.d.ts +15 -15
- package/dist/types/formControls/DateRange/index.d.ts +12 -12
- package/dist/types/formControls/DateRange/property.d.ts +81 -81
- package/dist/types/formControls/DateRange/runtime.d.ts +12 -12
- package/dist/types/formControls/Department/designer.d.ts +15 -15
- package/dist/types/formControls/Department/index.d.ts +12 -12
- package/dist/types/formControls/Department/property.d.ts +47 -47
- package/dist/types/formControls/Department/runtime.d.ts +12 -12
- package/dist/types/formControls/Department2/designer.d.ts +20 -20
- package/dist/types/formControls/Department2/index.d.ts +12 -12
- package/dist/types/formControls/Department2/property.d.ts +65 -65
- package/dist/types/formControls/Department2/runtime.d.ts +12 -12
- package/dist/types/formControls/ElectronicSignature/designer.d.ts +15 -15
- package/dist/types/formControls/ElectronicSignature/index.d.ts +12 -12
- package/dist/types/formControls/ElectronicSignature/property.d.ts +22 -22
- package/dist/types/formControls/ElectronicSignature/runtime.d.ts +12 -12
- package/dist/types/formControls/Employee/designer.d.ts +14 -14
- package/dist/types/formControls/Employee/index.d.ts +12 -12
- package/dist/types/formControls/Employee/property.d.ts +21 -21
- package/dist/types/formControls/Employee/runtime.d.ts +12 -12
- package/dist/types/formControls/Employee2/designer.d.ts +20 -20
- package/dist/types/formControls/Employee2/index.d.ts +12 -12
- package/dist/types/formControls/Employee2/property.d.ts +35 -35
- package/dist/types/formControls/Employee2/runtime.d.ts +12 -12
- package/dist/types/formControls/Image/designer.d.ts +15 -15
- package/dist/types/formControls/Image/index.d.ts +12 -12
- package/dist/types/formControls/Image/property.d.ts +9 -9
- package/dist/types/formControls/Image/runtime.d.ts +10 -10
- package/dist/types/formControls/Input/designer.d.ts +15 -15
- package/dist/types/formControls/Input/index.d.ts +12 -12
- package/dist/types/formControls/Input/property.d.ts +74 -74
- package/dist/types/formControls/Input/runtime.d.ts +12 -12
- package/dist/types/formControls/Number/designer.d.ts +16 -16
- package/dist/types/formControls/Number/index.d.ts +12 -12
- package/dist/types/formControls/Number/property.d.ts +92 -92
- package/dist/types/formControls/Number/runtime.d.ts +12 -12
- package/dist/types/formControls/OrganizationSelection/designer.d.ts +20 -20
- package/dist/types/formControls/OrganizationSelection/index.d.ts +12 -12
- package/dist/types/formControls/OrganizationSelection/property.d.ts +73 -73
- package/dist/types/formControls/OrganizationSelection/runtime.d.ts +12 -12
- package/dist/types/formControls/Radio/designer.d.ts +15 -15
- package/dist/types/formControls/Radio/index.d.ts +12 -12
- package/dist/types/formControls/Radio/property.d.ts +28 -28
- package/dist/types/formControls/Radio/runtime.d.ts +12 -12
- package/dist/types/formControls/RichText/designer.d.ts +15 -15
- package/dist/types/formControls/RichText/index.d.ts +12 -12
- package/dist/types/formControls/RichText/property.d.ts +50 -50
- package/dist/types/formControls/RichText/runtime.d.ts +12 -12
- package/dist/types/formControls/Score/designer.d.ts +16 -16
- package/dist/types/formControls/Score/index.d.ts +12 -12
- package/dist/types/formControls/Score/property.d.ts +23 -23
- package/dist/types/formControls/Score/runtime.d.ts +12 -12
- package/dist/types/formControls/SearchDateRange/designer.d.ts +14 -14
- package/dist/types/formControls/SearchDateRange/index.d.ts +12 -12
- package/dist/types/formControls/SearchDateRange/property.d.ts +23 -23
- package/dist/types/formControls/SearchDateRange/runtime.d.ts +12 -12
- package/dist/types/formControls/SearchInput/designer.d.ts +12 -12
- package/dist/types/formControls/SearchInput/index.d.ts +12 -12
- package/dist/types/formControls/SearchInput/property.d.ts +10 -10
- package/dist/types/formControls/SearchInput/runtime.d.ts +12 -12
- package/dist/types/formControls/SearchNumberRange/designer.d.ts +14 -14
- package/dist/types/formControls/SearchNumberRange/index.d.ts +12 -12
- package/dist/types/formControls/SearchNumberRange/property.d.ts +15 -15
- package/dist/types/formControls/SearchNumberRange/runtime.d.ts +12 -12
- package/dist/types/formControls/Select/designer.d.ts +14 -14
- package/dist/types/formControls/Select/index.d.ts +12 -12
- package/dist/types/formControls/Select/property.d.ts +43 -43
- package/dist/types/formControls/Select/runtime.d.ts +12 -12
- package/dist/types/formControls/SelectMultiple/designer.d.ts +14 -14
- package/dist/types/formControls/SelectMultiple/index.d.ts +12 -12
- package/dist/types/formControls/SelectMultiple/property.d.ts +46 -46
- package/dist/types/formControls/SelectMultiple/runtime.d.ts +12 -12
- package/dist/types/formControls/SelectRelation/designer.d.ts +16 -16
- package/dist/types/formControls/SelectRelation/index.d.ts +12 -12
- package/dist/types/formControls/SelectRelation/property.d.ts +86 -86
- package/dist/types/formControls/SelectRelation/runtime.d.ts +12 -12
- package/dist/types/formControls/Textarea/designer.d.ts +15 -15
- package/dist/types/formControls/Textarea/index.d.ts +12 -12
- package/dist/types/formControls/Textarea/property.d.ts +75 -75
- package/dist/types/formControls/Textarea/runtime.d.ts +12 -12
- package/dist/types/formControls/Tree/designer.d.ts +20 -20
- package/dist/types/formControls/Tree/index.d.ts +12 -12
- package/dist/types/formControls/Tree/property.d.ts +34 -34
- package/dist/types/formControls/Tree/runtime.d.ts +11 -11
- package/dist/types/formControls/VueFormItem/designer.d.ts +16 -16
- package/dist/types/formControls/VueFormItem/index.d.ts +12 -12
- package/dist/types/formControls/VueFormItem/property.d.ts +18 -18
- package/dist/types/formControls/VueFormItem/runtime.d.ts +12 -12
- package/dist/types/formControls/VuePage/designer.d.ts +15 -15
- package/dist/types/formControls/VuePage/index.d.ts +12 -12
- package/dist/types/formControls/VuePage/property.d.ts +18 -18
- package/dist/types/formControls/VuePage/runtime.d.ts +12 -12
- package/dist/types/formControls/WPS/designer.d.ts +15 -15
- package/dist/types/formControls/WPS/index.d.ts +12 -12
- package/dist/types/formControls/WPS/property.d.ts +32 -32
- package/dist/types/formControls/WPS/runtime.d.ts +12 -12
- package/dist/types/formControls/index.d.ts +31 -31
- package/dist/types/framework.d.ts +273 -273
- package/dist/types/index.d.ts +17 -17
- package/dist/types/layoutControls/ActionBar/designer.d.ts +16 -16
- package/dist/types/layoutControls/ActionBar/index.d.ts +12 -12
- package/dist/types/layoutControls/ActionBar/property.d.ts +9 -9
- package/dist/types/layoutControls/ActionBar/runtime.d.ts +10 -10
- package/dist/types/layoutControls/AdvancedContainer/Setting.d.ts +2 -2
- package/dist/types/layoutControls/AdvancedContainer/designer.d.ts +10 -10
- package/dist/types/layoutControls/AdvancedContainer/index.d.ts +12 -12
- package/dist/types/layoutControls/AdvancedContainer/property.d.ts +8 -8
- package/dist/types/layoutControls/AdvancedContainer/runtime.d.ts +9 -9
- package/dist/types/layoutControls/CardGroup/designer.d.ts +14 -14
- package/dist/types/layoutControls/CardGroup/index.d.ts +12 -12
- package/dist/types/layoutControls/CardGroup/property.d.ts +14 -14
- package/dist/types/layoutControls/CardGroup/runtime.d.ts +10 -10
- package/dist/types/layoutControls/Col/designer.d.ts +14 -14
- package/dist/types/layoutControls/Col/index.d.ts +12 -12
- package/dist/types/layoutControls/Col/property.d.ts +8 -8
- package/dist/types/layoutControls/Col/runtime.d.ts +10 -10
- package/dist/types/layoutControls/DataView/designer.d.ts +11 -11
- package/dist/types/layoutControls/DataView/index.d.ts +12 -12
- package/dist/types/layoutControls/DataView/property.d.ts +33 -33
- package/dist/types/layoutControls/DataView/runtime.d.ts +10 -10
- package/dist/types/layoutControls/Grid/designer.d.ts +11 -11
- package/dist/types/layoutControls/Grid/index.d.ts +12 -12
- package/dist/types/layoutControls/Grid/property.d.ts +2 -2
- package/dist/types/layoutControls/Grid/runtime.d.ts +9 -9
- package/dist/types/layoutControls/GridLayoutContainer/designer.d.ts +14 -14
- package/dist/types/layoutControls/GridLayoutContainer/index.d.ts +12 -12
- package/dist/types/layoutControls/GridLayoutContainer/property.d.ts +8 -8
- package/dist/types/layoutControls/GridLayoutContainer/runtime.d.ts +10 -10
- package/dist/types/layoutControls/GridRow/designer.d.ts +16 -16
- package/dist/types/layoutControls/GridRow/index.d.ts +12 -12
- package/dist/types/layoutControls/GridRow/property.d.ts +6 -6
- package/dist/types/layoutControls/GridRow/runtime.d.ts +10 -10
- package/dist/types/layoutControls/GridTableColumn/designer.d.ts +23 -23
- package/dist/types/layoutControls/GridTableColumn/index.d.ts +12 -12
- package/dist/types/layoutControls/GridTableColumn/property.d.ts +19 -19
- package/dist/types/layoutControls/GridTableColumn/runtime.d.ts +10 -10
- package/dist/types/layoutControls/ListView/designer.d.ts +20 -20
- package/dist/types/layoutControls/ListView/index.d.ts +12 -12
- package/dist/types/layoutControls/ListView/property.d.ts +128 -128
- package/dist/types/layoutControls/ListView/runtime.d.ts +12 -12
- package/dist/types/layoutControls/Page/Setting.d.ts +2 -2
- package/dist/types/layoutControls/Page/designer.d.ts +10 -10
- package/dist/types/layoutControls/Page/index.d.ts +12 -12
- package/dist/types/layoutControls/Page/property.d.ts +15 -15
- package/dist/types/layoutControls/Page/runtime.d.ts +9 -9
- package/dist/types/layoutControls/Position/Setting.d.ts +2 -2
- package/dist/types/layoutControls/Position/designer.d.ts +10 -10
- package/dist/types/layoutControls/Position/index.d.ts +12 -12
- package/dist/types/layoutControls/Position/property.d.ts +9 -9
- package/dist/types/layoutControls/Position/runtime.d.ts +9 -9
- package/dist/types/layoutControls/PositioningContainer/Setting.d.ts +2 -2
- package/dist/types/layoutControls/PositioningContainer/designer.d.ts +10 -10
- package/dist/types/layoutControls/PositioningContainer/index.d.ts +12 -12
- package/dist/types/layoutControls/PositioningContainer/property.d.ts +5 -5
- package/dist/types/layoutControls/PositioningContainer/runtime.d.ts +9 -9
- package/dist/types/layoutControls/Row/designer.d.ts +15 -15
- package/dist/types/layoutControls/Row/index.d.ts +12 -12
- package/dist/types/layoutControls/Row/property.d.ts +8 -8
- package/dist/types/layoutControls/Row/runtime.d.ts +11 -11
- package/dist/types/layoutControls/Step/designer.d.ts +14 -14
- package/dist/types/layoutControls/Step/index.d.ts +12 -12
- package/dist/types/layoutControls/Step/property.d.ts +11 -11
- package/dist/types/layoutControls/Step/runtime.d.ts +9 -9
- package/dist/types/layoutControls/StepPane/designer.d.ts +14 -14
- package/dist/types/layoutControls/StepPane/index.d.ts +12 -12
- package/dist/types/layoutControls/StepPane/property.d.ts +14 -14
- package/dist/types/layoutControls/StepPane/runtime.d.ts +9 -9
- package/dist/types/layoutControls/SubTableColumn/designer.d.ts +23 -23
- package/dist/types/layoutControls/SubTableColumn/index.d.ts +12 -12
- package/dist/types/layoutControls/SubTableColumn/property.d.ts +39 -39
- package/dist/types/layoutControls/SubTableColumn/runtime.d.ts +10 -10
- package/dist/types/layoutControls/SubTableRow/designer.d.ts +20 -20
- package/dist/types/layoutControls/SubTableRow/index.d.ts +12 -12
- package/dist/types/layoutControls/SubTableRow/property.d.ts +6 -6
- package/dist/types/layoutControls/SubTableRow/runtime.d.ts +11 -11
- package/dist/types/layoutControls/Tab/designer.d.ts +16 -16
- package/dist/types/layoutControls/Tab/index.d.ts +12 -12
- package/dist/types/layoutControls/Tab/property.d.ts +7 -7
- package/dist/types/layoutControls/Tab/runtime.d.ts +11 -11
- package/dist/types/layoutControls/TabPane/designer.d.ts +14 -14
- package/dist/types/layoutControls/TabPane/index.d.ts +12 -12
- package/dist/types/layoutControls/TabPane/property.d.ts +13 -13
- package/dist/types/layoutControls/TabPane/runtime.d.ts +10 -10
- package/dist/types/layoutControls/Toolbox/designer.d.ts +14 -14
- package/dist/types/layoutControls/Toolbox/index.d.ts +12 -12
- package/dist/types/layoutControls/Toolbox/property.d.ts +6 -6
- package/dist/types/layoutControls/Toolbox/runtime.d.ts +10 -10
- package/dist/types/layoutControls/index.d.ts +21 -21
- package/dist/types/listControls/GridTable/designer.d.ts +26 -26
- package/dist/types/listControls/GridTable/index.d.ts +12 -12
- package/dist/types/listControls/GridTable/property.d.ts +45 -45
- package/dist/types/listControls/GridTable/runtime.d.ts +13 -13
- package/dist/types/listControls/SubTable/designer.d.ts +27 -27
- package/dist/types/listControls/SubTable/index.d.ts +12 -12
- package/dist/types/listControls/SubTable/property.d.ts +212 -212
- package/dist/types/listControls/SubTable/runtime.d.ts +13 -13
- package/dist/types/listControls/index.d.ts +2 -2
- package/dist/types/searchControls/SimpleSearch/designer.d.ts +13 -13
- package/dist/types/searchControls/SimpleSearch/index.d.ts +12 -12
- package/dist/types/searchControls/SimpleSearch/property.d.ts +84 -84
- package/dist/types/searchControls/SimpleSearch/runtime.d.ts +11 -11
- package/dist/types/searchControls/index.d.ts +1 -1
- package/dist/types/type.d.ts +118 -118
- package/dist/types/wrapControls/GridLayoutWrap/Setting.d.ts +2 -2
- package/dist/types/wrapControls/GridLayoutWrap/designer.d.ts +11 -11
- package/dist/types/wrapControls/GridLayoutWrap/index.d.ts +14 -14
- package/dist/types/wrapControls/GridLayoutWrap/property.d.ts +6 -6
- package/dist/types/wrapControls/GridLayoutWrap/runtime.d.ts +9 -9
- package/dist/types/wrapControls/index.d.ts +1 -1
- package/package.json +2 -2
|
@@ -90,7 +90,7 @@ var CheckboxPropertyRules = /*#__PURE__*/ function(OptionAndDataSourcePropertyRu
|
|
|
90
90
|
if (unlimitedMax) {
|
|
91
91
|
_this.limitMax.type = 'string';
|
|
92
92
|
}
|
|
93
|
-
var isUnlimited = function(value) {
|
|
93
|
+
var isUnlimited = function isUnlimited(value) {
|
|
94
94
|
return value === 'unlimited' ? undefined : value;
|
|
95
95
|
};
|
|
96
96
|
_this.limitMax.min = isUnlimited(props.limitMin);
|
|
@@ -125,6 +125,7 @@ var CheckboxProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
125
125
|
function CheckboxProperty(props) {
|
|
126
126
|
_class_call_check(this, CheckboxProperty);
|
|
127
127
|
var _this;
|
|
128
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11, _ref12, _ref13;
|
|
128
129
|
_this = _call_super(this, CheckboxProperty, [
|
|
129
130
|
props
|
|
130
131
|
]), _define_property(_this, "checkboxMode", void 0 // 选项排列方式 horizontal默认
|
|
@@ -136,13 +137,12 @@ var CheckboxProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
136
137
|
), _define_property(_this, "optionsFormat", void 0 // 选项布局:竖排/横排
|
|
137
138
|
), _define_property(_this, "defaultShowOptions", void 0), _define_property(_this, "datasourceBind", void 0), _define_property(_this, "multistageFilling", void 0), _define_property(_this, "interreaction", void 0 // 数据联动
|
|
138
139
|
), _define_property(_this, "defaultValue", void 0), _define_property(_this, "openMultistageFilling", void 0 //是否开启填充
|
|
139
|
-
), /**
|
|
140
|
-
* ai 显示内容搜索 false | true
|
|
141
|
-
* @defaultValue false
|
|
142
|
-
* @public
|
|
140
|
+
), /**
|
|
141
|
+
* ai 显示内容搜索 false | true
|
|
142
|
+
* @defaultValue false
|
|
143
|
+
* @public
|
|
143
144
|
*/ _define_property(_this, "aiContentSearch", void 0);
|
|
144
|
-
|
|
145
|
-
_this.options = initOptions((_props_options = props === null || props === void 0 ? void 0 : props.options) !== null && _props_options !== void 0 ? _props_options : [
|
|
145
|
+
_this.options = initOptions((_ref = props === null || props === void 0 ? void 0 : props.options) !== null && _ref !== void 0 ? _ref : [
|
|
146
146
|
{
|
|
147
147
|
label: getLocaleText('CMD.optionOne', null, '选项一'),
|
|
148
148
|
value: getLocaleText('CMD.optionOne', null, '选项一')
|
|
@@ -156,31 +156,19 @@ var CheckboxProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
156
156
|
value: getLocaleText('CMD.optionThird', null, '选项三')
|
|
157
157
|
}
|
|
158
158
|
]);
|
|
159
|
-
|
|
160
|
-
_this.
|
|
161
|
-
|
|
162
|
-
_this.
|
|
163
|
-
|
|
164
|
-
_this.
|
|
165
|
-
var _props_otherOption;
|
|
166
|
-
_this.otherOption = (_props_otherOption = props === null || props === void 0 ? void 0 : props.otherOption) !== null && _props_otherOption !== void 0 ? _props_otherOption : false;
|
|
167
|
-
var _props_limitMin;
|
|
168
|
-
_this.limitMin = (_props_limitMin = props === null || props === void 0 ? void 0 : props.limitMin) !== null && _props_limitMin !== void 0 ? _props_limitMin : 'unlimited';
|
|
169
|
-
var _props_limitMax;
|
|
170
|
-
_this.limitMax = (_props_limitMax = props === null || props === void 0 ? void 0 : props.limitMax) !== null && _props_limitMax !== void 0 ? _props_limitMax : 'unlimited';
|
|
159
|
+
_this.checkboxMode = (_ref1 = props === null || props === void 0 ? void 0 : props.checkboxMode) !== null && _ref1 !== void 0 ? _ref1 : 'horizontal';
|
|
160
|
+
_this.optionConfig = (_ref2 = props === null || props === void 0 ? void 0 : props.optionConfig) !== null && _ref2 !== void 0 ? _ref2 : 'custom';
|
|
161
|
+
_this.optionsOrder = (_ref3 = props === null || props === void 0 ? void 0 : props.optionsOrder) !== null && _ref3 !== void 0 ? _ref3 : false;
|
|
162
|
+
_this.otherOption = (_ref4 = props === null || props === void 0 ? void 0 : props.otherOption) !== null && _ref4 !== void 0 ? _ref4 : false;
|
|
163
|
+
_this.limitMin = (_ref5 = props === null || props === void 0 ? void 0 : props.limitMin) !== null && _ref5 !== void 0 ? _ref5 : 'unlimited';
|
|
164
|
+
_this.limitMax = (_ref6 = props === null || props === void 0 ? void 0 : props.limitMax) !== null && _ref6 !== void 0 ? _ref6 : 'unlimited';
|
|
171
165
|
_this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
|
|
172
|
-
|
|
173
|
-
_this.
|
|
174
|
-
|
|
175
|
-
_this.
|
|
176
|
-
|
|
177
|
-
_this.
|
|
178
|
-
var _props_optionsFormat;
|
|
179
|
-
_this.optionsFormat = (_props_optionsFormat = props === null || props === void 0 ? void 0 : props.optionsFormat) !== null && _props_optionsFormat !== void 0 ? _props_optionsFormat : 'horizontal';
|
|
180
|
-
var _props_defaultShowOptions;
|
|
181
|
-
_this.defaultShowOptions = (_props_defaultShowOptions = props === null || props === void 0 ? void 0 : props.defaultShowOptions) !== null && _props_defaultShowOptions !== void 0 ? _props_defaultShowOptions : true;
|
|
182
|
-
var _props_openMultistageFilling;
|
|
183
|
-
_this.openMultistageFilling = (_props_openMultistageFilling = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
|
|
166
|
+
_this.interreaction = (_ref7 = props === null || props === void 0 ? void 0 : props.interreaction) !== null && _ref7 !== void 0 ? _ref7 : [];
|
|
167
|
+
_this.caption = (_ref8 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref8 !== void 0 ? _ref8 : CheckboxControl.controlName;
|
|
168
|
+
_this.defaultValue = (_ref9 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref9 !== void 0 ? _ref9 : [];
|
|
169
|
+
_this.optionsFormat = (_ref10 = props === null || props === void 0 ? void 0 : props.optionsFormat) !== null && _ref10 !== void 0 ? _ref10 : 'horizontal';
|
|
170
|
+
_this.defaultShowOptions = (_ref11 = props === null || props === void 0 ? void 0 : props.defaultShowOptions) !== null && _ref11 !== void 0 ? _ref11 : true;
|
|
171
|
+
_this.openMultistageFilling = (_ref12 = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _ref12 !== void 0 ? _ref12 : false;
|
|
184
172
|
_this.multistageFilling = [];
|
|
185
173
|
if (Array.isArray(props === null || props === void 0 ? void 0 : props.multistageFilling)) {
|
|
186
174
|
props === null || props === void 0 ? void 0 : props.multistageFilling.map(function(item) {
|
|
@@ -188,8 +176,7 @@ var CheckboxProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
188
176
|
(_this_multistageFilling = _this.multistageFilling) === null || _this_multistageFilling === void 0 ? void 0 : _this_multistageFilling.push(new MultistageFillingItem(item));
|
|
189
177
|
});
|
|
190
178
|
}
|
|
191
|
-
|
|
192
|
-
_this.aiContentSearch = (_props_aiContentSearch = props === null || props === void 0 ? void 0 : props.aiContentSearch) !== null && _props_aiContentSearch !== void 0 ? _props_aiContentSearch : false;
|
|
179
|
+
_this.aiContentSearch = (_ref13 = props === null || props === void 0 ? void 0 : props.aiContentSearch) !== null && _ref13 !== void 0 ? _ref13 : false;
|
|
193
180
|
return _this;
|
|
194
181
|
}
|
|
195
182
|
return CheckboxProperty;
|
|
@@ -81,6 +81,7 @@ var DatePickerProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
81
81
|
function DatePickerProperty(props) {
|
|
82
82
|
_class_call_check(this, DatePickerProperty);
|
|
83
83
|
var _this;
|
|
84
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10;
|
|
84
85
|
var _props_limitDateList;
|
|
85
86
|
_this = _call_super(this, DatePickerProperty, [
|
|
86
87
|
props
|
|
@@ -94,34 +95,23 @@ var DatePickerProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
94
95
|
), _define_property(_this, "filterWeekend", void 0 // 是否过滤周末
|
|
95
96
|
), _define_property(_this, "isInternational", void 0 //是否国际化
|
|
96
97
|
);
|
|
97
|
-
|
|
98
|
-
_this.
|
|
99
|
-
|
|
100
|
-
_this.
|
|
101
|
-
|
|
102
|
-
_this.
|
|
103
|
-
|
|
104
|
-
_this.
|
|
105
|
-
var _props_caption;
|
|
106
|
-
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DatePickerControl.controlName;
|
|
107
|
-
var _props_placeholder;
|
|
108
|
-
_this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : getLocaleText('CMD.pleaseEnterDate', null, '请输入日期');
|
|
109
|
-
var _props_defaultValue;
|
|
110
|
-
_this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : '';
|
|
111
|
-
var _props_limitDateList_map;
|
|
112
|
-
_this.limitDateList = (_props_limitDateList_map = props === null || props === void 0 ? void 0 : (_props_limitDateList = props.limitDateList) === null || _props_limitDateList === void 0 ? void 0 : _props_limitDateList.map(function(item) {
|
|
98
|
+
_this.dateType = (_ref = props === null || props === void 0 ? void 0 : props.dateType) !== null && _ref !== void 0 ? _ref : DateType.DATE;
|
|
99
|
+
_this.dateFormat = (_ref1 = props === null || props === void 0 ? void 0 : props.dateFormat) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
100
|
+
_this.commonTimeSetting = (_ref2 = props === null || props === void 0 ? void 0 : props.commonTimeSetting) !== null && _ref2 !== void 0 ? _ref2 : [];
|
|
101
|
+
_this.setValueType = (_ref3 = props === null || props === void 0 ? void 0 : props.setValueType) !== null && _ref3 !== void 0 ? _ref3 : 'custom';
|
|
102
|
+
_this.caption = (_ref4 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref4 !== void 0 ? _ref4 : DatePickerControl.controlName;
|
|
103
|
+
_this.placeholder = (_ref5 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _ref5 !== void 0 ? _ref5 : getLocaleText('CMD.pleaseEnterDate', null, '请输入日期');
|
|
104
|
+
_this.defaultValue = (_ref6 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref6 !== void 0 ? _ref6 : '';
|
|
105
|
+
_this.limitDateList = (_ref7 = props === null || props === void 0 ? void 0 : (_props_limitDateList = props.limitDateList) === null || _props_limitDateList === void 0 ? void 0 : _props_limitDateList.map(function(item) {
|
|
113
106
|
return new LimitDate(item);
|
|
114
|
-
})) !== null &&
|
|
115
|
-
var _props_allowDateRange;
|
|
107
|
+
})) !== null && _ref7 !== void 0 ? _ref7 : [];
|
|
116
108
|
// this.multiple = props?.multiple ?? false
|
|
117
|
-
_this.allowDateRange = (
|
|
109
|
+
_this.allowDateRange = (_ref8 = props === null || props === void 0 ? void 0 : props.allowDateRange) !== null && _ref8 !== void 0 ? _ref8 : [
|
|
118
110
|
'',
|
|
119
111
|
''
|
|
120
112
|
];
|
|
121
|
-
|
|
122
|
-
_this.
|
|
123
|
-
var _props_isInternational;
|
|
124
|
-
_this.isInternational = (_props_isInternational = props === null || props === void 0 ? void 0 : props.isInternational) !== null && _props_isInternational !== void 0 ? _props_isInternational : false;
|
|
113
|
+
_this.filterWeekend = (_ref9 = props === null || props === void 0 ? void 0 : props.filterWeekend) !== null && _ref9 !== void 0 ? _ref9 : false;
|
|
114
|
+
_this.isInternational = (_ref10 = props === null || props === void 0 ? void 0 : props.isInternational) !== null && _ref10 !== void 0 ? _ref10 : false;
|
|
125
115
|
return _this;
|
|
126
116
|
}
|
|
127
117
|
return DatePickerProperty;
|
|
@@ -108,88 +108,78 @@ var DateRangePropertyRuntimeRules = /*#__PURE__*/ function(BaseControlPropertyRu
|
|
|
108
108
|
}
|
|
109
109
|
return DateRangePropertyRuntimeRules;
|
|
110
110
|
}(BaseControlPropertyRuntimeRules);
|
|
111
|
-
/**
|
|
112
|
-
* DateRange 日期区间
|
|
113
|
-
* @public
|
|
111
|
+
/**
|
|
112
|
+
* DateRange 日期区间
|
|
113
|
+
* @public
|
|
114
114
|
*/ var DateRangeProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
115
115
|
"use strict";
|
|
116
116
|
_inherits(DateRangeProperty, BaseControlProperty);
|
|
117
117
|
function DateRangeProperty(props) {
|
|
118
118
|
_class_call_check(this, DateRangeProperty);
|
|
119
119
|
var _this;
|
|
120
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10;
|
|
120
121
|
var _props_limitDateList;
|
|
121
122
|
_this = _call_super(this, DateRangeProperty, [
|
|
122
123
|
props
|
|
123
|
-
]), /**
|
|
124
|
-
* 数据绑定项
|
|
125
|
-
*/ _define_property(_this, "dataBind", void 0), /**
|
|
126
|
-
* 开始日期
|
|
127
|
-
* @public
|
|
128
|
-
* @defaultValue ''
|
|
129
|
-
*/ _define_property(_this, "rangeMin", void 0), /**
|
|
130
|
-
* 结束日期
|
|
131
|
-
* @public
|
|
132
|
-
* @defaultValue ''
|
|
133
|
-
*/ _define_property(_this, "rangeMax", void 0), /**
|
|
134
|
-
* 日期区间开始的提示文字
|
|
135
|
-
* @defaultValue ''
|
|
136
|
-
* @public
|
|
137
|
-
*/ _define_property(_this, "placeholderStart", void 0), /**
|
|
138
|
-
* 日期区结束的提示文字
|
|
139
|
-
* @defaultValue ''
|
|
140
|
-
* @public
|
|
141
|
-
*/ _define_property(_this, "placeholderEnd", void 0), /**
|
|
142
|
-
* 日期格式化字符串
|
|
143
|
-
* @defaultValue ''
|
|
144
|
-
* @public
|
|
145
|
-
*/ _define_property(_this, "dateFormat", void 0), /**
|
|
146
|
-
* 常用时间配置
|
|
147
|
-
* @defaultValue ''
|
|
148
|
-
* @public
|
|
149
|
-
*/ _define_property(_this, "commonTimeSetting", void 0), /**
|
|
150
|
-
* 日期格式 date,datetime
|
|
151
|
-
* @defaultValue 'date'
|
|
152
|
-
* @public
|
|
153
|
-
*/ _define_property(_this, "dateType", void 0), /**
|
|
154
|
-
* 日期默认值设置方式custom,now
|
|
155
|
-
* @defaultValue 'custom'
|
|
156
|
-
* @public
|
|
157
|
-
*/ _define_property(_this, "setValueType", void 0), /**
|
|
158
|
-
* 默认值
|
|
159
|
-
* @defaultValue ''
|
|
160
|
-
* @public
|
|
161
|
-
*/ _define_property(_this, "defaultValue", void 0), /**
|
|
162
|
-
* 日期限制范围
|
|
163
|
-
* @defaultValue []
|
|
164
|
-
* @public
|
|
124
|
+
]), /**
|
|
125
|
+
* 数据绑定项
|
|
126
|
+
*/ _define_property(_this, "dataBind", void 0), /**
|
|
127
|
+
* 开始日期
|
|
128
|
+
* @public
|
|
129
|
+
* @defaultValue ''
|
|
130
|
+
*/ _define_property(_this, "rangeMin", void 0), /**
|
|
131
|
+
* 结束日期
|
|
132
|
+
* @public
|
|
133
|
+
* @defaultValue ''
|
|
134
|
+
*/ _define_property(_this, "rangeMax", void 0), /**
|
|
135
|
+
* 日期区间开始的提示文字
|
|
136
|
+
* @defaultValue ''
|
|
137
|
+
* @public
|
|
138
|
+
*/ _define_property(_this, "placeholderStart", void 0), /**
|
|
139
|
+
* 日期区结束的提示文字
|
|
140
|
+
* @defaultValue ''
|
|
141
|
+
* @public
|
|
142
|
+
*/ _define_property(_this, "placeholderEnd", void 0), /**
|
|
143
|
+
* 日期格式化字符串
|
|
144
|
+
* @defaultValue ''
|
|
145
|
+
* @public
|
|
146
|
+
*/ _define_property(_this, "dateFormat", void 0), /**
|
|
147
|
+
* 常用时间配置
|
|
148
|
+
* @defaultValue ''
|
|
149
|
+
* @public
|
|
150
|
+
*/ _define_property(_this, "commonTimeSetting", void 0), /**
|
|
151
|
+
* 日期格式 date,datetime
|
|
152
|
+
* @defaultValue 'date'
|
|
153
|
+
* @public
|
|
154
|
+
*/ _define_property(_this, "dateType", void 0), /**
|
|
155
|
+
* 日期默认值设置方式custom,now
|
|
156
|
+
* @defaultValue 'custom'
|
|
157
|
+
* @public
|
|
158
|
+
*/ _define_property(_this, "setValueType", void 0), /**
|
|
159
|
+
* 默认值
|
|
160
|
+
* @defaultValue ''
|
|
161
|
+
* @public
|
|
162
|
+
*/ _define_property(_this, "defaultValue", void 0), /**
|
|
163
|
+
* 日期限制范围
|
|
164
|
+
* @defaultValue []
|
|
165
|
+
* @public
|
|
165
166
|
*/ _define_property(_this, "limitDateList", void 0), _define_property(_this, "isInternational", void 0 //是否国际化
|
|
166
167
|
);
|
|
167
168
|
_this.dataBind = new RangeDataBind(props === null || props === void 0 ? void 0 : props.dataBind);
|
|
168
169
|
_this.defaultValue = new RangeDateValue(props === null || props === void 0 ? void 0 : props.defaultValue);
|
|
169
|
-
|
|
170
|
-
_this.
|
|
171
|
-
|
|
172
|
-
_this.
|
|
173
|
-
|
|
174
|
-
_this.
|
|
175
|
-
|
|
176
|
-
_this.
|
|
177
|
-
|
|
178
|
-
_this.
|
|
179
|
-
var _props_rangeMax;
|
|
180
|
-
_this.rangeMax = (_props_rangeMax = props === null || props === void 0 ? void 0 : props.rangeMax) !== null && _props_rangeMax !== void 0 ? _props_rangeMax : '';
|
|
181
|
-
var _props_placeholderStart;
|
|
182
|
-
_this.placeholderStart = (_props_placeholderStart = props === null || props === void 0 ? void 0 : props.placeholderStart) !== null && _props_placeholderStart !== void 0 ? _props_placeholderStart : getLocaleText('CMD.pleaseSelectStartDate', null, '请选择开始日期');
|
|
183
|
-
var _props_placeholderEnd;
|
|
184
|
-
_this.placeholderEnd = (_props_placeholderEnd = props === null || props === void 0 ? void 0 : props.placeholderEnd) !== null && _props_placeholderEnd !== void 0 ? _props_placeholderEnd : getLocaleText('CMD.pleaseSelectEndDate', null, '请选择结束日期');
|
|
185
|
-
var _props_caption;
|
|
186
|
-
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DateRangeControl.controlName;
|
|
187
|
-
var _props_limitDateList_map;
|
|
188
|
-
_this.limitDateList = (_props_limitDateList_map = props === null || props === void 0 ? void 0 : (_props_limitDateList = props.limitDateList) === null || _props_limitDateList === void 0 ? void 0 : _props_limitDateList.map(function(item) {
|
|
170
|
+
_this.dateType = (_ref = props === null || props === void 0 ? void 0 : props.dateType) !== null && _ref !== void 0 ? _ref : DateType.DATE;
|
|
171
|
+
_this.dateFormat = (_ref1 = props === null || props === void 0 ? void 0 : props.dateFormat) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
172
|
+
_this.commonTimeSetting = (_ref2 = props === null || props === void 0 ? void 0 : props.commonTimeSetting) !== null && _ref2 !== void 0 ? _ref2 : [];
|
|
173
|
+
_this.setValueType = (_ref3 = props === null || props === void 0 ? void 0 : props.setValueType) !== null && _ref3 !== void 0 ? _ref3 : 'custom';
|
|
174
|
+
_this.rangeMin = (_ref4 = props === null || props === void 0 ? void 0 : props.rangeMin) !== null && _ref4 !== void 0 ? _ref4 : '';
|
|
175
|
+
_this.rangeMax = (_ref5 = props === null || props === void 0 ? void 0 : props.rangeMax) !== null && _ref5 !== void 0 ? _ref5 : '';
|
|
176
|
+
_this.placeholderStart = (_ref6 = props === null || props === void 0 ? void 0 : props.placeholderStart) !== null && _ref6 !== void 0 ? _ref6 : getLocaleText('CMD.pleaseSelectStartDate', null, '请选择开始日期');
|
|
177
|
+
_this.placeholderEnd = (_ref7 = props === null || props === void 0 ? void 0 : props.placeholderEnd) !== null && _ref7 !== void 0 ? _ref7 : getLocaleText('CMD.pleaseSelectEndDate', null, '请选择结束日期');
|
|
178
|
+
_this.caption = (_ref8 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref8 !== void 0 ? _ref8 : DateRangeControl.controlName;
|
|
179
|
+
_this.limitDateList = (_ref9 = props === null || props === void 0 ? void 0 : (_props_limitDateList = props.limitDateList) === null || _props_limitDateList === void 0 ? void 0 : _props_limitDateList.map(function(item) {
|
|
189
180
|
return new LimitDate(item);
|
|
190
|
-
})) !== null &&
|
|
191
|
-
|
|
192
|
-
_this.isInternational = (_props_isInternational = props === null || props === void 0 ? void 0 : props.isInternational) !== null && _props_isInternational !== void 0 ? _props_isInternational : false;
|
|
181
|
+
})) !== null && _ref9 !== void 0 ? _ref9 : [];
|
|
182
|
+
_this.isInternational = (_ref10 = props === null || props === void 0 ? void 0 : props.isInternational) !== null && _ref10 !== void 0 ? _ref10 : false;
|
|
193
183
|
return _this;
|
|
194
184
|
}
|
|
195
185
|
return DateRangeProperty;
|
|
@@ -95,50 +95,40 @@ var DepartmentProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
95
95
|
function DepartmentProperty(props) {
|
|
96
96
|
_class_call_check(this, DepartmentProperty);
|
|
97
97
|
var _this;
|
|
98
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10;
|
|
98
99
|
_this = _call_super(this, DepartmentProperty, [
|
|
99
100
|
props
|
|
100
|
-
]), /**
|
|
101
|
-
* 展示类型: 默认形式 / 树状部门
|
|
102
|
-
* */ _define_property(_this, "showType", void 0), /**
|
|
103
|
-
* 部门范围: 所有部门 / 指定部门
|
|
104
|
-
* */ _define_property(_this, "range", void 0), /**
|
|
105
|
-
* 默认值类型:发起人部门/ 指定部门 /无
|
|
106
|
-
*/ _define_property(_this, "defaultValueType", void 0), /**
|
|
107
|
-
* 部门多选
|
|
108
|
-
* */ _define_property(_this, "multiple", void 0), /**
|
|
109
|
-
* 指定部门范围
|
|
110
|
-
* */ _define_property(_this, "rangeOptions", void 0), /**
|
|
111
|
-
* 默认值
|
|
112
|
-
* */ _define_property(_this, "defaultValue", void 0), /**
|
|
113
|
-
* 部门显示层级
|
|
114
|
-
* */ _define_property(_this, "displayLevel", void 0), /**
|
|
115
|
-
* 是否展示子部门
|
|
116
|
-
* */ _define_property(_this, "showSubDept", void 0), /**
|
|
117
|
-
* 多级填充
|
|
101
|
+
]), /**
|
|
102
|
+
* 展示类型: 默认形式 / 树状部门
|
|
103
|
+
* */ _define_property(_this, "showType", void 0), /**
|
|
104
|
+
* 部门范围: 所有部门 / 指定部门
|
|
105
|
+
* */ _define_property(_this, "range", void 0), /**
|
|
106
|
+
* 默认值类型:发起人部门/ 指定部门 /无
|
|
107
|
+
*/ _define_property(_this, "defaultValueType", void 0), /**
|
|
108
|
+
* 部门多选
|
|
109
|
+
* */ _define_property(_this, "multiple", void 0), /**
|
|
110
|
+
* 指定部门范围
|
|
111
|
+
* */ _define_property(_this, "rangeOptions", void 0), /**
|
|
112
|
+
* 默认值
|
|
113
|
+
* */ _define_property(_this, "defaultValue", void 0), /**
|
|
114
|
+
* 部门显示层级
|
|
115
|
+
* */ _define_property(_this, "displayLevel", void 0), /**
|
|
116
|
+
* 是否展示子部门
|
|
117
|
+
* */ _define_property(_this, "showSubDept", void 0), /**
|
|
118
|
+
* 多级填充
|
|
118
119
|
* */ _define_property(_this, "multistageFilling", void 0), _define_property(_this, "openMultistageFilling", void 0 //是否开启填充
|
|
119
120
|
);
|
|
120
|
-
|
|
121
|
-
_this.
|
|
122
|
-
|
|
123
|
-
_this.
|
|
124
|
-
|
|
125
|
-
_this.
|
|
126
|
-
|
|
127
|
-
_this.
|
|
128
|
-
|
|
129
|
-
_this.
|
|
130
|
-
|
|
131
|
-
_this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : [];
|
|
132
|
-
var _props_displayLevel;
|
|
133
|
-
_this.displayLevel = (_props_displayLevel = props === null || props === void 0 ? void 0 : props.displayLevel) !== null && _props_displayLevel !== void 0 ? _props_displayLevel : 1;
|
|
134
|
-
var _props_showSubDept;
|
|
135
|
-
_this.showSubDept = (_props_showSubDept = props === null || props === void 0 ? void 0 : props.showSubDept) !== null && _props_showSubDept !== void 0 ? _props_showSubDept : true;
|
|
136
|
-
var _props_caption;
|
|
137
|
-
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DepartmentControl.controlName;
|
|
138
|
-
var _props_placeholder;
|
|
139
|
-
_this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : getLocaleText('CMD.pleaseSelectDept', null, '请选择部门');
|
|
140
|
-
var _props_openMultistageFilling;
|
|
141
|
-
_this.openMultistageFilling = (_props_openMultistageFilling = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
|
|
121
|
+
_this.showType = (_ref = props === null || props === void 0 ? void 0 : props.showType) !== null && _ref !== void 0 ? _ref : 'default';
|
|
122
|
+
_this.multiple = (_ref1 = props === null || props === void 0 ? void 0 : props.multiple) !== null && _ref1 !== void 0 ? _ref1 : false;
|
|
123
|
+
_this.range = (_ref2 = props === null || props === void 0 ? void 0 : props.range) !== null && _ref2 !== void 0 ? _ref2 : 'all';
|
|
124
|
+
_this.defaultValueType = (_ref3 = props === null || props === void 0 ? void 0 : props.defaultValueType) !== null && _ref3 !== void 0 ? _ref3 : 'none';
|
|
125
|
+
_this.rangeOptions = (_ref4 = props === null || props === void 0 ? void 0 : props.rangeOptions) !== null && _ref4 !== void 0 ? _ref4 : [];
|
|
126
|
+
_this.defaultValue = (_ref5 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref5 !== void 0 ? _ref5 : [];
|
|
127
|
+
_this.displayLevel = (_ref6 = props === null || props === void 0 ? void 0 : props.displayLevel) !== null && _ref6 !== void 0 ? _ref6 : 1;
|
|
128
|
+
_this.showSubDept = (_ref7 = props === null || props === void 0 ? void 0 : props.showSubDept) !== null && _ref7 !== void 0 ? _ref7 : true;
|
|
129
|
+
_this.caption = (_ref8 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref8 !== void 0 ? _ref8 : DepartmentControl.controlName;
|
|
130
|
+
_this.placeholder = (_ref9 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _ref9 !== void 0 ? _ref9 : getLocaleText('CMD.pleaseSelectDept', null, '请选择部门');
|
|
131
|
+
_this.openMultistageFilling = (_ref10 = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _ref10 !== void 0 ? _ref10 : false;
|
|
142
132
|
_this.multistageFilling = [];
|
|
143
133
|
if (Array.isArray(props === null || props === void 0 ? void 0 : props.multistageFilling)) {
|
|
144
134
|
props === null || props === void 0 ? void 0 : props.multistageFilling.map(function(item) {
|
|
@@ -124,68 +124,54 @@ var Department2Property = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
124
124
|
function Department2Property(props) {
|
|
125
125
|
_class_call_check(this, Department2Property);
|
|
126
126
|
var _this;
|
|
127
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11, _ref12, _ref13, _ref14, _ref15;
|
|
127
128
|
_this = _call_super(this, Department2Property, [
|
|
128
129
|
props
|
|
129
|
-
]), /**
|
|
130
|
-
* 展示类型: 默认形式 / 树状部门
|
|
131
|
-
* */ _define_property(_this, "showType", void 0), /**
|
|
132
|
-
* 部门范围: 所有部门 / 指定部门
|
|
133
|
-
* */ _define_property(_this, "range", void 0), /**
|
|
134
|
-
* 默认值类型:发起人部门/ 指定部门 /无
|
|
135
|
-
*/ _define_property(_this, "defaultValueType", void 0), /**
|
|
136
|
-
* 部门多选
|
|
137
|
-
* */ _define_property(_this, "multiple", void 0), /**
|
|
138
|
-
* 指定部门范围
|
|
139
|
-
* */ _define_property(_this, "rangeOptions", void 0), /**
|
|
140
|
-
* 默认值
|
|
141
|
-
* */ _define_property(_this, "defaultValue", void 0), /**
|
|
142
|
-
* 部门显示层级
|
|
143
|
-
* */ _define_property(_this, "displayLevel", void 0), /**
|
|
144
|
-
* 是否展示子部门
|
|
145
|
-
* */ _define_property(_this, "showSubDept", void 0), /**
|
|
146
|
-
* 多级填充
|
|
147
|
-
* */ _define_property(_this, "multistageFilling", void 0), /**
|
|
148
|
-
* 数据设置
|
|
149
|
-
* */ _define_property(_this, "datasourceBind", void 0), /**
|
|
150
|
-
* 数据类型 行政 or 业务
|
|
130
|
+
]), /**
|
|
131
|
+
* 展示类型: 默认形式 / 树状部门
|
|
132
|
+
* */ _define_property(_this, "showType", void 0), /**
|
|
133
|
+
* 部门范围: 所有部门 / 指定部门
|
|
134
|
+
* */ _define_property(_this, "range", void 0), /**
|
|
135
|
+
* 默认值类型:发起人部门/ 指定部门 /无
|
|
136
|
+
*/ _define_property(_this, "defaultValueType", void 0), /**
|
|
137
|
+
* 部门多选
|
|
138
|
+
* */ _define_property(_this, "multiple", void 0), /**
|
|
139
|
+
* 指定部门范围
|
|
140
|
+
* */ _define_property(_this, "rangeOptions", void 0), /**
|
|
141
|
+
* 默认值
|
|
142
|
+
* */ _define_property(_this, "defaultValue", void 0), /**
|
|
143
|
+
* 部门显示层级
|
|
144
|
+
* */ _define_property(_this, "displayLevel", void 0), /**
|
|
145
|
+
* 是否展示子部门
|
|
146
|
+
* */ _define_property(_this, "showSubDept", void 0), /**
|
|
147
|
+
* 多级填充
|
|
148
|
+
* */ _define_property(_this, "multistageFilling", void 0), /**
|
|
149
|
+
* 数据设置
|
|
150
|
+
* */ _define_property(_this, "datasourceBind", void 0), /**
|
|
151
|
+
* 数据类型 行政 or 业务
|
|
151
152
|
* */ _define_property(_this, "datasourceType", void 0 //数据类型 行政 'administration'| 业务 'business'
|
|
152
153
|
), _define_property(_this, "businessType", void 0 //业务部门类型 'all' | 'assign'
|
|
153
154
|
), _define_property(_this, "businessScope", void 0 //业务部门范围
|
|
154
155
|
), _define_property(_this, "openMultistageFilling", void 0 //是否开启填充
|
|
155
156
|
), _define_property(_this, "defaultShowOptions", void 0 //默认展开选项
|
|
156
157
|
);
|
|
157
|
-
|
|
158
|
-
_this.
|
|
159
|
-
|
|
160
|
-
_this.
|
|
161
|
-
|
|
162
|
-
_this.
|
|
163
|
-
|
|
164
|
-
_this.
|
|
165
|
-
|
|
166
|
-
_this.
|
|
167
|
-
|
|
168
|
-
_this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : [];
|
|
169
|
-
var _props_displayLevel;
|
|
170
|
-
_this.displayLevel = (_props_displayLevel = props === null || props === void 0 ? void 0 : props.displayLevel) !== null && _props_displayLevel !== void 0 ? _props_displayLevel : 1;
|
|
171
|
-
var _props_showSubDept;
|
|
172
|
-
_this.showSubDept = (_props_showSubDept = props === null || props === void 0 ? void 0 : props.showSubDept) !== null && _props_showSubDept !== void 0 ? _props_showSubDept : true;
|
|
173
|
-
var _props_caption;
|
|
174
|
-
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : Department2Control.controlName;
|
|
175
|
-
var _props_placeholder;
|
|
176
|
-
_this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : getLocaleText('CMD.pleaseSelectDept', null, '请选择部门');
|
|
177
|
-
var _props_datasourceBind;
|
|
178
|
-
_this.datasourceBind = new SuperDataSourceBind((_props_datasourceBind = props === null || props === void 0 ? void 0 : props.datasourceBind) !== null && _props_datasourceBind !== void 0 ? _props_datasourceBind : {
|
|
158
|
+
_this.showType = (_ref = props === null || props === void 0 ? void 0 : props.showType) !== null && _ref !== void 0 ? _ref : 'default';
|
|
159
|
+
_this.multiple = (_ref1 = props === null || props === void 0 ? void 0 : props.multiple) !== null && _ref1 !== void 0 ? _ref1 : false;
|
|
160
|
+
_this.range = (_ref2 = props === null || props === void 0 ? void 0 : props.range) !== null && _ref2 !== void 0 ? _ref2 : 'all';
|
|
161
|
+
_this.defaultValueType = (_ref3 = props === null || props === void 0 ? void 0 : props.defaultValueType) !== null && _ref3 !== void 0 ? _ref3 : 'none';
|
|
162
|
+
_this.rangeOptions = (_ref4 = props === null || props === void 0 ? void 0 : props.rangeOptions) !== null && _ref4 !== void 0 ? _ref4 : [];
|
|
163
|
+
_this.defaultValue = (_ref5 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref5 !== void 0 ? _ref5 : [];
|
|
164
|
+
_this.displayLevel = (_ref6 = props === null || props === void 0 ? void 0 : props.displayLevel) !== null && _ref6 !== void 0 ? _ref6 : 1;
|
|
165
|
+
_this.showSubDept = (_ref7 = props === null || props === void 0 ? void 0 : props.showSubDept) !== null && _ref7 !== void 0 ? _ref7 : true;
|
|
166
|
+
_this.caption = (_ref8 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref8 !== void 0 ? _ref8 : Department2Control.controlName;
|
|
167
|
+
_this.placeholder = (_ref9 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _ref9 !== void 0 ? _ref9 : getLocaleText('CMD.pleaseSelectDept', null, '请选择部门');
|
|
168
|
+
_this.datasourceBind = new SuperDataSourceBind((_ref10 = props === null || props === void 0 ? void 0 : props.datasourceBind) !== null && _ref10 !== void 0 ? _ref10 : {
|
|
179
169
|
attributes: Department2Control.controlCustomAttributes
|
|
180
170
|
});
|
|
181
|
-
|
|
182
|
-
_this.
|
|
183
|
-
|
|
184
|
-
_this.
|
|
185
|
-
var _props_businessType;
|
|
186
|
-
_this.businessType = (_props_businessType = props === null || props === void 0 ? void 0 : props.businessType) !== null && _props_businessType !== void 0 ? _props_businessType : AssignType.ALL;
|
|
187
|
-
var _props_openMultistageFilling;
|
|
188
|
-
_this.openMultistageFilling = (_props_openMultistageFilling = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
|
|
171
|
+
_this.datasourceType = (_ref11 = props === null || props === void 0 ? void 0 : props.datasourceType) !== null && _ref11 !== void 0 ? _ref11 : DepartmentType.INTERNAL;
|
|
172
|
+
_this.businessScope = (_ref12 = props === null || props === void 0 ? void 0 : props.businessScope) !== null && _ref12 !== void 0 ? _ref12 : [];
|
|
173
|
+
_this.businessType = (_ref13 = props === null || props === void 0 ? void 0 : props.businessType) !== null && _ref13 !== void 0 ? _ref13 : AssignType.ALL;
|
|
174
|
+
_this.openMultistageFilling = (_ref14 = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _ref14 !== void 0 ? _ref14 : false;
|
|
189
175
|
_this.multistageFilling = [];
|
|
190
176
|
if (Array.isArray(props === null || props === void 0 ? void 0 : props.multistageFilling)) {
|
|
191
177
|
props === null || props === void 0 ? void 0 : props.multistageFilling.map(function(item) {
|
|
@@ -193,8 +179,7 @@ var Department2Property = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
193
179
|
(_this_multistageFilling = _this.multistageFilling) === null || _this_multistageFilling === void 0 ? void 0 : _this_multistageFilling.push(new MultistageFillingItem(item));
|
|
194
180
|
});
|
|
195
181
|
}
|
|
196
|
-
|
|
197
|
-
_this.defaultShowOptions = (_props_defaultShowOptions = props === null || props === void 0 ? void 0 : props.defaultShowOptions) !== null && _props_defaultShowOptions !== void 0 ? _props_defaultShowOptions : false;
|
|
182
|
+
_this.defaultShowOptions = (_ref15 = props === null || props === void 0 ? void 0 : props.defaultShowOptions) !== null && _ref15 !== void 0 ? _ref15 : false;
|
|
198
183
|
return _this;
|
|
199
184
|
}
|
|
200
185
|
return Department2Property;
|
|
@@ -184,21 +184,16 @@ var ElectronicSignatureProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
184
184
|
function ElectronicSignatureProperty(props) {
|
|
185
185
|
_class_call_check(this, ElectronicSignatureProperty);
|
|
186
186
|
var _this;
|
|
187
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5;
|
|
187
188
|
_this = _call_super(this, ElectronicSignatureProperty, [
|
|
188
189
|
props
|
|
189
190
|
]), _define_property(_this, "buttonType", void 0), _define_property(_this, "content", void 0), _define_property(_this, "showType", void 0), _define_property(_this, "color", void 0), _define_property(_this, "icon", void 0), _define_property(_this, "command", ''), _define_property(_this, "isLoading", false), _define_property(_this, "signatureConfig", void 0);
|
|
190
|
-
|
|
191
|
-
_this.
|
|
192
|
-
|
|
193
|
-
_this.
|
|
194
|
-
|
|
195
|
-
_this.
|
|
196
|
-
var _props_showType;
|
|
197
|
-
_this.showType = (_props_showType = props === null || props === void 0 ? void 0 : props.showType) !== null && _props_showType !== void 0 ? _props_showType : 'text';
|
|
198
|
-
var _props_color;
|
|
199
|
-
_this.color = (_props_color = props === null || props === void 0 ? void 0 : props.color) !== null && _props_color !== void 0 ? _props_color : 'primary';
|
|
200
|
-
var _props_icon;
|
|
201
|
-
_this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : 'iconfenlei2';
|
|
191
|
+
_this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : ElectronicSignatureControl.controlName;
|
|
192
|
+
_this.content = (_ref1 = props === null || props === void 0 ? void 0 : props.content) !== null && _ref1 !== void 0 ? _ref1 : getLocaleText('CMD.signature', null, '发起签署');
|
|
193
|
+
_this.buttonType = (_ref2 = props === null || props === void 0 ? void 0 : props.buttonType) !== null && _ref2 !== void 0 ? _ref2 : 'primary';
|
|
194
|
+
_this.showType = (_ref3 = props === null || props === void 0 ? void 0 : props.showType) !== null && _ref3 !== void 0 ? _ref3 : 'text';
|
|
195
|
+
_this.color = (_ref4 = props === null || props === void 0 ? void 0 : props.color) !== null && _ref4 !== void 0 ? _ref4 : 'primary';
|
|
196
|
+
_this.icon = (_ref5 = props === null || props === void 0 ? void 0 : props.icon) !== null && _ref5 !== void 0 ? _ref5 : 'iconfenlei2';
|
|
202
197
|
_this.signatureConfig = new ElectronicSignatureConfig(props === null || props === void 0 ? void 0 : props.signatureConfig);
|
|
203
198
|
return _this;
|
|
204
199
|
}
|
|
@@ -95,34 +95,26 @@ var EmployeeProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
95
95
|
function EmployeeProperty(props) {
|
|
96
96
|
_class_call_check(this, EmployeeProperty);
|
|
97
97
|
var _this;
|
|
98
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8;
|
|
98
99
|
_this = _call_super(this, EmployeeProperty, [
|
|
99
100
|
props
|
|
100
|
-
]), /**
|
|
101
|
-
* 展示类型: 默认形式 / 树状人员
|
|
101
|
+
]), /**
|
|
102
|
+
* 展示类型: 默认形式 / 树状人员
|
|
102
103
|
* */ _define_property(_this, "showType", void 0), _define_property(_this, "range", void 0 // 人员范围: 公司全员 / 指定人员
|
|
103
104
|
), // 选择指定人员时的范围
|
|
104
105
|
_define_property(_this, "rangeOptions", void 0), _define_property(_this, "multiple", void 0 // 是否多选
|
|
105
106
|
), _define_property(_this, "defaultValueType", void 0 // 默认值: null / 表单发起人 / 指定人员
|
|
106
107
|
), _define_property(_this, "defaultValue", void 0), _define_property(_this, "multistageFilling", void 0), _define_property(_this, "openMultistageFilling", void 0 //是否开启填充
|
|
107
108
|
);
|
|
108
|
-
|
|
109
|
-
_this.
|
|
110
|
-
|
|
111
|
-
_this.
|
|
112
|
-
|
|
113
|
-
_this.
|
|
114
|
-
|
|
115
|
-
_this.
|
|
116
|
-
|
|
117
|
-
_this.defaultValueType = (_props_defaultValueType = props === null || props === void 0 ? void 0 : props.defaultValueType) !== null && _props_defaultValueType !== void 0 ? _props_defaultValueType : 'none';
|
|
118
|
-
var _props_defaultValue;
|
|
119
|
-
_this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : [];
|
|
120
|
-
var _props_caption;
|
|
121
|
-
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : EmployeeControl.controlName;
|
|
122
|
-
var _props_placeholder;
|
|
123
|
-
_this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : getLocaleText('CMD.pleaseEnterNameorEmail', null, '请输入人员姓名或邮箱');
|
|
124
|
-
var _props_openMultistageFilling;
|
|
125
|
-
_this.openMultistageFilling = (_props_openMultistageFilling = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
|
|
109
|
+
_this.showType = (_ref = props === null || props === void 0 ? void 0 : props.showType) !== null && _ref !== void 0 ? _ref : 'default';
|
|
110
|
+
_this.range = (_ref1 = props === null || props === void 0 ? void 0 : props.range) !== null && _ref1 !== void 0 ? _ref1 : 'all';
|
|
111
|
+
_this.rangeOptions = (_ref2 = props === null || props === void 0 ? void 0 : props.rangeOptions) !== null && _ref2 !== void 0 ? _ref2 : [];
|
|
112
|
+
_this.multiple = (_ref3 = props === null || props === void 0 ? void 0 : props.multiple) !== null && _ref3 !== void 0 ? _ref3 : false;
|
|
113
|
+
_this.defaultValueType = (_ref4 = props === null || props === void 0 ? void 0 : props.defaultValueType) !== null && _ref4 !== void 0 ? _ref4 : 'none';
|
|
114
|
+
_this.defaultValue = (_ref5 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref5 !== void 0 ? _ref5 : [];
|
|
115
|
+
_this.caption = (_ref6 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref6 !== void 0 ? _ref6 : EmployeeControl.controlName;
|
|
116
|
+
_this.placeholder = (_ref7 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _ref7 !== void 0 ? _ref7 : getLocaleText('CMD.pleaseEnterNameorEmail', null, '请输入人员姓名或邮箱');
|
|
117
|
+
_this.openMultistageFilling = (_ref8 = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _ref8 !== void 0 ? _ref8 : false;
|
|
126
118
|
_this.multistageFilling = [];
|
|
127
119
|
if (Array.isArray(props === null || props === void 0 ? void 0 : props.multistageFilling)) {
|
|
128
120
|
props === null || props === void 0 ? void 0 : props.multistageFilling.map(function(item) {
|