@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 _get_prototype_of(o) {
|
|
17
13
|
_get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
|
|
@@ -32,10 +28,16 @@ function _inherits(subClass, superClass) {
|
|
|
32
28
|
});
|
|
33
29
|
if (superClass) _set_prototype_of(subClass, superClass);
|
|
34
30
|
}
|
|
31
|
+
function _is_native_reflect_construct() {
|
|
32
|
+
try {
|
|
33
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
34
|
+
} catch (_) {}
|
|
35
|
+
return (_is_native_reflect_construct = function() {
|
|
36
|
+
return !!result;
|
|
37
|
+
})();
|
|
38
|
+
}
|
|
35
39
|
function _possible_constructor_return(self, call) {
|
|
36
|
-
if (call && (_type_of(call) === "object" || typeof call === "function"))
|
|
37
|
-
return call;
|
|
38
|
-
}
|
|
40
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) return call;
|
|
39
41
|
return _assert_this_initialized(self);
|
|
40
42
|
}
|
|
41
43
|
function _set_prototype_of(o, p) {
|
|
@@ -49,14 +51,6 @@ function _type_of(obj) {
|
|
|
49
51
|
"@swc/helpers - typeof";
|
|
50
52
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
51
53
|
}
|
|
52
|
-
function _is_native_reflect_construct() {
|
|
53
|
-
try {
|
|
54
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
55
|
-
} catch (_) {}
|
|
56
|
-
return (_is_native_reflect_construct = function() {
|
|
57
|
-
return !!result;
|
|
58
|
-
})();
|
|
59
|
-
}
|
|
60
54
|
import { RowControlProperty } from '../Row';
|
|
61
55
|
var GridRowControlProperty = /*#__PURE__*/ function(RowControlProperty) {
|
|
62
56
|
"use strict";
|
|
@@ -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++){
|
|
@@ -46,10 +42,16 @@ function _inherits(subClass, superClass) {
|
|
|
46
42
|
});
|
|
47
43
|
if (superClass) _set_prototype_of(subClass, superClass);
|
|
48
44
|
}
|
|
45
|
+
function _is_native_reflect_construct() {
|
|
46
|
+
try {
|
|
47
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
48
|
+
} catch (_) {}
|
|
49
|
+
return (_is_native_reflect_construct = function() {
|
|
50
|
+
return !!result;
|
|
51
|
+
})();
|
|
52
|
+
}
|
|
49
53
|
function _possible_constructor_return(self, call) {
|
|
50
|
-
if (call && (_type_of(call) === "object" || typeof call === "function"))
|
|
51
|
-
return call;
|
|
52
|
-
}
|
|
54
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) return call;
|
|
53
55
|
return _assert_this_initialized(self);
|
|
54
56
|
}
|
|
55
57
|
function _set_prototype_of(o, p) {
|
|
@@ -63,14 +65,6 @@ function _type_of(obj) {
|
|
|
63
65
|
"@swc/helpers - typeof";
|
|
64
66
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
65
67
|
}
|
|
66
|
-
function _is_native_reflect_construct() {
|
|
67
|
-
try {
|
|
68
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
69
|
-
} catch (_) {}
|
|
70
|
-
return (_is_native_reflect_construct = function() {
|
|
71
|
-
return !!result;
|
|
72
|
-
})();
|
|
73
|
-
}
|
|
74
68
|
import RowControl from '../Row/runtime';
|
|
75
69
|
var GridRowControl = /*#__PURE__*/ function(RowControl) {
|
|
76
70
|
"use strict";
|
|
@@ -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 { DesignerLayoutControl, COMMON_SETTING_TYPE } from '@byteluck-fe/model-driven-core';
|
|
75
67
|
import { CONTROL_TYPE } from '@byteluck-fe/model-driven-shared';
|
|
@@ -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 { DateType, FieldTypes } from '@byteluck-fe/model-driven-shared';
|
|
74
66
|
import { LayoutControlProperty, DataSourceBind } from '@byteluck-fe/model-driven-core';
|
|
75
67
|
var GridTableColumnControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
|
|
@@ -78,32 +70,23 @@ var GridTableColumnControlProperty = /*#__PURE__*/ function(LayoutControlPropert
|
|
|
78
70
|
function GridTableColumnControlProperty(props) {
|
|
79
71
|
_class_call_check(this, GridTableColumnControlProperty);
|
|
80
72
|
var _this;
|
|
73
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9;
|
|
81
74
|
_this = _call_super(this, GridTableColumnControlProperty, [
|
|
82
75
|
props
|
|
83
76
|
]), _define_property(_this, "widthType", void 0), _define_property(_this, "width", void 0), _define_property(_this, "caption", void 0), _define_property(_this, "fieldCode", void 0), _define_property(_this, "fieldType", void 0), _define_property(_this, "fieldName", void 0), _define_property(_this, "datasourceBind", void 0), _define_property(_this, "fixed", void 0), _define_property(_this, "textCleanFormart", void 0 //是否去除标签格式
|
|
84
77
|
), _define_property(_this, "decimalKeepPrecision", void 0), _define_property(_this, "timestampDateType", void 0), _define_property(_this, "departmentDisplayLevel", void 0);
|
|
85
|
-
|
|
86
|
-
_this.width = (_props_width = props === null || props === void 0 ? void 0 : props.width) !== null && _props_width !== void 0 ? _props_width : 200;
|
|
78
|
+
_this.width = (_ref = props === null || props === void 0 ? void 0 : props.width) !== null && _ref !== void 0 ? _ref : 200;
|
|
87
79
|
_this.widthType = (props === null || props === void 0 ? void 0 : props.widthType) || 'auto';
|
|
88
|
-
|
|
89
|
-
_this.
|
|
90
|
-
|
|
91
|
-
_this.
|
|
92
|
-
|
|
93
|
-
_this.fieldCode = (_props_fieldCode = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _props_fieldCode !== void 0 ? _props_fieldCode : '';
|
|
94
|
-
var _props_fieldType;
|
|
95
|
-
_this.fieldType = (_props_fieldType = props === null || props === void 0 ? void 0 : props.fieldType) !== null && _props_fieldType !== void 0 ? _props_fieldType : FieldTypes.VARCHAR;
|
|
96
|
-
var _props_fieldName;
|
|
97
|
-
_this.fieldName = (_props_fieldName = props === null || props === void 0 ? void 0 : props.fieldName) !== null && _props_fieldName !== void 0 ? _props_fieldName : '';
|
|
80
|
+
_this.caption = (_ref1 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
81
|
+
_this.fixed = (_ref2 = props === null || props === void 0 ? void 0 : props.fixed) !== null && _ref2 !== void 0 ? _ref2 : false;
|
|
82
|
+
_this.fieldCode = (_ref3 = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _ref3 !== void 0 ? _ref3 : '';
|
|
83
|
+
_this.fieldType = (_ref4 = props === null || props === void 0 ? void 0 : props.fieldType) !== null && _ref4 !== void 0 ? _ref4 : FieldTypes.VARCHAR;
|
|
84
|
+
_this.fieldName = (_ref5 = props === null || props === void 0 ? void 0 : props.fieldName) !== null && _ref5 !== void 0 ? _ref5 : '';
|
|
98
85
|
_this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
|
|
99
|
-
|
|
100
|
-
_this.
|
|
101
|
-
|
|
102
|
-
_this.
|
|
103
|
-
var _props_timestampDateType;
|
|
104
|
-
_this.timestampDateType = (_props_timestampDateType = props === null || props === void 0 ? void 0 : props.timestampDateType) !== null && _props_timestampDateType !== void 0 ? _props_timestampDateType : DateType.DATE;
|
|
105
|
-
var _props_departmentDisplayLevel;
|
|
106
|
-
_this.departmentDisplayLevel = (_props_departmentDisplayLevel = props === null || props === void 0 ? void 0 : props.departmentDisplayLevel) !== null && _props_departmentDisplayLevel !== void 0 ? _props_departmentDisplayLevel : 1;
|
|
86
|
+
_this.textCleanFormart = (_ref6 = props === null || props === void 0 ? void 0 : props.textCleanFormart) !== null && _ref6 !== void 0 ? _ref6 : false;
|
|
87
|
+
_this.decimalKeepPrecision = (_ref7 = props === null || props === void 0 ? void 0 : props.decimalKeepPrecision) !== null && _ref7 !== void 0 ? _ref7 : 0;
|
|
88
|
+
_this.timestampDateType = (_ref8 = props === null || props === void 0 ? void 0 : props.timestampDateType) !== null && _ref8 !== void 0 ? _ref8 : DateType.DATE;
|
|
89
|
+
_this.departmentDisplayLevel = (_ref9 = props === null || props === void 0 ? void 0 : props.departmentDisplayLevel) !== null && _ref9 !== void 0 ? _ref9 : 1;
|
|
107
90
|
return _this;
|
|
108
91
|
}
|
|
109
92
|
return GridTableColumnControlProperty;
|
|
@@ -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 { RuntimeLayoutControl } from '@byteluck-fe/model-driven-core';
|
|
74
66
|
import GridTableColumnControlProperty from './property';
|
|
75
67
|
var GridTableColumnControl = /*#__PURE__*/ function(RuntimeLayoutControl) {
|
|
@@ -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 { CONTROL_TYPE } from '@byteluck-fe/model-driven-shared';
|
|
88
80
|
import { DesignerLayoutControl } from '@byteluck-fe/model-driven-core';
|
|
89
81
|
import ListViewControlProperty 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,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 { LayoutControlProperty, PropertyRules, PropertyRuntimeRules, DataSourceBind, SubListPageConfig, JoinRelation, RowStyle, ListTreeData, MasterDetail } from '@byteluck-fe/model-driven-core';
|
|
74
66
|
import { initOptionAndDataSourceRules } from '@byteluck-fe/model-driven-core';
|
|
75
67
|
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
@@ -216,6 +208,7 @@ import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
|
216
208
|
function ListViewControlProperty(props) {
|
|
217
209
|
_class_call_check(this, ListViewControlProperty);
|
|
218
210
|
var _this;
|
|
211
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11, _ref12, _ref13;
|
|
219
212
|
_this = _call_super(this, ListViewControlProperty, [
|
|
220
213
|
props
|
|
221
214
|
]), /**
|
|
@@ -289,39 +282,25 @@ import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
|
289
282
|
_define_property(_this, "isMasterDetail", void 0), // 嵌套列表的关联表配置
|
|
290
283
|
_define_property(_this, "masterDetail", void 0);
|
|
291
284
|
_this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
|
|
292
|
-
|
|
293
|
-
_this.
|
|
294
|
-
|
|
295
|
-
_this.
|
|
296
|
-
var _props_triggerType;
|
|
297
|
-
_this.triggerType = (_props_triggerType = props === null || props === void 0 ? void 0 : props.triggerType) !== null && _props_triggerType !== void 0 ? _props_triggerType : 1;
|
|
298
|
-
var _props_triggerFieldCode;
|
|
299
|
-
_this.triggerFieldCode = (_props_triggerFieldCode = props === null || props === void 0 ? void 0 : props.triggerFieldCode) !== null && _props_triggerFieldCode !== void 0 ? _props_triggerFieldCode : '';
|
|
285
|
+
_this.isLoading = (_ref = props === null || props === void 0 ? void 0 : props.isLoading) !== null && _ref !== void 0 ? _ref : false;
|
|
286
|
+
_this.isShowSubList = (_ref1 = props === null || props === void 0 ? void 0 : props.isShowSubList) !== null && _ref1 !== void 0 ? _ref1 : false;
|
|
287
|
+
_this.triggerType = (_ref2 = props === null || props === void 0 ? void 0 : props.triggerType) !== null && _ref2 !== void 0 ? _ref2 : 1;
|
|
288
|
+
_this.triggerFieldCode = (_ref3 = props === null || props === void 0 ? void 0 : props.triggerFieldCode) !== null && _ref3 !== void 0 ? _ref3 : '';
|
|
300
289
|
_this.sublistPage = new SubListPageConfig(props === null || props === void 0 ? void 0 : props.sublistPage);
|
|
301
|
-
|
|
302
|
-
_this.isShowJoinRelation = (_props_isShowJoinRelation = props === null || props === void 0 ? void 0 : props.isShowJoinRelation) !== null && _props_isShowJoinRelation !== void 0 ? _props_isShowJoinRelation : false;
|
|
290
|
+
_this.isShowJoinRelation = (_ref4 = props === null || props === void 0 ? void 0 : props.isShowJoinRelation) !== null && _ref4 !== void 0 ? _ref4 : false;
|
|
303
291
|
_this.joinRelation = new JoinRelation(props === null || props === void 0 ? void 0 : props.joinRelation);
|
|
304
|
-
|
|
305
|
-
_this.
|
|
306
|
-
|
|
307
|
-
_this.
|
|
308
|
-
|
|
309
|
-
_this.
|
|
310
|
-
var _props_isFixedHeader;
|
|
311
|
-
_this.isFixedHeader = (_props_isFixedHeader = props === null || props === void 0 ? void 0 : props.isFixedHeader) !== null && _props_isFixedHeader !== void 0 ? _props_isFixedHeader : false;
|
|
312
|
-
var _props_isShowSelection;
|
|
313
|
-
_this.isShowSelection = (_props_isShowSelection = props === null || props === void 0 ? void 0 : props.isShowSelection) !== null && _props_isShowSelection !== void 0 ? _props_isShowSelection : false;
|
|
314
|
-
var _props_isAllLoaded;
|
|
315
|
-
_this.isAllLoaded = (_props_isAllLoaded = props === null || props === void 0 ? void 0 : props.isAllLoaded) !== null && _props_isAllLoaded !== void 0 ? _props_isAllLoaded : true;
|
|
292
|
+
_this.showType = (_ref5 = props === null || props === void 0 ? void 0 : props.showType) !== null && _ref5 !== void 0 ? _ref5 : 'stretch';
|
|
293
|
+
_this.showFullScreen = (_ref6 = props === null || props === void 0 ? void 0 : props.showFullScreen) !== null && _ref6 !== void 0 ? _ref6 : false;
|
|
294
|
+
_this.selectionType = (_ref7 = props === null || props === void 0 ? void 0 : props.selectionType) !== null && _ref7 !== void 0 ? _ref7 : 'multiple';
|
|
295
|
+
_this.isFixedHeader = (_ref8 = props === null || props === void 0 ? void 0 : props.isFixedHeader) !== null && _ref8 !== void 0 ? _ref8 : false;
|
|
296
|
+
_this.isShowSelection = (_ref9 = props === null || props === void 0 ? void 0 : props.isShowSelection) !== null && _ref9 !== void 0 ? _ref9 : false;
|
|
297
|
+
_this.isAllLoaded = (_ref10 = props === null || props === void 0 ? void 0 : props.isAllLoaded) !== null && _ref10 !== void 0 ? _ref10 : true;
|
|
316
298
|
_this.countType = props === null || props === void 0 ? void 0 : props.countType;
|
|
317
|
-
|
|
318
|
-
_this.countLimit = (_props_countLimit = props === null || props === void 0 ? void 0 : props.countLimit) !== null && _props_countLimit !== void 0 ? _props_countLimit : 100000;
|
|
299
|
+
_this.countLimit = (_ref11 = props === null || props === void 0 ? void 0 : props.countLimit) !== null && _ref11 !== void 0 ? _ref11 : 100000;
|
|
319
300
|
_this.rowStyle = new RowStyle(props === null || props === void 0 ? void 0 : props.rowStyle);
|
|
320
|
-
|
|
321
|
-
_this.isTreeData = (_props_isTreeData = props === null || props === void 0 ? void 0 : props.isTreeData) !== null && _props_isTreeData !== void 0 ? _props_isTreeData : false;
|
|
301
|
+
_this.isTreeData = (_ref12 = props === null || props === void 0 ? void 0 : props.isTreeData) !== null && _ref12 !== void 0 ? _ref12 : false;
|
|
322
302
|
_this.treeData = new ListTreeData(props === null || props === void 0 ? void 0 : props.treeData);
|
|
323
|
-
|
|
324
|
-
_this.isMasterDetail = (_props_isMasterDetail = props === null || props === void 0 ? void 0 : props.isMasterDetail) !== null && _props_isMasterDetail !== void 0 ? _props_isMasterDetail : false;
|
|
303
|
+
_this.isMasterDetail = (_ref13 = props === null || props === void 0 ? void 0 : props.isMasterDetail) !== null && _ref13 !== void 0 ? _ref13 : false;
|
|
325
304
|
_this.masterDetail = new MasterDetail(props === null || props === void 0 ? void 0 : props.masterDetail);
|
|
326
305
|
return _this;
|
|
327
306
|
}
|
|
@@ -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 { RuntimeLayoutControl } from '@byteluck-fe/model-driven-core';
|
|
88
80
|
import ListViewControlProperty from './property';
|
|
89
81
|
var ListViewControl = /*#__PURE__*/ function(RuntimeLayoutControl) {
|
|
@@ -7,10 +7,12 @@ function _array_without_holes(arr) {
|
|
|
7
7
|
if (Array.isArray(arr)) return _array_like_to_array(arr);
|
|
8
8
|
}
|
|
9
9
|
function _iterable_to_array(iter) {
|
|
10
|
-
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
|
|
10
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
|
|
11
|
+
return Array.from(iter);
|
|
12
|
+
}
|
|
11
13
|
}
|
|
12
14
|
function _non_iterable_spread() {
|
|
13
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance
|
|
15
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
14
16
|
}
|
|
15
17
|
function _to_consumable_array(arr) {
|
|
16
18
|
return _array_without_holes(arr) || _iterable_to_array(arr) || _unsupported_iterable_to_array(arr) || _non_iterable_spread();
|