@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 { CONTROL_TYPE } from '@byteluck-fe/model-driven-shared';
|
|
88
80
|
import { DesignerLayoutControl } from '@byteluck-fe/model-driven-core';
|
|
89
81
|
import { ColControlProperty, DesignerColControl } from '../Col';
|
|
@@ -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 { LayoutControlProperty } from '@byteluck-fe/model-driven-core';
|
|
61
55
|
var ToolboxControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
|
|
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 { ColControlProperty, RuntimeColControl } from '../Col';
|
|
75
69
|
import { RuntimeLayoutControl } from '@byteluck-fe/model-driven-core';
|
|
76
70
|
var ToolboxControl = /*#__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 asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
@@ -12,11 +10,8 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
12
10
|
reject(error);
|
|
13
11
|
return;
|
|
14
12
|
}
|
|
15
|
-
if (info.done)
|
|
16
|
-
|
|
17
|
-
} else {
|
|
18
|
-
Promise.resolve(value).then(_next, _throw);
|
|
19
|
-
}
|
|
13
|
+
if (info.done) resolve(value);
|
|
14
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
20
15
|
}
|
|
21
16
|
function _async_to_generator(fn) {
|
|
22
17
|
return function() {
|
|
@@ -38,9 +33,7 @@ function _call_super(_this, derived, args) {
|
|
|
38
33
|
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
39
34
|
}
|
|
40
35
|
function _class_call_check(instance, Constructor) {
|
|
41
|
-
if (!(instance instanceof Constructor))
|
|
42
|
-
throw new TypeError("Cannot call a class as a function");
|
|
43
|
-
}
|
|
36
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
44
37
|
}
|
|
45
38
|
function _defineProperties(target, props) {
|
|
46
39
|
for(var i = 0; i < props.length; i++){
|
|
@@ -64,22 +57,17 @@ function _define_property(obj, key, value) {
|
|
|
64
57
|
configurable: true,
|
|
65
58
|
writable: true
|
|
66
59
|
});
|
|
67
|
-
} else
|
|
68
|
-
obj[key] = value;
|
|
69
|
-
}
|
|
60
|
+
} else obj[key] = value;
|
|
70
61
|
return obj;
|
|
71
62
|
}
|
|
72
63
|
function _get(target, property, receiver) {
|
|
73
|
-
if (typeof Reflect !== "undefined" && Reflect.get)
|
|
74
|
-
|
|
75
|
-
} else {
|
|
64
|
+
if (typeof Reflect !== "undefined" && Reflect.get) _get = Reflect.get;
|
|
65
|
+
else {
|
|
76
66
|
_get = function get(target, property, receiver) {
|
|
77
67
|
var base = _super_prop_base(target, property);
|
|
78
68
|
if (!base) return;
|
|
79
69
|
var desc = Object.getOwnPropertyDescriptor(base, property);
|
|
80
|
-
if (desc.get)
|
|
81
|
-
return desc.get.call(receiver || target);
|
|
82
|
-
}
|
|
70
|
+
if (desc.get) return desc.get.call(receiver || target);
|
|
83
71
|
return desc.value;
|
|
84
72
|
};
|
|
85
73
|
}
|
|
@@ -105,11 +93,18 @@ function _inherits(subClass, superClass) {
|
|
|
105
93
|
if (superClass) _set_prototype_of(subClass, superClass);
|
|
106
94
|
}
|
|
107
95
|
function _instanceof(left, right) {
|
|
96
|
+
"@swc/helpers - instanceof";
|
|
108
97
|
if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
|
|
109
98
|
return !!right[Symbol.hasInstance](left);
|
|
110
|
-
} else
|
|
111
|
-
|
|
112
|
-
|
|
99
|
+
} else return left instanceof right;
|
|
100
|
+
}
|
|
101
|
+
function _is_native_reflect_construct() {
|
|
102
|
+
try {
|
|
103
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
104
|
+
} catch (_) {}
|
|
105
|
+
return (_is_native_reflect_construct = function() {
|
|
106
|
+
return !!result;
|
|
107
|
+
})();
|
|
113
108
|
}
|
|
114
109
|
function _object_spread(target) {
|
|
115
110
|
for(var i = 1; i < arguments.length; i++){
|
|
@@ -141,9 +136,8 @@ function ownKeys(object, enumerableOnly) {
|
|
|
141
136
|
}
|
|
142
137
|
function _object_spread_props(target, source) {
|
|
143
138
|
source = source != null ? source : {};
|
|
144
|
-
if (Object.getOwnPropertyDescriptors)
|
|
145
|
-
|
|
146
|
-
} else {
|
|
139
|
+
if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
140
|
+
else {
|
|
147
141
|
ownKeys(Object(source)).forEach(function(key) {
|
|
148
142
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
149
143
|
});
|
|
@@ -151,9 +145,7 @@ function _object_spread_props(target, source) {
|
|
|
151
145
|
return target;
|
|
152
146
|
}
|
|
153
147
|
function _possible_constructor_return(self, call) {
|
|
154
|
-
if (call && (_type_of(call) === "object" || typeof call === "function"))
|
|
155
|
-
return call;
|
|
156
|
-
}
|
|
148
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) return call;
|
|
157
149
|
return _assert_this_initialized(self);
|
|
158
150
|
}
|
|
159
151
|
function _set_prototype_of(o, p) {
|
|
@@ -170,18 +162,6 @@ function _super_prop_base(object, property) {
|
|
|
170
162
|
}
|
|
171
163
|
return object;
|
|
172
164
|
}
|
|
173
|
-
function _type_of(obj) {
|
|
174
|
-
"@swc/helpers - typeof";
|
|
175
|
-
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
176
|
-
}
|
|
177
|
-
function _is_native_reflect_construct() {
|
|
178
|
-
try {
|
|
179
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
180
|
-
} catch (_) {}
|
|
181
|
-
return (_is_native_reflect_construct = function() {
|
|
182
|
-
return !!result;
|
|
183
|
-
})();
|
|
184
|
-
}
|
|
185
165
|
function _ts_generator(thisArg, body) {
|
|
186
166
|
var f, y, t, _ = {
|
|
187
167
|
label: 0,
|
|
@@ -191,9 +171,17 @@ function _ts_generator(thisArg, body) {
|
|
|
191
171
|
},
|
|
192
172
|
trys: [],
|
|
193
173
|
ops: []
|
|
194
|
-
}, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
195
|
-
return
|
|
196
|
-
|
|
174
|
+
}, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype), d = Object.defineProperty;
|
|
175
|
+
return d(g, "next", {
|
|
176
|
+
value: verb(0)
|
|
177
|
+
}), d(g, "throw", {
|
|
178
|
+
value: verb(1)
|
|
179
|
+
}), d(g, "return", {
|
|
180
|
+
value: verb(2)
|
|
181
|
+
}), typeof Symbol === "function" && d(g, Symbol.iterator, {
|
|
182
|
+
value: function() {
|
|
183
|
+
return this;
|
|
184
|
+
}
|
|
197
185
|
}), g;
|
|
198
186
|
function verb(n) {
|
|
199
187
|
return function(v) {
|
|
@@ -273,6 +261,10 @@ function _ts_generator(thisArg, body) {
|
|
|
273
261
|
};
|
|
274
262
|
}
|
|
275
263
|
}
|
|
264
|
+
function _type_of(obj) {
|
|
265
|
+
"@swc/helpers - typeof";
|
|
266
|
+
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
267
|
+
}
|
|
276
268
|
import { GridTableControlProperty } from './property';
|
|
277
269
|
import { DesignerListControl, defineControlArrayToProperty } from '@byteluck-fe/model-driven-core';
|
|
278
270
|
import { DesignerOrderColumnControl } from '../../columnControls/OrderColumn';
|
|
@@ -332,7 +324,7 @@ var GridTableControl = /*#__PURE__*/ function _target(DesignerListControl) {
|
|
|
332
324
|
key: "validate",
|
|
333
325
|
value: function validate(messages, ignore) {
|
|
334
326
|
var _this = this;
|
|
335
|
-
var _this1 = this, _superprop_get_validate = function() {
|
|
327
|
+
var _this1 = this, _superprop_get_validate = function _superprop_get_validate() {
|
|
336
328
|
return _get(_get_prototype_of(GridTableControl.prototype), "validate", _this);
|
|
337
329
|
};
|
|
338
330
|
return _async_to_generator(function() {
|
|
@@ -1,14 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
* @Date: 2022-01-11 22:20:55
|
|
4
|
-
* @LastEditors: changjiaqi hypocrite_chang@163.com
|
|
5
|
-
* @LastEditTime: 2023-05-31 10:33:27
|
|
6
|
-
* @FilePath: /model-driven/packages/controls/src/listControls/GridTable/property.ts
|
|
7
|
-
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
|
8
|
-
*/ function _assert_this_initialized(self) {
|
|
9
|
-
if (self === void 0) {
|
|
10
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
11
|
-
}
|
|
1
|
+
function _assert_this_initialized(self) {
|
|
2
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
12
3
|
return self;
|
|
13
4
|
}
|
|
14
5
|
function _call_super(_this, derived, args) {
|
|
@@ -16,9 +7,7 @@ function _call_super(_this, derived, args) {
|
|
|
16
7
|
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
17
8
|
}
|
|
18
9
|
function _class_call_check(instance, Constructor) {
|
|
19
|
-
if (!(instance instanceof Constructor))
|
|
20
|
-
throw new TypeError("Cannot call a class as a function");
|
|
21
|
-
}
|
|
10
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
22
11
|
}
|
|
23
12
|
function _define_property(obj, key, value) {
|
|
24
13
|
if (key in obj) {
|
|
@@ -28,9 +17,7 @@ function _define_property(obj, key, value) {
|
|
|
28
17
|
configurable: true,
|
|
29
18
|
writable: true
|
|
30
19
|
});
|
|
31
|
-
} else
|
|
32
|
-
obj[key] = value;
|
|
33
|
-
}
|
|
20
|
+
} else obj[key] = value;
|
|
34
21
|
return obj;
|
|
35
22
|
}
|
|
36
23
|
function _get_prototype_of(o) {
|
|
@@ -52,10 +39,16 @@ function _inherits(subClass, superClass) {
|
|
|
52
39
|
});
|
|
53
40
|
if (superClass) _set_prototype_of(subClass, superClass);
|
|
54
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
|
+
}
|
|
55
50
|
function _possible_constructor_return(self, call) {
|
|
56
|
-
if (call && (_type_of(call) === "object" || typeof call === "function"))
|
|
57
|
-
return call;
|
|
58
|
-
}
|
|
51
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) return call;
|
|
59
52
|
return _assert_this_initialized(self);
|
|
60
53
|
}
|
|
61
54
|
function _set_prototype_of(o, p) {
|
|
@@ -69,15 +62,14 @@ function _type_of(obj) {
|
|
|
69
62
|
"@swc/helpers - typeof";
|
|
70
63
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
71
64
|
}
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
}
|
|
80
|
-
import { ListControlProperty } from '@byteluck-fe/model-driven-core';
|
|
65
|
+
/*
|
|
66
|
+
* @Author: Elvis shuaiqy@hotmail.com
|
|
67
|
+
* @Date: 2022-01-11 22:20:55
|
|
68
|
+
* @LastEditors: changjiaqi hypocrite_chang@163.com
|
|
69
|
+
* @LastEditTime: 2023-05-31 10:33:27
|
|
70
|
+
* @FilePath: /model-driven/packages/controls/src/listControls/GridTable/property.ts
|
|
71
|
+
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
|
72
|
+
*/ import { ListControlProperty } from '@byteluck-fe/model-driven-core';
|
|
81
73
|
/**
|
|
82
74
|
* GridTable 表格组件
|
|
83
75
|
* @public
|
|
@@ -87,6 +79,7 @@ import { ListControlProperty } from '@byteluck-fe/model-driven-core';
|
|
|
87
79
|
function GridTableControlProperty(parent, props) {
|
|
88
80
|
_class_call_check(this, GridTableControlProperty);
|
|
89
81
|
var _this;
|
|
82
|
+
var _ref, _ref1, _ref2, _ref3, _ref4;
|
|
90
83
|
_this = _call_super(this, GridTableControlProperty, [
|
|
91
84
|
parent,
|
|
92
85
|
props
|
|
@@ -110,17 +103,12 @@ import { ListControlProperty } from '@byteluck-fe/model-driven-core';
|
|
|
110
103
|
* @defaultValue true
|
|
111
104
|
* @public
|
|
112
105
|
*/ _define_property(_this, "isShowCustomColumns", void 0);
|
|
113
|
-
|
|
114
|
-
_this.isFixedHeader = (_props_isFixedHeader = props === null || props === void 0 ? void 0 : props.isFixedHeader) !== null && _props_isFixedHeader !== void 0 ? _props_isFixedHeader : false;
|
|
106
|
+
_this.isFixedHeader = (_ref = props === null || props === void 0 ? void 0 : props.isFixedHeader) !== null && _ref !== void 0 ? _ref : false;
|
|
115
107
|
_this.selectionType = props === null || props === void 0 ? void 0 : props.selectionType;
|
|
116
|
-
|
|
117
|
-
_this.
|
|
118
|
-
|
|
119
|
-
_this.
|
|
120
|
-
var _props_isShowCustomColumns;
|
|
121
|
-
_this.isShowCustomColumns = (_props_isShowCustomColumns = props === null || props === void 0 ? void 0 : props.isShowCustomColumns) !== null && _props_isShowCustomColumns !== void 0 ? _props_isShowCustomColumns : true;
|
|
122
|
-
var _props_pageSizeOptions;
|
|
123
|
-
_this.pageSizeOptions = (_props_pageSizeOptions = props === null || props === void 0 ? void 0 : props.pageSizeOptions) !== null && _props_pageSizeOptions !== void 0 ? _props_pageSizeOptions : [
|
|
108
|
+
_this.isShowToolbar = (_ref1 = props === null || props === void 0 ? void 0 : props.isShowToolbar) !== null && _ref1 !== void 0 ? _ref1 : true;
|
|
109
|
+
_this.isShowSelection = (_ref2 = props === null || props === void 0 ? void 0 : props.isShowSelection) !== null && _ref2 !== void 0 ? _ref2 : false;
|
|
110
|
+
_this.isShowCustomColumns = (_ref3 = props === null || props === void 0 ? void 0 : props.isShowCustomColumns) !== null && _ref3 !== void 0 ? _ref3 : true;
|
|
111
|
+
_this.pageSizeOptions = (_ref4 = props === null || props === void 0 ? void 0 : props.pageSizeOptions) !== null && _ref4 !== void 0 ? _ref4 : [
|
|
124
112
|
10,
|
|
125
113
|
20,
|
|
126
114
|
50,
|
|
@@ -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 GridTableControlProperty from './property';
|
|
88
80
|
import { RuntimeListControl } from '@byteluck-fe/model-driven-core';
|
|
89
81
|
import { error } 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 _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 SubTableControlProperty from './property';
|
|
88
80
|
import { DesignerListControl, COMMON_SETTING_TYPE } from '@byteluck-fe/model-driven-core';
|
|
89
81
|
import { DesignerSubTableColumnControl } from '../../layoutControls/SubTableColumn';
|