@byteluck-fe/model-driven-controls 2.5.0-beta.7 → 2.5.0-beta.9
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 +89 -89
- package/dist/esm/baseControls/BatchDeleteButton/designer.js +20 -34
- package/dist/esm/baseControls/BatchDeleteButton/index.js +6 -6
- package/dist/esm/baseControls/BatchDeleteButton/property.js +22 -44
- package/dist/esm/baseControls/BatchDeleteButton/runtime.js +5 -19
- package/dist/esm/baseControls/BatchPrintListButton/designer.js +20 -34
- package/dist/esm/baseControls/BatchPrintListButton/index.js +6 -6
- package/dist/esm/baseControls/BatchPrintListButton/property.js +24 -40
- package/dist/esm/baseControls/BatchPrintListButton/runtime.js +5 -19
- package/dist/esm/baseControls/BatchPrintRecordListButton/designer.js +18 -32
- package/dist/esm/baseControls/BatchPrintRecordListButton/index.js +6 -6
- package/dist/esm/baseControls/BatchPrintRecordListButton/property.js +8 -8
- package/dist/esm/baseControls/BatchPrintRecordListButton/runtime.js +5 -19
- package/dist/esm/baseControls/BatchSubmissionListButton/designer.js +21 -35
- package/dist/esm/baseControls/BatchSubmissionListButton/index.js +6 -6
- package/dist/esm/baseControls/BatchSubmissionListButton/property.js +28 -53
- package/dist/esm/baseControls/BatchSubmissionListButton/runtime.js +5 -19
- package/dist/esm/baseControls/Button/designer.js +20 -34
- package/dist/esm/baseControls/Button/index.js +6 -6
- package/dist/esm/baseControls/Button/property.js +19 -41
- package/dist/esm/baseControls/Button/runtime.js +5 -19
- package/dist/esm/baseControls/CreateFormListButton/designer.js +21 -35
- package/dist/esm/baseControls/CreateFormListButton/index.js +6 -6
- package/dist/esm/baseControls/CreateFormListButton/property.js +21 -36
- package/dist/esm/baseControls/CreateFormListButton/runtime.js +5 -19
- package/dist/esm/baseControls/Dashboard/designer.js +16 -30
- package/dist/esm/baseControls/Dashboard/index.js +6 -6
- package/dist/esm/baseControls/Dashboard/property.js +39 -58
- package/dist/esm/baseControls/Dashboard/runtime.js +5 -19
- package/dist/esm/baseControls/Divider/designer.js +13 -27
- package/dist/esm/baseControls/Divider/index.js +6 -6
- package/dist/esm/baseControls/Divider/property.js +9 -24
- package/dist/esm/baseControls/Divider/runtime.js +5 -19
- package/dist/esm/baseControls/ExportListButton/designer.js +20 -34
- package/dist/esm/baseControls/ExportListButton/index.js +6 -6
- package/dist/esm/baseControls/ExportListButton/property.js +20 -34
- package/dist/esm/baseControls/ExportListButton/runtime.js +5 -19
- package/dist/esm/baseControls/ExportRecordListButton/designer.js +18 -32
- package/dist/esm/baseControls/ExportRecordListButton/index.js +6 -6
- package/dist/esm/baseControls/ExportRecordListButton/property.js +8 -8
- package/dist/esm/baseControls/ExportRecordListButton/runtime.js +5 -19
- package/dist/esm/baseControls/FormSelectButton/designer.js +22 -36
- package/dist/esm/baseControls/FormSelectButton/index.js +6 -6
- package/dist/esm/baseControls/FormSelectButton/property.js +32 -36
- package/dist/esm/baseControls/FormSelectButton/runtime.js +5 -19
- package/dist/esm/baseControls/ImportRecordListButton/designer.js +20 -34
- package/dist/esm/baseControls/ImportRecordListButton/index.js +6 -6
- package/dist/esm/baseControls/ImportRecordListButton/property.js +12 -29
- package/dist/esm/baseControls/ImportRecordListButton/runtime.js +5 -19
- package/dist/esm/baseControls/InvoiceCheckButton/designer.js +26 -40
- package/dist/esm/baseControls/InvoiceCheckButton/index.js +6 -6
- package/dist/esm/baseControls/InvoiceCheckButton/property.js +52 -72
- package/dist/esm/baseControls/InvoiceCheckButton/runtime.js +5 -19
- package/dist/esm/baseControls/Link/designer.js +18 -32
- package/dist/esm/baseControls/Link/index.js +6 -6
- package/dist/esm/baseControls/Link/property.js +9 -25
- package/dist/esm/baseControls/Link/runtime.js +5 -19
- package/dist/esm/baseControls/ListSelectButton/designer.js +23 -37
- package/dist/esm/baseControls/ListSelectButton/index.js +6 -6
- package/dist/esm/baseControls/ListSelectButton/property.js +32 -48
- package/dist/esm/baseControls/ListSelectButton/runtime.js +5 -19
- package/dist/esm/baseControls/ListViewSelect/designer.js +13 -27
- package/dist/esm/baseControls/ListViewSelect/index.js +6 -6
- package/dist/esm/baseControls/ListViewSelect/property.js +26 -41
- package/dist/esm/baseControls/ListViewSelect/runtime.js +5 -19
- package/dist/esm/baseControls/OperationButton/designer.js +20 -34
- package/dist/esm/baseControls/OperationButton/index.js +6 -6
- package/dist/esm/baseControls/OperationButton/property.js +23 -49
- package/dist/esm/baseControls/OperationButton/runtime.js +5 -19
- package/dist/esm/baseControls/Pagination/designer.js +8 -22
- package/dist/esm/baseControls/Pagination/index.js +6 -6
- package/dist/esm/baseControls/Pagination/property.js +9 -22
- package/dist/esm/baseControls/Pagination/runtime.js +5 -19
- package/dist/esm/baseControls/SubmissionRecordListButton/designer.js +18 -32
- package/dist/esm/baseControls/SubmissionRecordListButton/index.js +6 -6
- package/dist/esm/baseControls/SubmissionRecordListButton/property.js +8 -8
- package/dist/esm/baseControls/SubmissionRecordListButton/runtime.js +5 -19
- package/dist/esm/baseControls/Text/designer.js +17 -31
- package/dist/esm/baseControls/Text/index.js +6 -6
- package/dist/esm/baseControls/Text/property.js +13 -32
- package/dist/esm/baseControls/Text/runtime.js +5 -19
- package/dist/esm/baseControls/TextOcrButton/designer.js +26 -40
- package/dist/esm/baseControls/TextOcrButton/index.js +6 -6
- package/dist/esm/baseControls/TextOcrButton/property.js +53 -73
- package/dist/esm/baseControls/TextOcrButton/runtime.js +5 -19
- package/dist/esm/baseControls/Title/designer.js +17 -31
- package/dist/esm/baseControls/Title/index.js +6 -6
- package/dist/esm/baseControls/Title/property.js +34 -51
- package/dist/esm/baseControls/Title/runtime.js +5 -19
- package/dist/esm/baseControls/index.js +22 -22
- package/dist/esm/baseControls/utils.js +9 -9
- package/dist/esm/columnControls/ArrayColumn/designer.js +18 -32
- package/dist/esm/columnControls/ArrayColumn/index.js +6 -6
- package/dist/esm/columnControls/ArrayColumn/property.js +15 -52
- package/dist/esm/columnControls/ArrayColumn/runtime.js +7 -21
- package/dist/esm/columnControls/AutoNumberColumn/designer.js +18 -32
- package/dist/esm/columnControls/AutoNumberColumn/index.js +6 -6
- package/dist/esm/columnControls/AutoNumberColumn/property.js +12 -33
- package/dist/esm/columnControls/AutoNumberColumn/runtime.js +7 -21
- package/dist/esm/columnControls/CustomColumn/designer.js +22 -50
- package/dist/esm/columnControls/CustomColumn/index.js +6 -6
- package/dist/esm/columnControls/CustomColumn/property.js +9 -23
- package/dist/esm/columnControls/CustomColumn/runtime.js +7 -22
- package/dist/esm/columnControls/DecimalColumn/designer.js +24 -38
- package/dist/esm/columnControls/DecimalColumn/index.js +6 -6
- package/dist/esm/columnControls/DecimalColumn/property.js +22 -72
- package/dist/esm/columnControls/DecimalColumn/runtime.js +7 -21
- package/dist/esm/columnControls/DepartmentColumn/designer.js +18 -32
- package/dist/esm/columnControls/DepartmentColumn/index.js +6 -6
- package/dist/esm/columnControls/DepartmentColumn/property.js +9 -27
- package/dist/esm/columnControls/DepartmentColumn/runtime.js +7 -21
- package/dist/esm/columnControls/EmployeeColumn/designer.js +20 -34
- package/dist/esm/columnControls/EmployeeColumn/index.js +6 -6
- package/dist/esm/columnControls/EmployeeColumn/property.js +9 -26
- package/dist/esm/columnControls/EmployeeColumn/runtime.js +7 -21
- package/dist/esm/columnControls/FileColumn/designer.js +24 -38
- package/dist/esm/columnControls/FileColumn/index.js +6 -6
- package/dist/esm/columnControls/FileColumn/property.js +7 -7
- package/dist/esm/columnControls/FileColumn/runtime.js +7 -21
- package/dist/esm/columnControls/ImageColumn/designer.js +17 -31
- package/dist/esm/columnControls/ImageColumn/index.js +6 -6
- package/dist/esm/columnControls/ImageColumn/property.js +7 -7
- package/dist/esm/columnControls/ImageColumn/runtime.js +7 -21
- package/dist/esm/columnControls/LocationColumn/designer.js +18 -32
- package/dist/esm/columnControls/LocationColumn/index.js +6 -6
- package/dist/esm/columnControls/LocationColumn/property.js +12 -33
- package/dist/esm/columnControls/LocationColumn/runtime.js +7 -21
- package/dist/esm/columnControls/OperationColumn/designer.js +35 -161
- package/dist/esm/columnControls/OperationColumn/index.js +6 -6
- package/dist/esm/columnControls/OperationColumn/property.js +17 -45
- package/dist/esm/columnControls/OperationColumn/runtime.js +8 -23
- package/dist/esm/columnControls/OrderColumn/designer.js +12 -26
- package/dist/esm/columnControls/OrderColumn/index.js +6 -6
- package/dist/esm/columnControls/OrderColumn/property.js +21 -34
- package/dist/esm/columnControls/OrderColumn/runtime.js +7 -21
- package/dist/esm/columnControls/PeopleColumn/designer.js +17 -31
- package/dist/esm/columnControls/PeopleColumn/index.js +6 -6
- package/dist/esm/columnControls/PeopleColumn/property.js +7 -7
- package/dist/esm/columnControls/PeopleColumn/runtime.js +7 -21
- package/dist/esm/columnControls/TextColumn/designer.js +21 -35
- package/dist/esm/columnControls/TextColumn/index.js +6 -6
- package/dist/esm/columnControls/TextColumn/property.js +16 -47
- package/dist/esm/columnControls/TextColumn/runtime.js +7 -21
- package/dist/esm/columnControls/TimescopeColumn/designer.js +19 -33
- package/dist/esm/columnControls/TimescopeColumn/index.js +6 -6
- package/dist/esm/columnControls/TimescopeColumn/property.js +15 -41
- package/dist/esm/columnControls/TimescopeColumn/runtime.js +7 -21
- package/dist/esm/columnControls/TimestampColumn/designer.js +19 -33
- package/dist/esm/columnControls/TimestampColumn/index.js +6 -6
- package/dist/esm/columnControls/TimestampColumn/property.js +15 -41
- package/dist/esm/columnControls/TimestampColumn/runtime.js +7 -21
- package/dist/esm/columnControls/VarcharColumn/designer.js +21 -35
- package/dist/esm/columnControls/VarcharColumn/index.js +6 -6
- package/dist/esm/columnControls/VarcharColumn/property.js +18 -56
- package/dist/esm/columnControls/VarcharColumn/runtime.js +7 -21
- package/dist/esm/columnControls/index.js +16 -16
- package/dist/esm/formControls/Address/designer.js +22 -36
- package/dist/esm/formControls/Address/index.js +6 -6
- package/dist/esm/formControls/Address/property.js +32 -56
- package/dist/esm/formControls/Address/runtime.js +9 -23
- package/dist/esm/formControls/Amount/designer.js +34 -48
- package/dist/esm/formControls/Amount/index.js +6 -6
- package/dist/esm/formControls/Amount/property.js +60 -123
- package/dist/esm/formControls/Amount/runtime.js +7 -21
- package/dist/esm/formControls/Attachment/designer.js +29 -43
- package/dist/esm/formControls/Attachment/index.js +6 -6
- package/dist/esm/formControls/Attachment/property.js +34 -56
- package/dist/esm/formControls/Attachment/runtime.js +7 -21
- package/dist/esm/formControls/AutoNumber/designer.js +23 -37
- package/dist/esm/formControls/AutoNumber/index.js +6 -6
- package/dist/esm/formControls/AutoNumber/property.js +10 -24
- package/dist/esm/formControls/AutoNumber/runtime.js +7 -21
- package/dist/esm/formControls/Calc/designer.js +31 -45
- package/dist/esm/formControls/Calc/index.js +6 -6
- package/dist/esm/formControls/Calc/property.js +33 -72
- package/dist/esm/formControls/Calc/runtime.js +7 -21
- package/dist/esm/formControls/Checkbox/designer.js +29 -43
- package/dist/esm/formControls/Checkbox/index.js +6 -6
- package/dist/esm/formControls/Checkbox/property.js +57 -93
- package/dist/esm/formControls/Checkbox/runtime.js +7 -21
- package/dist/esm/formControls/DatePicker/designer.js +29 -39
- package/dist/esm/formControls/DatePicker/index.js +6 -6
- package/dist/esm/formControls/DatePicker/property.js +30 -51
- package/dist/esm/formControls/DatePicker/runtime.js +7 -21
- package/dist/esm/formControls/DateRange/designer.js +29 -39
- package/dist/esm/formControls/DateRange/index.js +6 -6
- package/dist/esm/formControls/DateRange/property.js +36 -88
- package/dist/esm/formControls/DateRange/runtime.js +7 -21
- package/dist/esm/formControls/Department/designer.js +28 -42
- package/dist/esm/formControls/Department/index.js +6 -6
- package/dist/esm/formControls/Department/property.js +32 -74
- package/dist/esm/formControls/Department/runtime.js +7 -21
- package/dist/esm/formControls/Department2/designer.js +31 -45
- package/dist/esm/formControls/Department2/index.js +6 -6
- package/dist/esm/formControls/Department2/property.js +55 -108
- package/dist/esm/formControls/Department2/runtime.js +7 -21
- package/dist/esm/formControls/ElectronicSignature/designer.js +27 -41
- package/dist/esm/formControls/ElectronicSignature/index.js +6 -6
- package/dist/esm/formControls/ElectronicSignature/property.js +43 -63
- package/dist/esm/formControls/ElectronicSignature/runtime.js +7 -21
- package/dist/esm/formControls/Employee/designer.js +25 -39
- package/dist/esm/formControls/Employee/index.js +6 -6
- package/dist/esm/formControls/Employee/property.js +28 -56
- package/dist/esm/formControls/Employee/runtime.js +7 -21
- package/dist/esm/formControls/Employee2/designer.js +28 -42
- package/dist/esm/formControls/Employee2/index.js +6 -6
- package/dist/esm/formControls/Employee2/property.js +53 -90
- package/dist/esm/formControls/Employee2/runtime.js +7 -21
- package/dist/esm/formControls/Image/designer.js +29 -42
- package/dist/esm/formControls/Image/index.js +6 -6
- package/dist/esm/formControls/Image/property.js +3 -3
- package/dist/esm/formControls/Image/runtime.js +12 -12
- package/dist/esm/formControls/Input/designer.js +32 -46
- package/dist/esm/formControls/Input/index.js +6 -6
- package/dist/esm/formControls/Input/property.js +46 -88
- package/dist/esm/formControls/Input/runtime.js +7 -21
- package/dist/esm/formControls/Number/designer.js +38 -52
- package/dist/esm/formControls/Number/index.js +6 -6
- package/dist/esm/formControls/Number/property.js +59 -131
- package/dist/esm/formControls/Number/runtime.js +7 -21
- package/dist/esm/formControls/OrganizationSelection/designer.js +30 -44
- package/dist/esm/formControls/OrganizationSelection/index.js +6 -6
- package/dist/esm/formControls/OrganizationSelection/property.js +61 -126
- package/dist/esm/formControls/OrganizationSelection/runtime.js +7 -21
- package/dist/esm/formControls/Radio/designer.js +28 -42
- package/dist/esm/formControls/Radio/index.js +6 -6
- package/dist/esm/formControls/Radio/property.js +38 -70
- package/dist/esm/formControls/Radio/runtime.js +7 -21
- package/dist/esm/formControls/RichText/designer.js +31 -45
- package/dist/esm/formControls/RichText/index.js +6 -6
- package/dist/esm/formControls/RichText/property.js +36 -52
- package/dist/esm/formControls/RichText/runtime.js +7 -21
- package/dist/esm/formControls/Score/designer.js +31 -45
- package/dist/esm/formControls/Score/index.js +6 -6
- package/dist/esm/formControls/Score/property.js +41 -59
- package/dist/esm/formControls/Score/runtime.js +7 -21
- package/dist/esm/formControls/SearchDateRange/designer.js +30 -40
- package/dist/esm/formControls/SearchDateRange/index.js +6 -6
- package/dist/esm/formControls/SearchDateRange/property.js +39 -60
- package/dist/esm/formControls/SearchDateRange/runtime.js +7 -21
- package/dist/esm/formControls/SearchInput/designer.js +17 -31
- package/dist/esm/formControls/SearchInput/index.js +6 -6
- package/dist/esm/formControls/SearchInput/property.js +6 -6
- package/dist/esm/formControls/SearchInput/runtime.js +7 -21
- package/dist/esm/formControls/SearchNumberRange/designer.js +23 -37
- package/dist/esm/formControls/SearchNumberRange/index.js +6 -6
- package/dist/esm/formControls/SearchNumberRange/property.js +24 -44
- package/dist/esm/formControls/SearchNumberRange/runtime.js +7 -21
- package/dist/esm/formControls/Select/designer.js +23 -37
- package/dist/esm/formControls/Select/index.js +6 -6
- package/dist/esm/formControls/Select/property.js +32 -56
- package/dist/esm/formControls/Select/runtime.js +7 -21
- package/dist/esm/formControls/SelectMultiple/designer.js +23 -37
- package/dist/esm/formControls/SelectMultiple/index.js +6 -6
- package/dist/esm/formControls/SelectMultiple/property.js +34 -56
- package/dist/esm/formControls/SelectMultiple/runtime.js +7 -21
- package/dist/esm/formControls/SelectRelation/designer.js +29 -43
- package/dist/esm/formControls/SelectRelation/index.js +6 -6
- package/dist/esm/formControls/SelectRelation/property.js +40 -103
- package/dist/esm/formControls/SelectRelation/runtime.js +7 -21
- package/dist/esm/formControls/Textarea/designer.js +32 -46
- package/dist/esm/formControls/Textarea/index.js +6 -6
- package/dist/esm/formControls/Textarea/property.js +39 -72
- package/dist/esm/formControls/Textarea/runtime.js +7 -21
- package/dist/esm/formControls/Tree/designer.js +33 -47
- package/dist/esm/formControls/Tree/index.js +6 -6
- package/dist/esm/formControls/Tree/property.js +68 -103
- package/dist/esm/formControls/Tree/runtime.js +7 -21
- package/dist/esm/formControls/VueFormItem/designer.js +22 -36
- package/dist/esm/formControls/VueFormItem/index.js +6 -6
- package/dist/esm/formControls/VueFormItem/property.js +22 -39
- package/dist/esm/formControls/VueFormItem/runtime.js +7 -21
- package/dist/esm/formControls/WPS/designer.js +37 -51
- package/dist/esm/formControls/WPS/index.js +6 -6
- package/dist/esm/formControls/WPS/property.js +51 -77
- package/dist/esm/formControls/WPS/runtime.js +7 -21
- package/dist/esm/formControls/index.js +30 -30
- package/dist/esm/framework.js +110 -190
- package/dist/esm/index.js +14 -14
- package/dist/esm/layoutControls/AdvancedContainer/Setting.js +13 -13
- package/dist/esm/layoutControls/AdvancedContainer/designer.js +6 -6
- package/dist/esm/layoutControls/AdvancedContainer/index.js +6 -6
- package/dist/esm/layoutControls/AdvancedContainer/property.js +5 -20
- package/dist/esm/layoutControls/AdvancedContainer/runtime.js +4 -4
- package/dist/esm/layoutControls/CardGroup/designer.js +17 -31
- package/dist/esm/layoutControls/CardGroup/index.js +6 -6
- package/dist/esm/layoutControls/CardGroup/property.js +15 -35
- package/dist/esm/layoutControls/CardGroup/runtime.js +5 -19
- package/dist/esm/layoutControls/Col/designer.js +12 -26
- package/dist/esm/layoutControls/Col/index.js +6 -6
- package/dist/esm/layoutControls/Col/property.js +7 -22
- package/dist/esm/layoutControls/Col/runtime.js +5 -19
- package/dist/esm/layoutControls/DataView/designer.js +7 -21
- package/dist/esm/layoutControls/DataView/index.js +6 -6
- package/dist/esm/layoutControls/DataView/property.js +28 -57
- package/dist/esm/layoutControls/DataView/runtime.js +5 -19
- package/dist/esm/layoutControls/Grid/designer.js +9 -22
- package/dist/esm/layoutControls/Grid/index.js +6 -6
- package/dist/esm/layoutControls/Grid/property.js +1 -1
- package/dist/esm/layoutControls/Grid/runtime.js +4 -4
- package/dist/esm/layoutControls/GridRow/designer.js +11 -24
- package/dist/esm/layoutControls/GridRow/index.js +6 -6
- package/dist/esm/layoutControls/GridRow/property.js +3 -3
- package/dist/esm/layoutControls/GridRow/runtime.js +4 -4
- package/dist/esm/layoutControls/GridTableColumn/designer.js +18 -32
- package/dist/esm/layoutControls/GridTableColumn/index.js +6 -6
- package/dist/esm/layoutControls/GridTableColumn/property.js +25 -51
- package/dist/esm/layoutControls/GridTableColumn/runtime.js +5 -19
- package/dist/esm/layoutControls/ListView/designer.js +27 -41
- package/dist/esm/layoutControls/ListView/index.js +6 -6
- package/dist/esm/layoutControls/ListView/property.js +45 -121
- package/dist/esm/layoutControls/ListView/runtime.js +5 -19
- package/dist/esm/layoutControls/Page/Setting.js +23 -23
- package/dist/esm/layoutControls/Page/designer.js +6 -6
- package/dist/esm/layoutControls/Page/index.js +6 -6
- package/dist/esm/layoutControls/Page/property.js +9 -23
- package/dist/esm/layoutControls/Page/runtime.js +4 -4
- package/dist/esm/layoutControls/Position/Setting.js +1 -1
- package/dist/esm/layoutControls/Position/designer.js +6 -6
- package/dist/esm/layoutControls/Position/index.js +6 -6
- package/dist/esm/layoutControls/Position/property.js +11 -28
- package/dist/esm/layoutControls/Position/runtime.js +4 -4
- package/dist/esm/layoutControls/PositioningContainer/Setting.js +13 -13
- package/dist/esm/layoutControls/PositioningContainer/designer.js +6 -6
- package/dist/esm/layoutControls/PositioningContainer/index.js +6 -6
- package/dist/esm/layoutControls/PositioningContainer/property.js +3 -3
- package/dist/esm/layoutControls/PositioningContainer/runtime.js +4 -4
- package/dist/esm/layoutControls/Row/designer.js +14 -28
- package/dist/esm/layoutControls/Row/index.js +6 -6
- package/dist/esm/layoutControls/Row/property.js +7 -22
- package/dist/esm/layoutControls/Row/runtime.js +5 -19
- package/dist/esm/layoutControls/SubTableColumn/designer.js +18 -32
- package/dist/esm/layoutControls/SubTableColumn/index.js +6 -6
- package/dist/esm/layoutControls/SubTableColumn/property.js +29 -61
- package/dist/esm/layoutControls/SubTableColumn/runtime.js +5 -19
- package/dist/esm/layoutControls/SubTableRow/designer.js +16 -30
- package/dist/esm/layoutControls/SubTableRow/index.js +6 -6
- package/dist/esm/layoutControls/SubTableRow/property.js +3 -3
- package/dist/esm/layoutControls/SubTableRow/runtime.js +5 -19
- package/dist/esm/layoutControls/Tab/designer.js +22 -36
- package/dist/esm/layoutControls/Tab/index.js +6 -6
- package/dist/esm/layoutControls/Tab/property.js +5 -19
- package/dist/esm/layoutControls/Tab/runtime.js +5 -19
- package/dist/esm/layoutControls/TabPane/designer.js +17 -31
- package/dist/esm/layoutControls/TabPane/index.js +6 -6
- package/dist/esm/layoutControls/TabPane/property.js +14 -28
- package/dist/esm/layoutControls/TabPane/runtime.js +5 -19
- package/dist/esm/layoutControls/Toolbox/designer.js +13 -27
- package/dist/esm/layoutControls/Toolbox/index.js +6 -6
- package/dist/esm/layoutControls/Toolbox/property.js +3 -3
- package/dist/esm/layoutControls/Toolbox/runtime.js +6 -6
- package/dist/esm/layoutControls/index.js +17 -17
- package/dist/esm/listControls/GridTable/designer.js +32 -163
- package/dist/esm/listControls/GridTable/index.js +6 -6
- package/dist/esm/listControls/GridTable/property.js +20 -57
- package/dist/esm/listControls/GridTable/runtime.js +7 -21
- package/dist/esm/listControls/SubTable/designer.js +43 -57
- package/dist/esm/listControls/SubTable/index.js +6 -6
- package/dist/esm/listControls/SubTable/property.js +107 -238
- package/dist/esm/listControls/SubTable/runtime.js +7 -21
- package/dist/esm/listControls/index.js +2 -2
- package/dist/esm/searchControls/SimpleSearch/designer.js +12 -26
- package/dist/esm/searchControls/SimpleSearch/index.js +6 -6
- package/dist/esm/searchControls/SimpleSearch/property.js +26 -73
- package/dist/esm/searchControls/SimpleSearch/runtime.js +7 -22
- package/dist/esm/searchControls/index.js +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/types/formControls/DatePicker/property.d.ts +2 -0
- package/dist/types/formControls/DateRange/property.d.ts +12 -0
- package/dist/types/formControls/SearchDateRange/property.d.ts +2 -0
- package/dist/types/listControls/SubTable/property.d.ts +1 -0
- package/package.json +5 -5
|
@@ -9,19 +9,6 @@ function _classCallCheck(instance, Constructor) {
|
|
|
9
9
|
throw new TypeError("Cannot call a class as a function");
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
|
-
function _defineProperty(obj, key, value) {
|
|
13
|
-
if (key in obj) {
|
|
14
|
-
Object.defineProperty(obj, key, {
|
|
15
|
-
value: value,
|
|
16
|
-
enumerable: true,
|
|
17
|
-
configurable: true,
|
|
18
|
-
writable: true
|
|
19
|
-
});
|
|
20
|
-
} else {
|
|
21
|
-
obj[key] = value;
|
|
22
|
-
}
|
|
23
|
-
return obj;
|
|
24
|
-
}
|
|
25
12
|
function _getPrototypeOf(o) {
|
|
26
13
|
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
27
14
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
@@ -82,164 +69,112 @@ function _createSuper(Derived) {
|
|
|
82
69
|
return _possibleConstructorReturn(this, result);
|
|
83
70
|
};
|
|
84
71
|
}
|
|
85
|
-
import OrganizationSelectionControl from
|
|
86
|
-
import { BaseControlProperty, BaseControlPropertyRules, BaseControlPropertyRuntimeRules, initSuperDataSourceRules, MultistageFillingItem, SelectedContentConfig, OrganizationDataSourceBind, ListBind } from
|
|
87
|
-
import { RulesMessage } from
|
|
88
|
-
import { DepartmentType, AssignType } from
|
|
89
|
-
var OrganizationSelectionPropertyRules = /*#__PURE__*/ function(
|
|
72
|
+
import OrganizationSelectionControl from './designer';
|
|
73
|
+
import { BaseControlProperty, BaseControlPropertyRules, BaseControlPropertyRuntimeRules, initSuperDataSourceRules, MultistageFillingItem, SelectedContentConfig, OrganizationDataSourceBind, ListBind } from '@byteluck-fe/model-driven-core';
|
|
74
|
+
import { RulesMessage } from '@byteluck-fe/model-driven-shared';
|
|
75
|
+
import { DepartmentType, AssignType } from '../../framework';
|
|
76
|
+
var OrganizationSelectionPropertyRules = /*#__PURE__*/ function(BaseControlPropertyRules1) {
|
|
90
77
|
"use strict";
|
|
91
|
-
_inherits(OrganizationSelectionPropertyRules,
|
|
78
|
+
_inherits(OrganizationSelectionPropertyRules, BaseControlPropertyRules1);
|
|
92
79
|
var _super = _createSuper(OrganizationSelectionPropertyRules);
|
|
93
80
|
function OrganizationSelectionPropertyRules(props) {
|
|
94
81
|
_classCallCheck(this, OrganizationSelectionPropertyRules);
|
|
95
82
|
var _this;
|
|
96
83
|
_this = _super.call(this, props);
|
|
97
|
-
|
|
84
|
+
_this.datasourceBind = [
|
|
98
85
|
{
|
|
99
|
-
type:
|
|
100
|
-
message: RulesMessage.getMessage(
|
|
101
|
-
}
|
|
102
|
-
]
|
|
103
|
-
|
|
104
|
-
type:
|
|
105
|
-
}
|
|
86
|
+
type: 'object',
|
|
87
|
+
message: RulesMessage.getMessage('isNotObject')
|
|
88
|
+
},
|
|
89
|
+
];
|
|
90
|
+
_this.businessScope = {
|
|
91
|
+
type: 'any'
|
|
92
|
+
};
|
|
106
93
|
initSuperDataSourceRules.call(_assertThisInitialized(_this), props, OrganizationSelectionControl.controlCustomAttributes);
|
|
107
94
|
if (props.businessType === AssignType.ASSIGN) {
|
|
108
95
|
_this.businessScope = {
|
|
109
|
-
type:
|
|
96
|
+
type: 'array',
|
|
110
97
|
required: true,
|
|
111
|
-
message: RulesMessage.getMessage(
|
|
98
|
+
message: RulesMessage.getMessage('pleaseAssignBusiness')
|
|
112
99
|
};
|
|
113
100
|
}
|
|
114
101
|
return _this;
|
|
115
102
|
}
|
|
116
103
|
return OrganizationSelectionPropertyRules;
|
|
117
104
|
}(BaseControlPropertyRules);
|
|
118
|
-
var OrganizationSelectionPropertyRuntimeRules = /*#__PURE__*/ function(
|
|
105
|
+
var OrganizationSelectionPropertyRuntimeRules = /*#__PURE__*/ function(BaseControlPropertyRuntimeRules1) {
|
|
119
106
|
"use strict";
|
|
120
|
-
_inherits(OrganizationSelectionPropertyRuntimeRules,
|
|
107
|
+
_inherits(OrganizationSelectionPropertyRuntimeRules, BaseControlPropertyRuntimeRules1);
|
|
121
108
|
var _super = _createSuper(OrganizationSelectionPropertyRuntimeRules);
|
|
122
109
|
function OrganizationSelectionPropertyRuntimeRules(props) {
|
|
123
110
|
_classCallCheck(this, OrganizationSelectionPropertyRuntimeRules);
|
|
124
111
|
var _this;
|
|
125
112
|
_this = _super.call(this, props);
|
|
126
|
-
_this[0].type =
|
|
113
|
+
_this[0].type = 'array';
|
|
127
114
|
return _this;
|
|
128
115
|
}
|
|
129
116
|
return OrganizationSelectionPropertyRuntimeRules;
|
|
130
117
|
}(BaseControlPropertyRuntimeRules);
|
|
131
|
-
var OrganizationSelectionProperty = /*#__PURE__*/ function(
|
|
118
|
+
var OrganizationSelectionProperty = /*#__PURE__*/ function(BaseControlProperty1) {
|
|
132
119
|
"use strict";
|
|
133
|
-
_inherits(OrganizationSelectionProperty,
|
|
120
|
+
_inherits(OrganizationSelectionProperty, BaseControlProperty1);
|
|
134
121
|
var _super = _createSuper(OrganizationSelectionProperty);
|
|
135
122
|
function OrganizationSelectionProperty(props) {
|
|
136
123
|
_classCallCheck(this, OrganizationSelectionProperty);
|
|
137
124
|
var _this;
|
|
138
125
|
_this = _super.call(this, props);
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
/**
|
|
146
|
-
* 默认值类型:发起人部门/ 指定部门 /无
|
|
147
|
-
*/ _defineProperty(_assertThisInitialized(_this), "defaultValueType", void 0);
|
|
148
|
-
/**
|
|
149
|
-
* 部门多选
|
|
150
|
-
* */ _defineProperty(_assertThisInitialized(_this), "multiple", void 0);
|
|
151
|
-
/**
|
|
152
|
-
* 指定部门范围
|
|
153
|
-
* */ _defineProperty(_assertThisInitialized(_this), "rangeOptions", void 0);
|
|
154
|
-
/**
|
|
155
|
-
* 默认值
|
|
156
|
-
* */ _defineProperty(_assertThisInitialized(_this), "defaultValue", void 0);
|
|
157
|
-
/**
|
|
158
|
-
* 部门显示层级
|
|
159
|
-
* */ _defineProperty(_assertThisInitialized(_this), "displayLevel", void 0);
|
|
160
|
-
/**
|
|
161
|
-
* 是否展示子部门
|
|
162
|
-
* */ _defineProperty(_assertThisInitialized(_this), "showSubDept", void 0);
|
|
163
|
-
/**
|
|
164
|
-
* 多级填充
|
|
165
|
-
* */ _defineProperty(_assertThisInitialized(_this), "multistageFilling", void 0);
|
|
166
|
-
/**
|
|
167
|
-
* 数据设置
|
|
168
|
-
* */ _defineProperty(_assertThisInitialized(_this), "datasourceBind", void 0);
|
|
169
|
-
/**
|
|
170
|
-
* 绑定列表页
|
|
171
|
-
* @public
|
|
172
|
-
*/ _defineProperty(_assertThisInitialized(_this), "listPageBind", void 0);
|
|
173
|
-
/**
|
|
174
|
-
* 数据类型 行政 or 业务
|
|
175
|
-
* */ _defineProperty(_assertThisInitialized(_this), "datasourceType", void 0 //数据类型 行政 'administration'| 业务 'business'
|
|
176
|
-
);
|
|
177
|
-
_defineProperty(_assertThisInitialized(_this), "businessType", void 0 //业务部门类型 'all' | 'assign'
|
|
178
|
-
);
|
|
179
|
-
_defineProperty(_assertThisInitialized(_this), "businessScope", void 0 //业务部门范围
|
|
180
|
-
);
|
|
181
|
-
_defineProperty(_assertThisInitialized(_this), "organizingFunction", void 0 // 组织职能
|
|
182
|
-
);
|
|
183
|
-
_defineProperty(_assertThisInitialized(_this), "organizationView", void 0 // 组织视图
|
|
184
|
-
);
|
|
185
|
-
_defineProperty(_assertThisInitialized(_this), "openMultistageFilling", void 0 //是否开启填充
|
|
186
|
-
);
|
|
187
|
-
// 展示已选明细
|
|
188
|
-
_defineProperty(_assertThisInitialized(_this), "showSelectedDetail", void 0);
|
|
189
|
-
// 展示已选内容配置字段
|
|
190
|
-
_defineProperty(_assertThisInitialized(_this), "selectedContentConfig", void 0);
|
|
191
|
-
var _props_showType;
|
|
192
|
-
_this.showType = (_props_showType = props === null || props === void 0 ? void 0 : props.showType) !== null && _props_showType !== void 0 ? _props_showType : "default";
|
|
193
|
-
var _props_multiple;
|
|
194
|
-
_this.multiple = (_props_multiple = props === null || props === void 0 ? void 0 : props.multiple) !== null && _props_multiple !== void 0 ? _props_multiple : false;
|
|
195
|
-
var _props_range;
|
|
196
|
-
_this.range = (_props_range = props === null || props === void 0 ? void 0 : props.range) !== null && _props_range !== void 0 ? _props_range : "all";
|
|
126
|
+
var ref18;
|
|
127
|
+
_this.showType = (ref18 = props === null || props === void 0 ? void 0 : props.showType) !== null && ref18 !== void 0 ? ref18 : 'default';
|
|
128
|
+
var ref1;
|
|
129
|
+
_this.multiple = (ref1 = props === null || props === void 0 ? void 0 : props.multiple) !== null && ref1 !== void 0 ? ref1 : false;
|
|
130
|
+
var ref2;
|
|
131
|
+
_this.range = (ref2 = props === null || props === void 0 ? void 0 : props.range) !== null && ref2 !== void 0 ? ref2 : 'all';
|
|
197
132
|
_this.listPageBind = new ListBind(props === null || props === void 0 ? void 0 : props.listPageBind);
|
|
198
|
-
var
|
|
199
|
-
_this.defaultValueType = (
|
|
200
|
-
var
|
|
201
|
-
_this.rangeOptions = (
|
|
202
|
-
var
|
|
203
|
-
_this.defaultValue = (
|
|
204
|
-
var
|
|
205
|
-
_this.displayLevel = (
|
|
206
|
-
var
|
|
207
|
-
_this.showSubDept = (
|
|
208
|
-
var
|
|
209
|
-
_this.caption = (
|
|
210
|
-
var
|
|
211
|
-
_this.placeholder = (
|
|
212
|
-
var
|
|
213
|
-
_this.datasourceBind = new OrganizationDataSourceBind((
|
|
133
|
+
var ref3;
|
|
134
|
+
_this.defaultValueType = (ref3 = props === null || props === void 0 ? void 0 : props.defaultValueType) !== null && ref3 !== void 0 ? ref3 : 'none';
|
|
135
|
+
var ref4;
|
|
136
|
+
_this.rangeOptions = (ref4 = props === null || props === void 0 ? void 0 : props.rangeOptions) !== null && ref4 !== void 0 ? ref4 : [];
|
|
137
|
+
var ref5;
|
|
138
|
+
_this.defaultValue = (ref5 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && ref5 !== void 0 ? ref5 : [];
|
|
139
|
+
var ref6;
|
|
140
|
+
_this.displayLevel = (ref6 = props === null || props === void 0 ? void 0 : props.displayLevel) !== null && ref6 !== void 0 ? ref6 : 1;
|
|
141
|
+
var ref7;
|
|
142
|
+
_this.showSubDept = (ref7 = props === null || props === void 0 ? void 0 : props.showSubDept) !== null && ref7 !== void 0 ? ref7 : true;
|
|
143
|
+
var ref8;
|
|
144
|
+
_this.caption = (ref8 = props === null || props === void 0 ? void 0 : props.caption) !== null && ref8 !== void 0 ? ref8 : OrganizationSelectionControl.controlName;
|
|
145
|
+
var ref9;
|
|
146
|
+
_this.placeholder = (ref9 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && ref9 !== void 0 ? ref9 : '请选择组织';
|
|
147
|
+
var ref10;
|
|
148
|
+
_this.datasourceBind = new OrganizationDataSourceBind((ref10 = props === null || props === void 0 ? void 0 : props.datasourceBind) !== null && ref10 !== void 0 ? ref10 : {
|
|
214
149
|
attributes: OrganizationSelectionControl.controlCustomAttributes
|
|
215
150
|
});
|
|
216
|
-
var
|
|
217
|
-
_this.datasourceType = (
|
|
218
|
-
var
|
|
219
|
-
_this.businessScope = (
|
|
220
|
-
var
|
|
221
|
-
_this.businessType = (
|
|
222
|
-
var
|
|
223
|
-
_this.organizingFunction = (
|
|
224
|
-
var
|
|
225
|
-
_this.organizationView = (
|
|
226
|
-
var
|
|
227
|
-
_this.showSelectedDetail = (
|
|
151
|
+
var ref11;
|
|
152
|
+
_this.datasourceType = (ref11 = props === null || props === void 0 ? void 0 : props.datasourceType) !== null && ref11 !== void 0 ? ref11 : DepartmentType.INTERNAL;
|
|
153
|
+
var ref12;
|
|
154
|
+
_this.businessScope = (ref12 = props === null || props === void 0 ? void 0 : props.businessScope) !== null && ref12 !== void 0 ? ref12 : [];
|
|
155
|
+
var ref13;
|
|
156
|
+
_this.businessType = (ref13 = props === null || props === void 0 ? void 0 : props.businessType) !== null && ref13 !== void 0 ? ref13 : AssignType.ALL;
|
|
157
|
+
var ref14;
|
|
158
|
+
_this.organizingFunction = (ref14 = props === null || props === void 0 ? void 0 : props.organizingFunction) !== null && ref14 !== void 0 ? ref14 : undefined;
|
|
159
|
+
var ref15;
|
|
160
|
+
_this.organizationView = (ref15 = props === null || props === void 0 ? void 0 : props.organizationView) !== null && ref15 !== void 0 ? ref15 : undefined;
|
|
161
|
+
var ref16;
|
|
162
|
+
_this.showSelectedDetail = (ref16 = props === null || props === void 0 ? void 0 : props.showSelectedDetail) !== null && ref16 !== void 0 ? ref16 : false;
|
|
228
163
|
_this.selectedContentConfig = new SelectedContentConfig(props === null || props === void 0 ? void 0 : props.selectedContentConfig);
|
|
229
|
-
var
|
|
230
|
-
_this.openMultistageFilling = (
|
|
164
|
+
var ref17;
|
|
165
|
+
_this.openMultistageFilling = (ref17 = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && ref17 !== void 0 ? ref17 : false;
|
|
231
166
|
_this.multistageFilling = [];
|
|
232
167
|
if (Array.isArray(props === null || props === void 0 ? void 0 : props.multistageFilling)) {
|
|
233
168
|
props === null || props === void 0 ? void 0 : props.multistageFilling.map(function(item) {
|
|
234
|
-
var
|
|
235
|
-
(
|
|
169
|
+
var ref;
|
|
170
|
+
(ref = _this.multistageFilling) === null || ref === void 0 ? void 0 : ref.push(new MultistageFillingItem(item));
|
|
236
171
|
});
|
|
237
172
|
}
|
|
238
173
|
return _this;
|
|
239
174
|
}
|
|
240
175
|
return OrganizationSelectionProperty;
|
|
241
176
|
}(BaseControlProperty);
|
|
242
|
-
|
|
243
|
-
|
|
177
|
+
OrganizationSelectionProperty.Rules = OrganizationSelectionPropertyRules;
|
|
178
|
+
OrganizationSelectionProperty.RuntimeRules = OrganizationSelectionPropertyRuntimeRules;
|
|
244
179
|
export default OrganizationSelectionProperty;
|
|
245
180
|
export { OrganizationSelectionProperty, OrganizationSelectionPropertyRuntimeRules, };
|
|
@@ -23,19 +23,6 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
|
23
23
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
24
24
|
return Constructor;
|
|
25
25
|
}
|
|
26
|
-
function _defineProperty(obj, key, value) {
|
|
27
|
-
if (key in obj) {
|
|
28
|
-
Object.defineProperty(obj, key, {
|
|
29
|
-
value: value,
|
|
30
|
-
enumerable: true,
|
|
31
|
-
configurable: true,
|
|
32
|
-
writable: true
|
|
33
|
-
});
|
|
34
|
-
} else {
|
|
35
|
-
obj[key] = value;
|
|
36
|
-
}
|
|
37
|
-
return obj;
|
|
38
|
-
}
|
|
39
26
|
function _getPrototypeOf(o) {
|
|
40
27
|
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
41
28
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
@@ -96,18 +83,17 @@ function _createSuper(Derived) {
|
|
|
96
83
|
return _possibleConstructorReturn(this, result);
|
|
97
84
|
};
|
|
98
85
|
}
|
|
99
|
-
import { RuntimeFormControl } from
|
|
100
|
-
import { FieldTypes } from
|
|
101
|
-
import OrganizationSelectionProperty from
|
|
102
|
-
var OrganizationSelectionControl = /*#__PURE__*/ function(
|
|
86
|
+
import { RuntimeFormControl } from '@byteluck-fe/model-driven-core';
|
|
87
|
+
import { FieldTypes } from '@byteluck-fe/model-driven-shared';
|
|
88
|
+
import OrganizationSelectionProperty from './property';
|
|
89
|
+
var OrganizationSelectionControl = /*#__PURE__*/ function(RuntimeFormControl1) {
|
|
103
90
|
"use strict";
|
|
104
|
-
_inherits(OrganizationSelectionControl,
|
|
91
|
+
_inherits(OrganizationSelectionControl, RuntimeFormControl1);
|
|
105
92
|
var _super = _createSuper(OrganizationSelectionControl);
|
|
106
93
|
function OrganizationSelectionControl(props) {
|
|
107
94
|
_classCallCheck(this, OrganizationSelectionControl);
|
|
108
95
|
var _this;
|
|
109
96
|
_this = _super.call(this, props);
|
|
110
|
-
_defineProperty(_assertThisInitialized(_this), "props", void 0);
|
|
111
97
|
_this.props = new OrganizationSelectionProperty(props === null || props === void 0 ? void 0 : props.props);
|
|
112
98
|
return _this;
|
|
113
99
|
}
|
|
@@ -115,12 +101,12 @@ var OrganizationSelectionControl = /*#__PURE__*/ function(RuntimeFormControl) {
|
|
|
115
101
|
{
|
|
116
102
|
key: "controlType",
|
|
117
103
|
get: function get() {
|
|
118
|
-
return
|
|
104
|
+
return 'organization-selection';
|
|
119
105
|
}
|
|
120
106
|
}
|
|
121
107
|
]);
|
|
122
108
|
return OrganizationSelectionControl;
|
|
123
109
|
}(RuntimeFormControl);
|
|
124
|
-
|
|
110
|
+
OrganizationSelectionControl.controlFieldType = FieldTypes.DEPARTMENTS;
|
|
125
111
|
export default OrganizationSelectionControl;
|
|
126
112
|
export { OrganizationSelectionControl as RuntimeOrganizationSelectionControl };
|
|
@@ -23,19 +23,6 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
|
23
23
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
24
24
|
return Constructor;
|
|
25
25
|
}
|
|
26
|
-
function _defineProperty(obj, key, value) {
|
|
27
|
-
if (key in obj) {
|
|
28
|
-
Object.defineProperty(obj, key, {
|
|
29
|
-
value: value,
|
|
30
|
-
enumerable: true,
|
|
31
|
-
configurable: true,
|
|
32
|
-
writable: true
|
|
33
|
-
});
|
|
34
|
-
} else {
|
|
35
|
-
obj[key] = value;
|
|
36
|
-
}
|
|
37
|
-
return obj;
|
|
38
|
-
}
|
|
39
26
|
function _getPrototypeOf(o) {
|
|
40
27
|
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
41
28
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
@@ -96,18 +83,17 @@ function _createSuper(Derived) {
|
|
|
96
83
|
return _possibleConstructorReturn(this, result);
|
|
97
84
|
};
|
|
98
85
|
}
|
|
99
|
-
import { DesignerFormControl, COMMON_SETTING_TYPE } from
|
|
100
|
-
import { FieldTypes } from
|
|
101
|
-
import RadioProperty from
|
|
102
|
-
var RadioControl = /*#__PURE__*/ function(
|
|
86
|
+
import { DesignerFormControl, COMMON_SETTING_TYPE } from '@byteluck-fe/model-driven-core';
|
|
87
|
+
import { FieldTypes } from '@byteluck-fe/model-driven-shared';
|
|
88
|
+
import RadioProperty from './property';
|
|
89
|
+
var RadioControl = /*#__PURE__*/ function(DesignerFormControl1) {
|
|
103
90
|
"use strict";
|
|
104
|
-
_inherits(RadioControl,
|
|
91
|
+
_inherits(RadioControl, DesignerFormControl1);
|
|
105
92
|
var _super = _createSuper(RadioControl);
|
|
106
93
|
function RadioControl(props) {
|
|
107
94
|
_classCallCheck(this, RadioControl);
|
|
108
95
|
var _this;
|
|
109
96
|
_this = _super.call(this, props);
|
|
110
|
-
_defineProperty(_assertThisInitialized(_this), "props", void 0);
|
|
111
97
|
_this.props = new RadioProperty(props === null || props === void 0 ? void 0 : props.props);
|
|
112
98
|
return _this;
|
|
113
99
|
}
|
|
@@ -115,80 +101,80 @@ var RadioControl = /*#__PURE__*/ function(DesignerFormControl) {
|
|
|
115
101
|
{
|
|
116
102
|
key: "controlName",
|
|
117
103
|
get: function get() {
|
|
118
|
-
return
|
|
104
|
+
return '单选';
|
|
119
105
|
}
|
|
120
106
|
},
|
|
121
107
|
{
|
|
122
108
|
key: "controlIcon",
|
|
123
109
|
get: function get() {
|
|
124
|
-
return
|
|
110
|
+
return 'iconradio_new';
|
|
125
111
|
}
|
|
126
112
|
},
|
|
127
113
|
{
|
|
128
114
|
key: "controlType",
|
|
129
115
|
get: function get() {
|
|
130
|
-
return
|
|
116
|
+
return 'radio';
|
|
131
117
|
}
|
|
132
118
|
}
|
|
133
119
|
]);
|
|
134
120
|
return RadioControl;
|
|
135
121
|
}(DesignerFormControl);
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
]
|
|
140
|
-
|
|
141
|
-
|
|
122
|
+
RadioControl.controlEventKeys = [
|
|
123
|
+
'on_change',
|
|
124
|
+
'on_click'
|
|
125
|
+
];
|
|
126
|
+
RadioControl.controlFieldType = FieldTypes.VARCHAR;
|
|
127
|
+
RadioControl.setting = [
|
|
142
128
|
{
|
|
143
|
-
key:
|
|
129
|
+
key: 'data-bind',
|
|
144
130
|
visible: true
|
|
145
131
|
},
|
|
146
132
|
{
|
|
147
|
-
key:
|
|
133
|
+
key: 'field-type',
|
|
148
134
|
visible: true
|
|
149
135
|
},
|
|
150
136
|
{
|
|
151
|
-
key:
|
|
137
|
+
key: 'caption',
|
|
152
138
|
showItems: [
|
|
153
139
|
COMMON_SETTING_TYPE.CAPTION,
|
|
154
|
-
COMMON_SETTING_TYPE.IS_HIDE_CAPTION
|
|
140
|
+
COMMON_SETTING_TYPE.IS_HIDE_CAPTION,
|
|
155
141
|
],
|
|
156
142
|
visible: true
|
|
157
143
|
},
|
|
158
144
|
{
|
|
159
|
-
key:
|
|
145
|
+
key: 'label-position',
|
|
160
146
|
visible: true
|
|
161
147
|
},
|
|
162
148
|
{
|
|
163
|
-
key:
|
|
149
|
+
key: 'options-format',
|
|
164
150
|
visible: true
|
|
165
151
|
},
|
|
166
152
|
{
|
|
167
|
-
key:
|
|
153
|
+
key: 'default-state',
|
|
168
154
|
visible: true
|
|
169
155
|
},
|
|
170
156
|
{
|
|
171
|
-
key:
|
|
157
|
+
key: 'common-setting',
|
|
172
158
|
visible: true,
|
|
173
159
|
showItems: [
|
|
174
160
|
COMMON_SETTING_TYPE.REQUIRED,
|
|
175
161
|
COMMON_SETTING_TYPE.IS_HIDE,
|
|
176
162
|
COMMON_SETTING_TYPE.IS_HIDE_CAPTION,
|
|
177
|
-
COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP
|
|
163
|
+
COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,
|
|
178
164
|
]
|
|
179
165
|
},
|
|
180
166
|
{
|
|
181
|
-
key:
|
|
167
|
+
key: 'options-setting',
|
|
182
168
|
visible: true
|
|
183
169
|
},
|
|
184
170
|
{
|
|
185
|
-
key:
|
|
171
|
+
key: 'options-order',
|
|
186
172
|
visible: true
|
|
187
173
|
},
|
|
188
174
|
{
|
|
189
|
-
key:
|
|
175
|
+
key: 'super-setting',
|
|
190
176
|
visible: true
|
|
191
|
-
}
|
|
192
|
-
]
|
|
177
|
+
},
|
|
178
|
+
];
|
|
193
179
|
export default RadioControl;
|
|
194
180
|
export { RadioControl as DesignerRadioControl };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import Designer from
|
|
2
|
-
import Runtime from
|
|
3
|
-
import Property from
|
|
1
|
+
import Designer from './designer';
|
|
2
|
+
import Runtime from './runtime';
|
|
3
|
+
import Property from './property';
|
|
4
4
|
export default {
|
|
5
5
|
Designer: Designer,
|
|
6
6
|
Runtime: Runtime,
|
|
7
7
|
Property: Property
|
|
8
8
|
};
|
|
9
|
-
export * from
|
|
10
|
-
export * from
|
|
11
|
-
export * from
|
|
9
|
+
export * from './designer';
|
|
10
|
+
export * from './runtime';
|
|
11
|
+
export * from './property';
|
|
@@ -9,19 +9,6 @@ function _classCallCheck(instance, Constructor) {
|
|
|
9
9
|
throw new TypeError("Cannot call a class as a function");
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
|
-
function _defineProperty(obj, key, value) {
|
|
13
|
-
if (key in obj) {
|
|
14
|
-
Object.defineProperty(obj, key, {
|
|
15
|
-
value: value,
|
|
16
|
-
enumerable: true,
|
|
17
|
-
configurable: true,
|
|
18
|
-
writable: true
|
|
19
|
-
});
|
|
20
|
-
} else {
|
|
21
|
-
obj[key] = value;
|
|
22
|
-
}
|
|
23
|
-
return obj;
|
|
24
|
-
}
|
|
25
12
|
function _getPrototypeOf(o) {
|
|
26
13
|
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
27
14
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
@@ -82,11 +69,11 @@ function _createSuper(Derived) {
|
|
|
82
69
|
return _possibleConstructorReturn(this, result);
|
|
83
70
|
};
|
|
84
71
|
}
|
|
85
|
-
import RadioControl from
|
|
86
|
-
import { BaseControlProperty, OptionAndDataSourcePropertyRules, DataSourceBind, MultistageFillingItem, initOptions } from
|
|
87
|
-
var RadioControlPropertyRules = /*#__PURE__*/ function(
|
|
72
|
+
import RadioControl from './designer';
|
|
73
|
+
import { BaseControlProperty, OptionAndDataSourcePropertyRules, DataSourceBind, MultistageFillingItem, initOptions } from '@byteluck-fe/model-driven-core';
|
|
74
|
+
var RadioControlPropertyRules = /*#__PURE__*/ function(OptionAndDataSourcePropertyRules1) {
|
|
88
75
|
"use strict";
|
|
89
|
-
_inherits(RadioControlPropertyRules,
|
|
76
|
+
_inherits(RadioControlPropertyRules, OptionAndDataSourcePropertyRules1);
|
|
90
77
|
var _super = _createSuper(RadioControlPropertyRules);
|
|
91
78
|
function RadioControlPropertyRules(props) {
|
|
92
79
|
_classCallCheck(this, RadioControlPropertyRules);
|
|
@@ -94,80 +81,61 @@ var RadioControlPropertyRules = /*#__PURE__*/ function(OptionAndDataSourceProper
|
|
|
94
81
|
}
|
|
95
82
|
return RadioControlPropertyRules;
|
|
96
83
|
}(OptionAndDataSourcePropertyRules);
|
|
97
|
-
var RadioProperty = /*#__PURE__*/ function(
|
|
84
|
+
var RadioProperty = /*#__PURE__*/ function(BaseControlProperty1) {
|
|
98
85
|
"use strict";
|
|
99
|
-
_inherits(RadioProperty,
|
|
86
|
+
_inherits(RadioProperty, BaseControlProperty1);
|
|
100
87
|
var _super = _createSuper(RadioProperty);
|
|
101
88
|
function RadioProperty(props) {
|
|
102
89
|
_classCallCheck(this, RadioProperty);
|
|
103
90
|
var _this;
|
|
104
91
|
_this = _super.call(this, props);
|
|
105
|
-
|
|
106
|
-
)
|
|
107
|
-
_defineProperty(_assertThisInitialized(_this), "options", void 0);
|
|
108
|
-
_defineProperty(_assertThisInitialized(_this), "optionConfig", void 0 // 选项配置 custom datasource
|
|
109
|
-
);
|
|
110
|
-
_defineProperty(_assertThisInitialized(_this), "optionsFormat", void 0 // 选项布局:竖排/横排
|
|
111
|
-
);
|
|
112
|
-
_defineProperty(_assertThisInitialized(_this), "defaultShowOptions", void 0);
|
|
113
|
-
_defineProperty(_assertThisInitialized(_this), "otherOption", void 0 // 是否加其他按钮
|
|
114
|
-
);
|
|
115
|
-
_defineProperty(_assertThisInitialized(_this), "optionsOrder", void 0 // 选项排序
|
|
116
|
-
);
|
|
117
|
-
_defineProperty(_assertThisInitialized(_this), "datasourceBind", void 0);
|
|
118
|
-
_defineProperty(_assertThisInitialized(_this), "multistageFilling", void 0);
|
|
119
|
-
_defineProperty(_assertThisInitialized(_this), "interreaction", void 0 // 数据联动
|
|
120
|
-
);
|
|
121
|
-
_defineProperty(_assertThisInitialized(_this), "defaultValue", void 0);
|
|
122
|
-
_defineProperty(_assertThisInitialized(_this), "openMultistageFilling", void 0 //是否开启填充
|
|
123
|
-
);
|
|
124
|
-
var _props_options;
|
|
125
|
-
_this.options = initOptions((_props_options = props === null || props === void 0 ? void 0 : props.options) !== null && _props_options !== void 0 ? _props_options : [
|
|
92
|
+
var ref11;
|
|
93
|
+
_this.options = initOptions((ref11 = props === null || props === void 0 ? void 0 : props.options) !== null && ref11 !== void 0 ? ref11 : [
|
|
126
94
|
{
|
|
127
|
-
label:
|
|
128
|
-
value:
|
|
95
|
+
label: '选项一',
|
|
96
|
+
value: '选项一'
|
|
129
97
|
},
|
|
130
98
|
{
|
|
131
|
-
label:
|
|
132
|
-
value:
|
|
99
|
+
label: '选项二',
|
|
100
|
+
value: '选项二'
|
|
133
101
|
},
|
|
134
102
|
{
|
|
135
|
-
label:
|
|
136
|
-
value:
|
|
137
|
-
}
|
|
103
|
+
label: '选项三',
|
|
104
|
+
value: '选项三'
|
|
105
|
+
},
|
|
138
106
|
]);
|
|
139
|
-
var
|
|
140
|
-
_this.radioMode = (
|
|
141
|
-
var
|
|
142
|
-
_this.optionConfig = (
|
|
143
|
-
var
|
|
144
|
-
_this.otherOption = (
|
|
145
|
-
var
|
|
146
|
-
_this.optionsOrder = (
|
|
147
|
-
var
|
|
148
|
-
_this.defaultShowOptions = (
|
|
149
|
-
var
|
|
150
|
-
_this.optionsFormat = (
|
|
107
|
+
var ref1;
|
|
108
|
+
_this.radioMode = (ref1 = props === null || props === void 0 ? void 0 : props.radioMode) !== null && ref1 !== void 0 ? ref1 : 'horizontal';
|
|
109
|
+
var ref2;
|
|
110
|
+
_this.optionConfig = (ref2 = props === null || props === void 0 ? void 0 : props.optionConfig) !== null && ref2 !== void 0 ? ref2 : 'custom';
|
|
111
|
+
var ref3;
|
|
112
|
+
_this.otherOption = (ref3 = props === null || props === void 0 ? void 0 : props.otherOption) !== null && ref3 !== void 0 ? ref3 : false;
|
|
113
|
+
var ref4;
|
|
114
|
+
_this.optionsOrder = (ref4 = props === null || props === void 0 ? void 0 : props.optionsOrder) !== null && ref4 !== void 0 ? ref4 : false;
|
|
115
|
+
var ref5;
|
|
116
|
+
_this.defaultShowOptions = (ref5 = props === null || props === void 0 ? void 0 : props.defaultShowOptions) !== null && ref5 !== void 0 ? ref5 : true;
|
|
117
|
+
var ref6;
|
|
118
|
+
_this.optionsFormat = (ref6 = props === null || props === void 0 ? void 0 : props.optionsFormat) !== null && ref6 !== void 0 ? ref6 : 'horizontal';
|
|
151
119
|
_this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
|
|
152
|
-
var
|
|
153
|
-
_this.interreaction = (
|
|
154
|
-
var
|
|
155
|
-
_this.caption = (
|
|
156
|
-
var
|
|
157
|
-
_this.defaultValue = (
|
|
158
|
-
var
|
|
159
|
-
_this.openMultistageFilling = (
|
|
120
|
+
var ref7;
|
|
121
|
+
_this.interreaction = (ref7 = props === null || props === void 0 ? void 0 : props.interreaction) !== null && ref7 !== void 0 ? ref7 : [];
|
|
122
|
+
var ref8;
|
|
123
|
+
_this.caption = (ref8 = props === null || props === void 0 ? void 0 : props.caption) !== null && ref8 !== void 0 ? ref8 : RadioControl.controlName;
|
|
124
|
+
var ref9;
|
|
125
|
+
_this.defaultValue = (ref9 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && ref9 !== void 0 ? ref9 : '';
|
|
126
|
+
var ref10;
|
|
127
|
+
_this.openMultistageFilling = (ref10 = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && ref10 !== void 0 ? ref10 : false;
|
|
160
128
|
_this.multistageFilling = [];
|
|
161
129
|
if (Array.isArray(props === null || props === void 0 ? void 0 : props.multistageFilling)) {
|
|
162
130
|
props === null || props === void 0 ? void 0 : props.multistageFilling.map(function(item) {
|
|
163
|
-
var
|
|
164
|
-
(
|
|
131
|
+
var ref;
|
|
132
|
+
(ref = _this.multistageFilling) === null || ref === void 0 ? void 0 : ref.push(new MultistageFillingItem(item));
|
|
165
133
|
});
|
|
166
134
|
}
|
|
167
135
|
return _this;
|
|
168
136
|
}
|
|
169
137
|
return RadioProperty;
|
|
170
138
|
}(BaseControlProperty);
|
|
171
|
-
|
|
139
|
+
RadioProperty.Rules = RadioControlPropertyRules;
|
|
172
140
|
export default RadioProperty;
|
|
173
141
|
export { RadioProperty, RadioControlPropertyRules };
|