@byteluck-fe/model-driven-controls 2.3.14 → 2.3.20
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 +58 -44
- package/dist/esm/baseControls/BatchDeleteButton/index.js +6 -6
- package/dist/esm/baseControls/BatchDeleteButton/property.js +66 -44
- package/dist/esm/baseControls/BatchDeleteButton/runtime.js +43 -29
- package/dist/esm/baseControls/BatchPrintListButton/designer.js +58 -44
- package/dist/esm/baseControls/BatchPrintListButton/index.js +6 -6
- package/dist/esm/baseControls/BatchPrintListButton/property.js +64 -48
- package/dist/esm/baseControls/BatchPrintListButton/runtime.js +43 -29
- package/dist/esm/baseControls/BatchPrintRecordListButton/designer.js +56 -42
- 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 +43 -29
- package/dist/esm/baseControls/BatchSubmissionListButton/designer.js +59 -45
- package/dist/esm/baseControls/BatchSubmissionListButton/index.js +6 -6
- package/dist/esm/baseControls/BatchSubmissionListButton/property.js +77 -52
- package/dist/esm/baseControls/BatchSubmissionListButton/runtime.js +43 -29
- package/dist/esm/baseControls/Button/designer.js +58 -44
- package/dist/esm/baseControls/Button/index.js +6 -6
- package/dist/esm/baseControls/Button/property.js +63 -41
- package/dist/esm/baseControls/Button/runtime.js +43 -29
- package/dist/esm/baseControls/CreateFormListButton/designer.js +59 -45
- package/dist/esm/baseControls/CreateFormListButton/index.js +6 -6
- package/dist/esm/baseControls/CreateFormListButton/property.js +60 -45
- package/dist/esm/baseControls/CreateFormListButton/runtime.js +43 -29
- package/dist/esm/baseControls/Dashboard/designer.js +54 -40
- package/dist/esm/baseControls/Dashboard/index.js +6 -6
- package/dist/esm/baseControls/Dashboard/property.js +82 -63
- package/dist/esm/baseControls/Dashboard/runtime.js +43 -29
- package/dist/esm/baseControls/Divider/designer.js +51 -37
- package/dist/esm/baseControls/Divider/index.js +6 -6
- package/dist/esm/baseControls/Divider/property.js +46 -31
- package/dist/esm/baseControls/Divider/runtime.js +43 -29
- package/dist/esm/baseControls/ExportListButton/designer.js +58 -44
- package/dist/esm/baseControls/ExportListButton/index.js +6 -6
- package/dist/esm/baseControls/ExportListButton/property.js +56 -42
- package/dist/esm/baseControls/ExportListButton/runtime.js +43 -29
- package/dist/esm/baseControls/ExportRecordListButton/designer.js +56 -42
- 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 +43 -29
- package/dist/esm/baseControls/FormSelectButton/designer.js +60 -46
- package/dist/esm/baseControls/FormSelectButton/index.js +6 -6
- package/dist/esm/baseControls/FormSelectButton/property.js +65 -61
- package/dist/esm/baseControls/FormSelectButton/runtime.js +43 -29
- package/dist/esm/baseControls/ImportRecordListButton/designer.js +58 -44
- package/dist/esm/baseControls/ImportRecordListButton/index.js +6 -6
- package/dist/esm/baseControls/ImportRecordListButton/property.js +52 -35
- package/dist/esm/baseControls/ImportRecordListButton/runtime.js +43 -29
- package/dist/esm/baseControls/InvoiceCheckButton/designer.js +64 -50
- package/dist/esm/baseControls/InvoiceCheckButton/index.js +6 -6
- package/dist/esm/baseControls/InvoiceCheckButton/property.js +96 -76
- package/dist/esm/baseControls/InvoiceCheckButton/runtime.js +43 -29
- package/dist/esm/baseControls/Link/designer.js +56 -42
- package/dist/esm/baseControls/Link/index.js +6 -6
- package/dist/esm/baseControls/Link/property.js +47 -31
- package/dist/esm/baseControls/Link/runtime.js +43 -29
- package/dist/esm/baseControls/ListSelectButton/designer.js +61 -47
- package/dist/esm/baseControls/ListSelectButton/index.js +6 -6
- package/dist/esm/baseControls/ListSelectButton/property.js +71 -59
- package/dist/esm/baseControls/ListSelectButton/runtime.js +43 -29
- package/dist/esm/baseControls/ListViewSelect/designer.js +51 -37
- package/dist/esm/baseControls/ListViewSelect/index.js +6 -6
- package/dist/esm/baseControls/ListViewSelect/property.js +65 -50
- package/dist/esm/baseControls/ListViewSelect/runtime.js +43 -29
- package/dist/esm/baseControls/OperationButton/designer.js +58 -44
- package/dist/esm/baseControls/OperationButton/index.js +6 -6
- package/dist/esm/baseControls/OperationButton/property.js +73 -47
- package/dist/esm/baseControls/OperationButton/runtime.js +43 -29
- package/dist/esm/baseControls/Pagination/designer.js +46 -32
- package/dist/esm/baseControls/Pagination/index.js +6 -6
- package/dist/esm/baseControls/Pagination/property.js +48 -35
- package/dist/esm/baseControls/Pagination/runtime.js +43 -29
- package/dist/esm/baseControls/SubmissionRecordListButton/designer.js +56 -42
- 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 +43 -29
- package/dist/esm/baseControls/Text/designer.js +55 -41
- package/dist/esm/baseControls/Text/index.js +6 -6
- package/dist/esm/baseControls/Text/property.js +54 -35
- package/dist/esm/baseControls/Text/runtime.js +43 -29
- package/dist/esm/baseControls/TextOcrButton/designer.js +64 -50
- package/dist/esm/baseControls/TextOcrButton/index.js +6 -6
- package/dist/esm/baseControls/TextOcrButton/property.js +97 -77
- package/dist/esm/baseControls/TextOcrButton/runtime.js +43 -29
- package/dist/esm/baseControls/Title/designer.js +55 -41
- package/dist/esm/baseControls/Title/index.js +6 -6
- package/dist/esm/baseControls/Title/property.js +75 -58
- package/dist/esm/baseControls/Title/runtime.js +43 -29
- package/dist/esm/baseControls/index.js +22 -22
- package/dist/esm/baseControls/utils.js +9 -9
- package/dist/esm/columnControls/ArrayColumn/designer.js +54 -40
- package/dist/esm/columnControls/ArrayColumn/index.js +6 -6
- package/dist/esm/columnControls/ArrayColumn/property.js +68 -39
- package/dist/esm/columnControls/ArrayColumn/runtime.js +43 -29
- package/dist/esm/columnControls/AutoNumberColumn/designer.js +53 -39
- 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 +43 -29
- package/dist/esm/columnControls/CustomColumn/designer.js +84 -56
- package/dist/esm/columnControls/CustomColumn/index.js +6 -6
- package/dist/esm/columnControls/CustomColumn/property.js +45 -31
- package/dist/esm/columnControls/CustomColumn/runtime.js +44 -29
- package/dist/esm/columnControls/DecimalColumn/designer.js +67 -53
- package/dist/esm/columnControls/DecimalColumn/index.js +6 -6
- package/dist/esm/columnControls/DecimalColumn/property.js +81 -39
- package/dist/esm/columnControls/DecimalColumn/runtime.js +43 -29
- package/dist/esm/columnControls/DepartmentColumn/designer.js +62 -48
- package/dist/esm/columnControls/DepartmentColumn/index.js +6 -6
- package/dist/esm/columnControls/DepartmentColumn/property.js +49 -31
- package/dist/esm/columnControls/DepartmentColumn/runtime.js +43 -29
- package/dist/esm/columnControls/EmployeeColumn/designer.js +58 -44
- package/dist/esm/columnControls/EmployeeColumn/index.js +6 -6
- package/dist/esm/columnControls/EmployeeColumn/property.js +48 -31
- package/dist/esm/columnControls/EmployeeColumn/runtime.js +43 -29
- package/dist/esm/columnControls/FileColumn/designer.js +59 -45
- 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 +43 -29
- package/dist/esm/columnControls/ImageColumn/designer.js +53 -39
- 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 +43 -29
- package/dist/esm/columnControls/LocationColumn/designer.js +53 -39
- 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 +43 -29
- package/dist/esm/columnControls/OperationColumn/designer.js +197 -71
- package/dist/esm/columnControls/OperationColumn/index.js +6 -6
- package/dist/esm/columnControls/OperationColumn/property.js +67 -39
- package/dist/esm/columnControls/OperationColumn/runtime.js +45 -30
- package/dist/esm/columnControls/OrderColumn/designer.js +48 -34
- package/dist/esm/columnControls/OrderColumn/index.js +6 -6
- package/dist/esm/columnControls/OrderColumn/property.js +58 -45
- package/dist/esm/columnControls/OrderColumn/runtime.js +43 -29
- package/dist/esm/columnControls/PeopleColumn/designer.js +53 -39
- 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 +43 -29
- package/dist/esm/columnControls/TextColumn/designer.js +64 -50
- package/dist/esm/columnControls/TextColumn/index.js +6 -6
- package/dist/esm/columnControls/TextColumn/property.js +56 -33
- package/dist/esm/columnControls/TextColumn/runtime.js +43 -29
- package/dist/esm/columnControls/TimescopeColumn/designer.js +62 -48
- package/dist/esm/columnControls/TimescopeColumn/index.js +6 -6
- package/dist/esm/columnControls/TimescopeColumn/property.js +50 -32
- package/dist/esm/columnControls/TimescopeColumn/runtime.js +43 -29
- package/dist/esm/columnControls/TimestampColumn/designer.js +62 -48
- package/dist/esm/columnControls/TimestampColumn/index.js +6 -6
- package/dist/esm/columnControls/TimestampColumn/property.js +50 -32
- package/dist/esm/columnControls/TimestampColumn/runtime.js +43 -29
- package/dist/esm/columnControls/VarcharColumn/designer.js +56 -42
- package/dist/esm/columnControls/VarcharColumn/index.js +6 -6
- package/dist/esm/columnControls/VarcharColumn/property.js +70 -40
- package/dist/esm/columnControls/VarcharColumn/runtime.js +43 -29
- package/dist/esm/columnControls/index.js +16 -16
- package/dist/esm/formControls/Address/designer.js +60 -46
- package/dist/esm/formControls/Address/index.js +6 -6
- package/dist/esm/formControls/Address/property.js +80 -56
- package/dist/esm/formControls/Address/runtime.js +47 -33
- package/dist/esm/formControls/Amount/designer.js +78 -64
- package/dist/esm/formControls/Amount/index.js +6 -6
- package/dist/esm/formControls/Amount/property.js +152 -89
- package/dist/esm/formControls/Amount/runtime.js +45 -31
- package/dist/esm/formControls/Attachment/designer.js +67 -53
- package/dist/esm/formControls/Attachment/index.js +6 -6
- package/dist/esm/formControls/Attachment/property.js +82 -60
- package/dist/esm/formControls/Attachment/runtime.js +45 -31
- package/dist/esm/formControls/AutoNumber/designer.js +61 -47
- package/dist/esm/formControls/AutoNumber/index.js +6 -6
- package/dist/esm/formControls/AutoNumber/property.js +46 -32
- package/dist/esm/formControls/AutoNumber/runtime.js +45 -31
- package/dist/esm/formControls/Calc/designer.js +75 -61
- package/dist/esm/formControls/Calc/index.js +6 -6
- package/dist/esm/formControls/Calc/property.js +98 -59
- package/dist/esm/formControls/Calc/runtime.js +45 -31
- package/dist/esm/formControls/Checkbox/designer.js +67 -53
- package/dist/esm/formControls/Checkbox/index.js +6 -6
- package/dist/esm/formControls/Checkbox/property.js +119 -83
- package/dist/esm/formControls/Checkbox/runtime.js +45 -31
- package/dist/esm/formControls/DatePicker/designer.js +69 -55
- package/dist/esm/formControls/DatePicker/index.js +6 -6
- package/dist/esm/formControls/DatePicker/property.js +81 -52
- package/dist/esm/formControls/DatePicker/runtime.js +45 -31
- package/dist/esm/formControls/DateRange/designer.js +69 -55
- package/dist/esm/formControls/DateRange/index.js +6 -6
- package/dist/esm/formControls/DateRange/property.js +126 -60
- package/dist/esm/formControls/DateRange/runtime.js +45 -31
- package/dist/esm/formControls/Department/designer.js +71 -57
- package/dist/esm/formControls/Department/index.js +6 -6
- package/dist/esm/formControls/Department/property.js +98 -56
- package/dist/esm/formControls/Department/runtime.js +45 -31
- package/dist/esm/formControls/Department2/designer.js +74 -60
- package/dist/esm/formControls/Department2/index.js +6 -6
- package/dist/esm/formControls/Department2/property.js +135 -82
- package/dist/esm/formControls/Department2/runtime.js +45 -31
- package/dist/esm/formControls/ElectronicSignature/designer.js +65 -51
- package/dist/esm/formControls/ElectronicSignature/index.js +6 -6
- package/dist/esm/formControls/ElectronicSignature/property.js +87 -67
- package/dist/esm/formControls/ElectronicSignature/runtime.js +45 -31
- package/dist/esm/formControls/Employee/designer.js +63 -49
- package/dist/esm/formControls/Employee/index.js +6 -6
- package/dist/esm/formControls/Employee/property.js +80 -52
- package/dist/esm/formControls/Employee/runtime.js +45 -31
- package/dist/esm/formControls/Employee2/designer.js +66 -52
- package/dist/esm/formControls/Employee2/index.js +6 -6
- package/dist/esm/formControls/Employee2/property.js +117 -80
- package/dist/esm/formControls/Employee2/runtime.js +45 -31
- package/dist/esm/formControls/Image/designer.js +66 -53
- 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 +70 -56
- package/dist/esm/formControls/Input/index.js +6 -6
- package/dist/esm/formControls/Input/property.js +114 -72
- package/dist/esm/formControls/Input/runtime.js +45 -31
- package/dist/esm/formControls/Number/designer.js +82 -68
- package/dist/esm/formControls/Number/index.js +6 -6
- package/dist/esm/formControls/Number/property.js +157 -85
- package/dist/esm/formControls/Number/runtime.js +45 -31
- package/dist/esm/formControls/Radio/designer.js +66 -52
- package/dist/esm/formControls/Radio/index.js +6 -6
- package/dist/esm/formControls/Radio/property.js +94 -62
- package/dist/esm/formControls/Radio/runtime.js +45 -31
- package/dist/esm/formControls/RichText/designer.js +69 -55
- package/dist/esm/formControls/RichText/index.js +6 -6
- package/dist/esm/formControls/RichText/property.js +78 -62
- package/dist/esm/formControls/RichText/runtime.js +45 -31
- package/dist/esm/formControls/Score/designer.js +85 -71
- package/dist/esm/formControls/Score/index.js +6 -6
- package/dist/esm/formControls/Score/property.js +85 -67
- package/dist/esm/formControls/Score/runtime.js +45 -31
- package/dist/esm/formControls/SearchDateRange/designer.js +64 -50
- package/dist/esm/formControls/SearchDateRange/index.js +6 -6
- package/dist/esm/formControls/SearchDateRange/property.js +92 -63
- package/dist/esm/formControls/SearchDateRange/runtime.js +45 -31
- package/dist/esm/formControls/SearchInput/designer.js +55 -41
- 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 +45 -31
- package/dist/esm/formControls/SearchNumberRange/designer.js +61 -47
- package/dist/esm/formControls/SearchNumberRange/index.js +6 -6
- package/dist/esm/formControls/SearchNumberRange/property.js +68 -48
- package/dist/esm/formControls/SearchNumberRange/runtime.js +45 -31
- package/dist/esm/formControls/Select/designer.js +61 -47
- package/dist/esm/formControls/Select/index.js +6 -6
- package/dist/esm/formControls/Select/property.js +80 -56
- package/dist/esm/formControls/Select/runtime.js +45 -31
- package/dist/esm/formControls/SelectMultiple/designer.js +61 -47
- package/dist/esm/formControls/SelectMultiple/index.js +6 -6
- package/dist/esm/formControls/SelectMultiple/property.js +82 -60
- package/dist/esm/formControls/SelectMultiple/runtime.js +45 -31
- package/dist/esm/formControls/SelectRelation/designer.js +67 -53
- package/dist/esm/formControls/SelectRelation/index.js +6 -6
- package/dist/esm/formControls/SelectRelation/property.js +114 -60
- package/dist/esm/formControls/SelectRelation/runtime.js +45 -31
- package/dist/esm/formControls/Textarea/designer.js +70 -56
- package/dist/esm/formControls/Textarea/index.js +6 -6
- package/dist/esm/formControls/Textarea/property.js +98 -65
- package/dist/esm/formControls/Textarea/runtime.js +45 -31
- package/dist/esm/formControls/Tree/designer.js +71 -57
- package/dist/esm/formControls/Tree/index.js +6 -6
- package/dist/esm/formControls/Tree/property.js +110 -84
- package/dist/esm/formControls/Tree/runtime.js +45 -31
- package/dist/esm/formControls/VueFormItem/designer.js +60 -46
- package/dist/esm/formControls/VueFormItem/index.js +6 -6
- package/dist/esm/formControls/VueFormItem/property.js +65 -48
- package/dist/esm/formControls/VueFormItem/runtime.js +45 -31
- package/dist/esm/formControls/WPS/designer.js +74 -60
- package/dist/esm/formControls/WPS/index.js +6 -6
- package/dist/esm/formControls/WPS/property.js +103 -77
- package/dist/esm/formControls/WPS/runtime.js +45 -31
- package/dist/esm/formControls/index.js +29 -29
- package/dist/esm/framework.js +200 -120
- 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 +42 -27
- package/dist/esm/layoutControls/AdvancedContainer/runtime.js +28 -28
- package/dist/esm/layoutControls/CardGroup/designer.js +55 -41
- package/dist/esm/layoutControls/CardGroup/index.js +6 -6
- package/dist/esm/layoutControls/CardGroup/property.js +59 -39
- package/dist/esm/layoutControls/CardGroup/runtime.js +43 -29
- package/dist/esm/layoutControls/Col/designer.js +50 -36
- package/dist/esm/layoutControls/Col/index.js +6 -6
- package/dist/esm/layoutControls/Col/property.js +44 -29
- package/dist/esm/layoutControls/Col/runtime.js +43 -29
- package/dist/esm/layoutControls/DataView/designer.js +45 -31
- package/dist/esm/layoutControls/DataView/index.js +6 -6
- package/dist/esm/layoutControls/DataView/property.js +81 -52
- package/dist/esm/layoutControls/DataView/runtime.js +43 -29
- package/dist/esm/layoutControls/Grid/designer.js +46 -33
- 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 +48 -35
- 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 +54 -40
- package/dist/esm/layoutControls/GridTableColumn/index.js +6 -6
- package/dist/esm/layoutControls/GridTableColumn/property.js +73 -47
- package/dist/esm/layoutControls/GridTableColumn/runtime.js +41 -27
- package/dist/esm/layoutControls/ListView/designer.js +64 -50
- package/dist/esm/layoutControls/ListView/index.js +6 -6
- package/dist/esm/layoutControls/ListView/property.js +134 -68
- package/dist/esm/layoutControls/ListView/runtime.js +43 -29
- 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 +45 -31
- 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 +50 -33
- 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 +52 -38
- package/dist/esm/layoutControls/Row/index.js +6 -6
- package/dist/esm/layoutControls/Row/property.js +44 -29
- package/dist/esm/layoutControls/Row/runtime.js +43 -29
- package/dist/esm/layoutControls/SubTableColumn/designer.js +54 -40
- package/dist/esm/layoutControls/SubTableColumn/index.js +6 -6
- package/dist/esm/layoutControls/SubTableColumn/property.js +85 -53
- package/dist/esm/layoutControls/SubTableColumn/runtime.js +41 -27
- package/dist/esm/layoutControls/SubTableRow/designer.js +52 -38
- 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 +43 -29
- package/dist/esm/layoutControls/Tab/designer.js +58 -44
- 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 +43 -29
- package/dist/esm/layoutControls/TabPane/designer.js +55 -41
- package/dist/esm/layoutControls/TabPane/index.js +6 -6
- package/dist/esm/layoutControls/TabPane/property.js +52 -38
- package/dist/esm/layoutControls/TabPane/runtime.js +43 -29
- package/dist/esm/layoutControls/Toolbox/designer.js +51 -37
- 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 +199 -68
- package/dist/esm/listControls/GridTable/index.js +6 -6
- package/dist/esm/listControls/GridTable/property.js +78 -41
- package/dist/esm/listControls/GridTable/runtime.js +46 -32
- package/dist/esm/listControls/SubTable/designer.js +82 -68
- package/dist/esm/listControls/SubTable/index.js +6 -6
- package/dist/esm/listControls/SubTable/property.js +236 -116
- package/dist/esm/listControls/SubTable/runtime.js +46 -32
- package/dist/esm/listControls/index.js +2 -2
- package/dist/esm/searchControls/SimpleSearch/designer.js +48 -34
- package/dist/esm/searchControls/SimpleSearch/index.js +6 -6
- package/dist/esm/searchControls/SimpleSearch/property.js +90 -48
- package/dist/esm/searchControls/SimpleSearch/runtime.js +44 -29
- package/dist/esm/searchControls/index.js +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/types/columnControls/TextColumn/property.d.ts +1 -1
- package/package.json +5 -5
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _assert_this_initialized(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 _class_call_check(instance, Constructor) {
|
|
8
8
|
if (!(instance instanceof Constructor)) {
|
|
9
9
|
throw new TypeError("Cannot call a class as a function");
|
|
10
10
|
}
|
|
@@ -18,32 +18,45 @@ function _defineProperties(target, props) {
|
|
|
18
18
|
Object.defineProperty(target, descriptor.key, descriptor);
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function _create_class(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
|
+
}
|
|
26
39
|
function _get(target, property, receiver) {
|
|
27
40
|
if (typeof Reflect !== "undefined" && Reflect.get) {
|
|
28
41
|
_get = Reflect.get;
|
|
29
42
|
} else {
|
|
30
|
-
_get = function
|
|
31
|
-
var base =
|
|
43
|
+
_get = function get(target, property, receiver) {
|
|
44
|
+
var base = _super_prop_base(target, property);
|
|
32
45
|
if (!base) return;
|
|
33
46
|
var desc = Object.getOwnPropertyDescriptor(base, property);
|
|
34
47
|
if (desc.get) {
|
|
35
|
-
return desc.get.call(receiver);
|
|
48
|
+
return desc.get.call(receiver || target);
|
|
36
49
|
}
|
|
37
50
|
return desc.value;
|
|
38
51
|
};
|
|
39
52
|
}
|
|
40
53
|
return _get(target, property, receiver || target);
|
|
41
54
|
}
|
|
42
|
-
function
|
|
43
|
-
|
|
55
|
+
function _get_prototype_of(o) {
|
|
56
|
+
_get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
|
|
44
57
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
45
58
|
};
|
|
46
|
-
return
|
|
59
|
+
return _get_prototype_of(o);
|
|
47
60
|
}
|
|
48
61
|
function _inherits(subClass, superClass) {
|
|
49
62
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -56,33 +69,33 @@ function _inherits(subClass, superClass) {
|
|
|
56
69
|
configurable: true
|
|
57
70
|
}
|
|
58
71
|
});
|
|
59
|
-
if (superClass)
|
|
72
|
+
if (superClass) _set_prototype_of(subClass, superClass);
|
|
60
73
|
}
|
|
61
|
-
function
|
|
62
|
-
if (call && (
|
|
74
|
+
function _possible_constructor_return(self, call) {
|
|
75
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) {
|
|
63
76
|
return call;
|
|
64
77
|
}
|
|
65
|
-
return
|
|
78
|
+
return _assert_this_initialized(self);
|
|
66
79
|
}
|
|
67
|
-
function
|
|
68
|
-
|
|
80
|
+
function _set_prototype_of(o, p) {
|
|
81
|
+
_set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
|
|
69
82
|
o.__proto__ = p;
|
|
70
83
|
return o;
|
|
71
84
|
};
|
|
72
|
-
return
|
|
85
|
+
return _set_prototype_of(o, p);
|
|
73
86
|
}
|
|
74
|
-
function
|
|
87
|
+
function _super_prop_base(object, property) {
|
|
75
88
|
while(!Object.prototype.hasOwnProperty.call(object, property)){
|
|
76
|
-
object =
|
|
89
|
+
object = _get_prototype_of(object);
|
|
77
90
|
if (object === null) break;
|
|
78
91
|
}
|
|
79
92
|
return object;
|
|
80
93
|
}
|
|
81
|
-
|
|
94
|
+
function _type_of(obj) {
|
|
82
95
|
"@swc/helpers - typeof";
|
|
83
96
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
84
|
-
}
|
|
85
|
-
function
|
|
97
|
+
}
|
|
98
|
+
function _is_native_reflect_construct() {
|
|
86
99
|
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
87
100
|
if (Reflect.construct.sham) return false;
|
|
88
101
|
if (typeof Proxy === "function") return true;
|
|
@@ -93,38 +106,39 @@ function _isNativeReflectConstruct() {
|
|
|
93
106
|
return false;
|
|
94
107
|
}
|
|
95
108
|
}
|
|
96
|
-
function
|
|
97
|
-
var hasNativeReflectConstruct =
|
|
109
|
+
function _create_super(Derived) {
|
|
110
|
+
var hasNativeReflectConstruct = _is_native_reflect_construct();
|
|
98
111
|
return function _createSuperInternal() {
|
|
99
|
-
var Super =
|
|
112
|
+
var Super = _get_prototype_of(Derived), result;
|
|
100
113
|
if (hasNativeReflectConstruct) {
|
|
101
|
-
var NewTarget =
|
|
114
|
+
var NewTarget = _get_prototype_of(this).constructor;
|
|
102
115
|
result = Reflect.construct(Super, arguments, NewTarget);
|
|
103
116
|
} else {
|
|
104
117
|
result = Super.apply(this, arguments);
|
|
105
118
|
}
|
|
106
|
-
return
|
|
119
|
+
return _possible_constructor_return(this, result);
|
|
107
120
|
};
|
|
108
121
|
}
|
|
109
|
-
import { DesignerFormControl, COMMON_SETTING_TYPE } from
|
|
110
|
-
import { FieldTypes } from
|
|
111
|
-
import DatePickerProperty from
|
|
112
|
-
var DatePickerControl = /*#__PURE__*/ function(
|
|
122
|
+
import { DesignerFormControl, COMMON_SETTING_TYPE } from "@byteluck-fe/model-driven-core";
|
|
123
|
+
import { FieldTypes } from "@byteluck-fe/model-driven-shared";
|
|
124
|
+
import DatePickerProperty from "./property";
|
|
125
|
+
var DatePickerControl = /*#__PURE__*/ function(DesignerFormControl) {
|
|
113
126
|
"use strict";
|
|
114
|
-
_inherits(DatePickerControl,
|
|
115
|
-
var _super =
|
|
127
|
+
_inherits(DatePickerControl, DesignerFormControl);
|
|
128
|
+
var _super = _create_super(DatePickerControl);
|
|
116
129
|
function DatePickerControl(props) {
|
|
117
|
-
|
|
130
|
+
_class_call_check(this, DatePickerControl);
|
|
118
131
|
var _this;
|
|
119
132
|
_this = _super.call(this, props);
|
|
133
|
+
_define_property(_assert_this_initialized(_this), "props", void 0);
|
|
120
134
|
_this.props = new DatePickerProperty(props === null || props === void 0 ? void 0 : props.props);
|
|
121
135
|
return _this;
|
|
122
136
|
}
|
|
123
|
-
|
|
137
|
+
_create_class(DatePickerControl, [
|
|
124
138
|
{
|
|
125
139
|
key: "toDataBindModel",
|
|
126
140
|
value: function toDataBindModel(parentId) {
|
|
127
|
-
var dataBindModel = _get(
|
|
141
|
+
var dataBindModel = _get(_get_prototype_of(DatePickerControl.prototype), "toDataBindModel", this).call(this, parentId);
|
|
128
142
|
if (dataBindModel && !Array.isArray(dataBindModel)) {
|
|
129
143
|
var dateType = this.props.dateType;
|
|
130
144
|
dataBindModel.props.dateType = dateType;
|
|
@@ -136,82 +150,82 @@ var DatePickerControl = /*#__PURE__*/ function(DesignerFormControl1) {
|
|
|
136
150
|
{
|
|
137
151
|
key: "controlName",
|
|
138
152
|
get: function get() {
|
|
139
|
-
return
|
|
153
|
+
return "日期";
|
|
140
154
|
}
|
|
141
155
|
},
|
|
142
156
|
{
|
|
143
157
|
key: "controlIcon",
|
|
144
158
|
get: function get() {
|
|
145
|
-
return
|
|
159
|
+
return "iconriqi1";
|
|
146
160
|
}
|
|
147
161
|
},
|
|
148
162
|
{
|
|
149
163
|
key: "controlType",
|
|
150
164
|
get: function get() {
|
|
151
|
-
return
|
|
165
|
+
return "date-picker";
|
|
152
166
|
}
|
|
153
167
|
}
|
|
154
168
|
]);
|
|
155
169
|
return DatePickerControl;
|
|
156
170
|
}(DesignerFormControl);
|
|
157
|
-
DatePickerControl
|
|
158
|
-
DatePickerControl
|
|
171
|
+
_define_property(DatePickerControl, "controlFieldType", FieldTypes.TIMESTAMP);
|
|
172
|
+
_define_property(DatePickerControl, "setting", [
|
|
159
173
|
{
|
|
160
|
-
key:
|
|
174
|
+
key: "data-bind",
|
|
161
175
|
visible: true
|
|
162
176
|
},
|
|
163
177
|
{
|
|
164
|
-
key:
|
|
178
|
+
key: "field-type",
|
|
165
179
|
visible: true
|
|
166
180
|
},
|
|
167
181
|
{
|
|
168
|
-
key:
|
|
182
|
+
key: "caption",
|
|
169
183
|
showItems: [
|
|
170
184
|
COMMON_SETTING_TYPE.CAPTION,
|
|
171
|
-
COMMON_SETTING_TYPE.IS_HIDE_CAPTION
|
|
185
|
+
COMMON_SETTING_TYPE.IS_HIDE_CAPTION
|
|
172
186
|
],
|
|
173
187
|
visible: true
|
|
174
188
|
},
|
|
175
189
|
{
|
|
176
|
-
key:
|
|
190
|
+
key: "label-position",
|
|
177
191
|
visible: true
|
|
178
192
|
},
|
|
179
193
|
{
|
|
180
|
-
key:
|
|
194
|
+
key: "default-state",
|
|
181
195
|
visible: true
|
|
182
196
|
},
|
|
183
197
|
{
|
|
184
|
-
key:
|
|
198
|
+
key: "placeholder",
|
|
185
199
|
visible: true
|
|
186
200
|
},
|
|
187
201
|
{
|
|
188
|
-
key:
|
|
202
|
+
key: "date-type",
|
|
189
203
|
visible: true
|
|
190
204
|
},
|
|
191
205
|
// { key: 'date-common-time-setting', visible: true },
|
|
192
206
|
{
|
|
193
|
-
key:
|
|
207
|
+
key: "common-setting",
|
|
194
208
|
visible: true,
|
|
195
209
|
showItems: [
|
|
196
210
|
COMMON_SETTING_TYPE.REQUIRED,
|
|
197
211
|
COMMON_SETTING_TYPE.IS_HIDE,
|
|
198
212
|
// COMMON_SETTING_TYPE.MULTIPLE,
|
|
199
213
|
COMMON_SETTING_TYPE.IS_HIDE_CAPTION,
|
|
200
|
-
COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP
|
|
214
|
+
COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP
|
|
201
215
|
]
|
|
202
216
|
},
|
|
203
217
|
{
|
|
204
|
-
key:
|
|
218
|
+
key: "date-limit-range",
|
|
205
219
|
visible: true
|
|
206
220
|
},
|
|
207
221
|
{
|
|
208
|
-
key:
|
|
222
|
+
key: "default-value",
|
|
209
223
|
visible: true
|
|
210
224
|
},
|
|
211
225
|
{
|
|
212
|
-
key:
|
|
226
|
+
key: "super-setting",
|
|
213
227
|
visible: true
|
|
214
|
-
}
|
|
215
|
-
];
|
|
228
|
+
}
|
|
229
|
+
]);
|
|
216
230
|
export default DatePickerControl;
|
|
217
231
|
export { DatePickerControl as DesignerDatePickerControl };
|
|
@@ -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,32 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _assert_this_initialized(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 _class_call_check(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 _define_property(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
|
+
function _get_prototype_of(o) {
|
|
26
|
+
_get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
|
|
14
27
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
15
28
|
};
|
|
16
|
-
return
|
|
29
|
+
return _get_prototype_of(o);
|
|
17
30
|
}
|
|
18
31
|
function _inherits(subClass, superClass) {
|
|
19
32
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -26,26 +39,26 @@ function _inherits(subClass, superClass) {
|
|
|
26
39
|
configurable: true
|
|
27
40
|
}
|
|
28
41
|
});
|
|
29
|
-
if (superClass)
|
|
42
|
+
if (superClass) _set_prototype_of(subClass, superClass);
|
|
30
43
|
}
|
|
31
|
-
function
|
|
32
|
-
if (call && (
|
|
44
|
+
function _possible_constructor_return(self, call) {
|
|
45
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) {
|
|
33
46
|
return call;
|
|
34
47
|
}
|
|
35
|
-
return
|
|
48
|
+
return _assert_this_initialized(self);
|
|
36
49
|
}
|
|
37
|
-
function
|
|
38
|
-
|
|
50
|
+
function _set_prototype_of(o, p) {
|
|
51
|
+
_set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
|
|
39
52
|
o.__proto__ = p;
|
|
40
53
|
return o;
|
|
41
54
|
};
|
|
42
|
-
return
|
|
55
|
+
return _set_prototype_of(o, p);
|
|
43
56
|
}
|
|
44
|
-
|
|
57
|
+
function _type_of(obj) {
|
|
45
58
|
"@swc/helpers - typeof";
|
|
46
59
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
47
|
-
}
|
|
48
|
-
function
|
|
60
|
+
}
|
|
61
|
+
function _is_native_reflect_construct() {
|
|
49
62
|
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
50
63
|
if (Reflect.construct.sham) return false;
|
|
51
64
|
if (typeof Proxy === "function") return true;
|
|
@@ -56,58 +69,74 @@ function _isNativeReflectConstruct() {
|
|
|
56
69
|
return false;
|
|
57
70
|
}
|
|
58
71
|
}
|
|
59
|
-
function
|
|
60
|
-
var hasNativeReflectConstruct =
|
|
72
|
+
function _create_super(Derived) {
|
|
73
|
+
var hasNativeReflectConstruct = _is_native_reflect_construct();
|
|
61
74
|
return function _createSuperInternal() {
|
|
62
|
-
var Super =
|
|
75
|
+
var Super = _get_prototype_of(Derived), result;
|
|
63
76
|
if (hasNativeReflectConstruct) {
|
|
64
|
-
var NewTarget =
|
|
77
|
+
var NewTarget = _get_prototype_of(this).constructor;
|
|
65
78
|
result = Reflect.construct(Super, arguments, NewTarget);
|
|
66
79
|
} else {
|
|
67
80
|
result = Super.apply(this, arguments);
|
|
68
81
|
}
|
|
69
|
-
return
|
|
82
|
+
return _possible_constructor_return(this, result);
|
|
70
83
|
};
|
|
71
84
|
}
|
|
72
|
-
import DatePickerControl from
|
|
73
|
-
import { BaseControlProperty } from
|
|
74
|
-
import { DateType } from
|
|
75
|
-
import { LimitDate } from
|
|
76
|
-
var DatePickerProperty = /*#__PURE__*/ function(
|
|
85
|
+
import DatePickerControl from "./designer";
|
|
86
|
+
import { BaseControlProperty } from "@byteluck-fe/model-driven-core";
|
|
87
|
+
import { DateType } from "@byteluck-fe/model-driven-shared";
|
|
88
|
+
import { LimitDate } from "../../framework";
|
|
89
|
+
var DatePickerProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
77
90
|
"use strict";
|
|
78
|
-
_inherits(DatePickerProperty,
|
|
79
|
-
var _super =
|
|
91
|
+
_inherits(DatePickerProperty, BaseControlProperty);
|
|
92
|
+
var _super = _create_super(DatePickerProperty);
|
|
80
93
|
function DatePickerProperty(props) {
|
|
81
|
-
|
|
94
|
+
_class_call_check(this, DatePickerProperty);
|
|
82
95
|
var _this;
|
|
83
|
-
var
|
|
96
|
+
var _props_limitDateList;
|
|
84
97
|
_this = _super.call(this, props);
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
_this
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
98
|
+
_define_property(_assert_this_initialized(_this), "dateType", void 0 // 日期格式 date,datetime
|
|
99
|
+
);
|
|
100
|
+
_define_property(_assert_this_initialized(_this), "dateFormat", void 0 //日期格式化字符串
|
|
101
|
+
);
|
|
102
|
+
_define_property(_assert_this_initialized(_this), "commonTimeSetting", void 0 //常用时间配置
|
|
103
|
+
);
|
|
104
|
+
_define_property(_assert_this_initialized(_this), "setValueType", void 0 // 日期默认值设置方式custom,now
|
|
105
|
+
);
|
|
106
|
+
_define_property(_assert_this_initialized(_this), "defaultValue", void 0);
|
|
107
|
+
_define_property(_assert_this_initialized(_this), "limitDateList", void 0);
|
|
108
|
+
// 时间限制范围
|
|
109
|
+
// public multiple: boolean // 允许选中多个日期
|
|
110
|
+
_define_property(_assert_this_initialized(_this), "allowDateRange", void 0 // 允许选中多个日期范围
|
|
111
|
+
);
|
|
112
|
+
_define_property(_assert_this_initialized(_this), "filterWeekend", void 0 // 是否过滤周末
|
|
113
|
+
);
|
|
114
|
+
var _props_dateType;
|
|
115
|
+
_this.dateType = (_props_dateType = props === null || props === void 0 ? void 0 : props.dateType) !== null && _props_dateType !== void 0 ? _props_dateType : DateType.DATE;
|
|
116
|
+
var _props_dateFormat;
|
|
117
|
+
_this.dateFormat = (_props_dateFormat = props === null || props === void 0 ? void 0 : props.dateFormat) !== null && _props_dateFormat !== void 0 ? _props_dateFormat : "";
|
|
118
|
+
var _props_commonTimeSetting;
|
|
119
|
+
_this.commonTimeSetting = (_props_commonTimeSetting = props === null || props === void 0 ? void 0 : props.commonTimeSetting) !== null && _props_commonTimeSetting !== void 0 ? _props_commonTimeSetting : [];
|
|
120
|
+
var _props_setValueType;
|
|
121
|
+
_this.setValueType = (_props_setValueType = props === null || props === void 0 ? void 0 : props.setValueType) !== null && _props_setValueType !== void 0 ? _props_setValueType : "custom";
|
|
122
|
+
var _props_caption;
|
|
123
|
+
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DatePickerControl.controlName;
|
|
124
|
+
var _props_placeholder;
|
|
125
|
+
_this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "请输入日期";
|
|
126
|
+
var _props_defaultValue;
|
|
127
|
+
_this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : "";
|
|
128
|
+
var _props_limitDateList_map;
|
|
129
|
+
_this.limitDateList = (_props_limitDateList_map = props === null || props === void 0 ? void 0 : (_props_limitDateList = props.limitDateList) === null || _props_limitDateList === void 0 ? void 0 : _props_limitDateList.map(function(item) {
|
|
101
130
|
return new LimitDate(item);
|
|
102
|
-
})) !== null &&
|
|
103
|
-
var
|
|
131
|
+
})) !== null && _props_limitDateList_map !== void 0 ? _props_limitDateList_map : [];
|
|
132
|
+
var _props_allowDateRange;
|
|
104
133
|
// this.multiple = props?.multiple ?? false
|
|
105
|
-
_this.allowDateRange = (
|
|
106
|
-
|
|
107
|
-
|
|
134
|
+
_this.allowDateRange = (_props_allowDateRange = props === null || props === void 0 ? void 0 : props.allowDateRange) !== null && _props_allowDateRange !== void 0 ? _props_allowDateRange : [
|
|
135
|
+
"",
|
|
136
|
+
""
|
|
108
137
|
];
|
|
109
|
-
var
|
|
110
|
-
_this.filterWeekend = (
|
|
138
|
+
var _props_filterWeekend;
|
|
139
|
+
_this.filterWeekend = (_props_filterWeekend = props === null || props === void 0 ? void 0 : props.filterWeekend) !== null && _props_filterWeekend !== void 0 ? _props_filterWeekend : false;
|
|
111
140
|
return _this;
|
|
112
141
|
}
|
|
113
142
|
return DatePickerProperty;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _assert_this_initialized(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 _class_call_check(instance, Constructor) {
|
|
8
8
|
if (!(instance instanceof Constructor)) {
|
|
9
9
|
throw new TypeError("Cannot call a class as a function");
|
|
10
10
|
}
|
|
@@ -18,16 +18,29 @@ function _defineProperties(target, props) {
|
|
|
18
18
|
Object.defineProperty(target, descriptor.key, descriptor);
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function _create_class(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
|
|
27
|
-
|
|
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
|
+
function _get_prototype_of(o) {
|
|
40
|
+
_get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
|
|
28
41
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
29
42
|
};
|
|
30
|
-
return
|
|
43
|
+
return _get_prototype_of(o);
|
|
31
44
|
}
|
|
32
45
|
function _inherits(subClass, superClass) {
|
|
33
46
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -40,26 +53,26 @@ function _inherits(subClass, superClass) {
|
|
|
40
53
|
configurable: true
|
|
41
54
|
}
|
|
42
55
|
});
|
|
43
|
-
if (superClass)
|
|
56
|
+
if (superClass) _set_prototype_of(subClass, superClass);
|
|
44
57
|
}
|
|
45
|
-
function
|
|
46
|
-
if (call && (
|
|
58
|
+
function _possible_constructor_return(self, call) {
|
|
59
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) {
|
|
47
60
|
return call;
|
|
48
61
|
}
|
|
49
|
-
return
|
|
62
|
+
return _assert_this_initialized(self);
|
|
50
63
|
}
|
|
51
|
-
function
|
|
52
|
-
|
|
64
|
+
function _set_prototype_of(o, p) {
|
|
65
|
+
_set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
|
|
53
66
|
o.__proto__ = p;
|
|
54
67
|
return o;
|
|
55
68
|
};
|
|
56
|
-
return
|
|
69
|
+
return _set_prototype_of(o, p);
|
|
57
70
|
}
|
|
58
|
-
|
|
71
|
+
function _type_of(obj) {
|
|
59
72
|
"@swc/helpers - typeof";
|
|
60
73
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
61
|
-
}
|
|
62
|
-
function
|
|
74
|
+
}
|
|
75
|
+
function _is_native_reflect_construct() {
|
|
63
76
|
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
64
77
|
if (Reflect.construct.sham) return false;
|
|
65
78
|
if (typeof Proxy === "function") return true;
|
|
@@ -70,43 +83,44 @@ function _isNativeReflectConstruct() {
|
|
|
70
83
|
return false;
|
|
71
84
|
}
|
|
72
85
|
}
|
|
73
|
-
function
|
|
74
|
-
var hasNativeReflectConstruct =
|
|
86
|
+
function _create_super(Derived) {
|
|
87
|
+
var hasNativeReflectConstruct = _is_native_reflect_construct();
|
|
75
88
|
return function _createSuperInternal() {
|
|
76
|
-
var Super =
|
|
89
|
+
var Super = _get_prototype_of(Derived), result;
|
|
77
90
|
if (hasNativeReflectConstruct) {
|
|
78
|
-
var NewTarget =
|
|
91
|
+
var NewTarget = _get_prototype_of(this).constructor;
|
|
79
92
|
result = Reflect.construct(Super, arguments, NewTarget);
|
|
80
93
|
} else {
|
|
81
94
|
result = Super.apply(this, arguments);
|
|
82
95
|
}
|
|
83
|
-
return
|
|
96
|
+
return _possible_constructor_return(this, result);
|
|
84
97
|
};
|
|
85
98
|
}
|
|
86
|
-
import { RuntimeFormControl } from
|
|
87
|
-
import { FieldTypes } from
|
|
88
|
-
import DatePickerProperty from
|
|
89
|
-
var DatePickerControl = /*#__PURE__*/ function(
|
|
99
|
+
import { RuntimeFormControl } from "@byteluck-fe/model-driven-core";
|
|
100
|
+
import { FieldTypes } from "@byteluck-fe/model-driven-shared";
|
|
101
|
+
import DatePickerProperty from "./property";
|
|
102
|
+
var DatePickerControl = /*#__PURE__*/ function(RuntimeFormControl) {
|
|
90
103
|
"use strict";
|
|
91
|
-
_inherits(DatePickerControl,
|
|
92
|
-
var _super =
|
|
104
|
+
_inherits(DatePickerControl, RuntimeFormControl);
|
|
105
|
+
var _super = _create_super(DatePickerControl);
|
|
93
106
|
function DatePickerControl(props) {
|
|
94
|
-
|
|
107
|
+
_class_call_check(this, DatePickerControl);
|
|
95
108
|
var _this;
|
|
96
109
|
_this = _super.call(this, props);
|
|
110
|
+
_define_property(_assert_this_initialized(_this), "props", void 0);
|
|
97
111
|
_this.props = new DatePickerProperty(props === null || props === void 0 ? void 0 : props.props);
|
|
98
112
|
return _this;
|
|
99
113
|
}
|
|
100
|
-
|
|
114
|
+
_create_class(DatePickerControl, null, [
|
|
101
115
|
{
|
|
102
116
|
key: "controlType",
|
|
103
117
|
get: function get() {
|
|
104
|
-
return
|
|
118
|
+
return "date-picker";
|
|
105
119
|
}
|
|
106
120
|
}
|
|
107
121
|
]);
|
|
108
122
|
return DatePickerControl;
|
|
109
123
|
}(RuntimeFormControl);
|
|
110
|
-
DatePickerControl
|
|
124
|
+
_define_property(DatePickerControl, "controlFieldType", FieldTypes.TIMESTAMP);
|
|
111
125
|
export default DatePickerControl;
|
|
112
126
|
export { DatePickerControl as RuntimeDatePickerControl };
|