@byteluck-fe/model-driven-controls 6.2.0-beta.9 → 6.2.0-cyj.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/api-doc-index.js +1 -1
- package/dist/esm/baseControls/BatchDeleteButton/designer.js +12 -20
- package/dist/esm/baseControls/BatchDeleteButton/property.js +22 -38
- package/dist/esm/baseControls/BatchDeleteButton/runtime.js +12 -20
- package/dist/esm/baseControls/BatchPrintListButton/designer.js +12 -20
- package/dist/esm/baseControls/BatchPrintListButton/property.js +18 -29
- package/dist/esm/baseControls/BatchPrintListButton/runtime.js +12 -20
- package/dist/esm/baseControls/BatchPrintRecordListButton/designer.js +12 -20
- package/dist/esm/baseControls/BatchPrintRecordListButton/property.js +14 -21
- package/dist/esm/baseControls/BatchPrintRecordListButton/runtime.js +12 -20
- package/dist/esm/baseControls/BatchSubmissionListButton/designer.js +12 -20
- package/dist/esm/baseControls/BatchSubmissionListButton/property.js +19 -32
- package/dist/esm/baseControls/BatchSubmissionListButton/runtime.js +12 -20
- package/dist/esm/baseControls/Button/designer.js +12 -20
- package/dist/esm/baseControls/Button/property.js +22 -38
- package/dist/esm/baseControls/Button/runtime.js +12 -20
- package/dist/esm/baseControls/Comment/designer.js +12 -20
- package/dist/esm/baseControls/Comment/property.js +14 -22
- package/dist/esm/baseControls/Comment/runtime.js +12 -20
- package/dist/esm/baseControls/CreateFormListButton/designer.js +12 -20
- package/dist/esm/baseControls/CreateFormListButton/property.js +17 -28
- package/dist/esm/baseControls/CreateFormListButton/runtime.js +12 -20
- package/dist/esm/baseControls/Dashboard/designer.js +12 -20
- package/dist/esm/baseControls/Dashboard/property.js +21 -36
- package/dist/esm/baseControls/Dashboard/runtime.js +12 -20
- package/dist/esm/baseControls/Divider/designer.js +12 -20
- package/dist/esm/baseControls/Divider/property.js +16 -25
- package/dist/esm/baseControls/Divider/runtime.js +12 -20
- package/dist/esm/baseControls/ExportListButton/designer.js +12 -20
- package/dist/esm/baseControls/ExportListButton/property.js +18 -29
- package/dist/esm/baseControls/ExportListButton/runtime.js +12 -20
- package/dist/esm/baseControls/ExportRecordListButton/designer.js +12 -20
- package/dist/esm/baseControls/ExportRecordListButton/property.js +14 -21
- package/dist/esm/baseControls/ExportRecordListButton/runtime.js +12 -20
- package/dist/esm/baseControls/FormSelectButton/designer.js +12 -20
- package/dist/esm/baseControls/FormSelectButton/property.js +16 -26
- package/dist/esm/baseControls/FormSelectButton/runtime.js +12 -20
- package/dist/esm/baseControls/ImportRecordListButton/designer.js +12 -20
- package/dist/esm/baseControls/ImportRecordListButton/property.js +18 -29
- package/dist/esm/baseControls/ImportRecordListButton/runtime.js +12 -20
- package/dist/esm/baseControls/InvoiceCheckButton/designer.js +12 -20
- package/dist/esm/baseControls/InvoiceCheckButton/property.js +23 -39
- package/dist/esm/baseControls/InvoiceCheckButton/runtime.js +12 -20
- package/dist/esm/baseControls/ListSelectButton/designer.js +12 -20
- package/dist/esm/baseControls/ListSelectButton/property.js +18 -30
- package/dist/esm/baseControls/ListSelectButton/runtime.js +12 -20
- package/dist/esm/baseControls/ListViewSelect/designer.js +12 -20
- package/dist/esm/baseControls/ListViewSelect/property.js +16 -25
- package/dist/esm/baseControls/ListViewSelect/runtime.js +12 -20
- package/dist/esm/baseControls/OperationButton/designer.js +12 -20
- package/dist/esm/baseControls/OperationButton/property.js +19 -32
- package/dist/esm/baseControls/OperationButton/runtime.js +12 -20
- package/dist/esm/baseControls/Pagination/designer.js +12 -20
- package/dist/esm/baseControls/Pagination/property.js +12 -20
- package/dist/esm/baseControls/Pagination/runtime.js +12 -20
- package/dist/esm/baseControls/ReferenceList/designer.js +12 -20
- package/dist/esm/baseControls/ReferenceList/property.js +19 -32
- package/dist/esm/baseControls/ReferenceList/runtime.js +12 -20
- package/dist/esm/baseControls/SubmissionRecordListButton/designer.js +12 -20
- package/dist/esm/baseControls/SubmissionRecordListButton/property.js +14 -21
- package/dist/esm/baseControls/SubmissionRecordListButton/runtime.js +12 -20
- package/dist/esm/baseControls/Text/designer.js +12 -20
- package/dist/esm/baseControls/Text/property.js +19 -32
- package/dist/esm/baseControls/Text/runtime.js +12 -20
- package/dist/esm/baseControls/TextOcrButton/designer.js +12 -20
- package/dist/esm/baseControls/TextOcrButton/property.js +23 -39
- package/dist/esm/baseControls/TextOcrButton/runtime.js +12 -20
- package/dist/esm/baseControls/Title/designer.js +12 -20
- package/dist/esm/baseControls/Title/property.js +16 -26
- package/dist/esm/baseControls/Title/runtime.js +12 -20
- package/dist/esm/baseControls/index.js +0 -1
- package/dist/esm/columnControls/ApprovalStatusColumn/designer.js +12 -20
- package/dist/esm/columnControls/ApprovalStatusColumn/property.js +16 -26
- package/dist/esm/columnControls/ApprovalStatusColumn/runtime.js +12 -20
- package/dist/esm/columnControls/ArrayColumn/designer.js +12 -20
- package/dist/esm/columnControls/ArrayColumn/property.js +17 -28
- package/dist/esm/columnControls/ArrayColumn/runtime.js +12 -20
- package/dist/esm/columnControls/AutoNumberColumn/designer.js +12 -20
- package/dist/esm/columnControls/AutoNumberColumn/property.js +15 -24
- package/dist/esm/columnControls/AutoNumberColumn/runtime.js +12 -20
- package/dist/esm/columnControls/CustomColumn/designer.js +17 -29
- package/dist/esm/columnControls/CustomColumn/property.js +16 -26
- package/dist/esm/columnControls/CustomColumn/runtime.js +12 -20
- package/dist/esm/columnControls/DecimalColumn/designer.js +15 -26
- package/dist/esm/columnControls/DecimalColumn/property.js +20 -34
- package/dist/esm/columnControls/DecimalColumn/runtime.js +12 -20
- package/dist/esm/columnControls/DepartmentColumn/designer.js +15 -26
- package/dist/esm/columnControls/DepartmentColumn/property.js +15 -24
- package/dist/esm/columnControls/DepartmentColumn/runtime.js +12 -20
- package/dist/esm/columnControls/EmployeeColumn/designer.js +12 -20
- package/dist/esm/columnControls/EmployeeColumn/property.js +15 -24
- package/dist/esm/columnControls/EmployeeColumn/runtime.js +12 -20
- package/dist/esm/columnControls/FileColumn/designer.js +12 -20
- package/dist/esm/columnControls/FileColumn/property.js +15 -24
- package/dist/esm/columnControls/FileColumn/runtime.js +12 -20
- package/dist/esm/columnControls/GroupColumn/designer.js +12 -20
- package/dist/esm/columnControls/GroupColumn/property.js +13 -19
- package/dist/esm/columnControls/GroupColumn/runtime.js +12 -20
- package/dist/esm/columnControls/ImageColumn/designer.js +12 -20
- package/dist/esm/columnControls/ImageColumn/property.js +13 -19
- package/dist/esm/columnControls/ImageColumn/runtime.js +12 -20
- package/dist/esm/columnControls/LocationColumn/designer.js +12 -20
- package/dist/esm/columnControls/LocationColumn/property.js +15 -24
- package/dist/esm/columnControls/LocationColumn/runtime.js +12 -20
- package/dist/esm/columnControls/OperationColumn/designer.js +33 -39
- package/dist/esm/columnControls/OperationColumn/property.js +18 -30
- package/dist/esm/columnControls/OperationColumn/runtime.js +12 -20
- package/dist/esm/columnControls/OrderColumn/designer.js +12 -20
- package/dist/esm/columnControls/OrderColumn/property.js +19 -32
- package/dist/esm/columnControls/OrderColumn/runtime.js +12 -20
- package/dist/esm/columnControls/PeopleColumn/designer.js +12 -20
- package/dist/esm/columnControls/PeopleColumn/property.js +13 -19
- package/dist/esm/columnControls/PeopleColumn/runtime.js +12 -20
- package/dist/esm/columnControls/TextColumn/designer.js +15 -26
- package/dist/esm/columnControls/TextColumn/property.js +17 -28
- package/dist/esm/columnControls/TextColumn/runtime.js +12 -20
- package/dist/esm/columnControls/TimescopeColumn/designer.js +15 -26
- package/dist/esm/columnControls/TimescopeColumn/property.js +17 -28
- package/dist/esm/columnControls/TimescopeColumn/runtime.js +12 -20
- package/dist/esm/columnControls/TimestampColumn/designer.js +15 -26
- package/dist/esm/columnControls/TimestampColumn/property.js +17 -28
- package/dist/esm/columnControls/TimestampColumn/runtime.js +12 -20
- package/dist/esm/columnControls/VarcharColumn/designer.js +12 -20
- package/dist/esm/columnControls/VarcharColumn/property.js +19 -32
- package/dist/esm/columnControls/VarcharColumn/runtime.js +12 -20
- package/dist/esm/formControls/Address/designer.js +12 -20
- package/dist/esm/formControls/Address/property.js +18 -30
- package/dist/esm/formControls/Address/runtime.js +12 -20
- package/dist/esm/formControls/Amount/designer.js +15 -26
- package/dist/esm/formControls/Amount/property.js +27 -47
- package/dist/esm/formControls/Amount/runtime.js +12 -20
- package/dist/esm/formControls/Attachment/designer.js +12 -20
- package/dist/esm/formControls/Attachment/property.js +37 -60
- package/dist/esm/formControls/Attachment/runtime.js +12 -20
- package/dist/esm/formControls/AutoNumber/designer.js +12 -20
- package/dist/esm/formControls/AutoNumber/property.js +16 -26
- package/dist/esm/formControls/AutoNumber/runtime.js +12 -20
- package/dist/esm/formControls/Calc/designer.js +15 -26
- package/dist/esm/formControls/Calc/property.js +22 -38
- package/dist/esm/formControls/Calc/runtime.js +12 -20
- package/dist/esm/formControls/Checkbox/designer.js +12 -20
- package/dist/esm/formControls/Checkbox/property.js +28 -49
- package/dist/esm/formControls/Checkbox/runtime.js +12 -20
- package/dist/esm/formControls/DatePicker/designer.js +15 -26
- package/dist/esm/formControls/DatePicker/property.js +27 -47
- package/dist/esm/formControls/DatePicker/runtime.js +12 -20
- package/dist/esm/formControls/DateRange/designer.js +15 -26
- package/dist/esm/formControls/DateRange/property.js +25 -43
- package/dist/esm/formControls/DateRange/runtime.js +12 -20
- package/dist/esm/formControls/Department/designer.js +15 -26
- package/dist/esm/formControls/Department/property.js +24 -42
- package/dist/esm/formControls/Department/runtime.js +12 -20
- package/dist/esm/formControls/Department2/designer.js +15 -26
- package/dist/esm/formControls/Department2/property.js +31 -55
- package/dist/esm/formControls/Department2/runtime.js +12 -20
- package/dist/esm/formControls/ElectronicSignature/designer.js +12 -20
- package/dist/esm/formControls/ElectronicSignature/property.js +19 -32
- package/dist/esm/formControls/ElectronicSignature/runtime.js +12 -20
- package/dist/esm/formControls/Employee/designer.js +12 -20
- package/dist/esm/formControls/Employee/property.js +22 -38
- package/dist/esm/formControls/Employee/runtime.js +12 -20
- package/dist/esm/formControls/Employee2/designer.js +12 -20
- package/dist/esm/formControls/Employee2/property.js +29 -52
- package/dist/esm/formControls/Employee2/runtime.js +12 -20
- package/dist/esm/formControls/Image/designer.js +20 -28
- package/dist/esm/formControls/Image/property.js +19 -32
- package/dist/esm/formControls/Image/runtime.js +12 -20
- package/dist/esm/formControls/Input/designer.js +12 -20
- package/dist/esm/formControls/Input/property.js +23 -40
- package/dist/esm/formControls/Input/runtime.js +12 -20
- package/dist/esm/{baseControls → formControls}/Link/designer.js +20 -24
- package/dist/esm/{baseControls → formControls}/Link/property.js +20 -30
- package/dist/esm/{baseControls → formControls}/Link/runtime.js +12 -20
- package/dist/esm/formControls/Number/designer.js +15 -26
- package/dist/esm/formControls/Number/property.js +26 -46
- package/dist/esm/formControls/Number/runtime.js +12 -20
- package/dist/esm/formControls/OrganizationSelection/designer.js +15 -26
- package/dist/esm/formControls/OrganizationSelection/property.js +31 -56
- package/dist/esm/formControls/OrganizationSelection/runtime.js +12 -20
- package/dist/esm/formControls/Radio/designer.js +12 -20
- package/dist/esm/formControls/Radio/property.js +25 -44
- package/dist/esm/formControls/Radio/runtime.js +12 -20
- package/dist/esm/formControls/RichText/designer.js +12 -20
- package/dist/esm/formControls/RichText/property.js +23 -40
- package/dist/esm/formControls/RichText/runtime.js +12 -20
- package/dist/esm/formControls/Score/designer.js +19 -28
- package/dist/esm/formControls/Score/property.js +20 -33
- package/dist/esm/formControls/Score/runtime.js +12 -20
- package/dist/esm/formControls/SearchDateRange/designer.js +12 -20
- package/dist/esm/formControls/SearchDateRange/property.js +26 -45
- package/dist/esm/formControls/SearchDateRange/runtime.js +12 -20
- package/dist/esm/formControls/SearchInput/designer.js +12 -20
- package/dist/esm/formControls/SearchInput/property.js +11 -17
- package/dist/esm/formControls/SearchInput/runtime.js +12 -20
- package/dist/esm/formControls/SearchNumberRange/designer.js +12 -20
- package/dist/esm/formControls/SearchNumberRange/property.js +19 -32
- package/dist/esm/formControls/SearchNumberRange/runtime.js +12 -20
- package/dist/esm/formControls/Select/designer.js +12 -20
- package/dist/esm/formControls/Select/property.js +24 -42
- package/dist/esm/formControls/Select/runtime.js +12 -20
- package/dist/esm/formControls/SelectMultiple/designer.js +12 -20
- package/dist/esm/formControls/SelectMultiple/property.js +23 -40
- package/dist/esm/formControls/SelectMultiple/runtime.js +12 -20
- package/dist/esm/formControls/SelectRelation/designer.js +15 -26
- package/dist/esm/formControls/SelectRelation/property.js +26 -46
- package/dist/esm/formControls/SelectRelation/runtime.js +12 -20
- package/dist/esm/formControls/Textarea/designer.js +12 -20
- package/dist/esm/formControls/Textarea/property.js +23 -40
- package/dist/esm/formControls/Textarea/runtime.js +12 -20
- package/dist/esm/formControls/Tree/designer.js +14 -21
- package/dist/esm/formControls/Tree/property.js +55 -58
- package/dist/esm/formControls/Tree/runtime.js +12 -20
- package/dist/esm/formControls/VueFormItem/designer.js +12 -20
- package/dist/esm/formControls/VueFormItem/property.js +18 -30
- package/dist/esm/formControls/VueFormItem/runtime.js +12 -20
- package/dist/esm/formControls/VuePage/designer.js +12 -20
- package/dist/esm/formControls/VuePage/property.js +18 -30
- package/dist/esm/formControls/VuePage/runtime.js +12 -20
- package/dist/esm/formControls/WPS/designer.js +21 -29
- package/dist/esm/formControls/WPS/property.js +25 -44
- package/dist/esm/formControls/WPS/runtime.js +12 -20
- package/dist/esm/formControls/index.js +1 -0
- package/dist/esm/framework.js +71 -119
- package/dist/esm/layoutControls/ActionBar/designer.js +14 -22
- package/dist/esm/layoutControls/ActionBar/property.js +16 -26
- package/dist/esm/layoutControls/ActionBar/runtime.js +14 -22
- package/dist/esm/layoutControls/AdvancedContainer/Setting.js +4 -2
- package/dist/esm/layoutControls/AdvancedContainer/designer.js +11 -17
- package/dist/esm/layoutControls/AdvancedContainer/property.js +12 -20
- package/dist/esm/layoutControls/AdvancedContainer/runtime.js +11 -17
- package/dist/esm/layoutControls/CardGroup/designer.js +12 -20
- package/dist/esm/layoutControls/CardGroup/property.js +16 -26
- package/dist/esm/layoutControls/CardGroup/runtime.js +12 -20
- package/dist/esm/layoutControls/Col/designer.js +12 -20
- package/dist/esm/layoutControls/Col/property.js +17 -28
- package/dist/esm/layoutControls/Col/runtime.js +12 -20
- package/dist/esm/layoutControls/DataView/designer.js +12 -20
- package/dist/esm/layoutControls/DataView/property.js +20 -34
- package/dist/esm/layoutControls/DataView/runtime.js +12 -20
- package/dist/esm/layoutControls/Grid/designer.js +12 -20
- package/dist/esm/layoutControls/Grid/runtime.js +11 -17
- package/dist/esm/layoutControls/GridLayoutContainer/designer.js +12 -20
- package/dist/esm/layoutControls/GridLayoutContainer/property.js +15 -24
- package/dist/esm/layoutControls/GridLayoutContainer/runtime.js +12 -20
- package/dist/esm/layoutControls/GridRow/designer.js +12 -20
- package/dist/esm/layoutControls/GridRow/property.js +11 -17
- package/dist/esm/layoutControls/GridRow/runtime.js +11 -17
- package/dist/esm/layoutControls/GridTableColumn/designer.js +12 -20
- package/dist/esm/layoutControls/GridTableColumn/property.js +23 -40
- package/dist/esm/layoutControls/GridTableColumn/runtime.js +12 -20
- package/dist/esm/layoutControls/ListView/designer.js +12 -20
- package/dist/esm/layoutControls/ListView/property.js +27 -48
- package/dist/esm/layoutControls/ListView/runtime.js +12 -20
- package/dist/esm/layoutControls/Page/Setting.js +4 -2
- package/dist/esm/layoutControls/Page/designer.js +11 -17
- package/dist/esm/layoutControls/Page/property.js +14 -22
- package/dist/esm/layoutControls/Page/runtime.js +11 -17
- package/dist/esm/layoutControls/Position/designer.js +11 -17
- package/dist/esm/layoutControls/Position/property.js +17 -28
- package/dist/esm/layoutControls/Position/runtime.js +11 -17
- package/dist/esm/layoutControls/PositioningContainer/Setting.js +4 -2
- package/dist/esm/layoutControls/PositioningContainer/designer.js +11 -17
- package/dist/esm/layoutControls/PositioningContainer/property.js +11 -17
- package/dist/esm/layoutControls/PositioningContainer/runtime.js +11 -17
- package/dist/esm/layoutControls/Row/designer.js +12 -20
- package/dist/esm/layoutControls/Row/property.js +15 -24
- package/dist/esm/layoutControls/Row/runtime.js +12 -20
- package/dist/esm/layoutControls/Step/designer.js +14 -22
- package/dist/esm/layoutControls/Step/property.js +18 -30
- package/dist/esm/layoutControls/Step/runtime.js +12 -20
- package/dist/esm/layoutControls/StepPane/designer.js +12 -20
- package/dist/esm/layoutControls/StepPane/property.js +21 -36
- package/dist/esm/layoutControls/StepPane/runtime.js +12 -20
- package/dist/esm/layoutControls/SubTableColumn/designer.js +12 -20
- package/dist/esm/layoutControls/SubTableColumn/property.js +18 -30
- package/dist/esm/layoutControls/SubTableColumn/runtime.js +12 -20
- package/dist/esm/layoutControls/SubTableRow/designer.js +12 -20
- package/dist/esm/layoutControls/SubTableRow/property.js +11 -17
- package/dist/esm/layoutControls/SubTableRow/runtime.js +12 -20
- package/dist/esm/layoutControls/Tab/designer.js +14 -22
- package/dist/esm/layoutControls/Tab/property.js +14 -22
- package/dist/esm/layoutControls/Tab/runtime.js +12 -20
- package/dist/esm/layoutControls/TabPane/designer.js +12 -20
- package/dist/esm/layoutControls/TabPane/property.js +14 -22
- package/dist/esm/layoutControls/TabPane/runtime.js +12 -20
- package/dist/esm/layoutControls/TableLayout/designer.js +12 -20
- package/dist/esm/layoutControls/TableLayout/property.js +28 -50
- package/dist/esm/layoutControls/TableLayout/runtime.js +12 -20
- package/dist/esm/layoutControls/TableLayoutCol/designer.js +12 -20
- package/dist/esm/layoutControls/TableLayoutCol/property.js +23 -40
- package/dist/esm/layoutControls/TableLayoutCol/runtime.js +12 -20
- package/dist/esm/layoutControls/TableLayoutRow/designer.js +12 -20
- package/dist/esm/layoutControls/TableLayoutRow/property.js +15 -24
- package/dist/esm/layoutControls/TableLayoutRow/runtime.js +12 -20
- package/dist/esm/layoutControls/TableLayoutWrapper/designer.js +12 -20
- package/dist/esm/layoutControls/TableLayoutWrapper/property.js +16 -26
- package/dist/esm/layoutControls/TableLayoutWrapper/runtime.js +12 -20
- package/dist/esm/layoutControls/Toolbox/designer.js +12 -20
- package/dist/esm/layoutControls/Toolbox/property.js +11 -17
- package/dist/esm/layoutControls/Toolbox/runtime.js +11 -17
- package/dist/esm/listControls/GridTable/designer.js +37 -45
- package/dist/esm/listControls/GridTable/property.js +27 -39
- package/dist/esm/listControls/GridTable/runtime.js +12 -20
- package/dist/esm/listControls/SubTable/designer.js +12 -20
- package/dist/esm/listControls/SubTable/property.js +47 -88
- package/dist/esm/listControls/SubTable/runtime.js +12 -20
- package/dist/esm/searchControls/SimpleSearch/designer.js +12 -20
- package/dist/esm/searchControls/SimpleSearch/property.js +25 -44
- package/dist/esm/searchControls/SimpleSearch/runtime.js +14 -22
- package/dist/esm/wrapControls/GridLayoutWrap/designer.js +20 -28
- package/dist/esm/wrapControls/GridLayoutWrap/property.js +14 -22
- package/dist/esm/wrapControls/GridLayoutWrap/runtime.js +20 -28
- package/dist/index.umd.js +8 -1
- package/dist/types/api-doc-index.d.ts +1 -1
- package/dist/types/baseControls/index.d.ts +0 -1
- package/dist/types/{baseControls → formControls}/Link/designer.d.ts +2 -2
- package/dist/types/{baseControls → formControls}/Link/property.d.ts +2 -2
- package/dist/types/formControls/Tree/property.d.ts +31 -0
- package/dist/types/formControls/index.d.ts +1 -0
- package/dist/types/framework.d.ts +19 -19
- package/dist/types/type.d.ts +4 -4
- package/dist/types/wrapControls/GridLayoutWrap/index.d.ts +1 -1
- package/package.json +5 -5
- /package/dist/esm/{baseControls → formControls}/Link/index.js +0 -0
- /package/dist/esm/{baseControls → formControls}/Link/types.js +0 -0
- /package/dist/types/{baseControls → formControls}/Link/index.d.ts +0 -0
- /package/dist/types/{baseControls → formControls}/Link/runtime.d.ts +0 -0
- /package/dist/types/{baseControls → formControls}/Link/types.d.ts +0 -0
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
function _assert_this_initialized(self) {
|
|
2
|
-
if (self === void 0)
|
|
3
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4
|
-
}
|
|
2
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
5
3
|
return self;
|
|
6
4
|
}
|
|
7
5
|
function _call_super(_this, derived, args) {
|
|
@@ -9,9 +7,7 @@ function _call_super(_this, derived, args) {
|
|
|
9
7
|
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
10
8
|
}
|
|
11
9
|
function _class_call_check(instance, Constructor) {
|
|
12
|
-
if (!(instance instanceof Constructor))
|
|
13
|
-
throw new TypeError("Cannot call a class as a function");
|
|
14
|
-
}
|
|
10
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
15
11
|
}
|
|
16
12
|
function _defineProperties(target, props) {
|
|
17
13
|
for(var i = 0; i < props.length; i++){
|
|
@@ -35,9 +31,7 @@ function _define_property(obj, key, value) {
|
|
|
35
31
|
configurable: true,
|
|
36
32
|
writable: true
|
|
37
33
|
});
|
|
38
|
-
} else
|
|
39
|
-
obj[key] = value;
|
|
40
|
-
}
|
|
34
|
+
} else obj[key] = value;
|
|
41
35
|
return obj;
|
|
42
36
|
}
|
|
43
37
|
function _get_prototype_of(o) {
|
|
@@ -59,10 +53,16 @@ function _inherits(subClass, superClass) {
|
|
|
59
53
|
});
|
|
60
54
|
if (superClass) _set_prototype_of(subClass, superClass);
|
|
61
55
|
}
|
|
56
|
+
function _is_native_reflect_construct() {
|
|
57
|
+
try {
|
|
58
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
59
|
+
} catch (_) {}
|
|
60
|
+
return (_is_native_reflect_construct = function() {
|
|
61
|
+
return !!result;
|
|
62
|
+
})();
|
|
63
|
+
}
|
|
62
64
|
function _possible_constructor_return(self, call) {
|
|
63
|
-
if (call && (_type_of(call) === "object" || typeof call === "function"))
|
|
64
|
-
return call;
|
|
65
|
-
}
|
|
65
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) return call;
|
|
66
66
|
return _assert_this_initialized(self);
|
|
67
67
|
}
|
|
68
68
|
function _set_prototype_of(o, p) {
|
|
@@ -76,14 +76,6 @@ function _type_of(obj) {
|
|
|
76
76
|
"@swc/helpers - typeof";
|
|
77
77
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
78
78
|
}
|
|
79
|
-
function _is_native_reflect_construct() {
|
|
80
|
-
try {
|
|
81
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
82
|
-
} catch (_) {}
|
|
83
|
-
return (_is_native_reflect_construct = function() {
|
|
84
|
-
return !!result;
|
|
85
|
-
})();
|
|
86
|
-
}
|
|
87
79
|
import { COMMON_SETTING_TYPE } from '@byteluck-fe/model-driven-core';
|
|
88
80
|
import { DesignerButtonControl } from '../Button';
|
|
89
81
|
import ListSelectButtonProperty from './property';
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
function _assert_this_initialized(self) {
|
|
2
|
-
if (self === void 0)
|
|
3
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4
|
-
}
|
|
2
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
5
3
|
return self;
|
|
6
4
|
}
|
|
7
5
|
function _call_super(_this, derived, args) {
|
|
@@ -9,9 +7,7 @@ function _call_super(_this, derived, args) {
|
|
|
9
7
|
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
10
8
|
}
|
|
11
9
|
function _class_call_check(instance, Constructor) {
|
|
12
|
-
if (!(instance instanceof Constructor))
|
|
13
|
-
throw new TypeError("Cannot call a class as a function");
|
|
14
|
-
}
|
|
10
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
15
11
|
}
|
|
16
12
|
function _define_property(obj, key, value) {
|
|
17
13
|
if (key in obj) {
|
|
@@ -21,9 +17,7 @@ function _define_property(obj, key, value) {
|
|
|
21
17
|
configurable: true,
|
|
22
18
|
writable: true
|
|
23
19
|
});
|
|
24
|
-
} else
|
|
25
|
-
obj[key] = value;
|
|
26
|
-
}
|
|
20
|
+
} else obj[key] = value;
|
|
27
21
|
return obj;
|
|
28
22
|
}
|
|
29
23
|
function _get_prototype_of(o) {
|
|
@@ -45,6 +39,14 @@ function _inherits(subClass, superClass) {
|
|
|
45
39
|
});
|
|
46
40
|
if (superClass) _set_prototype_of(subClass, superClass);
|
|
47
41
|
}
|
|
42
|
+
function _is_native_reflect_construct() {
|
|
43
|
+
try {
|
|
44
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
45
|
+
} catch (_) {}
|
|
46
|
+
return (_is_native_reflect_construct = function() {
|
|
47
|
+
return !!result;
|
|
48
|
+
})();
|
|
49
|
+
}
|
|
48
50
|
function _object_spread(target) {
|
|
49
51
|
for(var i = 1; i < arguments.length; i++){
|
|
50
52
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
@@ -61,9 +63,7 @@ function _object_spread(target) {
|
|
|
61
63
|
return target;
|
|
62
64
|
}
|
|
63
65
|
function _possible_constructor_return(self, call) {
|
|
64
|
-
if (call && (_type_of(call) === "object" || typeof call === "function"))
|
|
65
|
-
return call;
|
|
66
|
-
}
|
|
66
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) return call;
|
|
67
67
|
return _assert_this_initialized(self);
|
|
68
68
|
}
|
|
69
69
|
function _set_prototype_of(o, p) {
|
|
@@ -77,14 +77,6 @@ function _type_of(obj) {
|
|
|
77
77
|
"@swc/helpers - typeof";
|
|
78
78
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
79
79
|
}
|
|
80
|
-
function _is_native_reflect_construct() {
|
|
81
|
-
try {
|
|
82
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
83
|
-
} catch (_) {}
|
|
84
|
-
return (_is_native_reflect_construct = function() {
|
|
85
|
-
return !!result;
|
|
86
|
-
})();
|
|
87
|
-
}
|
|
88
80
|
import { ButtonProperty } from '../Button';
|
|
89
81
|
import ListSelectButtonControl from './designer';
|
|
90
82
|
import { PropertyRules, FillBackBind, FillPayloadBind, SelectedContentConfig, ListBind } from '@byteluck-fe/model-driven-core';
|
|
@@ -138,6 +130,7 @@ var ListSelectButtonPropertyRules = /*#__PURE__*/ function(PropertyRules) {
|
|
|
138
130
|
function ListSelectButtonProperty(props) {
|
|
139
131
|
_class_call_check(this, ListSelectButtonProperty);
|
|
140
132
|
var _this;
|
|
133
|
+
var _ref, _ref1, _ref2, _ref3, _ref4;
|
|
141
134
|
_this = _call_super(this, ListSelectButtonProperty, [
|
|
142
135
|
props
|
|
143
136
|
]), /**
|
|
@@ -156,20 +149,15 @@ var ListSelectButtonPropertyRules = /*#__PURE__*/ function(PropertyRules) {
|
|
|
156
149
|
_define_property(_this, "showSelectedDetail", void 0), // 是否使用选中行填充
|
|
157
150
|
_define_property(_this, "isSelectedRowFill", void 0), // 展示已选内容配置字段
|
|
158
151
|
_define_property(_this, "selectedContentConfig", void 0);
|
|
159
|
-
|
|
160
|
-
_this.
|
|
161
|
-
var _props_icon;
|
|
162
|
-
_this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : ListSelectButtonControl.controlIcon;
|
|
152
|
+
_this.content = (_ref = props === null || props === void 0 ? void 0 : props.content) !== null && _ref !== void 0 ? _ref : ListSelectButtonControl.controlName;
|
|
153
|
+
_this.icon = (_ref1 = props === null || props === void 0 ? void 0 : props.icon) !== null && _ref1 !== void 0 ? _ref1 : ListSelectButtonControl.controlIcon;
|
|
163
154
|
_this.fillPayload = new FillPayloadBind(props === null || props === void 0 ? void 0 : props.fillPayload);
|
|
164
155
|
_this.listPageBind = new ListBind(props === null || props === void 0 ? void 0 : props.listPageBind);
|
|
165
156
|
_this.fillBack = new FillBackBind(props === null || props === void 0 ? void 0 : props.fillBack);
|
|
166
|
-
|
|
167
|
-
_this.showSelectedDetail = (_props_showSelectedDetail = props === null || props === void 0 ? void 0 : props.showSelectedDetail) !== null && _props_showSelectedDetail !== void 0 ? _props_showSelectedDetail : false;
|
|
157
|
+
_this.showSelectedDetail = (_ref2 = props === null || props === void 0 ? void 0 : props.showSelectedDetail) !== null && _ref2 !== void 0 ? _ref2 : false;
|
|
168
158
|
_this.selectedContentConfig = new SelectedContentConfig(props === null || props === void 0 ? void 0 : props.selectedContentConfig);
|
|
169
|
-
|
|
170
|
-
_this.
|
|
171
|
-
var _props_disableFilling;
|
|
172
|
-
_this.disableFilling = (_props_disableFilling = props === null || props === void 0 ? void 0 : props.disableFilling) !== null && _props_disableFilling !== void 0 ? _props_disableFilling : true;
|
|
159
|
+
_this.isSelectedRowFill = (_ref3 = props === null || props === void 0 ? void 0 : props.isSelectedRowFill) !== null && _ref3 !== void 0 ? _ref3 : false;
|
|
160
|
+
_this.disableFilling = (_ref4 = props === null || props === void 0 ? void 0 : props.disableFilling) !== null && _ref4 !== void 0 ? _ref4 : true;
|
|
173
161
|
return _this;
|
|
174
162
|
}
|
|
175
163
|
return ListSelectButtonProperty;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
function _assert_this_initialized(self) {
|
|
2
|
-
if (self === void 0)
|
|
3
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4
|
-
}
|
|
2
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
5
3
|
return self;
|
|
6
4
|
}
|
|
7
5
|
function _call_super(_this, derived, args) {
|
|
@@ -9,9 +7,7 @@ function _call_super(_this, derived, args) {
|
|
|
9
7
|
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
10
8
|
}
|
|
11
9
|
function _class_call_check(instance, Constructor) {
|
|
12
|
-
if (!(instance instanceof Constructor))
|
|
13
|
-
throw new TypeError("Cannot call a class as a function");
|
|
14
|
-
}
|
|
10
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
15
11
|
}
|
|
16
12
|
function _defineProperties(target, props) {
|
|
17
13
|
for(var i = 0; i < props.length; i++){
|
|
@@ -35,9 +31,7 @@ function _define_property(obj, key, value) {
|
|
|
35
31
|
configurable: true,
|
|
36
32
|
writable: true
|
|
37
33
|
});
|
|
38
|
-
} else
|
|
39
|
-
obj[key] = value;
|
|
40
|
-
}
|
|
34
|
+
} else obj[key] = value;
|
|
41
35
|
return obj;
|
|
42
36
|
}
|
|
43
37
|
function _get_prototype_of(o) {
|
|
@@ -59,10 +53,16 @@ function _inherits(subClass, superClass) {
|
|
|
59
53
|
});
|
|
60
54
|
if (superClass) _set_prototype_of(subClass, superClass);
|
|
61
55
|
}
|
|
56
|
+
function _is_native_reflect_construct() {
|
|
57
|
+
try {
|
|
58
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
59
|
+
} catch (_) {}
|
|
60
|
+
return (_is_native_reflect_construct = function() {
|
|
61
|
+
return !!result;
|
|
62
|
+
})();
|
|
63
|
+
}
|
|
62
64
|
function _possible_constructor_return(self, call) {
|
|
63
|
-
if (call && (_type_of(call) === "object" || typeof call === "function"))
|
|
64
|
-
return call;
|
|
65
|
-
}
|
|
65
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) return call;
|
|
66
66
|
return _assert_this_initialized(self);
|
|
67
67
|
}
|
|
68
68
|
function _set_prototype_of(o, p) {
|
|
@@ -76,14 +76,6 @@ function _type_of(obj) {
|
|
|
76
76
|
"@swc/helpers - typeof";
|
|
77
77
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
78
78
|
}
|
|
79
|
-
function _is_native_reflect_construct() {
|
|
80
|
-
try {
|
|
81
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
82
|
-
} catch (_) {}
|
|
83
|
-
return (_is_native_reflect_construct = function() {
|
|
84
|
-
return !!result;
|
|
85
|
-
})();
|
|
86
|
-
}
|
|
87
79
|
import ListSelectButtonProperty from './property';
|
|
88
80
|
import { RuntimeButtonControl } from '../Button';
|
|
89
81
|
var ListSelectButtonControl = /*#__PURE__*/ function(RuntimeButtonControl) {
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
function _assert_this_initialized(self) {
|
|
2
|
-
if (self === void 0)
|
|
3
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4
|
-
}
|
|
2
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
5
3
|
return self;
|
|
6
4
|
}
|
|
7
5
|
function _call_super(_this, derived, args) {
|
|
@@ -9,9 +7,7 @@ function _call_super(_this, derived, args) {
|
|
|
9
7
|
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
10
8
|
}
|
|
11
9
|
function _class_call_check(instance, Constructor) {
|
|
12
|
-
if (!(instance instanceof Constructor))
|
|
13
|
-
throw new TypeError("Cannot call a class as a function");
|
|
14
|
-
}
|
|
10
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
15
11
|
}
|
|
16
12
|
function _defineProperties(target, props) {
|
|
17
13
|
for(var i = 0; i < props.length; i++){
|
|
@@ -35,9 +31,7 @@ function _define_property(obj, key, value) {
|
|
|
35
31
|
configurable: true,
|
|
36
32
|
writable: true
|
|
37
33
|
});
|
|
38
|
-
} else
|
|
39
|
-
obj[key] = value;
|
|
40
|
-
}
|
|
34
|
+
} else obj[key] = value;
|
|
41
35
|
return obj;
|
|
42
36
|
}
|
|
43
37
|
function _get_prototype_of(o) {
|
|
@@ -59,10 +53,16 @@ function _inherits(subClass, superClass) {
|
|
|
59
53
|
});
|
|
60
54
|
if (superClass) _set_prototype_of(subClass, superClass);
|
|
61
55
|
}
|
|
56
|
+
function _is_native_reflect_construct() {
|
|
57
|
+
try {
|
|
58
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
59
|
+
} catch (_) {}
|
|
60
|
+
return (_is_native_reflect_construct = function() {
|
|
61
|
+
return !!result;
|
|
62
|
+
})();
|
|
63
|
+
}
|
|
62
64
|
function _possible_constructor_return(self, call) {
|
|
63
|
-
if (call && (_type_of(call) === "object" || typeof call === "function"))
|
|
64
|
-
return call;
|
|
65
|
-
}
|
|
65
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) return call;
|
|
66
66
|
return _assert_this_initialized(self);
|
|
67
67
|
}
|
|
68
68
|
function _set_prototype_of(o, p) {
|
|
@@ -76,14 +76,6 @@ function _type_of(obj) {
|
|
|
76
76
|
"@swc/helpers - typeof";
|
|
77
77
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
78
78
|
}
|
|
79
|
-
function _is_native_reflect_construct() {
|
|
80
|
-
try {
|
|
81
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
82
|
-
} catch (_) {}
|
|
83
|
-
return (_is_native_reflect_construct = function() {
|
|
84
|
-
return !!result;
|
|
85
|
-
})();
|
|
86
|
-
}
|
|
87
79
|
import { DesignerControl } from '@byteluck-fe/model-driven-core';
|
|
88
80
|
import ListViewSelectProperty from './property';
|
|
89
81
|
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
function _assert_this_initialized(self) {
|
|
2
|
-
if (self === void 0)
|
|
3
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4
|
-
}
|
|
2
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
5
3
|
return self;
|
|
6
4
|
}
|
|
7
5
|
function _call_super(_this, derived, args) {
|
|
@@ -9,9 +7,7 @@ function _call_super(_this, derived, args) {
|
|
|
9
7
|
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
10
8
|
}
|
|
11
9
|
function _class_call_check(instance, Constructor) {
|
|
12
|
-
if (!(instance instanceof Constructor))
|
|
13
|
-
throw new TypeError("Cannot call a class as a function");
|
|
14
|
-
}
|
|
10
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
15
11
|
}
|
|
16
12
|
function _define_property(obj, key, value) {
|
|
17
13
|
if (key in obj) {
|
|
@@ -21,9 +17,7 @@ function _define_property(obj, key, value) {
|
|
|
21
17
|
configurable: true,
|
|
22
18
|
writable: true
|
|
23
19
|
});
|
|
24
|
-
} else
|
|
25
|
-
obj[key] = value;
|
|
26
|
-
}
|
|
20
|
+
} else obj[key] = value;
|
|
27
21
|
return obj;
|
|
28
22
|
}
|
|
29
23
|
function _get_prototype_of(o) {
|
|
@@ -45,10 +39,16 @@ function _inherits(subClass, superClass) {
|
|
|
45
39
|
});
|
|
46
40
|
if (superClass) _set_prototype_of(subClass, superClass);
|
|
47
41
|
}
|
|
42
|
+
function _is_native_reflect_construct() {
|
|
43
|
+
try {
|
|
44
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
45
|
+
} catch (_) {}
|
|
46
|
+
return (_is_native_reflect_construct = function() {
|
|
47
|
+
return !!result;
|
|
48
|
+
})();
|
|
49
|
+
}
|
|
48
50
|
function _possible_constructor_return(self, call) {
|
|
49
|
-
if (call && (_type_of(call) === "object" || typeof call === "function"))
|
|
50
|
-
return call;
|
|
51
|
-
}
|
|
51
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) return call;
|
|
52
52
|
return _assert_this_initialized(self);
|
|
53
53
|
}
|
|
54
54
|
function _set_prototype_of(o, p) {
|
|
@@ -62,14 +62,6 @@ function _type_of(obj) {
|
|
|
62
62
|
"@swc/helpers - typeof";
|
|
63
63
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
64
64
|
}
|
|
65
|
-
function _is_native_reflect_construct() {
|
|
66
|
-
try {
|
|
67
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
68
|
-
} catch (_) {}
|
|
69
|
-
return (_is_native_reflect_construct = function() {
|
|
70
|
-
return !!result;
|
|
71
|
-
})();
|
|
72
|
-
}
|
|
73
65
|
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
74
66
|
import { Property, PropertyRules, ViewOperationItem } from '@byteluck-fe/model-driven-core';
|
|
75
67
|
var ListViewSelectPropertyRules = /*#__PURE__*/ function(PropertyRules) {
|
|
@@ -115,16 +107,15 @@ var ListViewSelectProperty = /*#__PURE__*/ function(Property) {
|
|
|
115
107
|
function ListViewSelectProperty(props) {
|
|
116
108
|
_class_call_check(this, ListViewSelectProperty);
|
|
117
109
|
var _this;
|
|
110
|
+
var _ref, _ref1;
|
|
118
111
|
var _props_viewList;
|
|
119
112
|
_this = _call_super(this, ListViewSelectProperty, [
|
|
120
113
|
props
|
|
121
114
|
]), _define_property(_this, "showType", void 0), _define_property(_this, "viewList", void 0);
|
|
122
|
-
|
|
123
|
-
_this.
|
|
124
|
-
var _props_viewList_map;
|
|
125
|
-
_this.viewList = (_props_viewList_map = props === null || props === void 0 ? void 0 : (_props_viewList = props.viewList) === null || _props_viewList === void 0 ? void 0 : _props_viewList.map(function(item) {
|
|
115
|
+
_this.showType = (_ref = props === null || props === void 0 ? void 0 : props.showType) !== null && _ref !== void 0 ? _ref : 'select';
|
|
116
|
+
_this.viewList = (_ref1 = props === null || props === void 0 ? void 0 : (_props_viewList = props.viewList) === null || _props_viewList === void 0 ? void 0 : _props_viewList.map(function(item) {
|
|
126
117
|
return new ViewOperationItem(item);
|
|
127
|
-
})) !== null &&
|
|
118
|
+
})) !== null && _ref1 !== void 0 ? _ref1 : [];
|
|
128
119
|
return _this;
|
|
129
120
|
}
|
|
130
121
|
return ListViewSelectProperty;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
function _assert_this_initialized(self) {
|
|
2
|
-
if (self === void 0)
|
|
3
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4
|
-
}
|
|
2
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
5
3
|
return self;
|
|
6
4
|
}
|
|
7
5
|
function _call_super(_this, derived, args) {
|
|
@@ -9,9 +7,7 @@ function _call_super(_this, derived, args) {
|
|
|
9
7
|
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
10
8
|
}
|
|
11
9
|
function _class_call_check(instance, Constructor) {
|
|
12
|
-
if (!(instance instanceof Constructor))
|
|
13
|
-
throw new TypeError("Cannot call a class as a function");
|
|
14
|
-
}
|
|
10
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
15
11
|
}
|
|
16
12
|
function _defineProperties(target, props) {
|
|
17
13
|
for(var i = 0; i < props.length; i++){
|
|
@@ -35,9 +31,7 @@ function _define_property(obj, key, value) {
|
|
|
35
31
|
configurable: true,
|
|
36
32
|
writable: true
|
|
37
33
|
});
|
|
38
|
-
} else
|
|
39
|
-
obj[key] = value;
|
|
40
|
-
}
|
|
34
|
+
} else obj[key] = value;
|
|
41
35
|
return obj;
|
|
42
36
|
}
|
|
43
37
|
function _get_prototype_of(o) {
|
|
@@ -59,10 +53,16 @@ function _inherits(subClass, superClass) {
|
|
|
59
53
|
});
|
|
60
54
|
if (superClass) _set_prototype_of(subClass, superClass);
|
|
61
55
|
}
|
|
56
|
+
function _is_native_reflect_construct() {
|
|
57
|
+
try {
|
|
58
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
59
|
+
} catch (_) {}
|
|
60
|
+
return (_is_native_reflect_construct = function() {
|
|
61
|
+
return !!result;
|
|
62
|
+
})();
|
|
63
|
+
}
|
|
62
64
|
function _possible_constructor_return(self, call) {
|
|
63
|
-
if (call && (_type_of(call) === "object" || typeof call === "function"))
|
|
64
|
-
return call;
|
|
65
|
-
}
|
|
65
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) return call;
|
|
66
66
|
return _assert_this_initialized(self);
|
|
67
67
|
}
|
|
68
68
|
function _set_prototype_of(o, p) {
|
|
@@ -76,14 +76,6 @@ function _type_of(obj) {
|
|
|
76
76
|
"@swc/helpers - typeof";
|
|
77
77
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
78
78
|
}
|
|
79
|
-
function _is_native_reflect_construct() {
|
|
80
|
-
try {
|
|
81
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
82
|
-
} catch (_) {}
|
|
83
|
-
return (_is_native_reflect_construct = function() {
|
|
84
|
-
return !!result;
|
|
85
|
-
})();
|
|
86
|
-
}
|
|
87
79
|
import { RuntimeControl } from '@byteluck-fe/model-driven-core';
|
|
88
80
|
import ListViewSelectProperty from './property';
|
|
89
81
|
var ListViewSelectControl = /*#__PURE__*/ function(RuntimeControl) {
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
function _assert_this_initialized(self) {
|
|
2
|
-
if (self === void 0)
|
|
3
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4
|
-
}
|
|
2
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
5
3
|
return self;
|
|
6
4
|
}
|
|
7
5
|
function _call_super(_this, derived, args) {
|
|
@@ -9,9 +7,7 @@ function _call_super(_this, derived, args) {
|
|
|
9
7
|
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
10
8
|
}
|
|
11
9
|
function _class_call_check(instance, Constructor) {
|
|
12
|
-
if (!(instance instanceof Constructor))
|
|
13
|
-
throw new TypeError("Cannot call a class as a function");
|
|
14
|
-
}
|
|
10
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
15
11
|
}
|
|
16
12
|
function _defineProperties(target, props) {
|
|
17
13
|
for(var i = 0; i < props.length; i++){
|
|
@@ -35,9 +31,7 @@ function _define_property(obj, key, value) {
|
|
|
35
31
|
configurable: true,
|
|
36
32
|
writable: true
|
|
37
33
|
});
|
|
38
|
-
} else
|
|
39
|
-
obj[key] = value;
|
|
40
|
-
}
|
|
34
|
+
} else obj[key] = value;
|
|
41
35
|
return obj;
|
|
42
36
|
}
|
|
43
37
|
function _get_prototype_of(o) {
|
|
@@ -59,10 +53,16 @@ function _inherits(subClass, superClass) {
|
|
|
59
53
|
});
|
|
60
54
|
if (superClass) _set_prototype_of(subClass, superClass);
|
|
61
55
|
}
|
|
56
|
+
function _is_native_reflect_construct() {
|
|
57
|
+
try {
|
|
58
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
59
|
+
} catch (_) {}
|
|
60
|
+
return (_is_native_reflect_construct = function() {
|
|
61
|
+
return !!result;
|
|
62
|
+
})();
|
|
63
|
+
}
|
|
62
64
|
function _possible_constructor_return(self, call) {
|
|
63
|
-
if (call && (_type_of(call) === "object" || typeof call === "function"))
|
|
64
|
-
return call;
|
|
65
|
-
}
|
|
65
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) return call;
|
|
66
66
|
return _assert_this_initialized(self);
|
|
67
67
|
}
|
|
68
68
|
function _set_prototype_of(o, p) {
|
|
@@ -76,14 +76,6 @@ function _type_of(obj) {
|
|
|
76
76
|
"@swc/helpers - typeof";
|
|
77
77
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
78
78
|
}
|
|
79
|
-
function _is_native_reflect_construct() {
|
|
80
|
-
try {
|
|
81
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
82
|
-
} catch (_) {}
|
|
83
|
-
return (_is_native_reflect_construct = function() {
|
|
84
|
-
return !!result;
|
|
85
|
-
})();
|
|
86
|
-
}
|
|
87
79
|
import { DesignerControl, COMMON_SETTING_TYPE } from '@byteluck-fe/model-driven-core';
|
|
88
80
|
import { OperationButtonProperty } from './property';
|
|
89
81
|
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
function _assert_this_initialized(self) {
|
|
2
|
-
if (self === void 0)
|
|
3
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4
|
-
}
|
|
2
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
5
3
|
return self;
|
|
6
4
|
}
|
|
7
5
|
function _call_super(_this, derived, args) {
|
|
@@ -9,9 +7,7 @@ function _call_super(_this, derived, args) {
|
|
|
9
7
|
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
10
8
|
}
|
|
11
9
|
function _class_call_check(instance, Constructor) {
|
|
12
|
-
if (!(instance instanceof Constructor))
|
|
13
|
-
throw new TypeError("Cannot call a class as a function");
|
|
14
|
-
}
|
|
10
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
15
11
|
}
|
|
16
12
|
function _define_property(obj, key, value) {
|
|
17
13
|
if (key in obj) {
|
|
@@ -21,9 +17,7 @@ function _define_property(obj, key, value) {
|
|
|
21
17
|
configurable: true,
|
|
22
18
|
writable: true
|
|
23
19
|
});
|
|
24
|
-
} else
|
|
25
|
-
obj[key] = value;
|
|
26
|
-
}
|
|
20
|
+
} else obj[key] = value;
|
|
27
21
|
return obj;
|
|
28
22
|
}
|
|
29
23
|
function _get_prototype_of(o) {
|
|
@@ -45,10 +39,16 @@ function _inherits(subClass, superClass) {
|
|
|
45
39
|
});
|
|
46
40
|
if (superClass) _set_prototype_of(subClass, superClass);
|
|
47
41
|
}
|
|
42
|
+
function _is_native_reflect_construct() {
|
|
43
|
+
try {
|
|
44
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
45
|
+
} catch (_) {}
|
|
46
|
+
return (_is_native_reflect_construct = function() {
|
|
47
|
+
return !!result;
|
|
48
|
+
})();
|
|
49
|
+
}
|
|
48
50
|
function _possible_constructor_return(self, call) {
|
|
49
|
-
if (call && (_type_of(call) === "object" || typeof call === "function"))
|
|
50
|
-
return call;
|
|
51
|
-
}
|
|
51
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) return call;
|
|
52
52
|
return _assert_this_initialized(self);
|
|
53
53
|
}
|
|
54
54
|
function _set_prototype_of(o, p) {
|
|
@@ -62,14 +62,6 @@ function _type_of(obj) {
|
|
|
62
62
|
"@swc/helpers - typeof";
|
|
63
63
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
64
64
|
}
|
|
65
|
-
function _is_native_reflect_construct() {
|
|
66
|
-
try {
|
|
67
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
68
|
-
} catch (_) {}
|
|
69
|
-
return (_is_native_reflect_construct = function() {
|
|
70
|
-
return !!result;
|
|
71
|
-
})();
|
|
72
|
-
}
|
|
73
65
|
import { Property, PropertyRules } from '@byteluck-fe/model-driven-core';
|
|
74
66
|
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
75
67
|
var OperationButtonPropertyRules = /*#__PURE__*/ function(PropertyRules) {
|
|
@@ -101,30 +93,25 @@ var OperationButtonProperty = /*#__PURE__*/ function(Property) {
|
|
|
101
93
|
function OperationButtonProperty(props) {
|
|
102
94
|
_class_call_check(this, OperationButtonProperty);
|
|
103
95
|
var _this;
|
|
96
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5;
|
|
104
97
|
_this = _call_super(this, OperationButtonProperty, [
|
|
105
98
|
props
|
|
106
99
|
]), _define_property(_this, "content", void 0), _define_property(_this, "code", void 0), _define_property(_this, "command", void 0), _define_property(_this, "color", void 0), _define_property(_this, "icon", void 0), _define_property(_this, "formKey", void 0), _define_property(_this, "openType", void 0), _define_property(_this, "needConfirm", void 0), _define_property(_this, "confirmMessage", void 0), _define_property(_this, "options", void 0), _define_property(_this, "defaultState", void 0), _define_property(_this, "priorityProcess", void 0), _define_property(_this, "isLoading", void 0), // 是否同步删除流程数据
|
|
107
100
|
_define_property(_this, "isSyncDelete", void 0);
|
|
108
|
-
|
|
109
|
-
_this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : getLocaleText('CMD.button', null, '按钮');
|
|
101
|
+
_this.content = (_ref = props === null || props === void 0 ? void 0 : props.content) !== null && _ref !== void 0 ? _ref : getLocaleText('CMD.button', null, '按钮');
|
|
110
102
|
_this.code = props === null || props === void 0 ? void 0 : props.code;
|
|
111
|
-
|
|
112
|
-
_this.
|
|
113
|
-
var _props_color;
|
|
114
|
-
_this.color = (_props_color = props === null || props === void 0 ? void 0 : props.color) !== null && _props_color !== void 0 ? _props_color : 'primary';
|
|
103
|
+
_this.command = (_ref1 = props === null || props === void 0 ? void 0 : props.command) !== null && _ref1 !== void 0 ? _ref1 : 'custom';
|
|
104
|
+
_this.color = (_ref2 = props === null || props === void 0 ? void 0 : props.color) !== null && _ref2 !== void 0 ? _ref2 : 'primary';
|
|
115
105
|
_this.icon = props === null || props === void 0 ? void 0 : props.icon;
|
|
116
106
|
_this.formKey = props === null || props === void 0 ? void 0 : props.formKey;
|
|
117
107
|
_this.openType = props === null || props === void 0 ? void 0 : props.openType;
|
|
118
108
|
_this.needConfirm = props === null || props === void 0 ? void 0 : props.needConfirm;
|
|
119
109
|
_this.confirmMessage = props === null || props === void 0 ? void 0 : props.confirmMessage;
|
|
120
110
|
_this.options = props === null || props === void 0 ? void 0 : props.options;
|
|
121
|
-
|
|
122
|
-
_this.defaultState = (_props_defaultState = props === null || props === void 0 ? void 0 : props.defaultState) !== null && _props_defaultState !== void 0 ? _props_defaultState : 'default';
|
|
111
|
+
_this.defaultState = (_ref3 = props === null || props === void 0 ? void 0 : props.defaultState) !== null && _ref3 !== void 0 ? _ref3 : 'default';
|
|
123
112
|
_this.priorityProcess = props === null || props === void 0 ? void 0 : props.priorityProcess;
|
|
124
|
-
|
|
125
|
-
_this.
|
|
126
|
-
var _props_isSyncDelete;
|
|
127
|
-
_this.isSyncDelete = (_props_isSyncDelete = props === null || props === void 0 ? void 0 : props.isSyncDelete) !== null && _props_isSyncDelete !== void 0 ? _props_isSyncDelete : false;
|
|
113
|
+
_this.isLoading = (_ref4 = props === null || props === void 0 ? void 0 : props.isLoading) !== null && _ref4 !== void 0 ? _ref4 : false;
|
|
114
|
+
_this.isSyncDelete = (_ref5 = props === null || props === void 0 ? void 0 : props.isSyncDelete) !== null && _ref5 !== void 0 ? _ref5 : false;
|
|
128
115
|
return _this;
|
|
129
116
|
}
|
|
130
117
|
return OperationButtonProperty;
|