@byteluck-fe/model-driven-controls 2.3.12 → 2.3.13
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 +88 -88
- package/dist/esm/baseControls/BatchDeleteButton/designer.js +44 -58
- package/dist/esm/baseControls/BatchDeleteButton/index.js +6 -6
- package/dist/esm/baseControls/BatchDeleteButton/property.js +44 -66
- package/dist/esm/baseControls/BatchDeleteButton/runtime.js +29 -43
- package/dist/esm/baseControls/BatchPrintListButton/designer.js +44 -58
- package/dist/esm/baseControls/BatchPrintListButton/index.js +6 -6
- package/dist/esm/baseControls/BatchPrintListButton/property.js +48 -64
- package/dist/esm/baseControls/BatchPrintListButton/runtime.js +29 -43
- package/dist/esm/baseControls/BatchPrintRecordListButton/designer.js +42 -56
- package/dist/esm/baseControls/BatchPrintRecordListButton/index.js +6 -6
- package/dist/esm/baseControls/BatchPrintRecordListButton/property.js +30 -30
- package/dist/esm/baseControls/BatchPrintRecordListButton/runtime.js +29 -43
- package/dist/esm/baseControls/BatchSubmissionListButton/designer.js +45 -59
- package/dist/esm/baseControls/BatchSubmissionListButton/index.js +6 -6
- package/dist/esm/baseControls/BatchSubmissionListButton/property.js +52 -77
- package/dist/esm/baseControls/BatchSubmissionListButton/runtime.js +29 -43
- package/dist/esm/baseControls/Button/designer.js +44 -58
- package/dist/esm/baseControls/Button/index.js +6 -6
- package/dist/esm/baseControls/Button/property.js +41 -63
- package/dist/esm/baseControls/Button/runtime.js +29 -43
- package/dist/esm/baseControls/CreateFormListButton/designer.js +45 -59
- package/dist/esm/baseControls/CreateFormListButton/index.js +6 -6
- package/dist/esm/baseControls/CreateFormListButton/property.js +45 -60
- package/dist/esm/baseControls/CreateFormListButton/runtime.js +29 -43
- package/dist/esm/baseControls/Dashboard/designer.js +40 -54
- package/dist/esm/baseControls/Dashboard/index.js +6 -6
- package/dist/esm/baseControls/Dashboard/property.js +63 -82
- package/dist/esm/baseControls/Dashboard/runtime.js +29 -43
- package/dist/esm/baseControls/Divider/designer.js +37 -51
- package/dist/esm/baseControls/Divider/index.js +6 -6
- package/dist/esm/baseControls/Divider/property.js +31 -46
- package/dist/esm/baseControls/Divider/runtime.js +29 -43
- package/dist/esm/baseControls/ExportListButton/designer.js +44 -58
- package/dist/esm/baseControls/ExportListButton/index.js +6 -6
- package/dist/esm/baseControls/ExportListButton/property.js +42 -56
- package/dist/esm/baseControls/ExportListButton/runtime.js +29 -43
- package/dist/esm/baseControls/ExportRecordListButton/designer.js +42 -56
- package/dist/esm/baseControls/ExportRecordListButton/index.js +6 -6
- package/dist/esm/baseControls/ExportRecordListButton/property.js +30 -30
- package/dist/esm/baseControls/ExportRecordListButton/runtime.js +29 -43
- package/dist/esm/baseControls/FormSelectButton/designer.js +46 -60
- package/dist/esm/baseControls/FormSelectButton/index.js +6 -6
- package/dist/esm/baseControls/FormSelectButton/property.js +61 -65
- package/dist/esm/baseControls/FormSelectButton/runtime.js +29 -43
- package/dist/esm/baseControls/ImportRecordListButton/designer.js +44 -58
- package/dist/esm/baseControls/ImportRecordListButton/index.js +6 -6
- package/dist/esm/baseControls/ImportRecordListButton/property.js +35 -52
- package/dist/esm/baseControls/ImportRecordListButton/runtime.js +29 -43
- package/dist/esm/baseControls/InvoiceCheckButton/designer.js +50 -64
- package/dist/esm/baseControls/InvoiceCheckButton/index.js +6 -6
- package/dist/esm/baseControls/InvoiceCheckButton/property.js +76 -96
- package/dist/esm/baseControls/InvoiceCheckButton/runtime.js +29 -43
- package/dist/esm/baseControls/Link/designer.js +42 -56
- package/dist/esm/baseControls/Link/index.js +6 -6
- package/dist/esm/baseControls/Link/property.js +31 -47
- package/dist/esm/baseControls/Link/runtime.js +29 -43
- package/dist/esm/baseControls/ListSelectButton/designer.js +47 -61
- package/dist/esm/baseControls/ListSelectButton/index.js +6 -6
- package/dist/esm/baseControls/ListSelectButton/property.js +59 -71
- package/dist/esm/baseControls/ListSelectButton/runtime.js +29 -43
- package/dist/esm/baseControls/ListViewSelect/designer.js +37 -51
- package/dist/esm/baseControls/ListViewSelect/index.js +6 -6
- package/dist/esm/baseControls/ListViewSelect/property.js +50 -65
- package/dist/esm/baseControls/ListViewSelect/runtime.js +29 -43
- package/dist/esm/baseControls/OperationButton/designer.js +44 -58
- package/dist/esm/baseControls/OperationButton/index.js +6 -6
- package/dist/esm/baseControls/OperationButton/property.js +47 -73
- package/dist/esm/baseControls/OperationButton/runtime.js +29 -43
- package/dist/esm/baseControls/Pagination/designer.js +32 -46
- package/dist/esm/baseControls/Pagination/index.js +6 -6
- package/dist/esm/baseControls/Pagination/property.js +35 -48
- package/dist/esm/baseControls/Pagination/runtime.js +29 -43
- package/dist/esm/baseControls/SubmissionRecordListButton/designer.js +42 -56
- package/dist/esm/baseControls/SubmissionRecordListButton/index.js +6 -6
- package/dist/esm/baseControls/SubmissionRecordListButton/property.js +30 -30
- package/dist/esm/baseControls/SubmissionRecordListButton/runtime.js +29 -43
- package/dist/esm/baseControls/Text/designer.js +41 -55
- package/dist/esm/baseControls/Text/index.js +6 -6
- package/dist/esm/baseControls/Text/property.js +35 -54
- package/dist/esm/baseControls/Text/runtime.js +29 -43
- package/dist/esm/baseControls/TextOcrButton/designer.js +50 -64
- package/dist/esm/baseControls/TextOcrButton/index.js +6 -6
- package/dist/esm/baseControls/TextOcrButton/property.js +77 -97
- package/dist/esm/baseControls/TextOcrButton/runtime.js +29 -43
- package/dist/esm/baseControls/Title/designer.js +41 -55
- package/dist/esm/baseControls/Title/index.js +6 -6
- package/dist/esm/baseControls/Title/property.js +58 -75
- package/dist/esm/baseControls/Title/runtime.js +29 -43
- package/dist/esm/baseControls/index.js +22 -22
- package/dist/esm/baseControls/utils.js +9 -9
- package/dist/esm/columnControls/ArrayColumn/designer.js +40 -54
- package/dist/esm/columnControls/ArrayColumn/index.js +6 -6
- package/dist/esm/columnControls/ArrayColumn/property.js +39 -68
- package/dist/esm/columnControls/ArrayColumn/runtime.js +29 -43
- package/dist/esm/columnControls/AutoNumberColumn/designer.js +39 -53
- package/dist/esm/columnControls/AutoNumberColumn/index.js +6 -6
- package/dist/esm/columnControls/AutoNumberColumn/property.js +29 -29
- package/dist/esm/columnControls/AutoNumberColumn/runtime.js +29 -43
- package/dist/esm/columnControls/CustomColumn/designer.js +56 -84
- package/dist/esm/columnControls/CustomColumn/index.js +6 -6
- package/dist/esm/columnControls/CustomColumn/property.js +31 -45
- package/dist/esm/columnControls/CustomColumn/runtime.js +29 -44
- package/dist/esm/columnControls/DecimalColumn/designer.js +53 -67
- package/dist/esm/columnControls/DecimalColumn/index.js +6 -6
- package/dist/esm/columnControls/DecimalColumn/property.js +39 -81
- package/dist/esm/columnControls/DecimalColumn/runtime.js +29 -43
- package/dist/esm/columnControls/DepartmentColumn/designer.js +48 -62
- package/dist/esm/columnControls/DepartmentColumn/index.js +6 -6
- package/dist/esm/columnControls/DepartmentColumn/property.js +31 -49
- package/dist/esm/columnControls/DepartmentColumn/runtime.js +29 -43
- package/dist/esm/columnControls/EmployeeColumn/designer.js +44 -58
- package/dist/esm/columnControls/EmployeeColumn/index.js +6 -6
- package/dist/esm/columnControls/EmployeeColumn/property.js +31 -48
- package/dist/esm/columnControls/EmployeeColumn/runtime.js +29 -43
- package/dist/esm/columnControls/FileColumn/designer.js +45 -59
- package/dist/esm/columnControls/FileColumn/index.js +6 -6
- package/dist/esm/columnControls/FileColumn/property.js +29 -29
- package/dist/esm/columnControls/FileColumn/runtime.js +29 -43
- package/dist/esm/columnControls/ImageColumn/designer.js +39 -53
- package/dist/esm/columnControls/ImageColumn/index.js +6 -6
- package/dist/esm/columnControls/ImageColumn/property.js +29 -29
- package/dist/esm/columnControls/ImageColumn/runtime.js +29 -43
- package/dist/esm/columnControls/LocationColumn/designer.js +39 -53
- package/dist/esm/columnControls/LocationColumn/index.js +6 -6
- package/dist/esm/columnControls/LocationColumn/property.js +29 -29
- package/dist/esm/columnControls/LocationColumn/runtime.js +29 -43
- package/dist/esm/columnControls/OperationColumn/designer.js +71 -197
- package/dist/esm/columnControls/OperationColumn/index.js +6 -6
- package/dist/esm/columnControls/OperationColumn/property.js +39 -67
- package/dist/esm/columnControls/OperationColumn/runtime.js +30 -45
- package/dist/esm/columnControls/OrderColumn/designer.js +34 -48
- package/dist/esm/columnControls/OrderColumn/index.js +6 -6
- package/dist/esm/columnControls/OrderColumn/property.js +45 -58
- package/dist/esm/columnControls/OrderColumn/runtime.js +29 -43
- package/dist/esm/columnControls/PeopleColumn/designer.js +39 -53
- package/dist/esm/columnControls/PeopleColumn/index.js +6 -6
- package/dist/esm/columnControls/PeopleColumn/property.js +29 -29
- package/dist/esm/columnControls/PeopleColumn/runtime.js +29 -43
- package/dist/esm/columnControls/TextColumn/designer.js +50 -64
- package/dist/esm/columnControls/TextColumn/index.js +6 -6
- package/dist/esm/columnControls/TextColumn/property.js +33 -56
- package/dist/esm/columnControls/TextColumn/runtime.js +29 -43
- package/dist/esm/columnControls/TimescopeColumn/designer.js +48 -62
- package/dist/esm/columnControls/TimescopeColumn/index.js +6 -6
- package/dist/esm/columnControls/TimescopeColumn/property.js +32 -50
- package/dist/esm/columnControls/TimescopeColumn/runtime.js +29 -43
- package/dist/esm/columnControls/TimestampColumn/designer.js +48 -62
- package/dist/esm/columnControls/TimestampColumn/index.js +6 -6
- package/dist/esm/columnControls/TimestampColumn/property.js +32 -50
- package/dist/esm/columnControls/TimestampColumn/runtime.js +29 -43
- package/dist/esm/columnControls/VarcharColumn/designer.js +42 -56
- package/dist/esm/columnControls/VarcharColumn/index.js +6 -6
- package/dist/esm/columnControls/VarcharColumn/property.js +40 -70
- package/dist/esm/columnControls/VarcharColumn/runtime.js +29 -43
- package/dist/esm/columnControls/index.js +16 -16
- package/dist/esm/formControls/Address/designer.js +46 -60
- package/dist/esm/formControls/Address/index.js +6 -6
- package/dist/esm/formControls/Address/property.js +56 -80
- package/dist/esm/formControls/Address/runtime.js +33 -47
- package/dist/esm/formControls/Amount/designer.js +64 -78
- package/dist/esm/formControls/Amount/index.js +6 -6
- package/dist/esm/formControls/Amount/property.js +89 -152
- package/dist/esm/formControls/Amount/runtime.js +31 -45
- package/dist/esm/formControls/Attachment/designer.js +53 -67
- package/dist/esm/formControls/Attachment/index.js +6 -6
- package/dist/esm/formControls/Attachment/property.js +60 -82
- package/dist/esm/formControls/Attachment/runtime.js +31 -45
- package/dist/esm/formControls/AutoNumber/designer.js +47 -61
- package/dist/esm/formControls/AutoNumber/index.js +6 -6
- package/dist/esm/formControls/AutoNumber/property.js +32 -46
- package/dist/esm/formControls/AutoNumber/runtime.js +31 -45
- package/dist/esm/formControls/Calc/designer.js +61 -75
- package/dist/esm/formControls/Calc/index.js +6 -6
- package/dist/esm/formControls/Calc/property.js +59 -98
- package/dist/esm/formControls/Calc/runtime.js +31 -45
- package/dist/esm/formControls/Checkbox/designer.js +53 -67
- package/dist/esm/formControls/Checkbox/index.js +6 -6
- package/dist/esm/formControls/Checkbox/property.js +83 -119
- package/dist/esm/formControls/Checkbox/runtime.js +31 -45
- package/dist/esm/formControls/DatePicker/designer.js +59 -69
- package/dist/esm/formControls/DatePicker/index.js +6 -6
- package/dist/esm/formControls/DatePicker/property.js +52 -73
- package/dist/esm/formControls/DatePicker/runtime.js +31 -45
- package/dist/esm/formControls/DateRange/designer.js +59 -69
- package/dist/esm/formControls/DateRange/index.js +6 -6
- package/dist/esm/formControls/DateRange/property.js +60 -112
- package/dist/esm/formControls/DateRange/runtime.js +31 -45
- package/dist/esm/formControls/Department/designer.js +57 -71
- package/dist/esm/formControls/Department/index.js +6 -6
- package/dist/esm/formControls/Department/property.js +56 -98
- package/dist/esm/formControls/Department/runtime.js +31 -45
- package/dist/esm/formControls/Department2/designer.js +60 -74
- package/dist/esm/formControls/Department2/index.js +6 -6
- package/dist/esm/formControls/Department2/property.js +82 -135
- package/dist/esm/formControls/Department2/runtime.js +31 -45
- package/dist/esm/formControls/ElectronicSignature/designer.js +51 -65
- package/dist/esm/formControls/ElectronicSignature/index.js +6 -6
- package/dist/esm/formControls/ElectronicSignature/property.js +67 -87
- package/dist/esm/formControls/ElectronicSignature/runtime.js +31 -45
- package/dist/esm/formControls/Employee/designer.js +49 -63
- package/dist/esm/formControls/Employee/index.js +6 -6
- package/dist/esm/formControls/Employee/property.js +52 -80
- package/dist/esm/formControls/Employee/runtime.js +31 -45
- package/dist/esm/formControls/Employee2/designer.js +52 -66
- package/dist/esm/formControls/Employee2/index.js +6 -6
- package/dist/esm/formControls/Employee2/property.js +80 -117
- package/dist/esm/formControls/Employee2/runtime.js +31 -45
- package/dist/esm/formControls/Image/designer.js +53 -66
- package/dist/esm/formControls/Image/index.js +6 -6
- package/dist/esm/formControls/Image/property.js +25 -25
- package/dist/esm/formControls/Image/runtime.js +36 -36
- package/dist/esm/formControls/Input/designer.js +56 -70
- package/dist/esm/formControls/Input/index.js +6 -6
- package/dist/esm/formControls/Input/property.js +72 -114
- package/dist/esm/formControls/Input/runtime.js +31 -45
- package/dist/esm/formControls/Number/designer.js +68 -82
- package/dist/esm/formControls/Number/index.js +6 -6
- package/dist/esm/formControls/Number/property.js +85 -157
- package/dist/esm/formControls/Number/runtime.js +31 -45
- package/dist/esm/formControls/Radio/designer.js +52 -66
- package/dist/esm/formControls/Radio/index.js +6 -6
- package/dist/esm/formControls/Radio/property.js +62 -94
- package/dist/esm/formControls/Radio/runtime.js +31 -45
- package/dist/esm/formControls/RichText/designer.js +55 -69
- package/dist/esm/formControls/RichText/index.js +6 -6
- package/dist/esm/formControls/RichText/property.js +62 -78
- package/dist/esm/formControls/RichText/runtime.js +31 -45
- package/dist/esm/formControls/Score/designer.js +71 -85
- package/dist/esm/formControls/Score/index.js +6 -6
- package/dist/esm/formControls/Score/property.js +67 -85
- package/dist/esm/formControls/Score/runtime.js +31 -45
- package/dist/esm/formControls/SearchDateRange/designer.js +54 -64
- package/dist/esm/formControls/SearchDateRange/index.js +6 -6
- package/dist/esm/formControls/SearchDateRange/property.js +63 -84
- package/dist/esm/formControls/SearchDateRange/runtime.js +31 -45
- package/dist/esm/formControls/SearchInput/designer.js +41 -55
- package/dist/esm/formControls/SearchInput/index.js +6 -6
- package/dist/esm/formControls/SearchInput/property.js +30 -30
- package/dist/esm/formControls/SearchInput/runtime.js +31 -45
- package/dist/esm/formControls/SearchNumberRange/designer.js +47 -61
- package/dist/esm/formControls/SearchNumberRange/index.js +6 -6
- package/dist/esm/formControls/SearchNumberRange/property.js +48 -68
- package/dist/esm/formControls/SearchNumberRange/runtime.js +31 -45
- package/dist/esm/formControls/Select/designer.js +47 -61
- package/dist/esm/formControls/Select/index.js +6 -6
- package/dist/esm/formControls/Select/property.js +56 -80
- package/dist/esm/formControls/Select/runtime.js +31 -45
- package/dist/esm/formControls/SelectMultiple/designer.js +47 -61
- package/dist/esm/formControls/SelectMultiple/index.js +6 -6
- package/dist/esm/formControls/SelectMultiple/property.js +60 -82
- package/dist/esm/formControls/SelectMultiple/runtime.js +31 -45
- package/dist/esm/formControls/SelectRelation/designer.js +53 -67
- package/dist/esm/formControls/SelectRelation/index.js +6 -6
- package/dist/esm/formControls/SelectRelation/property.js +60 -114
- package/dist/esm/formControls/SelectRelation/runtime.js +31 -45
- package/dist/esm/formControls/Textarea/designer.js +56 -70
- package/dist/esm/formControls/Textarea/index.js +6 -6
- package/dist/esm/formControls/Textarea/property.js +65 -98
- package/dist/esm/formControls/Textarea/runtime.js +31 -45
- package/dist/esm/formControls/Tree/designer.js +57 -71
- package/dist/esm/formControls/Tree/index.js +6 -6
- package/dist/esm/formControls/Tree/property.js +84 -110
- package/dist/esm/formControls/Tree/runtime.js +31 -45
- package/dist/esm/formControls/VueFormItem/designer.js +46 -60
- package/dist/esm/formControls/VueFormItem/index.js +6 -6
- package/dist/esm/formControls/VueFormItem/property.js +48 -65
- package/dist/esm/formControls/VueFormItem/runtime.js +31 -45
- package/dist/esm/formControls/WPS/designer.js +60 -74
- package/dist/esm/formControls/WPS/index.js +6 -6
- package/dist/esm/formControls/WPS/property.js +77 -103
- package/dist/esm/formControls/WPS/runtime.js +31 -45
- package/dist/esm/formControls/index.js +29 -29
- package/dist/esm/framework.js +120 -200
- package/dist/esm/index.js +14 -14
- package/dist/esm/layoutControls/AdvancedContainer/Setting.js +24 -24
- package/dist/esm/layoutControls/AdvancedContainer/designer.js +30 -30
- package/dist/esm/layoutControls/AdvancedContainer/index.js +6 -6
- package/dist/esm/layoutControls/AdvancedContainer/property.js +27 -42
- package/dist/esm/layoutControls/AdvancedContainer/runtime.js +28 -28
- package/dist/esm/layoutControls/CardGroup/designer.js +41 -55
- package/dist/esm/layoutControls/CardGroup/index.js +6 -6
- package/dist/esm/layoutControls/CardGroup/property.js +39 -59
- package/dist/esm/layoutControls/CardGroup/runtime.js +29 -43
- package/dist/esm/layoutControls/Col/designer.js +36 -50
- package/dist/esm/layoutControls/Col/index.js +6 -6
- package/dist/esm/layoutControls/Col/property.js +29 -44
- package/dist/esm/layoutControls/Col/runtime.js +29 -43
- package/dist/esm/layoutControls/DataView/designer.js +31 -45
- package/dist/esm/layoutControls/DataView/index.js +6 -6
- package/dist/esm/layoutControls/DataView/property.js +52 -81
- package/dist/esm/layoutControls/DataView/runtime.js +29 -43
- package/dist/esm/layoutControls/Grid/designer.js +33 -46
- 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 +28 -28
- package/dist/esm/layoutControls/GridRow/designer.js +35 -48
- package/dist/esm/layoutControls/GridRow/index.js +6 -6
- package/dist/esm/layoutControls/GridRow/property.js +25 -25
- package/dist/esm/layoutControls/GridRow/runtime.js +28 -28
- package/dist/esm/layoutControls/GridTableColumn/designer.js +40 -54
- package/dist/esm/layoutControls/GridTableColumn/index.js +6 -6
- package/dist/esm/layoutControls/GridTableColumn/property.js +47 -73
- package/dist/esm/layoutControls/GridTableColumn/runtime.js +27 -41
- package/dist/esm/layoutControls/ListView/designer.js +50 -64
- package/dist/esm/layoutControls/ListView/index.js +6 -6
- package/dist/esm/layoutControls/ListView/property.js +68 -134
- package/dist/esm/layoutControls/ListView/runtime.js +29 -43
- package/dist/esm/layoutControls/Page/Setting.js +34 -34
- package/dist/esm/layoutControls/Page/designer.js +30 -30
- package/dist/esm/layoutControls/Page/index.js +6 -6
- package/dist/esm/layoutControls/Page/property.js +31 -45
- package/dist/esm/layoutControls/Page/runtime.js +28 -28
- package/dist/esm/layoutControls/Position/Setting.js +1 -1
- package/dist/esm/layoutControls/Position/designer.js +30 -30
- package/dist/esm/layoutControls/Position/index.js +6 -6
- package/dist/esm/layoutControls/Position/property.js +33 -50
- package/dist/esm/layoutControls/Position/runtime.js +28 -28
- package/dist/esm/layoutControls/PositioningContainer/Setting.js +24 -24
- package/dist/esm/layoutControls/PositioningContainer/designer.js +30 -30
- package/dist/esm/layoutControls/PositioningContainer/index.js +6 -6
- package/dist/esm/layoutControls/PositioningContainer/property.js +25 -25
- package/dist/esm/layoutControls/PositioningContainer/runtime.js +28 -28
- package/dist/esm/layoutControls/Row/designer.js +38 -52
- package/dist/esm/layoutControls/Row/index.js +6 -6
- package/dist/esm/layoutControls/Row/property.js +29 -44
- package/dist/esm/layoutControls/Row/runtime.js +29 -43
- package/dist/esm/layoutControls/SubTableColumn/designer.js +40 -54
- package/dist/esm/layoutControls/SubTableColumn/index.js +6 -6
- package/dist/esm/layoutControls/SubTableColumn/property.js +53 -85
- package/dist/esm/layoutControls/SubTableColumn/runtime.js +27 -41
- package/dist/esm/layoutControls/SubTableRow/designer.js +38 -52
- package/dist/esm/layoutControls/SubTableRow/index.js +6 -6
- package/dist/esm/layoutControls/SubTableRow/property.js +25 -25
- package/dist/esm/layoutControls/SubTableRow/runtime.js +29 -43
- package/dist/esm/layoutControls/Tab/designer.js +44 -58
- package/dist/esm/layoutControls/Tab/index.js +6 -6
- package/dist/esm/layoutControls/Tab/property.js +25 -25
- package/dist/esm/layoutControls/Tab/runtime.js +29 -43
- package/dist/esm/layoutControls/TabPane/designer.js +41 -55
- package/dist/esm/layoutControls/TabPane/index.js +6 -6
- package/dist/esm/layoutControls/TabPane/property.js +38 -52
- package/dist/esm/layoutControls/TabPane/runtime.js +29 -43
- package/dist/esm/layoutControls/Toolbox/designer.js +37 -51
- package/dist/esm/layoutControls/Toolbox/index.js +6 -6
- package/dist/esm/layoutControls/Toolbox/property.js +25 -25
- package/dist/esm/layoutControls/Toolbox/runtime.js +30 -30
- package/dist/esm/layoutControls/index.js +17 -17
- package/dist/esm/listControls/GridTable/designer.js +68 -199
- package/dist/esm/listControls/GridTable/index.js +6 -6
- package/dist/esm/listControls/GridTable/property.js +41 -78
- package/dist/esm/listControls/GridTable/runtime.js +32 -46
- package/dist/esm/listControls/SubTable/designer.js +68 -82
- package/dist/esm/listControls/SubTable/index.js +6 -6
- package/dist/esm/listControls/SubTable/property.js +116 -236
- package/dist/esm/listControls/SubTable/runtime.js +32 -46
- package/dist/esm/listControls/index.js +2 -2
- package/dist/esm/searchControls/SimpleSearch/designer.js +34 -48
- package/dist/esm/searchControls/SimpleSearch/index.js +6 -6
- package/dist/esm/searchControls/SimpleSearch/property.js +48 -90
- package/dist/esm/searchControls/SimpleSearch/runtime.js +29 -44
- 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/package.json +5 -5
|
@@ -1,32 +1,19 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _assertThisInitialized(self) {
|
|
2
2
|
if (self === void 0) {
|
|
3
3
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4
4
|
}
|
|
5
5
|
return self;
|
|
6
6
|
}
|
|
7
|
-
function
|
|
7
|
+
function _classCallCheck(instance, Constructor) {
|
|
8
8
|
if (!(instance instanceof Constructor)) {
|
|
9
9
|
throw new TypeError("Cannot call a class as a function");
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
|
-
function
|
|
13
|
-
|
|
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
|
-
function _get_prototype_of(o) {
|
|
26
|
-
_get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
|
|
12
|
+
function _getPrototypeOf(o) {
|
|
13
|
+
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
27
14
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
28
15
|
};
|
|
29
|
-
return
|
|
16
|
+
return _getPrototypeOf(o);
|
|
30
17
|
}
|
|
31
18
|
function _inherits(subClass, superClass) {
|
|
32
19
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -39,26 +26,26 @@ function _inherits(subClass, superClass) {
|
|
|
39
26
|
configurable: true
|
|
40
27
|
}
|
|
41
28
|
});
|
|
42
|
-
if (superClass)
|
|
29
|
+
if (superClass) _setPrototypeOf(subClass, superClass);
|
|
43
30
|
}
|
|
44
|
-
function
|
|
45
|
-
if (call && (
|
|
31
|
+
function _possibleConstructorReturn(self, call) {
|
|
32
|
+
if (call && (_typeof(call) === "object" || typeof call === "function")) {
|
|
46
33
|
return call;
|
|
47
34
|
}
|
|
48
|
-
return
|
|
35
|
+
return _assertThisInitialized(self);
|
|
49
36
|
}
|
|
50
|
-
function
|
|
51
|
-
|
|
37
|
+
function _setPrototypeOf(o, p) {
|
|
38
|
+
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
52
39
|
o.__proto__ = p;
|
|
53
40
|
return o;
|
|
54
41
|
};
|
|
55
|
-
return
|
|
42
|
+
return _setPrototypeOf(o, p);
|
|
56
43
|
}
|
|
57
|
-
function
|
|
44
|
+
var _typeof = function(obj) {
|
|
58
45
|
"@swc/helpers - typeof";
|
|
59
46
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
60
|
-
}
|
|
61
|
-
function
|
|
47
|
+
};
|
|
48
|
+
function _isNativeReflectConstruct() {
|
|
62
49
|
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
63
50
|
if (Reflect.construct.sham) return false;
|
|
64
51
|
if (typeof Proxy === "function") return true;
|
|
@@ -69,64 +56,63 @@ function _is_native_reflect_construct() {
|
|
|
69
56
|
return false;
|
|
70
57
|
}
|
|
71
58
|
}
|
|
72
|
-
function
|
|
73
|
-
var hasNativeReflectConstruct =
|
|
59
|
+
function _createSuper(Derived) {
|
|
60
|
+
var hasNativeReflectConstruct = _isNativeReflectConstruct();
|
|
74
61
|
return function _createSuperInternal() {
|
|
75
|
-
var Super =
|
|
62
|
+
var Super = _getPrototypeOf(Derived), result;
|
|
76
63
|
if (hasNativeReflectConstruct) {
|
|
77
|
-
var NewTarget =
|
|
64
|
+
var NewTarget = _getPrototypeOf(this).constructor;
|
|
78
65
|
result = Reflect.construct(Super, arguments, NewTarget);
|
|
79
66
|
} else {
|
|
80
67
|
result = Super.apply(this, arguments);
|
|
81
68
|
}
|
|
82
|
-
return
|
|
69
|
+
return _possibleConstructorReturn(this, result);
|
|
83
70
|
};
|
|
84
71
|
}
|
|
85
|
-
import { DesignerColumnControl, COMMON_SETTING_TYPE } from
|
|
86
|
-
import PeopleColumnControlProperty from
|
|
87
|
-
import { FieldTypes } from
|
|
88
|
-
var PeopleColumnControl = /*#__PURE__*/ function(
|
|
72
|
+
import { DesignerColumnControl, COMMON_SETTING_TYPE } from '@byteluck-fe/model-driven-core';
|
|
73
|
+
import PeopleColumnControlProperty from './property';
|
|
74
|
+
import { FieldTypes } from '@byteluck-fe/model-driven-shared';
|
|
75
|
+
var PeopleColumnControl = /*#__PURE__*/ function(DesignerColumnControl1) {
|
|
89
76
|
"use strict";
|
|
90
|
-
_inherits(PeopleColumnControl,
|
|
91
|
-
var _super =
|
|
77
|
+
_inherits(PeopleColumnControl, DesignerColumnControl1);
|
|
78
|
+
var _super = _createSuper(PeopleColumnControl);
|
|
92
79
|
function PeopleColumnControl(props) {
|
|
93
|
-
|
|
80
|
+
_classCallCheck(this, PeopleColumnControl);
|
|
94
81
|
var _this;
|
|
95
82
|
_this = _super.call(this, props);
|
|
96
|
-
_define_property(_assert_this_initialized(_this), "props", void 0);
|
|
97
83
|
_this.props = new PeopleColumnControlProperty(props === null || props === void 0 ? void 0 : props.props);
|
|
98
84
|
return _this;
|
|
99
85
|
}
|
|
100
86
|
return PeopleColumnControl;
|
|
101
87
|
}(DesignerColumnControl);
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
88
|
+
PeopleColumnControl.controlType = 'people-column';
|
|
89
|
+
PeopleColumnControl.controlName = '人员';
|
|
90
|
+
PeopleColumnControl.controlIcon = 'people-column';
|
|
91
|
+
PeopleColumnControl.controlFieldType = FieldTypes.EMPLOYEES;
|
|
92
|
+
PeopleColumnControl.setting = [
|
|
107
93
|
{
|
|
108
|
-
key:
|
|
94
|
+
key: 'column-data-bind',
|
|
109
95
|
visible: true
|
|
110
96
|
},
|
|
111
97
|
{
|
|
112
|
-
key:
|
|
98
|
+
key: 'caption',
|
|
113
99
|
showItems: [
|
|
114
100
|
COMMON_SETTING_TYPE.CAPTION
|
|
115
101
|
],
|
|
116
102
|
visible: true
|
|
117
103
|
},
|
|
118
104
|
{
|
|
119
|
-
key:
|
|
105
|
+
key: 'column-autowidth',
|
|
120
106
|
visible: true
|
|
121
107
|
},
|
|
122
108
|
{
|
|
123
|
-
key:
|
|
109
|
+
key: 'column-fixed',
|
|
124
110
|
visible: true
|
|
125
111
|
},
|
|
126
112
|
{
|
|
127
|
-
key:
|
|
113
|
+
key: 'column-sort',
|
|
128
114
|
visible: true
|
|
129
|
-
}
|
|
130
|
-
]
|
|
115
|
+
},
|
|
116
|
+
];
|
|
131
117
|
export default PeopleColumnControl;
|
|
132
118
|
export { PeopleColumnControl as DesignerPeopleColumnControl };
|
|
@@ -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';
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _assertThisInitialized(self) {
|
|
2
2
|
if (self === void 0) {
|
|
3
3
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4
4
|
}
|
|
5
5
|
return self;
|
|
6
6
|
}
|
|
7
|
-
function
|
|
7
|
+
function _classCallCheck(instance, Constructor) {
|
|
8
8
|
if (!(instance instanceof Constructor)) {
|
|
9
9
|
throw new TypeError("Cannot call a class as a function");
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
|
-
function
|
|
13
|
-
|
|
12
|
+
function _getPrototypeOf(o) {
|
|
13
|
+
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
14
14
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
15
15
|
};
|
|
16
|
-
return
|
|
16
|
+
return _getPrototypeOf(o);
|
|
17
17
|
}
|
|
18
18
|
function _inherits(subClass, superClass) {
|
|
19
19
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -26,26 +26,26 @@ function _inherits(subClass, superClass) {
|
|
|
26
26
|
configurable: true
|
|
27
27
|
}
|
|
28
28
|
});
|
|
29
|
-
if (superClass)
|
|
29
|
+
if (superClass) _setPrototypeOf(subClass, superClass);
|
|
30
30
|
}
|
|
31
|
-
function
|
|
32
|
-
if (call && (
|
|
31
|
+
function _possibleConstructorReturn(self, call) {
|
|
32
|
+
if (call && (_typeof(call) === "object" || typeof call === "function")) {
|
|
33
33
|
return call;
|
|
34
34
|
}
|
|
35
|
-
return
|
|
35
|
+
return _assertThisInitialized(self);
|
|
36
36
|
}
|
|
37
|
-
function
|
|
38
|
-
|
|
37
|
+
function _setPrototypeOf(o, p) {
|
|
38
|
+
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
39
39
|
o.__proto__ = p;
|
|
40
40
|
return o;
|
|
41
41
|
};
|
|
42
|
-
return
|
|
42
|
+
return _setPrototypeOf(o, p);
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
var _typeof = function(obj) {
|
|
45
45
|
"@swc/helpers - typeof";
|
|
46
46
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
47
|
-
}
|
|
48
|
-
function
|
|
47
|
+
};
|
|
48
|
+
function _isNativeReflectConstruct() {
|
|
49
49
|
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
50
50
|
if (Reflect.construct.sham) return false;
|
|
51
51
|
if (typeof Proxy === "function") return true;
|
|
@@ -56,33 +56,33 @@ function _is_native_reflect_construct() {
|
|
|
56
56
|
return false;
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
|
-
function
|
|
60
|
-
var hasNativeReflectConstruct =
|
|
59
|
+
function _createSuper(Derived) {
|
|
60
|
+
var hasNativeReflectConstruct = _isNativeReflectConstruct();
|
|
61
61
|
return function _createSuperInternal() {
|
|
62
|
-
var Super =
|
|
62
|
+
var Super = _getPrototypeOf(Derived), result;
|
|
63
63
|
if (hasNativeReflectConstruct) {
|
|
64
|
-
var NewTarget =
|
|
64
|
+
var NewTarget = _getPrototypeOf(this).constructor;
|
|
65
65
|
result = Reflect.construct(Super, arguments, NewTarget);
|
|
66
66
|
} else {
|
|
67
67
|
result = Super.apply(this, arguments);
|
|
68
68
|
}
|
|
69
|
-
return
|
|
69
|
+
return _possibleConstructorReturn(this, result);
|
|
70
70
|
};
|
|
71
71
|
}
|
|
72
|
-
import { ColumnControlProperty } from
|
|
73
|
-
import { DesignerPeopleColumnControl } from
|
|
74
|
-
/**
|
|
72
|
+
import { ColumnControlProperty } from '@byteluck-fe/model-driven-core';
|
|
73
|
+
import { DesignerPeopleColumnControl } from './designer';
|
|
74
|
+
var PeopleColumnControlProperty = /**
|
|
75
75
|
* PeopleColumn 已废弃
|
|
76
|
-
*/
|
|
76
|
+
*/ /*#__PURE__*/ function(ColumnControlProperty1) {
|
|
77
77
|
"use strict";
|
|
78
|
-
_inherits(PeopleColumnControlProperty,
|
|
79
|
-
var _super =
|
|
78
|
+
_inherits(PeopleColumnControlProperty, ColumnControlProperty1);
|
|
79
|
+
var _super = _createSuper(PeopleColumnControlProperty);
|
|
80
80
|
function PeopleColumnControlProperty(props) {
|
|
81
|
-
|
|
81
|
+
_classCallCheck(this, PeopleColumnControlProperty);
|
|
82
82
|
var _this;
|
|
83
83
|
_this = _super.call(this, props);
|
|
84
|
-
var
|
|
85
|
-
_this.caption = (
|
|
84
|
+
var ref;
|
|
85
|
+
_this.caption = (ref = props === null || props === void 0 ? void 0 : props.caption) !== null && ref !== void 0 ? ref : DesignerPeopleColumnControl.controlName;
|
|
86
86
|
return _this;
|
|
87
87
|
}
|
|
88
88
|
return PeopleColumnControlProperty;
|
|
@@ -1,32 +1,19 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _assertThisInitialized(self) {
|
|
2
2
|
if (self === void 0) {
|
|
3
3
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4
4
|
}
|
|
5
5
|
return self;
|
|
6
6
|
}
|
|
7
|
-
function
|
|
7
|
+
function _classCallCheck(instance, Constructor) {
|
|
8
8
|
if (!(instance instanceof Constructor)) {
|
|
9
9
|
throw new TypeError("Cannot call a class as a function");
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
|
-
function
|
|
13
|
-
|
|
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
|
-
function _get_prototype_of(o) {
|
|
26
|
-
_get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
|
|
12
|
+
function _getPrototypeOf(o) {
|
|
13
|
+
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
27
14
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
28
15
|
};
|
|
29
|
-
return
|
|
16
|
+
return _getPrototypeOf(o);
|
|
30
17
|
}
|
|
31
18
|
function _inherits(subClass, superClass) {
|
|
32
19
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -39,26 +26,26 @@ function _inherits(subClass, superClass) {
|
|
|
39
26
|
configurable: true
|
|
40
27
|
}
|
|
41
28
|
});
|
|
42
|
-
if (superClass)
|
|
29
|
+
if (superClass) _setPrototypeOf(subClass, superClass);
|
|
43
30
|
}
|
|
44
|
-
function
|
|
45
|
-
if (call && (
|
|
31
|
+
function _possibleConstructorReturn(self, call) {
|
|
32
|
+
if (call && (_typeof(call) === "object" || typeof call === "function")) {
|
|
46
33
|
return call;
|
|
47
34
|
}
|
|
48
|
-
return
|
|
35
|
+
return _assertThisInitialized(self);
|
|
49
36
|
}
|
|
50
|
-
function
|
|
51
|
-
|
|
37
|
+
function _setPrototypeOf(o, p) {
|
|
38
|
+
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
52
39
|
o.__proto__ = p;
|
|
53
40
|
return o;
|
|
54
41
|
};
|
|
55
|
-
return
|
|
42
|
+
return _setPrototypeOf(o, p);
|
|
56
43
|
}
|
|
57
|
-
function
|
|
44
|
+
var _typeof = function(obj) {
|
|
58
45
|
"@swc/helpers - typeof";
|
|
59
46
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
60
|
-
}
|
|
61
|
-
function
|
|
47
|
+
};
|
|
48
|
+
function _isNativeReflectConstruct() {
|
|
62
49
|
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
63
50
|
if (Reflect.construct.sham) return false;
|
|
64
51
|
if (typeof Proxy === "function") return true;
|
|
@@ -69,37 +56,36 @@ function _is_native_reflect_construct() {
|
|
|
69
56
|
return false;
|
|
70
57
|
}
|
|
71
58
|
}
|
|
72
|
-
function
|
|
73
|
-
var hasNativeReflectConstruct =
|
|
59
|
+
function _createSuper(Derived) {
|
|
60
|
+
var hasNativeReflectConstruct = _isNativeReflectConstruct();
|
|
74
61
|
return function _createSuperInternal() {
|
|
75
|
-
var Super =
|
|
62
|
+
var Super = _getPrototypeOf(Derived), result;
|
|
76
63
|
if (hasNativeReflectConstruct) {
|
|
77
|
-
var NewTarget =
|
|
64
|
+
var NewTarget = _getPrototypeOf(this).constructor;
|
|
78
65
|
result = Reflect.construct(Super, arguments, NewTarget);
|
|
79
66
|
} else {
|
|
80
67
|
result = Super.apply(this, arguments);
|
|
81
68
|
}
|
|
82
|
-
return
|
|
69
|
+
return _possibleConstructorReturn(this, result);
|
|
83
70
|
};
|
|
84
71
|
}
|
|
85
|
-
import { RuntimeColumnControl } from
|
|
86
|
-
import PeopleColumnControlProperty from
|
|
87
|
-
import { FieldTypes } from
|
|
88
|
-
var PeopleColumnControl = /*#__PURE__*/ function(
|
|
72
|
+
import { RuntimeColumnControl } from '@byteluck-fe/model-driven-core';
|
|
73
|
+
import PeopleColumnControlProperty from './property';
|
|
74
|
+
import { FieldTypes } from '@byteluck-fe/model-driven-shared';
|
|
75
|
+
var PeopleColumnControl = /*#__PURE__*/ function(RuntimeColumnControl1) {
|
|
89
76
|
"use strict";
|
|
90
|
-
_inherits(PeopleColumnControl,
|
|
91
|
-
var _super =
|
|
77
|
+
_inherits(PeopleColumnControl, RuntimeColumnControl1);
|
|
78
|
+
var _super = _createSuper(PeopleColumnControl);
|
|
92
79
|
function PeopleColumnControl(props) {
|
|
93
|
-
|
|
80
|
+
_classCallCheck(this, PeopleColumnControl);
|
|
94
81
|
var _this;
|
|
95
82
|
_this = _super.call(this, props);
|
|
96
|
-
_define_property(_assert_this_initialized(_this), "props", void 0);
|
|
97
83
|
_this.props = new PeopleColumnControlProperty(props === null || props === void 0 ? void 0 : props.props);
|
|
98
84
|
return _this;
|
|
99
85
|
}
|
|
100
86
|
return PeopleColumnControl;
|
|
101
87
|
}(RuntimeColumnControl);
|
|
102
|
-
|
|
103
|
-
|
|
88
|
+
PeopleColumnControl.controlType = 'people-column';
|
|
89
|
+
PeopleColumnControl.controlFieldType = FieldTypes.EMPLOYEES;
|
|
104
90
|
export default PeopleColumnControl;
|
|
105
91
|
export { PeopleColumnControl as RuntimePeopleColumnControl };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _assertThisInitialized(self) {
|
|
2
2
|
if (self === void 0) {
|
|
3
3
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4
4
|
}
|
|
5
5
|
return self;
|
|
6
6
|
}
|
|
7
|
-
function
|
|
7
|
+
function _classCallCheck(instance, Constructor) {
|
|
8
8
|
if (!(instance instanceof Constructor)) {
|
|
9
9
|
throw new TypeError("Cannot call a class as a function");
|
|
10
10
|
}
|
|
@@ -18,45 +18,32 @@ function _defineProperties(target, props) {
|
|
|
18
18
|
Object.defineProperty(target, descriptor.key, descriptor);
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function _createClass(Constructor, protoProps, staticProps) {
|
|
22
22
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
23
23
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
24
24
|
return Constructor;
|
|
25
25
|
}
|
|
26
|
-
function _define_property(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 _get(target, property, receiver) {
|
|
40
27
|
if (typeof Reflect !== "undefined" && Reflect.get) {
|
|
41
28
|
_get = Reflect.get;
|
|
42
29
|
} else {
|
|
43
|
-
_get = function
|
|
44
|
-
var base =
|
|
30
|
+
_get = function _get(target, property, receiver) {
|
|
31
|
+
var base = _superPropBase(target, property);
|
|
45
32
|
if (!base) return;
|
|
46
33
|
var desc = Object.getOwnPropertyDescriptor(base, property);
|
|
47
34
|
if (desc.get) {
|
|
48
|
-
return desc.get.call(receiver
|
|
35
|
+
return desc.get.call(receiver);
|
|
49
36
|
}
|
|
50
37
|
return desc.value;
|
|
51
38
|
};
|
|
52
39
|
}
|
|
53
40
|
return _get(target, property, receiver || target);
|
|
54
41
|
}
|
|
55
|
-
function
|
|
56
|
-
|
|
42
|
+
function _getPrototypeOf(o) {
|
|
43
|
+
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
57
44
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
58
45
|
};
|
|
59
|
-
return
|
|
46
|
+
return _getPrototypeOf(o);
|
|
60
47
|
}
|
|
61
48
|
function _inherits(subClass, superClass) {
|
|
62
49
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -69,33 +56,33 @@ function _inherits(subClass, superClass) {
|
|
|
69
56
|
configurable: true
|
|
70
57
|
}
|
|
71
58
|
});
|
|
72
|
-
if (superClass)
|
|
59
|
+
if (superClass) _setPrototypeOf(subClass, superClass);
|
|
73
60
|
}
|
|
74
|
-
function
|
|
75
|
-
if (call && (
|
|
61
|
+
function _possibleConstructorReturn(self, call) {
|
|
62
|
+
if (call && (_typeof(call) === "object" || typeof call === "function")) {
|
|
76
63
|
return call;
|
|
77
64
|
}
|
|
78
|
-
return
|
|
65
|
+
return _assertThisInitialized(self);
|
|
79
66
|
}
|
|
80
|
-
function
|
|
81
|
-
|
|
67
|
+
function _setPrototypeOf(o, p) {
|
|
68
|
+
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
82
69
|
o.__proto__ = p;
|
|
83
70
|
return o;
|
|
84
71
|
};
|
|
85
|
-
return
|
|
72
|
+
return _setPrototypeOf(o, p);
|
|
86
73
|
}
|
|
87
|
-
function
|
|
74
|
+
function _superPropBase(object, property) {
|
|
88
75
|
while(!Object.prototype.hasOwnProperty.call(object, property)){
|
|
89
|
-
object =
|
|
76
|
+
object = _getPrototypeOf(object);
|
|
90
77
|
if (object === null) break;
|
|
91
78
|
}
|
|
92
79
|
return object;
|
|
93
80
|
}
|
|
94
|
-
function
|
|
81
|
+
var _typeof = function(obj) {
|
|
95
82
|
"@swc/helpers - typeof";
|
|
96
83
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
97
|
-
}
|
|
98
|
-
function
|
|
84
|
+
};
|
|
85
|
+
function _isNativeReflectConstruct() {
|
|
99
86
|
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
100
87
|
if (Reflect.construct.sham) return false;
|
|
101
88
|
if (typeof Proxy === "function") return true;
|
|
@@ -106,39 +93,38 @@ function _is_native_reflect_construct() {
|
|
|
106
93
|
return false;
|
|
107
94
|
}
|
|
108
95
|
}
|
|
109
|
-
function
|
|
110
|
-
var hasNativeReflectConstruct =
|
|
96
|
+
function _createSuper(Derived) {
|
|
97
|
+
var hasNativeReflectConstruct = _isNativeReflectConstruct();
|
|
111
98
|
return function _createSuperInternal() {
|
|
112
|
-
var Super =
|
|
99
|
+
var Super = _getPrototypeOf(Derived), result;
|
|
113
100
|
if (hasNativeReflectConstruct) {
|
|
114
|
-
var NewTarget =
|
|
101
|
+
var NewTarget = _getPrototypeOf(this).constructor;
|
|
115
102
|
result = Reflect.construct(Super, arguments, NewTarget);
|
|
116
103
|
} else {
|
|
117
104
|
result = Super.apply(this, arguments);
|
|
118
105
|
}
|
|
119
|
-
return
|
|
106
|
+
return _possibleConstructorReturn(this, result);
|
|
120
107
|
};
|
|
121
108
|
}
|
|
122
|
-
import { DesignerColumnControl, COMMON_SETTING_TYPE } from
|
|
123
|
-
import TextColumnControlProperty from
|
|
124
|
-
import { FieldTypes } from
|
|
125
|
-
var TextColumnControl = /*#__PURE__*/ function(
|
|
109
|
+
import { DesignerColumnControl, COMMON_SETTING_TYPE } from '@byteluck-fe/model-driven-core';
|
|
110
|
+
import TextColumnControlProperty from './property';
|
|
111
|
+
import { FieldTypes } from '@byteluck-fe/model-driven-shared';
|
|
112
|
+
var TextColumnControl = /*#__PURE__*/ function(DesignerColumnControl1) {
|
|
126
113
|
"use strict";
|
|
127
|
-
_inherits(TextColumnControl,
|
|
128
|
-
var _super =
|
|
114
|
+
_inherits(TextColumnControl, DesignerColumnControl1);
|
|
115
|
+
var _super = _createSuper(TextColumnControl);
|
|
129
116
|
function TextColumnControl(props) {
|
|
130
|
-
|
|
117
|
+
_classCallCheck(this, TextColumnControl);
|
|
131
118
|
var _this;
|
|
132
119
|
_this = _super.call(this, props);
|
|
133
|
-
_define_property(_assert_this_initialized(_this), "props", void 0);
|
|
134
120
|
_this.props = new TextColumnControlProperty(props === null || props === void 0 ? void 0 : props.props);
|
|
135
121
|
return _this;
|
|
136
122
|
}
|
|
137
|
-
|
|
123
|
+
_createClass(TextColumnControl, [
|
|
138
124
|
{
|
|
139
125
|
key: "toDataBindModel",
|
|
140
126
|
value: function toDataBindModel(parentId) {
|
|
141
|
-
var dataBindModel = _get(
|
|
127
|
+
var dataBindModel = _get(_getPrototypeOf(TextColumnControl.prototype), "toDataBindModel", this).call(this, parentId);
|
|
142
128
|
if (dataBindModel) {
|
|
143
129
|
var escapeHTML = this.props.escapeHTML;
|
|
144
130
|
dataBindModel.props.escapeHTML = escapeHTML;
|
|
@@ -149,46 +135,46 @@ var TextColumnControl = /*#__PURE__*/ function(DesignerColumnControl) {
|
|
|
149
135
|
]);
|
|
150
136
|
return TextColumnControl;
|
|
151
137
|
}(DesignerColumnControl);
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
138
|
+
TextColumnControl.controlType = 'text-column';
|
|
139
|
+
TextColumnControl.controlName = '长文本';
|
|
140
|
+
TextColumnControl.controlIcon = 'text-column';
|
|
141
|
+
TextColumnControl.controlFieldType = FieldTypes.TEXT;
|
|
142
|
+
TextColumnControl.setting = [
|
|
157
143
|
{
|
|
158
|
-
key:
|
|
144
|
+
key: 'column-data-bind',
|
|
159
145
|
visible: true
|
|
160
146
|
},
|
|
161
147
|
{
|
|
162
|
-
key:
|
|
148
|
+
key: 'caption',
|
|
163
149
|
showItems: [
|
|
164
150
|
COMMON_SETTING_TYPE.CAPTION
|
|
165
151
|
],
|
|
166
152
|
visible: true
|
|
167
153
|
},
|
|
168
154
|
{
|
|
169
|
-
key:
|
|
155
|
+
key: 'column-autowidth',
|
|
170
156
|
visible: true
|
|
171
157
|
},
|
|
172
158
|
{
|
|
173
|
-
key:
|
|
159
|
+
key: 'column-autoHeight',
|
|
174
160
|
visible: true
|
|
175
161
|
},
|
|
176
162
|
{
|
|
177
|
-
key:
|
|
163
|
+
key: 'column-fixed',
|
|
178
164
|
visible: true
|
|
179
165
|
},
|
|
180
166
|
{
|
|
181
|
-
key:
|
|
167
|
+
key: 'column-escape-html',
|
|
182
168
|
visible: true
|
|
183
169
|
},
|
|
184
170
|
{
|
|
185
|
-
key:
|
|
171
|
+
key: 'column-line-ellipsis',
|
|
186
172
|
visible: true
|
|
187
173
|
},
|
|
188
174
|
{
|
|
189
|
-
key:
|
|
175
|
+
key: 'column-sort',
|
|
190
176
|
visible: true
|
|
191
|
-
}
|
|
192
|
-
]
|
|
177
|
+
},
|
|
178
|
+
];
|
|
193
179
|
export default TextColumnControl;
|
|
194
180
|
export { TextColumnControl as DesignerTextColumnControl };
|