@byteluck-fe/model-driven-controls 2.7.0-alpha.8 → 2.7.0-beta
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/baseControls/BatchDeleteButton/designer.js +30 -29
- package/dist/esm/baseControls/BatchDeleteButton/property.js +41 -40
- package/dist/esm/baseControls/BatchDeleteButton/runtime.js +28 -27
- package/dist/esm/baseControls/BatchPrintListButton/designer.js +30 -29
- package/dist/esm/baseControls/BatchPrintListButton/property.js +34 -34
- package/dist/esm/baseControls/BatchPrintListButton/runtime.js +28 -27
- package/dist/esm/baseControls/BatchPrintRecordListButton/designer.js +30 -29
- package/dist/esm/baseControls/BatchPrintRecordListButton/property.js +25 -24
- package/dist/esm/baseControls/BatchPrintRecordListButton/runtime.js +28 -27
- package/dist/esm/baseControls/BatchSubmissionListButton/designer.js +30 -29
- package/dist/esm/baseControls/BatchSubmissionListButton/property.js +38 -37
- package/dist/esm/baseControls/BatchSubmissionListButton/runtime.js +28 -27
- package/dist/esm/baseControls/Button/designer.js +31 -31
- package/dist/esm/baseControls/Button/property.js +41 -43
- package/dist/esm/baseControls/Button/runtime.js +28 -27
- package/dist/esm/baseControls/CreateFormListButton/designer.js +30 -29
- package/dist/esm/baseControls/CreateFormListButton/property.js +34 -33
- package/dist/esm/baseControls/CreateFormListButton/runtime.js +28 -27
- package/dist/esm/baseControls/Dashboard/designer.js +29 -28
- package/dist/esm/baseControls/Dashboard/property.js +44 -43
- package/dist/esm/baseControls/Dashboard/runtime.js +28 -27
- package/dist/esm/baseControls/Divider/designer.js +29 -28
- package/dist/esm/baseControls/Divider/property.js +28 -27
- package/dist/esm/baseControls/Divider/runtime.js +28 -27
- package/dist/esm/baseControls/ExportListButton/designer.js +30 -29
- package/dist/esm/baseControls/ExportListButton/property.js +28 -31
- package/dist/esm/baseControls/ExportListButton/runtime.js +28 -27
- package/dist/esm/baseControls/ExportRecordListButton/designer.js +30 -29
- package/dist/esm/baseControls/ExportRecordListButton/property.js +25 -24
- package/dist/esm/baseControls/ExportRecordListButton/runtime.js +28 -27
- package/dist/esm/baseControls/FormSelectButton/designer.js +30 -29
- package/dist/esm/baseControls/FormSelectButton/property.js +44 -43
- package/dist/esm/baseControls/FormSelectButton/runtime.js +28 -27
- package/dist/esm/baseControls/ImportRecordListButton/designer.js +31 -31
- package/dist/esm/baseControls/ImportRecordListButton/property.js +30 -33
- package/dist/esm/baseControls/ImportRecordListButton/runtime.js +28 -27
- package/dist/esm/baseControls/InvoiceCheckButton/designer.js +30 -29
- package/dist/esm/baseControls/InvoiceCheckButton/property.js +49 -49
- package/dist/esm/baseControls/InvoiceCheckButton/runtime.js +28 -27
- package/dist/esm/baseControls/Link/designer.js +30 -29
- package/dist/esm/baseControls/Link/property.js +30 -29
- package/dist/esm/baseControls/Link/runtime.js +28 -27
- package/dist/esm/baseControls/ListSelectButton/designer.js +30 -29
- package/dist/esm/baseControls/ListSelectButton/property.js +46 -45
- package/dist/esm/baseControls/ListSelectButton/runtime.js +28 -27
- package/dist/esm/baseControls/ListViewSelect/designer.js +29 -28
- package/dist/esm/baseControls/ListViewSelect/property.js +33 -33
- package/dist/esm/baseControls/ListViewSelect/runtime.js +28 -27
- package/dist/esm/baseControls/OperationButton/designer.js +30 -29
- package/dist/esm/baseControls/OperationButton/property.js +54 -53
- package/dist/esm/baseControls/OperationButton/runtime.js +28 -27
- package/dist/esm/baseControls/Pagination/designer.js +29 -28
- package/dist/esm/baseControls/Pagination/property.js +29 -29
- package/dist/esm/baseControls/Pagination/runtime.js +28 -27
- package/dist/esm/baseControls/SubmissionRecordListButton/designer.js +30 -29
- package/dist/esm/baseControls/SubmissionRecordListButton/property.js +25 -24
- package/dist/esm/baseControls/SubmissionRecordListButton/runtime.js +28 -27
- package/dist/esm/baseControls/Text/designer.js +29 -28
- package/dist/esm/baseControls/Text/property.js +34 -33
- package/dist/esm/baseControls/Text/runtime.js +28 -27
- package/dist/esm/baseControls/TextOcrButton/designer.js +30 -29
- package/dist/esm/baseControls/TextOcrButton/property.js +49 -49
- package/dist/esm/baseControls/TextOcrButton/runtime.js +28 -27
- package/dist/esm/baseControls/Title/designer.js +30 -29
- package/dist/esm/baseControls/Title/property.js +38 -37
- package/dist/esm/baseControls/Title/runtime.js +28 -27
- package/dist/esm/columnControls/ArrayColumn/designer.js +31 -30
- package/dist/esm/columnControls/ArrayColumn/property.js +34 -33
- package/dist/esm/columnControls/ArrayColumn/runtime.js +28 -27
- package/dist/esm/columnControls/AutoNumberColumn/designer.js +31 -30
- package/dist/esm/columnControls/AutoNumberColumn/property.js +33 -32
- package/dist/esm/columnControls/AutoNumberColumn/runtime.js +28 -27
- package/dist/esm/columnControls/CustomColumn/designer.js +49 -48
- package/dist/esm/columnControls/CustomColumn/property.js +27 -26
- package/dist/esm/columnControls/CustomColumn/runtime.js +29 -28
- package/dist/esm/columnControls/DecimalColumn/designer.js +39 -38
- package/dist/esm/columnControls/DecimalColumn/property.js +45 -44
- package/dist/esm/columnControls/DecimalColumn/runtime.js +28 -27
- package/dist/esm/columnControls/DepartmentColumn/designer.js +39 -38
- package/dist/esm/columnControls/DepartmentColumn/property.js +27 -26
- package/dist/esm/columnControls/DepartmentColumn/runtime.js +28 -27
- package/dist/esm/columnControls/EmployeeColumn/designer.js +33 -32
- package/dist/esm/columnControls/EmployeeColumn/property.js +27 -26
- package/dist/esm/columnControls/EmployeeColumn/runtime.js +28 -27
- package/dist/esm/columnControls/FileColumn/designer.js +31 -30
- package/dist/esm/columnControls/FileColumn/property.js +24 -23
- package/dist/esm/columnControls/FileColumn/runtime.js +28 -27
- package/dist/esm/columnControls/ImageColumn/designer.js +31 -30
- package/dist/esm/columnControls/ImageColumn/property.js +24 -23
- package/dist/esm/columnControls/ImageColumn/runtime.js +28 -27
- package/dist/esm/columnControls/LocationColumn/designer.js +31 -30
- package/dist/esm/columnControls/LocationColumn/property.js +33 -32
- package/dist/esm/columnControls/LocationColumn/runtime.js +28 -27
- package/dist/esm/columnControls/OperationColumn/designer.js +51 -50
- package/dist/esm/columnControls/OperationColumn/property.js +31 -31
- package/dist/esm/columnControls/OperationColumn/runtime.js +30 -29
- package/dist/esm/columnControls/OrderColumn/designer.js +30 -29
- package/dist/esm/columnControls/OrderColumn/property.js +33 -33
- package/dist/esm/columnControls/OrderColumn/runtime.js +28 -27
- package/dist/esm/columnControls/PeopleColumn/designer.js +31 -30
- package/dist/esm/columnControls/PeopleColumn/property.js +24 -23
- package/dist/esm/columnControls/PeopleColumn/runtime.js +28 -27
- package/dist/esm/columnControls/TextColumn/designer.js +39 -38
- package/dist/esm/columnControls/TextColumn/property.js +37 -36
- package/dist/esm/columnControls/TextColumn/runtime.js +28 -27
- package/dist/esm/columnControls/TimescopeColumn/designer.js +39 -38
- package/dist/esm/columnControls/TimescopeColumn/property.js +35 -34
- package/dist/esm/columnControls/TimescopeColumn/runtime.js +28 -27
- package/dist/esm/columnControls/TimestampColumn/designer.js +39 -38
- package/dist/esm/columnControls/TimestampColumn/property.js +35 -34
- package/dist/esm/columnControls/TimestampColumn/runtime.js +28 -27
- package/dist/esm/columnControls/VarcharColumn/designer.js +31 -30
- package/dist/esm/columnControls/VarcharColumn/property.js +41 -40
- package/dist/esm/columnControls/VarcharColumn/runtime.js +28 -27
- package/dist/esm/columnControls/index.js +0 -1
- package/dist/esm/formControls/Address/designer.js +30 -29
- package/dist/esm/formControls/Address/property.js +35 -34
- package/dist/esm/formControls/Address/runtime.js +29 -28
- package/dist/esm/formControls/Amount/designer.js +37 -36
- package/dist/esm/formControls/Amount/property.js +60 -59
- package/dist/esm/formControls/Amount/runtime.js +29 -28
- package/dist/esm/formControls/Attachment/designer.js +31 -30
- package/dist/esm/formControls/Attachment/property.js +45 -47
- package/dist/esm/formControls/Attachment/runtime.js +29 -28
- package/dist/esm/formControls/AutoNumber/designer.js +31 -30
- package/dist/esm/formControls/AutoNumber/property.js +28 -27
- package/dist/esm/formControls/AutoNumber/runtime.js +29 -28
- package/dist/esm/formControls/Calc/designer.js +37 -36
- package/dist/esm/formControls/Calc/property.js +46 -45
- package/dist/esm/formControls/Calc/runtime.js +29 -28
- package/dist/esm/formControls/Checkbox/designer.js +31 -30
- package/dist/esm/formControls/Checkbox/property.js +62 -60
- package/dist/esm/formControls/Checkbox/runtime.js +29 -28
- package/dist/esm/formControls/DatePicker/designer.js +37 -39
- package/dist/esm/formControls/DatePicker/property.js +42 -42
- package/dist/esm/formControls/DatePicker/runtime.js +29 -28
- package/dist/esm/formControls/DateRange/designer.js +37 -39
- package/dist/esm/formControls/DateRange/property.js +50 -50
- package/dist/esm/formControls/DateRange/runtime.js +29 -28
- package/dist/esm/formControls/Department/designer.js +37 -36
- package/dist/esm/formControls/Department/property.js +51 -49
- package/dist/esm/formControls/Department/runtime.js +29 -28
- package/dist/esm/formControls/Department2/designer.js +37 -36
- package/dist/esm/formControls/Department2/property.js +65 -63
- package/dist/esm/formControls/Department2/runtime.js +29 -28
- package/dist/esm/formControls/ElectronicSignature/designer.js +31 -30
- package/dist/esm/formControls/ElectronicSignature/property.js +43 -42
- package/dist/esm/formControls/ElectronicSignature/runtime.js +29 -28
- package/dist/esm/formControls/Employee/designer.js +30 -29
- package/dist/esm/formControls/Employee/property.js +47 -45
- package/dist/esm/formControls/Employee/runtime.js +29 -28
- package/dist/esm/formControls/Employee2/designer.js +30 -29
- package/dist/esm/formControls/Employee2/property.js +63 -61
- package/dist/esm/formControls/Employee2/runtime.js +29 -28
- package/dist/esm/formControls/Image/designer.js +38 -31
- package/dist/esm/formControls/Image/property.js +22 -22
- package/dist/esm/formControls/Image/runtime.js +28 -28
- package/dist/esm/formControls/Input/designer.js +31 -30
- package/dist/esm/formControls/Input/property.js +47 -46
- package/dist/esm/formControls/Input/runtime.js +29 -28
- package/dist/esm/formControls/Number/designer.js +37 -36
- package/dist/esm/formControls/Number/property.js +58 -57
- package/dist/esm/formControls/Number/runtime.js +29 -28
- package/dist/esm/formControls/OrganizationSelection/designer.js +37 -36
- package/dist/esm/formControls/OrganizationSelection/property.js +75 -73
- package/dist/esm/formControls/OrganizationSelection/runtime.js +29 -28
- package/dist/esm/formControls/Radio/designer.js +31 -30
- package/dist/esm/formControls/Radio/property.js +54 -52
- package/dist/esm/formControls/Radio/runtime.js +29 -28
- package/dist/esm/formControls/RichText/designer.js +31 -30
- package/dist/esm/formControls/RichText/property.js +41 -40
- package/dist/esm/formControls/RichText/runtime.js +29 -28
- package/dist/esm/formControls/Score/designer.js +48 -47
- package/dist/esm/formControls/Score/property.js +43 -43
- package/dist/esm/formControls/Score/runtime.js +29 -28
- package/dist/esm/formControls/SearchDateRange/designer.js +31 -33
- package/dist/esm/formControls/SearchDateRange/property.js +48 -48
- package/dist/esm/formControls/SearchDateRange/runtime.js +29 -28
- package/dist/esm/formControls/SearchInput/designer.js +29 -28
- package/dist/esm/formControls/SearchInput/property.js +24 -24
- package/dist/esm/formControls/SearchInput/runtime.js +29 -28
- package/dist/esm/formControls/SearchNumberRange/designer.js +30 -29
- package/dist/esm/formControls/SearchNumberRange/property.js +38 -37
- package/dist/esm/formControls/SearchNumberRange/runtime.js +29 -28
- package/dist/esm/formControls/Select/designer.js +30 -31
- package/dist/esm/formControls/Select/property.js +48 -67
- package/dist/esm/formControls/Select/runtime.js +29 -28
- package/dist/esm/formControls/SelectMultiple/designer.js +30 -31
- package/dist/esm/formControls/SelectMultiple/property.js +49 -68
- package/dist/esm/formControls/SelectMultiple/runtime.js +29 -28
- package/dist/esm/formControls/SelectRelation/designer.js +31 -30
- package/dist/esm/formControls/SelectRelation/property.js +55 -59
- package/dist/esm/formControls/SelectRelation/runtime.js +29 -28
- package/dist/esm/formControls/Textarea/designer.js +31 -30
- package/dist/esm/formControls/Textarea/property.js +43 -42
- package/dist/esm/formControls/Textarea/runtime.js +29 -28
- package/dist/esm/formControls/Tree/designer.js +31 -30
- package/dist/esm/formControls/Tree/property.js +68 -68
- package/dist/esm/formControls/Tree/runtime.js +29 -28
- package/dist/esm/formControls/VueFormItem/designer.js +31 -30
- package/dist/esm/formControls/VueFormItem/property.js +39 -38
- package/dist/esm/formControls/VueFormItem/runtime.js +29 -28
- package/dist/esm/formControls/WPS/designer.js +31 -30
- package/dist/esm/formControls/WPS/property.js +58 -57
- package/dist/esm/formControls/WPS/runtime.js +29 -28
- package/dist/esm/framework.js +93 -86
- package/dist/esm/index.js +2 -10
- package/dist/esm/layoutControls/AdvancedContainer/Setting.js +11 -11
- package/dist/esm/layoutControls/AdvancedContainer/designer.js +24 -24
- package/dist/esm/layoutControls/AdvancedContainer/property.js +28 -27
- package/dist/esm/layoutControls/AdvancedContainer/runtime.js +24 -24
- package/dist/esm/layoutControls/CardGroup/designer.js +30 -29
- package/dist/esm/layoutControls/CardGroup/property.js +32 -31
- package/dist/esm/layoutControls/CardGroup/runtime.js +28 -27
- package/dist/esm/layoutControls/Col/designer.js +30 -29
- package/dist/esm/layoutControls/Col/property.js +28 -27
- package/dist/esm/layoutControls/Col/runtime.js +28 -27
- package/dist/esm/layoutControls/DataView/designer.js +29 -28
- package/dist/esm/layoutControls/DataView/property.js +41 -40
- package/dist/esm/layoutControls/DataView/runtime.js +28 -27
- package/dist/esm/layoutControls/Grid/designer.js +26 -26
- package/dist/esm/layoutControls/Grid/runtime.js +24 -24
- package/dist/esm/layoutControls/GridRow/designer.js +28 -28
- package/dist/esm/layoutControls/GridRow/property.js +22 -22
- package/dist/esm/layoutControls/GridRow/runtime.js +24 -24
- package/dist/esm/layoutControls/GridTableColumn/designer.js +32 -31
- package/dist/esm/layoutControls/GridTableColumn/property.js +48 -47
- package/dist/esm/layoutControls/GridTableColumn/runtime.js +27 -26
- package/dist/esm/layoutControls/ListView/designer.js +31 -34
- package/dist/esm/layoutControls/ListView/property.js +60 -69
- package/dist/esm/layoutControls/ListView/runtime.js +28 -27
- package/dist/esm/layoutControls/Page/Setting.js +11 -11
- package/dist/esm/layoutControls/Page/designer.js +24 -24
- package/dist/esm/layoutControls/Page/property.js +30 -29
- package/dist/esm/layoutControls/Page/runtime.js +24 -24
- package/dist/esm/layoutControls/Position/designer.js +24 -24
- package/dist/esm/layoutControls/Position/property.js +32 -31
- package/dist/esm/layoutControls/Position/runtime.js +24 -24
- package/dist/esm/layoutControls/PositioningContainer/Setting.js +11 -11
- package/dist/esm/layoutControls/PositioningContainer/designer.js +24 -24
- package/dist/esm/layoutControls/PositioningContainer/property.js +22 -22
- package/dist/esm/layoutControls/PositioningContainer/runtime.js +24 -24
- package/dist/esm/layoutControls/Row/designer.js +30 -29
- package/dist/esm/layoutControls/Row/property.js +28 -27
- package/dist/esm/layoutControls/Row/runtime.js +28 -27
- package/dist/esm/layoutControls/SubTableColumn/designer.js +32 -31
- package/dist/esm/layoutControls/SubTableColumn/property.js +42 -41
- package/dist/esm/layoutControls/SubTableColumn/runtime.js +27 -26
- package/dist/esm/layoutControls/SubTableRow/designer.js +32 -31
- package/dist/esm/layoutControls/SubTableRow/property.js +22 -22
- package/dist/esm/layoutControls/SubTableRow/runtime.js +28 -27
- package/dist/esm/layoutControls/Tab/designer.js +32 -31
- package/dist/esm/layoutControls/Tab/property.js +26 -25
- package/dist/esm/layoutControls/Tab/runtime.js +28 -27
- package/dist/esm/layoutControls/TabPane/designer.js +30 -29
- package/dist/esm/layoutControls/TabPane/property.js +30 -29
- package/dist/esm/layoutControls/TabPane/runtime.js +28 -27
- package/dist/esm/layoutControls/Toolbox/designer.js +29 -28
- package/dist/esm/layoutControls/Toolbox/property.js +22 -22
- package/dist/esm/layoutControls/Toolbox/runtime.js +26 -25
- package/dist/esm/layoutControls/index.js +0 -2
- package/dist/esm/listControls/GridTable/designer.js +48 -47
- package/dist/esm/listControls/GridTable/property.js +34 -33
- package/dist/esm/listControls/GridTable/runtime.js +28 -27
- package/dist/esm/listControls/SubTable/designer.js +33 -32
- package/dist/esm/listControls/SubTable/property.js +99 -93
- package/dist/esm/listControls/SubTable/runtime.js +28 -27
- package/dist/esm/searchControls/SimpleSearch/designer.js +28 -27
- package/dist/esm/searchControls/SimpleSearch/property.js +43 -42
- package/dist/esm/searchControls/SimpleSearch/runtime.js +29 -28
- package/dist/index.umd.js +1 -1
- package/dist/types/baseControls/Button/property.d.ts +1 -2
- package/dist/types/baseControls/ExportListButton/property.d.ts +0 -1
- package/dist/types/baseControls/ImportRecordListButton/property.d.ts +0 -1
- package/dist/types/columnControls/index.d.ts +0 -1
- package/dist/types/formControls/Attachment/property.d.ts +0 -1
- package/dist/types/formControls/Select/property.d.ts +1 -19
- package/dist/types/formControls/SelectMultiple/property.d.ts +1 -19
- package/dist/types/formControls/SelectRelation/property.d.ts +1 -7
- package/dist/types/index.d.ts +1 -3
- package/dist/types/layoutControls/ListView/property.d.ts +1 -10
- package/dist/types/layoutControls/index.d.ts +0 -2
- package/dist/types/listControls/SubTable/property.d.ts +4 -0
- package/dist/types/type.d.ts +2 -9
- package/package.json +5 -5
- package/dist/esm/columnControls/ApprovalStatusColumn/designer.js +0 -136
- package/dist/esm/columnControls/ApprovalStatusColumn/index.js +0 -11
- package/dist/esm/columnControls/ApprovalStatusColumn/property.js +0 -121
- package/dist/esm/columnControls/ApprovalStatusColumn/runtime.js +0 -104
- package/dist/esm/columnControls/ApprovalStatusColumn/types.js +0 -0
- package/dist/esm/layoutControls/ActionBar/designer.js +0 -156
- package/dist/esm/layoutControls/ActionBar/index.js +0 -11
- package/dist/esm/layoutControls/ActionBar/property.js +0 -111
- package/dist/esm/layoutControls/ActionBar/runtime.js +0 -125
- package/dist/esm/layoutControls/ActionBar/types.js +0 -0
- package/dist/esm/layoutControls/GridLayoutContainer/designer.js +0 -142
- package/dist/esm/layoutControls/GridLayoutContainer/index.js +0 -11
- package/dist/esm/layoutControls/GridLayoutContainer/property.js +0 -107
- package/dist/esm/layoutControls/GridLayoutContainer/runtime.js +0 -124
- package/dist/esm/layoutControls/GridLayoutContainer/types.js +0 -0
- package/dist/esm/wrapControls/GridLayoutWrap/Setting.js +0 -33
- package/dist/esm/wrapControls/GridLayoutWrap/designer.js +0 -144
- package/dist/esm/wrapControls/GridLayoutWrap/index.js +0 -20
- package/dist/esm/wrapControls/GridLayoutWrap/property.js +0 -101
- package/dist/esm/wrapControls/GridLayoutWrap/runtime.js +0 -112
- package/dist/esm/wrapControls/index.js +0 -1
- package/dist/types/columnControls/ApprovalStatusColumn/designer.d.ts +0 -14
- package/dist/types/columnControls/ApprovalStatusColumn/index.d.ts +0 -12
- package/dist/types/columnControls/ApprovalStatusColumn/property.d.ts +0 -24
- package/dist/types/columnControls/ApprovalStatusColumn/runtime.d.ts +0 -12
- package/dist/types/columnControls/ApprovalStatusColumn/types.d.ts +0 -0
- package/dist/types/layoutControls/ActionBar/designer.d.ts +0 -13
- package/dist/types/layoutControls/ActionBar/index.d.ts +0 -12
- package/dist/types/layoutControls/ActionBar/property.d.ts +0 -9
- package/dist/types/layoutControls/ActionBar/runtime.d.ts +0 -10
- package/dist/types/layoutControls/ActionBar/types.d.ts +0 -0
- package/dist/types/layoutControls/GridLayoutContainer/designer.d.ts +0 -13
- package/dist/types/layoutControls/GridLayoutContainer/index.d.ts +0 -12
- package/dist/types/layoutControls/GridLayoutContainer/property.d.ts +0 -8
- package/dist/types/layoutControls/GridLayoutContainer/runtime.d.ts +0 -10
- package/dist/types/layoutControls/GridLayoutContainer/types.d.ts +0 -0
- package/dist/types/wrapControls/GridLayoutWrap/Setting.d.ts +0 -2
- package/dist/types/wrapControls/GridLayoutWrap/designer.d.ts +0 -11
- package/dist/types/wrapControls/GridLayoutWrap/index.d.ts +0 -14
- package/dist/types/wrapControls/GridLayoutWrap/property.d.ts +0 -6
- package/dist/types/wrapControls/GridLayoutWrap/runtime.d.ts +0 -8
- package/dist/types/wrapControls/index.d.ts +0 -1
|
@@ -1,156 +0,0 @@
|
|
|
1
|
-
function _assertThisInitialized(self) {
|
|
2
|
-
if (self === void 0) {
|
|
3
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4
|
-
}
|
|
5
|
-
return self;
|
|
6
|
-
}
|
|
7
|
-
function _classCallCheck(instance, Constructor) {
|
|
8
|
-
if (!(instance instanceof Constructor)) {
|
|
9
|
-
throw new TypeError("Cannot call a class as a function");
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
function _defineProperties(target, props) {
|
|
13
|
-
for(var i = 0; i < props.length; i++){
|
|
14
|
-
var descriptor = props[i];
|
|
15
|
-
descriptor.enumerable = descriptor.enumerable || false;
|
|
16
|
-
descriptor.configurable = true;
|
|
17
|
-
if ("value" in descriptor) descriptor.writable = true;
|
|
18
|
-
Object.defineProperty(target, descriptor.key, descriptor);
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
function _createClass(Constructor, protoProps, staticProps) {
|
|
22
|
-
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
23
|
-
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
24
|
-
return Constructor;
|
|
25
|
-
}
|
|
26
|
-
function _defineProperty(obj, key, value) {
|
|
27
|
-
if (key in obj) {
|
|
28
|
-
Object.defineProperty(obj, key, {
|
|
29
|
-
value: value,
|
|
30
|
-
enumerable: true,
|
|
31
|
-
configurable: true,
|
|
32
|
-
writable: true
|
|
33
|
-
});
|
|
34
|
-
} else {
|
|
35
|
-
obj[key] = value;
|
|
36
|
-
}
|
|
37
|
-
return obj;
|
|
38
|
-
}
|
|
39
|
-
function _getPrototypeOf(o) {
|
|
40
|
-
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
41
|
-
return o.__proto__ || Object.getPrototypeOf(o);
|
|
42
|
-
};
|
|
43
|
-
return _getPrototypeOf(o);
|
|
44
|
-
}
|
|
45
|
-
function _inherits(subClass, superClass) {
|
|
46
|
-
if (typeof superClass !== "function" && superClass !== null) {
|
|
47
|
-
throw new TypeError("Super expression must either be null or a function");
|
|
48
|
-
}
|
|
49
|
-
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
50
|
-
constructor: {
|
|
51
|
-
value: subClass,
|
|
52
|
-
writable: true,
|
|
53
|
-
configurable: true
|
|
54
|
-
}
|
|
55
|
-
});
|
|
56
|
-
if (superClass) _setPrototypeOf(subClass, superClass);
|
|
57
|
-
}
|
|
58
|
-
function _possibleConstructorReturn(self, call) {
|
|
59
|
-
if (call && (_typeof(call) === "object" || typeof call === "function")) {
|
|
60
|
-
return call;
|
|
61
|
-
}
|
|
62
|
-
return _assertThisInitialized(self);
|
|
63
|
-
}
|
|
64
|
-
function _setPrototypeOf(o, p) {
|
|
65
|
-
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
66
|
-
o.__proto__ = p;
|
|
67
|
-
return o;
|
|
68
|
-
};
|
|
69
|
-
return _setPrototypeOf(o, p);
|
|
70
|
-
}
|
|
71
|
-
var _typeof = function(obj) {
|
|
72
|
-
"@swc/helpers - typeof";
|
|
73
|
-
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
74
|
-
};
|
|
75
|
-
function _isNativeReflectConstruct() {
|
|
76
|
-
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
77
|
-
if (Reflect.construct.sham) return false;
|
|
78
|
-
if (typeof Proxy === "function") return true;
|
|
79
|
-
try {
|
|
80
|
-
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
81
|
-
return true;
|
|
82
|
-
} catch (e) {
|
|
83
|
-
return false;
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
function _createSuper(Derived) {
|
|
87
|
-
var hasNativeReflectConstruct = _isNativeReflectConstruct();
|
|
88
|
-
return function _createSuperInternal() {
|
|
89
|
-
var Super = _getPrototypeOf(Derived), result;
|
|
90
|
-
if (hasNativeReflectConstruct) {
|
|
91
|
-
var NewTarget = _getPrototypeOf(this).constructor;
|
|
92
|
-
result = Reflect.construct(Super, arguments, NewTarget);
|
|
93
|
-
} else {
|
|
94
|
-
result = Super.apply(this, arguments);
|
|
95
|
-
}
|
|
96
|
-
return _possibleConstructorReturn(this, result);
|
|
97
|
-
};
|
|
98
|
-
}
|
|
99
|
-
import { DesignerLayoutControl } from "@byteluck-fe/model-driven-core";
|
|
100
|
-
import ActionBarControlProperty from "./property";
|
|
101
|
-
var ActionBarControl = /*#__PURE__*/ function(DesignerLayoutControl) {
|
|
102
|
-
"use strict";
|
|
103
|
-
_inherits(ActionBarControl, DesignerLayoutControl);
|
|
104
|
-
var _super = _createSuper(ActionBarControl);
|
|
105
|
-
function ActionBarControl(props) {
|
|
106
|
-
_classCallCheck(this, ActionBarControl);
|
|
107
|
-
var _this;
|
|
108
|
-
_this = _super.call(this, props);
|
|
109
|
-
_defineProperty(_assertThisInitialized(_this), "props", void 0);
|
|
110
|
-
var _props_props;
|
|
111
|
-
_this.props = new ActionBarControlProperty((_props_props = props === null || props === void 0 ? void 0 : props.props) !== null && _props_props !== void 0 ? _props_props : {});
|
|
112
|
-
return _this;
|
|
113
|
-
}
|
|
114
|
-
_createClass(ActionBarControl, null, [
|
|
115
|
-
{
|
|
116
|
-
key: "controlName",
|
|
117
|
-
get: function get() {
|
|
118
|
-
return "按钮操作栏";
|
|
119
|
-
}
|
|
120
|
-
},
|
|
121
|
-
{
|
|
122
|
-
key: "controlType",
|
|
123
|
-
get: function get() {
|
|
124
|
-
return "action-bar";
|
|
125
|
-
}
|
|
126
|
-
},
|
|
127
|
-
{
|
|
128
|
-
key: "controlIcon",
|
|
129
|
-
get: function get() {
|
|
130
|
-
return "action-bar";
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
]);
|
|
134
|
-
return ActionBarControl;
|
|
135
|
-
}(DesignerLayoutControl);
|
|
136
|
-
_defineProperty(ActionBarControl, "excludes", []);
|
|
137
|
-
_defineProperty(ActionBarControl, "setting", [
|
|
138
|
-
{
|
|
139
|
-
key: "action-buttons",
|
|
140
|
-
visible: true
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
key: "action-position",
|
|
144
|
-
visible: true
|
|
145
|
-
},
|
|
146
|
-
{
|
|
147
|
-
key: "background-opacity",
|
|
148
|
-
visible: true
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
key: "buttons-align",
|
|
152
|
-
visible: true
|
|
153
|
-
}
|
|
154
|
-
]);
|
|
155
|
-
export default ActionBarControl;
|
|
156
|
-
export { ActionBarControl as DesignerActionBarControl };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import Designer from "./designer";
|
|
2
|
-
import Runtime from "./runtime";
|
|
3
|
-
import Property from "./property";
|
|
4
|
-
export default {
|
|
5
|
-
Designer: Designer,
|
|
6
|
-
Runtime: Runtime,
|
|
7
|
-
Property: Property
|
|
8
|
-
};
|
|
9
|
-
export * from "./designer";
|
|
10
|
-
export * from "./runtime";
|
|
11
|
-
export * from "./property";
|
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
function _assertThisInitialized(self) {
|
|
2
|
-
if (self === void 0) {
|
|
3
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4
|
-
}
|
|
5
|
-
return self;
|
|
6
|
-
}
|
|
7
|
-
function _classCallCheck(instance, Constructor) {
|
|
8
|
-
if (!(instance instanceof Constructor)) {
|
|
9
|
-
throw new TypeError("Cannot call a class as a function");
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
function _defineProperty(obj, key, value) {
|
|
13
|
-
if (key in obj) {
|
|
14
|
-
Object.defineProperty(obj, key, {
|
|
15
|
-
value: value,
|
|
16
|
-
enumerable: true,
|
|
17
|
-
configurable: true,
|
|
18
|
-
writable: true
|
|
19
|
-
});
|
|
20
|
-
} else {
|
|
21
|
-
obj[key] = value;
|
|
22
|
-
}
|
|
23
|
-
return obj;
|
|
24
|
-
}
|
|
25
|
-
function _getPrototypeOf(o) {
|
|
26
|
-
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
27
|
-
return o.__proto__ || Object.getPrototypeOf(o);
|
|
28
|
-
};
|
|
29
|
-
return _getPrototypeOf(o);
|
|
30
|
-
}
|
|
31
|
-
function _inherits(subClass, superClass) {
|
|
32
|
-
if (typeof superClass !== "function" && superClass !== null) {
|
|
33
|
-
throw new TypeError("Super expression must either be null or a function");
|
|
34
|
-
}
|
|
35
|
-
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
36
|
-
constructor: {
|
|
37
|
-
value: subClass,
|
|
38
|
-
writable: true,
|
|
39
|
-
configurable: true
|
|
40
|
-
}
|
|
41
|
-
});
|
|
42
|
-
if (superClass) _setPrototypeOf(subClass, superClass);
|
|
43
|
-
}
|
|
44
|
-
function _possibleConstructorReturn(self, call) {
|
|
45
|
-
if (call && (_typeof(call) === "object" || typeof call === "function")) {
|
|
46
|
-
return call;
|
|
47
|
-
}
|
|
48
|
-
return _assertThisInitialized(self);
|
|
49
|
-
}
|
|
50
|
-
function _setPrototypeOf(o, p) {
|
|
51
|
-
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
52
|
-
o.__proto__ = p;
|
|
53
|
-
return o;
|
|
54
|
-
};
|
|
55
|
-
return _setPrototypeOf(o, p);
|
|
56
|
-
}
|
|
57
|
-
var _typeof = function(obj) {
|
|
58
|
-
"@swc/helpers - typeof";
|
|
59
|
-
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
60
|
-
};
|
|
61
|
-
function _isNativeReflectConstruct() {
|
|
62
|
-
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
63
|
-
if (Reflect.construct.sham) return false;
|
|
64
|
-
if (typeof Proxy === "function") return true;
|
|
65
|
-
try {
|
|
66
|
-
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
67
|
-
return true;
|
|
68
|
-
} catch (e) {
|
|
69
|
-
return false;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
function _createSuper(Derived) {
|
|
73
|
-
var hasNativeReflectConstruct = _isNativeReflectConstruct();
|
|
74
|
-
return function _createSuperInternal() {
|
|
75
|
-
var Super = _getPrototypeOf(Derived), result;
|
|
76
|
-
if (hasNativeReflectConstruct) {
|
|
77
|
-
var NewTarget = _getPrototypeOf(this).constructor;
|
|
78
|
-
result = Reflect.construct(Super, arguments, NewTarget);
|
|
79
|
-
} else {
|
|
80
|
-
result = Super.apply(this, arguments);
|
|
81
|
-
}
|
|
82
|
-
return _possibleConstructorReturn(this, result);
|
|
83
|
-
};
|
|
84
|
-
}
|
|
85
|
-
import { LayoutControlProperty } from "@byteluck-fe/model-driven-core";
|
|
86
|
-
var ActionBarControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
|
|
87
|
-
"use strict";
|
|
88
|
-
_inherits(ActionBarControlProperty, LayoutControlProperty);
|
|
89
|
-
var _super = _createSuper(ActionBarControlProperty);
|
|
90
|
-
function ActionBarControlProperty(props) {
|
|
91
|
-
_classCallCheck(this, ActionBarControlProperty);
|
|
92
|
-
var _this;
|
|
93
|
-
_this = _super.call(this, props);
|
|
94
|
-
_defineProperty(_assertThisInitialized(_this), "position", void 0 //位置
|
|
95
|
-
);
|
|
96
|
-
_defineProperty(_assertThisInitialized(_this), "opacity", void 0 // 背景透明
|
|
97
|
-
);
|
|
98
|
-
_defineProperty(_assertThisInitialized(_this), "align", void 0 // 对齐方式
|
|
99
|
-
);
|
|
100
|
-
var _props_position;
|
|
101
|
-
_this.position = (_props_position = props === null || props === void 0 ? void 0 : props.position) !== null && _props_position !== void 0 ? _props_position : "bottom";
|
|
102
|
-
var _props_opacity;
|
|
103
|
-
_this.opacity = (_props_opacity = props === null || props === void 0 ? void 0 : props.opacity) !== null && _props_opacity !== void 0 ? _props_opacity : true;
|
|
104
|
-
var _props_align;
|
|
105
|
-
_this.align = (_props_align = props === null || props === void 0 ? void 0 : props.align) !== null && _props_align !== void 0 ? _props_align : "right";
|
|
106
|
-
return _this;
|
|
107
|
-
}
|
|
108
|
-
return ActionBarControlProperty;
|
|
109
|
-
}(LayoutControlProperty);
|
|
110
|
-
export default ActionBarControlProperty;
|
|
111
|
-
export { ActionBarControlProperty };
|
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
function _assertThisInitialized(self) {
|
|
2
|
-
if (self === void 0) {
|
|
3
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4
|
-
}
|
|
5
|
-
return self;
|
|
6
|
-
}
|
|
7
|
-
function _classCallCheck(instance, Constructor) {
|
|
8
|
-
if (!(instance instanceof Constructor)) {
|
|
9
|
-
throw new TypeError("Cannot call a class as a function");
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
function _defineProperties(target, props) {
|
|
13
|
-
for(var i = 0; i < props.length; i++){
|
|
14
|
-
var descriptor = props[i];
|
|
15
|
-
descriptor.enumerable = descriptor.enumerable || false;
|
|
16
|
-
descriptor.configurable = true;
|
|
17
|
-
if ("value" in descriptor) descriptor.writable = true;
|
|
18
|
-
Object.defineProperty(target, descriptor.key, descriptor);
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
function _createClass(Constructor, protoProps, staticProps) {
|
|
22
|
-
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
23
|
-
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
24
|
-
return Constructor;
|
|
25
|
-
}
|
|
26
|
-
function _defineProperty(obj, key, value) {
|
|
27
|
-
if (key in obj) {
|
|
28
|
-
Object.defineProperty(obj, key, {
|
|
29
|
-
value: value,
|
|
30
|
-
enumerable: true,
|
|
31
|
-
configurable: true,
|
|
32
|
-
writable: true
|
|
33
|
-
});
|
|
34
|
-
} else {
|
|
35
|
-
obj[key] = value;
|
|
36
|
-
}
|
|
37
|
-
return obj;
|
|
38
|
-
}
|
|
39
|
-
function _getPrototypeOf(o) {
|
|
40
|
-
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
41
|
-
return o.__proto__ || Object.getPrototypeOf(o);
|
|
42
|
-
};
|
|
43
|
-
return _getPrototypeOf(o);
|
|
44
|
-
}
|
|
45
|
-
function _inherits(subClass, superClass) {
|
|
46
|
-
if (typeof superClass !== "function" && superClass !== null) {
|
|
47
|
-
throw new TypeError("Super expression must either be null or a function");
|
|
48
|
-
}
|
|
49
|
-
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
50
|
-
constructor: {
|
|
51
|
-
value: subClass,
|
|
52
|
-
writable: true,
|
|
53
|
-
configurable: true
|
|
54
|
-
}
|
|
55
|
-
});
|
|
56
|
-
if (superClass) _setPrototypeOf(subClass, superClass);
|
|
57
|
-
}
|
|
58
|
-
function _possibleConstructorReturn(self, call) {
|
|
59
|
-
if (call && (_typeof(call) === "object" || typeof call === "function")) {
|
|
60
|
-
return call;
|
|
61
|
-
}
|
|
62
|
-
return _assertThisInitialized(self);
|
|
63
|
-
}
|
|
64
|
-
function _setPrototypeOf(o, p) {
|
|
65
|
-
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
66
|
-
o.__proto__ = p;
|
|
67
|
-
return o;
|
|
68
|
-
};
|
|
69
|
-
return _setPrototypeOf(o, p);
|
|
70
|
-
}
|
|
71
|
-
var _typeof = function(obj) {
|
|
72
|
-
"@swc/helpers - typeof";
|
|
73
|
-
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
74
|
-
};
|
|
75
|
-
function _isNativeReflectConstruct() {
|
|
76
|
-
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
77
|
-
if (Reflect.construct.sham) return false;
|
|
78
|
-
if (typeof Proxy === "function") return true;
|
|
79
|
-
try {
|
|
80
|
-
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
81
|
-
return true;
|
|
82
|
-
} catch (e) {
|
|
83
|
-
return false;
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
function _createSuper(Derived) {
|
|
87
|
-
var hasNativeReflectConstruct = _isNativeReflectConstruct();
|
|
88
|
-
return function _createSuperInternal() {
|
|
89
|
-
var Super = _getPrototypeOf(Derived), result;
|
|
90
|
-
if (hasNativeReflectConstruct) {
|
|
91
|
-
var NewTarget = _getPrototypeOf(this).constructor;
|
|
92
|
-
result = Reflect.construct(Super, arguments, NewTarget);
|
|
93
|
-
} else {
|
|
94
|
-
result = Super.apply(this, arguments);
|
|
95
|
-
}
|
|
96
|
-
return _possibleConstructorReturn(this, result);
|
|
97
|
-
};
|
|
98
|
-
}
|
|
99
|
-
import { RuntimeLayoutControl } from "@byteluck-fe/model-driven-core";
|
|
100
|
-
import ActionBarControlProperty from "./property";
|
|
101
|
-
var ActionBarControl = /*#__PURE__*/ function(RuntimeLayoutControl) {
|
|
102
|
-
"use strict";
|
|
103
|
-
_inherits(ActionBarControl, RuntimeLayoutControl);
|
|
104
|
-
var _super = _createSuper(ActionBarControl);
|
|
105
|
-
function ActionBarControl(props) {
|
|
106
|
-
_classCallCheck(this, ActionBarControl);
|
|
107
|
-
var _this;
|
|
108
|
-
_this = _super.call(this, props);
|
|
109
|
-
_defineProperty(_assertThisInitialized(_this), "props", void 0);
|
|
110
|
-
var _props_props;
|
|
111
|
-
_this.props = new ActionBarControlProperty((_props_props = props === null || props === void 0 ? void 0 : props.props) !== null && _props_props !== void 0 ? _props_props : {});
|
|
112
|
-
return _this;
|
|
113
|
-
}
|
|
114
|
-
_createClass(ActionBarControl, null, [
|
|
115
|
-
{
|
|
116
|
-
key: "controlType",
|
|
117
|
-
get: function get() {
|
|
118
|
-
return "action-bar";
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
]);
|
|
122
|
-
return ActionBarControl;
|
|
123
|
-
}(RuntimeLayoutControl);
|
|
124
|
-
export default ActionBarControl;
|
|
125
|
-
export { ActionBarControl as RuntimeActionBarControl };
|
|
File without changes
|
|
@@ -1,142 +0,0 @@
|
|
|
1
|
-
function _assertThisInitialized(self) {
|
|
2
|
-
if (self === void 0) {
|
|
3
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4
|
-
}
|
|
5
|
-
return self;
|
|
6
|
-
}
|
|
7
|
-
function _classCallCheck(instance, Constructor) {
|
|
8
|
-
if (!(instance instanceof Constructor)) {
|
|
9
|
-
throw new TypeError("Cannot call a class as a function");
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
function _defineProperties(target, props) {
|
|
13
|
-
for(var i = 0; i < props.length; i++){
|
|
14
|
-
var descriptor = props[i];
|
|
15
|
-
descriptor.enumerable = descriptor.enumerable || false;
|
|
16
|
-
descriptor.configurable = true;
|
|
17
|
-
if ("value" in descriptor) descriptor.writable = true;
|
|
18
|
-
Object.defineProperty(target, descriptor.key, descriptor);
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
function _createClass(Constructor, protoProps, staticProps) {
|
|
22
|
-
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
23
|
-
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
24
|
-
return Constructor;
|
|
25
|
-
}
|
|
26
|
-
function _defineProperty(obj, key, value) {
|
|
27
|
-
if (key in obj) {
|
|
28
|
-
Object.defineProperty(obj, key, {
|
|
29
|
-
value: value,
|
|
30
|
-
enumerable: true,
|
|
31
|
-
configurable: true,
|
|
32
|
-
writable: true
|
|
33
|
-
});
|
|
34
|
-
} else {
|
|
35
|
-
obj[key] = value;
|
|
36
|
-
}
|
|
37
|
-
return obj;
|
|
38
|
-
}
|
|
39
|
-
function _getPrototypeOf(o) {
|
|
40
|
-
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
41
|
-
return o.__proto__ || Object.getPrototypeOf(o);
|
|
42
|
-
};
|
|
43
|
-
return _getPrototypeOf(o);
|
|
44
|
-
}
|
|
45
|
-
function _inherits(subClass, superClass) {
|
|
46
|
-
if (typeof superClass !== "function" && superClass !== null) {
|
|
47
|
-
throw new TypeError("Super expression must either be null or a function");
|
|
48
|
-
}
|
|
49
|
-
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
50
|
-
constructor: {
|
|
51
|
-
value: subClass,
|
|
52
|
-
writable: true,
|
|
53
|
-
configurable: true
|
|
54
|
-
}
|
|
55
|
-
});
|
|
56
|
-
if (superClass) _setPrototypeOf(subClass, superClass);
|
|
57
|
-
}
|
|
58
|
-
function _possibleConstructorReturn(self, call) {
|
|
59
|
-
if (call && (_typeof(call) === "object" || typeof call === "function")) {
|
|
60
|
-
return call;
|
|
61
|
-
}
|
|
62
|
-
return _assertThisInitialized(self);
|
|
63
|
-
}
|
|
64
|
-
function _setPrototypeOf(o, p) {
|
|
65
|
-
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
66
|
-
o.__proto__ = p;
|
|
67
|
-
return o;
|
|
68
|
-
};
|
|
69
|
-
return _setPrototypeOf(o, p);
|
|
70
|
-
}
|
|
71
|
-
var _typeof = function(obj) {
|
|
72
|
-
"@swc/helpers - typeof";
|
|
73
|
-
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
74
|
-
};
|
|
75
|
-
function _isNativeReflectConstruct() {
|
|
76
|
-
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
77
|
-
if (Reflect.construct.sham) return false;
|
|
78
|
-
if (typeof Proxy === "function") return true;
|
|
79
|
-
try {
|
|
80
|
-
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
81
|
-
return true;
|
|
82
|
-
} catch (e) {
|
|
83
|
-
return false;
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
function _createSuper(Derived) {
|
|
87
|
-
var hasNativeReflectConstruct = _isNativeReflectConstruct();
|
|
88
|
-
return function _createSuperInternal() {
|
|
89
|
-
var Super = _getPrototypeOf(Derived), result;
|
|
90
|
-
if (hasNativeReflectConstruct) {
|
|
91
|
-
var NewTarget = _getPrototypeOf(this).constructor;
|
|
92
|
-
result = Reflect.construct(Super, arguments, NewTarget);
|
|
93
|
-
} else {
|
|
94
|
-
result = Super.apply(this, arguments);
|
|
95
|
-
}
|
|
96
|
-
return _possibleConstructorReturn(this, result);
|
|
97
|
-
};
|
|
98
|
-
}
|
|
99
|
-
import { CONTROL_TYPE } from "@byteluck-fe/model-driven-shared";
|
|
100
|
-
import { DesignerLayoutControl } from "@byteluck-fe/model-driven-core";
|
|
101
|
-
import GridLayoutContainerControlProperty from "./property";
|
|
102
|
-
var GridLayoutContainerControl = /*#__PURE__*/ function(DesignerLayoutControl) {
|
|
103
|
-
"use strict";
|
|
104
|
-
_inherits(GridLayoutContainerControl, DesignerLayoutControl);
|
|
105
|
-
var _super = _createSuper(GridLayoutContainerControl);
|
|
106
|
-
function GridLayoutContainerControl(props) {
|
|
107
|
-
_classCallCheck(this, GridLayoutContainerControl);
|
|
108
|
-
var _this;
|
|
109
|
-
_this = _super.call(this, props);
|
|
110
|
-
_defineProperty(_assertThisInitialized(_this), "props", void 0);
|
|
111
|
-
_this.props = new GridLayoutContainerControlProperty(props === null || props === void 0 ? void 0 : props.props);
|
|
112
|
-
return _this;
|
|
113
|
-
}
|
|
114
|
-
_createClass(GridLayoutContainerControl, null, [
|
|
115
|
-
{
|
|
116
|
-
key: "controlName",
|
|
117
|
-
get: function get() {
|
|
118
|
-
return "换行容器";
|
|
119
|
-
}
|
|
120
|
-
},
|
|
121
|
-
{
|
|
122
|
-
key: "controlType",
|
|
123
|
-
get: function get() {
|
|
124
|
-
return "grid-layout-container";
|
|
125
|
-
}
|
|
126
|
-
},
|
|
127
|
-
{
|
|
128
|
-
key: "controlIcon",
|
|
129
|
-
get: function get() {
|
|
130
|
-
return "iconfenzu6";
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
]);
|
|
134
|
-
return GridLayoutContainerControl;
|
|
135
|
-
}(DesignerLayoutControl);
|
|
136
|
-
_defineProperty(GridLayoutContainerControl, "excludes", [
|
|
137
|
-
CONTROL_TYPE.GRID_LAYOUT_CONTAINER,
|
|
138
|
-
CONTROL_TYPE.CARD_GROUP,
|
|
139
|
-
CONTROL_TYPE.TAB
|
|
140
|
-
]);
|
|
141
|
-
export default GridLayoutContainerControl;
|
|
142
|
-
export { GridLayoutContainerControl as DesignerColControl };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import Designer from "./designer";
|
|
2
|
-
import Runtime from "./runtime";
|
|
3
|
-
import Property from "./property";
|
|
4
|
-
export default {
|
|
5
|
-
Designer: Designer,
|
|
6
|
-
Runtime: Runtime,
|
|
7
|
-
Property: Property
|
|
8
|
-
};
|
|
9
|
-
export * from "./designer";
|
|
10
|
-
export * from "./runtime";
|
|
11
|
-
export * from "./property";
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
function _assertThisInitialized(self) {
|
|
2
|
-
if (self === void 0) {
|
|
3
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4
|
-
}
|
|
5
|
-
return self;
|
|
6
|
-
}
|
|
7
|
-
function _classCallCheck(instance, Constructor) {
|
|
8
|
-
if (!(instance instanceof Constructor)) {
|
|
9
|
-
throw new TypeError("Cannot call a class as a function");
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
function _defineProperty(obj, key, value) {
|
|
13
|
-
if (key in obj) {
|
|
14
|
-
Object.defineProperty(obj, key, {
|
|
15
|
-
value: value,
|
|
16
|
-
enumerable: true,
|
|
17
|
-
configurable: true,
|
|
18
|
-
writable: true
|
|
19
|
-
});
|
|
20
|
-
} else {
|
|
21
|
-
obj[key] = value;
|
|
22
|
-
}
|
|
23
|
-
return obj;
|
|
24
|
-
}
|
|
25
|
-
function _getPrototypeOf(o) {
|
|
26
|
-
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
27
|
-
return o.__proto__ || Object.getPrototypeOf(o);
|
|
28
|
-
};
|
|
29
|
-
return _getPrototypeOf(o);
|
|
30
|
-
}
|
|
31
|
-
function _inherits(subClass, superClass) {
|
|
32
|
-
if (typeof superClass !== "function" && superClass !== null) {
|
|
33
|
-
throw new TypeError("Super expression must either be null or a function");
|
|
34
|
-
}
|
|
35
|
-
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
36
|
-
constructor: {
|
|
37
|
-
value: subClass,
|
|
38
|
-
writable: true,
|
|
39
|
-
configurable: true
|
|
40
|
-
}
|
|
41
|
-
});
|
|
42
|
-
if (superClass) _setPrototypeOf(subClass, superClass);
|
|
43
|
-
}
|
|
44
|
-
function _possibleConstructorReturn(self, call) {
|
|
45
|
-
if (call && (_typeof(call) === "object" || typeof call === "function")) {
|
|
46
|
-
return call;
|
|
47
|
-
}
|
|
48
|
-
return _assertThisInitialized(self);
|
|
49
|
-
}
|
|
50
|
-
function _setPrototypeOf(o, p) {
|
|
51
|
-
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
52
|
-
o.__proto__ = p;
|
|
53
|
-
return o;
|
|
54
|
-
};
|
|
55
|
-
return _setPrototypeOf(o, p);
|
|
56
|
-
}
|
|
57
|
-
var _typeof = function(obj) {
|
|
58
|
-
"@swc/helpers - typeof";
|
|
59
|
-
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
60
|
-
};
|
|
61
|
-
function _isNativeReflectConstruct() {
|
|
62
|
-
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
63
|
-
if (Reflect.construct.sham) return false;
|
|
64
|
-
if (typeof Proxy === "function") return true;
|
|
65
|
-
try {
|
|
66
|
-
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
67
|
-
return true;
|
|
68
|
-
} catch (e) {
|
|
69
|
-
return false;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
function _createSuper(Derived) {
|
|
73
|
-
var hasNativeReflectConstruct = _isNativeReflectConstruct();
|
|
74
|
-
return function _createSuperInternal() {
|
|
75
|
-
var Super = _getPrototypeOf(Derived), result;
|
|
76
|
-
if (hasNativeReflectConstruct) {
|
|
77
|
-
var NewTarget = _getPrototypeOf(this).constructor;
|
|
78
|
-
result = Reflect.construct(Super, arguments, NewTarget);
|
|
79
|
-
} else {
|
|
80
|
-
result = Super.apply(this, arguments);
|
|
81
|
-
}
|
|
82
|
-
return _possibleConstructorReturn(this, result);
|
|
83
|
-
};
|
|
84
|
-
}
|
|
85
|
-
import { LayoutControlProperty } from "@byteluck-fe/model-driven-core";
|
|
86
|
-
var GridLayoutContainerControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
|
|
87
|
-
"use strict";
|
|
88
|
-
_inherits(GridLayoutContainerControlProperty, LayoutControlProperty);
|
|
89
|
-
var _super = _createSuper(GridLayoutContainerControlProperty);
|
|
90
|
-
function GridLayoutContainerControlProperty(props) {
|
|
91
|
-
_classCallCheck(this, GridLayoutContainerControlProperty);
|
|
92
|
-
var _this;
|
|
93
|
-
_this = _super.call(this, props);
|
|
94
|
-
_defineProperty(_assertThisInitialized(_this), "childMinWidth", void 0 // 控件宽度最小值
|
|
95
|
-
);
|
|
96
|
-
_defineProperty(_assertThisInitialized(_this), "rowGap", void 0 // 控件间距
|
|
97
|
-
);
|
|
98
|
-
var _props_childMinWidth;
|
|
99
|
-
_this.childMinWidth = (_props_childMinWidth = props === null || props === void 0 ? void 0 : props.childMinWidth) !== null && _props_childMinWidth !== void 0 ? _props_childMinWidth : 230;
|
|
100
|
-
var _props_rowGap;
|
|
101
|
-
_this.rowGap = (_props_rowGap = props === null || props === void 0 ? void 0 : props.rowGap) !== null && _props_rowGap !== void 0 ? _props_rowGap : 24;
|
|
102
|
-
return _this;
|
|
103
|
-
}
|
|
104
|
-
return GridLayoutContainerControlProperty;
|
|
105
|
-
}(LayoutControlProperty);
|
|
106
|
-
export default GridLayoutContainerControlProperty;
|
|
107
|
-
export { GridLayoutContainerControlProperty };
|