@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,15 +1,15 @@
|
|
|
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
|
|
12
|
+
function _define_property(obj, key, value) {
|
|
13
13
|
if (key in obj) {
|
|
14
14
|
Object.defineProperty(obj, key, {
|
|
15
15
|
value: value,
|
|
@@ -22,11 +22,11 @@ function _defineProperty(obj, key, value) {
|
|
|
22
22
|
}
|
|
23
23
|
return obj;
|
|
24
24
|
}
|
|
25
|
-
function
|
|
26
|
-
|
|
25
|
+
function _get_prototype_of(o) {
|
|
26
|
+
_get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
|
|
27
27
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
28
28
|
};
|
|
29
|
-
return
|
|
29
|
+
return _get_prototype_of(o);
|
|
30
30
|
}
|
|
31
31
|
function _inherits(subClass, superClass) {
|
|
32
32
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -39,9 +39,9 @@ function _inherits(subClass, superClass) {
|
|
|
39
39
|
configurable: true
|
|
40
40
|
}
|
|
41
41
|
});
|
|
42
|
-
if (superClass)
|
|
42
|
+
if (superClass) _set_prototype_of(subClass, superClass);
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function _object_spread(target) {
|
|
45
45
|
for(var i = 1; i < arguments.length; i++){
|
|
46
46
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
47
47
|
var ownKeys = Object.keys(source);
|
|
@@ -51,29 +51,29 @@ function _objectSpread(target) {
|
|
|
51
51
|
}));
|
|
52
52
|
}
|
|
53
53
|
ownKeys.forEach(function(key) {
|
|
54
|
-
|
|
54
|
+
_define_property(target, key, source[key]);
|
|
55
55
|
});
|
|
56
56
|
}
|
|
57
57
|
return target;
|
|
58
58
|
}
|
|
59
|
-
function
|
|
60
|
-
if (call && (
|
|
59
|
+
function _possible_constructor_return(self, call) {
|
|
60
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) {
|
|
61
61
|
return call;
|
|
62
62
|
}
|
|
63
|
-
return
|
|
63
|
+
return _assert_this_initialized(self);
|
|
64
64
|
}
|
|
65
|
-
function
|
|
66
|
-
|
|
65
|
+
function _set_prototype_of(o, p) {
|
|
66
|
+
_set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
|
|
67
67
|
o.__proto__ = p;
|
|
68
68
|
return o;
|
|
69
69
|
};
|
|
70
|
-
return
|
|
70
|
+
return _set_prototype_of(o, p);
|
|
71
71
|
}
|
|
72
|
-
|
|
72
|
+
function _type_of(obj) {
|
|
73
73
|
"@swc/helpers - typeof";
|
|
74
74
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
75
|
-
}
|
|
76
|
-
function
|
|
75
|
+
}
|
|
76
|
+
function _is_native_reflect_construct() {
|
|
77
77
|
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
78
78
|
if (Reflect.construct.sham) return false;
|
|
79
79
|
if (typeof Proxy === "function") return true;
|
|
@@ -84,17 +84,17 @@ function _isNativeReflectConstruct() {
|
|
|
84
84
|
return false;
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
|
-
function
|
|
88
|
-
var hasNativeReflectConstruct =
|
|
87
|
+
function _create_super(Derived) {
|
|
88
|
+
var hasNativeReflectConstruct = _is_native_reflect_construct();
|
|
89
89
|
return function _createSuperInternal() {
|
|
90
|
-
var Super =
|
|
90
|
+
var Super = _get_prototype_of(Derived), result;
|
|
91
91
|
if (hasNativeReflectConstruct) {
|
|
92
|
-
var NewTarget =
|
|
92
|
+
var NewTarget = _get_prototype_of(this).constructor;
|
|
93
93
|
result = Reflect.construct(Super, arguments, NewTarget);
|
|
94
94
|
} else {
|
|
95
95
|
result = Super.apply(this, arguments);
|
|
96
96
|
}
|
|
97
|
-
return
|
|
97
|
+
return _possible_constructor_return(this, result);
|
|
98
98
|
};
|
|
99
99
|
}
|
|
100
100
|
import { ButtonProperty } from "../Button";
|
|
@@ -105,16 +105,16 @@ import { RulesMessage } from "@byteluck-fe/model-driven-shared";
|
|
|
105
105
|
var FormSelectButtonPropertyRules = /*#__PURE__*/ function(PropertyRules) {
|
|
106
106
|
"use strict";
|
|
107
107
|
_inherits(FormSelectButtonPropertyRules, PropertyRules);
|
|
108
|
-
var _super =
|
|
108
|
+
var _super = _create_super(FormSelectButtonPropertyRules);
|
|
109
109
|
function FormSelectButtonPropertyRules(props) {
|
|
110
|
-
|
|
110
|
+
_class_call_check(this, FormSelectButtonPropertyRules);
|
|
111
111
|
var _this;
|
|
112
112
|
_this = _super.call(this, props);
|
|
113
|
-
|
|
113
|
+
_define_property(_assert_this_initialized(_this), "fillPayload", {
|
|
114
114
|
type: "object",
|
|
115
|
-
fields:
|
|
115
|
+
fields: _object_spread({}, createFillBindRules())
|
|
116
116
|
});
|
|
117
|
-
|
|
117
|
+
_define_property(_assert_this_initialized(_this), "formBind", {
|
|
118
118
|
type: "object",
|
|
119
119
|
fields: {
|
|
120
120
|
formKey: {
|
|
@@ -124,9 +124,9 @@ var FormSelectButtonPropertyRules = /*#__PURE__*/ function(PropertyRules) {
|
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
126
|
});
|
|
127
|
-
|
|
127
|
+
_define_property(_assert_this_initialized(_this), "fillBack", {
|
|
128
128
|
type: "object",
|
|
129
|
-
fields:
|
|
129
|
+
fields: _object_spread({
|
|
130
130
|
mode: {
|
|
131
131
|
type: "string",
|
|
132
132
|
required: true,
|
|
@@ -149,28 +149,29 @@ var FormSelectButtonPropertyRules = /*#__PURE__*/ function(PropertyRules) {
|
|
|
149
149
|
var FormSelectButtonProperty = /*#__PURE__*/ function(ButtonProperty) {
|
|
150
150
|
"use strict";
|
|
151
151
|
_inherits(FormSelectButtonProperty, ButtonProperty);
|
|
152
|
-
var _super =
|
|
152
|
+
var _super = _create_super(FormSelectButtonProperty);
|
|
153
153
|
function FormSelectButtonProperty(props) {
|
|
154
|
-
|
|
154
|
+
_class_call_check(this, FormSelectButtonProperty);
|
|
155
155
|
var _this;
|
|
156
|
+
var _props, _props1, _props2, _props3, _props4, _props5;
|
|
156
157
|
_this = _super.call(this, props);
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
158
|
+
_define_property(_assert_this_initialized(_this), "fillPayload", void 0);
|
|
159
|
+
_define_property(_assert_this_initialized(_this), "formBind", void 0);
|
|
160
|
+
_define_property(_assert_this_initialized(_this), "fillBack", void 0);
|
|
161
|
+
_define_property(_assert_this_initialized(_this), "command", void 0);
|
|
161
162
|
var _props_content;
|
|
162
|
-
_this.content = (_props_content = props === null ||
|
|
163
|
+
_this.content = (_props_content = (_props = props) === null || _props === void 0 ? void 0 : _props.content) !== null && _props_content !== void 0 ? _props_content : FormSelectButtonControl.controlName;
|
|
163
164
|
var _props_icon;
|
|
164
|
-
_this.icon = (_props_icon = props === null ||
|
|
165
|
+
_this.icon = (_props_icon = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.icon) !== null && _props_icon !== void 0 ? _props_icon : FormSelectButtonControl.controlIcon;
|
|
165
166
|
var _props_command;
|
|
166
|
-
_this.command = (_props_command = props === null ||
|
|
167
|
-
_this.fillPayload = new FillPayloadBind(props === null ||
|
|
168
|
-
_this.formBind = new FormSelectBind(props === null ||
|
|
169
|
-
_this.fillBack = new FillBackBind(props === null ||
|
|
167
|
+
_this.command = (_props_command = (_props2 = props) === null || _props2 === void 0 ? void 0 : _props2.command) !== null && _props_command !== void 0 ? _props_command : "create";
|
|
168
|
+
_this.fillPayload = new FillPayloadBind((_props3 = props) === null || _props3 === void 0 ? void 0 : _props3.fillPayload);
|
|
169
|
+
_this.formBind = new FormSelectBind((_props4 = props) === null || _props4 === void 0 ? void 0 : _props4.formBind);
|
|
170
|
+
_this.fillBack = new FillBackBind((_props5 = props) === null || _props5 === void 0 ? void 0 : _props5.fillBack);
|
|
170
171
|
return _this;
|
|
171
172
|
}
|
|
172
173
|
return FormSelectButtonProperty;
|
|
173
174
|
}(ButtonProperty);
|
|
174
|
-
|
|
175
|
+
_define_property(FormSelectButtonProperty, "Rules", FormSelectButtonPropertyRules);
|
|
175
176
|
export default FormSelectButtonProperty;
|
|
176
177
|
export { FormSelectButtonProperty, FormSelectButtonPropertyRules };
|
|
@@ -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,12 +18,12 @@ 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
|
|
26
|
+
function _define_property(obj, key, value) {
|
|
27
27
|
if (key in obj) {
|
|
28
28
|
Object.defineProperty(obj, key, {
|
|
29
29
|
value: value,
|
|
@@ -36,11 +36,11 @@ function _defineProperty(obj, key, value) {
|
|
|
36
36
|
}
|
|
37
37
|
return obj;
|
|
38
38
|
}
|
|
39
|
-
function
|
|
40
|
-
|
|
39
|
+
function _get_prototype_of(o) {
|
|
40
|
+
_get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
|
|
41
41
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
42
42
|
};
|
|
43
|
-
return
|
|
43
|
+
return _get_prototype_of(o);
|
|
44
44
|
}
|
|
45
45
|
function _inherits(subClass, superClass) {
|
|
46
46
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -53,26 +53,26 @@ function _inherits(subClass, superClass) {
|
|
|
53
53
|
configurable: true
|
|
54
54
|
}
|
|
55
55
|
});
|
|
56
|
-
if (superClass)
|
|
56
|
+
if (superClass) _set_prototype_of(subClass, superClass);
|
|
57
57
|
}
|
|
58
|
-
function
|
|
59
|
-
if (call && (
|
|
58
|
+
function _possible_constructor_return(self, call) {
|
|
59
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) {
|
|
60
60
|
return call;
|
|
61
61
|
}
|
|
62
|
-
return
|
|
62
|
+
return _assert_this_initialized(self);
|
|
63
63
|
}
|
|
64
|
-
function
|
|
65
|
-
|
|
64
|
+
function _set_prototype_of(o, p) {
|
|
65
|
+
_set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
|
|
66
66
|
o.__proto__ = p;
|
|
67
67
|
return o;
|
|
68
68
|
};
|
|
69
|
-
return
|
|
69
|
+
return _set_prototype_of(o, p);
|
|
70
70
|
}
|
|
71
|
-
|
|
71
|
+
function _type_of(obj) {
|
|
72
72
|
"@swc/helpers - typeof";
|
|
73
73
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
74
|
-
}
|
|
75
|
-
function
|
|
74
|
+
}
|
|
75
|
+
function _is_native_reflect_construct() {
|
|
76
76
|
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
77
77
|
if (Reflect.construct.sham) return false;
|
|
78
78
|
if (typeof Proxy === "function") return true;
|
|
@@ -83,17 +83,17 @@ function _isNativeReflectConstruct() {
|
|
|
83
83
|
return false;
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
|
-
function
|
|
87
|
-
var hasNativeReflectConstruct =
|
|
86
|
+
function _create_super(Derived) {
|
|
87
|
+
var hasNativeReflectConstruct = _is_native_reflect_construct();
|
|
88
88
|
return function _createSuperInternal() {
|
|
89
|
-
var Super =
|
|
89
|
+
var Super = _get_prototype_of(Derived), result;
|
|
90
90
|
if (hasNativeReflectConstruct) {
|
|
91
|
-
var NewTarget =
|
|
91
|
+
var NewTarget = _get_prototype_of(this).constructor;
|
|
92
92
|
result = Reflect.construct(Super, arguments, NewTarget);
|
|
93
93
|
} else {
|
|
94
94
|
result = Super.apply(this, arguments);
|
|
95
95
|
}
|
|
96
|
-
return
|
|
96
|
+
return _possible_constructor_return(this, result);
|
|
97
97
|
};
|
|
98
98
|
}
|
|
99
99
|
import FormSelectButtonProperty from "./property";
|
|
@@ -101,16 +101,17 @@ import { RuntimeButtonControl } from "../Button";
|
|
|
101
101
|
var FormSelectButtonControl = /*#__PURE__*/ function(RuntimeButtonControl) {
|
|
102
102
|
"use strict";
|
|
103
103
|
_inherits(FormSelectButtonControl, RuntimeButtonControl);
|
|
104
|
-
var _super =
|
|
104
|
+
var _super = _create_super(FormSelectButtonControl);
|
|
105
105
|
function FormSelectButtonControl(props) {
|
|
106
|
-
|
|
106
|
+
_class_call_check(this, FormSelectButtonControl);
|
|
107
107
|
var _this;
|
|
108
|
+
var _props;
|
|
108
109
|
_this = _super.call(this, props);
|
|
109
|
-
|
|
110
|
-
_this.props = new FormSelectButtonProperty(props === null ||
|
|
110
|
+
_define_property(_assert_this_initialized(_this), "props", void 0);
|
|
111
|
+
_this.props = new FormSelectButtonProperty((_props = props) === null || _props === void 0 ? void 0 : _props.props);
|
|
111
112
|
return _this;
|
|
112
113
|
}
|
|
113
|
-
|
|
114
|
+
_create_class(FormSelectButtonControl, null, [
|
|
114
115
|
{
|
|
115
116
|
key: "controlType",
|
|
116
117
|
get: function get() {
|
|
@@ -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,12 +18,12 @@ 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
|
|
26
|
+
function _define_property(obj, key, value) {
|
|
27
27
|
if (key in obj) {
|
|
28
28
|
Object.defineProperty(obj, key, {
|
|
29
29
|
value: value,
|
|
@@ -36,11 +36,11 @@ function _defineProperty(obj, key, value) {
|
|
|
36
36
|
}
|
|
37
37
|
return obj;
|
|
38
38
|
}
|
|
39
|
-
function
|
|
40
|
-
|
|
39
|
+
function _get_prototype_of(o) {
|
|
40
|
+
_get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
|
|
41
41
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
42
42
|
};
|
|
43
|
-
return
|
|
43
|
+
return _get_prototype_of(o);
|
|
44
44
|
}
|
|
45
45
|
function _inherits(subClass, superClass) {
|
|
46
46
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -53,26 +53,26 @@ function _inherits(subClass, superClass) {
|
|
|
53
53
|
configurable: true
|
|
54
54
|
}
|
|
55
55
|
});
|
|
56
|
-
if (superClass)
|
|
56
|
+
if (superClass) _set_prototype_of(subClass, superClass);
|
|
57
57
|
}
|
|
58
|
-
function
|
|
59
|
-
if (call && (
|
|
58
|
+
function _possible_constructor_return(self, call) {
|
|
59
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) {
|
|
60
60
|
return call;
|
|
61
61
|
}
|
|
62
|
-
return
|
|
62
|
+
return _assert_this_initialized(self);
|
|
63
63
|
}
|
|
64
|
-
function
|
|
65
|
-
|
|
64
|
+
function _set_prototype_of(o, p) {
|
|
65
|
+
_set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
|
|
66
66
|
o.__proto__ = p;
|
|
67
67
|
return o;
|
|
68
68
|
};
|
|
69
|
-
return
|
|
69
|
+
return _set_prototype_of(o, p);
|
|
70
70
|
}
|
|
71
|
-
|
|
71
|
+
function _type_of(obj) {
|
|
72
72
|
"@swc/helpers - typeof";
|
|
73
73
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
74
|
-
}
|
|
75
|
-
function
|
|
74
|
+
}
|
|
75
|
+
function _is_native_reflect_construct() {
|
|
76
76
|
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
77
77
|
if (Reflect.construct.sham) return false;
|
|
78
78
|
if (typeof Proxy === "function") return true;
|
|
@@ -83,17 +83,17 @@ function _isNativeReflectConstruct() {
|
|
|
83
83
|
return false;
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
|
-
function
|
|
87
|
-
var hasNativeReflectConstruct =
|
|
86
|
+
function _create_super(Derived) {
|
|
87
|
+
var hasNativeReflectConstruct = _is_native_reflect_construct();
|
|
88
88
|
return function _createSuperInternal() {
|
|
89
|
-
var Super =
|
|
89
|
+
var Super = _get_prototype_of(Derived), result;
|
|
90
90
|
if (hasNativeReflectConstruct) {
|
|
91
|
-
var NewTarget =
|
|
91
|
+
var NewTarget = _get_prototype_of(this).constructor;
|
|
92
92
|
result = Reflect.construct(Super, arguments, NewTarget);
|
|
93
93
|
} else {
|
|
94
94
|
result = Super.apply(this, arguments);
|
|
95
95
|
}
|
|
96
|
-
return
|
|
96
|
+
return _possible_constructor_return(this, result);
|
|
97
97
|
};
|
|
98
98
|
}
|
|
99
99
|
import { DesignerButtonControl } from "../Button";
|
|
@@ -101,16 +101,17 @@ import ImportRecordListButtonProperty from "./property";
|
|
|
101
101
|
var ImportRecordListButtonControl = /*#__PURE__*/ function(DesignerButtonControl) {
|
|
102
102
|
"use strict";
|
|
103
103
|
_inherits(ImportRecordListButtonControl, DesignerButtonControl);
|
|
104
|
-
var _super =
|
|
104
|
+
var _super = _create_super(ImportRecordListButtonControl);
|
|
105
105
|
function ImportRecordListButtonControl(props) {
|
|
106
|
-
|
|
106
|
+
_class_call_check(this, ImportRecordListButtonControl);
|
|
107
107
|
var _this;
|
|
108
|
+
var _props;
|
|
108
109
|
_this = _super.call(this, props);
|
|
109
|
-
|
|
110
|
-
_this.props = new ImportRecordListButtonProperty(props === null ||
|
|
110
|
+
_define_property(_assert_this_initialized(_this), "props", void 0);
|
|
111
|
+
_this.props = new ImportRecordListButtonProperty((_props = props) === null || _props === void 0 ? void 0 : _props.props);
|
|
111
112
|
return _this;
|
|
112
113
|
}
|
|
113
|
-
|
|
114
|
+
_create_class(ImportRecordListButtonControl, null, [
|
|
114
115
|
{
|
|
115
116
|
key: "controlName",
|
|
116
117
|
get: function get() {
|
|
@@ -132,11 +133,11 @@ var ImportRecordListButtonControl = /*#__PURE__*/ function(DesignerButtonControl
|
|
|
132
133
|
]);
|
|
133
134
|
return ImportRecordListButtonControl;
|
|
134
135
|
}(DesignerButtonControl);
|
|
135
|
-
|
|
136
|
+
_define_property(ImportRecordListButtonControl, "controlEventKeys", [
|
|
136
137
|
"on_click",
|
|
137
138
|
"on_click_finish"
|
|
138
139
|
]);
|
|
139
|
-
|
|
140
|
+
_define_property(ImportRecordListButtonControl, "setting", [
|
|
140
141
|
{
|
|
141
142
|
key: "button-content",
|
|
142
143
|
visible: true
|
|
@@ -154,10 +155,9 @@ _defineProperty(ImportRecordListButtonControl, "setting", [
|
|
|
154
155
|
visible: true
|
|
155
156
|
},
|
|
156
157
|
{
|
|
157
|
-
key: "import-
|
|
158
|
+
key: "can-import-subtable",
|
|
158
159
|
visible: true
|
|
159
160
|
},
|
|
160
|
-
// { key: 'can-import-subtable', visible: true }, 内容已经被合并至import-list-template
|
|
161
161
|
{
|
|
162
162
|
key: "super-setting",
|
|
163
163
|
visible: true
|
|
@@ -1,15 +1,15 @@
|
|
|
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
|
|
12
|
+
function _define_property(obj, key, value) {
|
|
13
13
|
if (key in obj) {
|
|
14
14
|
Object.defineProperty(obj, key, {
|
|
15
15
|
value: value,
|
|
@@ -22,11 +22,11 @@ function _defineProperty(obj, key, value) {
|
|
|
22
22
|
}
|
|
23
23
|
return obj;
|
|
24
24
|
}
|
|
25
|
-
function
|
|
26
|
-
|
|
25
|
+
function _get_prototype_of(o) {
|
|
26
|
+
_get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
|
|
27
27
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
28
28
|
};
|
|
29
|
-
return
|
|
29
|
+
return _get_prototype_of(o);
|
|
30
30
|
}
|
|
31
31
|
function _inherits(subClass, superClass) {
|
|
32
32
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -39,26 +39,26 @@ function _inherits(subClass, superClass) {
|
|
|
39
39
|
configurable: true
|
|
40
40
|
}
|
|
41
41
|
});
|
|
42
|
-
if (superClass)
|
|
42
|
+
if (superClass) _set_prototype_of(subClass, superClass);
|
|
43
43
|
}
|
|
44
|
-
function
|
|
45
|
-
if (call && (
|
|
44
|
+
function _possible_constructor_return(self, call) {
|
|
45
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) {
|
|
46
46
|
return call;
|
|
47
47
|
}
|
|
48
|
-
return
|
|
48
|
+
return _assert_this_initialized(self);
|
|
49
49
|
}
|
|
50
|
-
function
|
|
51
|
-
|
|
50
|
+
function _set_prototype_of(o, p) {
|
|
51
|
+
_set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
|
|
52
52
|
o.__proto__ = p;
|
|
53
53
|
return o;
|
|
54
54
|
};
|
|
55
|
-
return
|
|
55
|
+
return _set_prototype_of(o, p);
|
|
56
56
|
}
|
|
57
|
-
|
|
57
|
+
function _type_of(obj) {
|
|
58
58
|
"@swc/helpers - typeof";
|
|
59
59
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
60
|
-
}
|
|
61
|
-
function
|
|
60
|
+
}
|
|
61
|
+
function _is_native_reflect_construct() {
|
|
62
62
|
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
63
63
|
if (Reflect.construct.sham) return false;
|
|
64
64
|
if (typeof Proxy === "function") return true;
|
|
@@ -69,50 +69,47 @@ function _isNativeReflectConstruct() {
|
|
|
69
69
|
return false;
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
|
-
function
|
|
73
|
-
var hasNativeReflectConstruct =
|
|
72
|
+
function _create_super(Derived) {
|
|
73
|
+
var hasNativeReflectConstruct = _is_native_reflect_construct();
|
|
74
74
|
return function _createSuperInternal() {
|
|
75
|
-
var Super =
|
|
75
|
+
var Super = _get_prototype_of(Derived), result;
|
|
76
76
|
if (hasNativeReflectConstruct) {
|
|
77
|
-
var NewTarget =
|
|
77
|
+
var NewTarget = _get_prototype_of(this).constructor;
|
|
78
78
|
result = Reflect.construct(Super, arguments, NewTarget);
|
|
79
79
|
} else {
|
|
80
80
|
result = Super.apply(this, arguments);
|
|
81
81
|
}
|
|
82
|
-
return
|
|
82
|
+
return _possible_constructor_return(this, result);
|
|
83
83
|
};
|
|
84
84
|
}
|
|
85
85
|
import { ButtonProperty } from "../Button";
|
|
86
86
|
import ImportRecordListButtonControl from "./designer";
|
|
87
87
|
var ImportListBind = function ImportListBind(props) {
|
|
88
88
|
"use strict";
|
|
89
|
-
|
|
90
|
-
|
|
89
|
+
_class_call_check(this, ImportListBind);
|
|
90
|
+
_define_property(this, "dataCode", void 0);
|
|
91
91
|
this.dataCode = props.dataCode;
|
|
92
92
|
};
|
|
93
93
|
var ImportRecordListButtonProperty = /*#__PURE__*/ function(ButtonProperty) {
|
|
94
94
|
"use strict";
|
|
95
95
|
_inherits(ImportRecordListButtonProperty, ButtonProperty);
|
|
96
|
-
var _super =
|
|
96
|
+
var _super = _create_super(ImportRecordListButtonProperty);
|
|
97
97
|
function ImportRecordListButtonProperty(props) {
|
|
98
|
-
|
|
98
|
+
_class_call_check(this, ImportRecordListButtonProperty);
|
|
99
99
|
var _this;
|
|
100
|
-
var _props_canImportList;
|
|
100
|
+
var _props, _props1, _props_canImportList, _props2;
|
|
101
101
|
_this = _super.call(this, props);
|
|
102
102
|
/*
|
|
103
103
|
* 可以导入的数据
|
|
104
|
-
* */
|
|
105
|
-
_defineProperty(_assertThisInitialized(_this), "templateType", void 0);
|
|
104
|
+
* */ _define_property(_assert_this_initialized(_this), "canImportList", void 0);
|
|
106
105
|
var _props_content;
|
|
107
|
-
_this.content = (_props_content = props === null ||
|
|
106
|
+
_this.content = (_props_content = (_props = props) === null || _props === void 0 ? void 0 : _props.content) !== null && _props_content !== void 0 ? _props_content : ImportRecordListButtonControl.controlName;
|
|
108
107
|
var _props_icon;
|
|
109
|
-
_this.icon = (_props_icon = props === null ||
|
|
108
|
+
_this.icon = (_props_icon = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.icon) !== null && _props_icon !== void 0 ? _props_icon : ImportRecordListButtonControl.controlIcon;
|
|
110
109
|
var _props_canImportList_map;
|
|
111
|
-
_this.canImportList = (_props_canImportList_map = props === null ||
|
|
110
|
+
_this.canImportList = (_props_canImportList_map = (_props2 = props) === null || _props2 === void 0 ? void 0 : (_props_canImportList = _props2.canImportList) === null || _props_canImportList === void 0 ? void 0 : _props_canImportList.map(function(item) {
|
|
112
111
|
return new ImportListBind(item);
|
|
113
112
|
})) !== null && _props_canImportList_map !== void 0 ? _props_canImportList_map : [];
|
|
114
|
-
var _props_templateType;
|
|
115
|
-
_this.templateType = (_props_templateType = props === null || props === void 0 ? void 0 : props.templateType) !== null && _props_templateType !== void 0 ? _props_templateType : "system";
|
|
116
113
|
return _this;
|
|
117
114
|
}
|
|
118
115
|
return ImportRecordListButtonProperty;
|