@byteluck-fe/model-driven-controls 2.7.0-alpha.9 → 2.7.0-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/api-doc-index.js +89 -89
- package/dist/esm/baseControls/BatchDeleteButton/designer.js +60 -45
- package/dist/esm/baseControls/BatchDeleteButton/index.js +6 -6
- package/dist/esm/baseControls/BatchDeleteButton/property.js +67 -44
- package/dist/esm/baseControls/BatchDeleteButton/runtime.js +45 -30
- package/dist/esm/baseControls/BatchPrintListButton/designer.js +60 -45
- package/dist/esm/baseControls/BatchPrintListButton/index.js +6 -6
- package/dist/esm/baseControls/BatchPrintListButton/property.js +64 -48
- package/dist/esm/baseControls/BatchPrintListButton/runtime.js +45 -30
- package/dist/esm/baseControls/BatchPrintRecordListButton/designer.js +58 -43
- package/dist/esm/baseControls/BatchPrintRecordListButton/index.js +6 -6
- package/dist/esm/baseControls/BatchPrintRecordListButton/property.js +31 -30
- package/dist/esm/baseControls/BatchPrintRecordListButton/runtime.js +45 -30
- package/dist/esm/baseControls/BatchSubmissionListButton/designer.js +61 -46
- package/dist/esm/baseControls/BatchSubmissionListButton/index.js +6 -6
- package/dist/esm/baseControls/BatchSubmissionListButton/property.js +78 -52
- package/dist/esm/baseControls/BatchSubmissionListButton/runtime.js +45 -30
- package/dist/esm/baseControls/Button/designer.js +60 -46
- package/dist/esm/baseControls/Button/index.js +6 -6
- package/dist/esm/baseControls/Button/property.js +64 -43
- package/dist/esm/baseControls/Button/runtime.js +45 -30
- package/dist/esm/baseControls/CreateFormListButton/designer.js +61 -46
- package/dist/esm/baseControls/CreateFormListButton/index.js +6 -6
- package/dist/esm/baseControls/CreateFormListButton/property.js +61 -45
- package/dist/esm/baseControls/CreateFormListButton/runtime.js +45 -30
- package/dist/esm/baseControls/Dashboard/designer.js +56 -41
- package/dist/esm/baseControls/Dashboard/index.js +6 -6
- package/dist/esm/baseControls/Dashboard/property.js +83 -63
- package/dist/esm/baseControls/Dashboard/runtime.js +45 -30
- package/dist/esm/baseControls/Divider/designer.js +53 -38
- package/dist/esm/baseControls/Divider/index.js +6 -6
- package/dist/esm/baseControls/Divider/property.js +47 -31
- package/dist/esm/baseControls/Divider/runtime.js +45 -30
- package/dist/esm/baseControls/ExportListButton/designer.js +60 -45
- package/dist/esm/baseControls/ExportListButton/index.js +6 -6
- package/dist/esm/baseControls/ExportListButton/property.js +56 -44
- package/dist/esm/baseControls/ExportListButton/runtime.js +45 -30
- package/dist/esm/baseControls/ExportRecordListButton/designer.js +58 -43
- package/dist/esm/baseControls/ExportRecordListButton/index.js +6 -6
- package/dist/esm/baseControls/ExportRecordListButton/property.js +31 -30
- package/dist/esm/baseControls/ExportRecordListButton/runtime.js +45 -30
- package/dist/esm/baseControls/FormSelectButton/designer.js +62 -47
- package/dist/esm/baseControls/FormSelectButton/index.js +6 -6
- package/dist/esm/baseControls/FormSelectButton/property.js +69 -64
- package/dist/esm/baseControls/FormSelectButton/runtime.js +45 -30
- package/dist/esm/baseControls/ImportRecordListButton/designer.js +60 -46
- package/dist/esm/baseControls/ImportRecordListButton/index.js +6 -6
- package/dist/esm/baseControls/ImportRecordListButton/property.js +52 -37
- package/dist/esm/baseControls/ImportRecordListButton/runtime.js +45 -30
- package/dist/esm/baseControls/InvoiceCheckButton/designer.js +66 -51
- package/dist/esm/baseControls/InvoiceCheckButton/index.js +6 -6
- package/dist/esm/baseControls/InvoiceCheckButton/property.js +96 -76
- package/dist/esm/baseControls/InvoiceCheckButton/runtime.js +45 -30
- package/dist/esm/baseControls/Link/designer.js +58 -43
- package/dist/esm/baseControls/Link/index.js +6 -6
- package/dist/esm/baseControls/Link/property.js +48 -31
- package/dist/esm/baseControls/Link/runtime.js +45 -30
- package/dist/esm/baseControls/ListSelectButton/designer.js +63 -48
- package/dist/esm/baseControls/ListSelectButton/index.js +6 -6
- package/dist/esm/baseControls/ListSelectButton/property.js +82 -65
- package/dist/esm/baseControls/ListSelectButton/runtime.js +45 -30
- package/dist/esm/baseControls/ListViewSelect/designer.js +53 -38
- package/dist/esm/baseControls/ListViewSelect/index.js +6 -6
- package/dist/esm/baseControls/ListViewSelect/property.js +65 -50
- package/dist/esm/baseControls/ListViewSelect/runtime.js +45 -30
- package/dist/esm/baseControls/OperationButton/designer.js +60 -45
- package/dist/esm/baseControls/OperationButton/index.js +6 -6
- package/dist/esm/baseControls/OperationButton/property.js +82 -55
- package/dist/esm/baseControls/OperationButton/runtime.js +45 -30
- package/dist/esm/baseControls/Pagination/designer.js +48 -33
- package/dist/esm/baseControls/Pagination/index.js +6 -6
- package/dist/esm/baseControls/Pagination/property.js +48 -35
- package/dist/esm/baseControls/Pagination/runtime.js +45 -30
- package/dist/esm/baseControls/SubmissionRecordListButton/designer.js +58 -43
- package/dist/esm/baseControls/SubmissionRecordListButton/index.js +6 -6
- package/dist/esm/baseControls/SubmissionRecordListButton/property.js +31 -30
- package/dist/esm/baseControls/SubmissionRecordListButton/runtime.js +45 -30
- package/dist/esm/baseControls/Text/designer.js +57 -42
- package/dist/esm/baseControls/Text/index.js +6 -6
- package/dist/esm/baseControls/Text/property.js +55 -35
- package/dist/esm/baseControls/Text/runtime.js +45 -30
- package/dist/esm/baseControls/TextOcrButton/designer.js +66 -51
- package/dist/esm/baseControls/TextOcrButton/index.js +6 -6
- package/dist/esm/baseControls/TextOcrButton/property.js +97 -77
- package/dist/esm/baseControls/TextOcrButton/runtime.js +45 -30
- package/dist/esm/baseControls/Title/designer.js +57 -42
- package/dist/esm/baseControls/Title/index.js +6 -6
- package/dist/esm/baseControls/Title/property.js +77 -59
- package/dist/esm/baseControls/Title/runtime.js +45 -30
- package/dist/esm/baseControls/index.js +22 -22
- package/dist/esm/baseControls/utils.js +9 -9
- package/dist/esm/columnControls/ArrayColumn/designer.js +56 -41
- package/dist/esm/columnControls/ArrayColumn/index.js +6 -6
- package/dist/esm/columnControls/ArrayColumn/property.js +78 -40
- package/dist/esm/columnControls/ArrayColumn/runtime.js +45 -30
- package/dist/esm/columnControls/AutoNumberColumn/designer.js +56 -41
- package/dist/esm/columnControls/AutoNumberColumn/index.js +6 -6
- package/dist/esm/columnControls/AutoNumberColumn/property.js +60 -38
- package/dist/esm/columnControls/AutoNumberColumn/runtime.js +45 -30
- package/dist/esm/columnControls/CustomColumn/designer.js +86 -57
- package/dist/esm/columnControls/CustomColumn/index.js +6 -6
- package/dist/esm/columnControls/CustomColumn/property.js +46 -31
- package/dist/esm/columnControls/CustomColumn/runtime.js +46 -30
- package/dist/esm/columnControls/DecimalColumn/designer.js +70 -55
- package/dist/esm/columnControls/DecimalColumn/index.js +6 -6
- package/dist/esm/columnControls/DecimalColumn/property.js +100 -49
- package/dist/esm/columnControls/DecimalColumn/runtime.js +45 -30
- package/dist/esm/columnControls/DepartmentColumn/designer.js +64 -49
- package/dist/esm/columnControls/DepartmentColumn/index.js +6 -6
- package/dist/esm/columnControls/DepartmentColumn/property.js +50 -31
- package/dist/esm/columnControls/DepartmentColumn/runtime.js +45 -30
- package/dist/esm/columnControls/EmployeeColumn/designer.js +60 -45
- package/dist/esm/columnControls/EmployeeColumn/index.js +6 -6
- package/dist/esm/columnControls/EmployeeColumn/property.js +49 -31
- package/dist/esm/columnControls/EmployeeColumn/runtime.js +45 -30
- package/dist/esm/columnControls/FileColumn/designer.js +61 -46
- package/dist/esm/columnControls/FileColumn/index.js +6 -6
- package/dist/esm/columnControls/FileColumn/property.js +30 -29
- package/dist/esm/columnControls/FileColumn/runtime.js +45 -30
- package/dist/esm/columnControls/ImageColumn/designer.js +55 -40
- package/dist/esm/columnControls/ImageColumn/index.js +6 -6
- package/dist/esm/columnControls/ImageColumn/property.js +30 -29
- package/dist/esm/columnControls/ImageColumn/runtime.js +45 -30
- package/dist/esm/columnControls/LocationColumn/designer.js +56 -41
- package/dist/esm/columnControls/LocationColumn/index.js +6 -6
- package/dist/esm/columnControls/LocationColumn/property.js +60 -38
- package/dist/esm/columnControls/LocationColumn/runtime.js +45 -30
- package/dist/esm/columnControls/OperationColumn/designer.js +199 -72
- package/dist/esm/columnControls/OperationColumn/index.js +6 -6
- package/dist/esm/columnControls/OperationColumn/property.js +67 -39
- package/dist/esm/columnControls/OperationColumn/runtime.js +47 -31
- package/dist/esm/columnControls/OrderColumn/designer.js +50 -35
- package/dist/esm/columnControls/OrderColumn/index.js +6 -6
- package/dist/esm/columnControls/OrderColumn/property.js +58 -45
- package/dist/esm/columnControls/OrderColumn/runtime.js +45 -30
- package/dist/esm/columnControls/PeopleColumn/designer.js +55 -40
- package/dist/esm/columnControls/PeopleColumn/index.js +6 -6
- package/dist/esm/columnControls/PeopleColumn/property.js +30 -29
- package/dist/esm/columnControls/PeopleColumn/runtime.js +45 -30
- package/dist/esm/columnControls/TextColumn/designer.js +67 -52
- package/dist/esm/columnControls/TextColumn/index.js +6 -6
- package/dist/esm/columnControls/TextColumn/property.js +74 -42
- package/dist/esm/columnControls/TextColumn/runtime.js +45 -30
- package/dist/esm/columnControls/TimescopeColumn/designer.js +65 -50
- package/dist/esm/columnControls/TimescopeColumn/index.js +6 -6
- package/dist/esm/columnControls/TimescopeColumn/property.js +68 -41
- package/dist/esm/columnControls/TimescopeColumn/runtime.js +45 -30
- package/dist/esm/columnControls/TimestampColumn/designer.js +65 -50
- package/dist/esm/columnControls/TimestampColumn/index.js +6 -6
- package/dist/esm/columnControls/TimestampColumn/property.js +68 -41
- package/dist/esm/columnControls/TimestampColumn/runtime.js +45 -30
- package/dist/esm/columnControls/VarcharColumn/designer.js +59 -44
- package/dist/esm/columnControls/VarcharColumn/index.js +6 -6
- package/dist/esm/columnControls/VarcharColumn/property.js +84 -45
- package/dist/esm/columnControls/VarcharColumn/runtime.js +45 -30
- package/dist/esm/columnControls/index.js +16 -17
- package/dist/esm/formControls/Address/designer.js +62 -47
- package/dist/esm/formControls/Address/index.js +6 -6
- package/dist/esm/formControls/Address/property.js +81 -56
- package/dist/esm/formControls/Address/runtime.js +49 -34
- package/dist/esm/formControls/Amount/designer.js +80 -65
- package/dist/esm/formControls/Amount/index.js +6 -6
- package/dist/esm/formControls/Amount/property.js +155 -91
- package/dist/esm/formControls/Amount/runtime.js +47 -32
- package/dist/esm/formControls/Attachment/designer.js +69 -54
- package/dist/esm/formControls/Attachment/index.js +6 -6
- package/dist/esm/formControls/Attachment/property.js +83 -62
- package/dist/esm/formControls/Attachment/runtime.js +47 -32
- package/dist/esm/formControls/AutoNumber/designer.js +63 -48
- package/dist/esm/formControls/AutoNumber/index.js +6 -6
- package/dist/esm/formControls/AutoNumber/property.js +47 -32
- package/dist/esm/formControls/AutoNumber/runtime.js +47 -32
- package/dist/esm/formControls/Calc/designer.js +77 -62
- package/dist/esm/formControls/Calc/index.js +6 -6
- package/dist/esm/formControls/Calc/property.js +101 -61
- package/dist/esm/formControls/Calc/runtime.js +47 -32
- package/dist/esm/formControls/Checkbox/designer.js +69 -54
- package/dist/esm/formControls/Checkbox/index.js +6 -6
- package/dist/esm/formControls/Checkbox/property.js +124 -86
- package/dist/esm/formControls/Checkbox/runtime.js +47 -32
- package/dist/esm/formControls/DatePicker/designer.js +72 -60
- package/dist/esm/formControls/DatePicker/index.js +6 -6
- package/dist/esm/formControls/DatePicker/property.js +81 -52
- package/dist/esm/formControls/DatePicker/runtime.js +47 -32
- package/dist/esm/formControls/DateRange/designer.js +72 -60
- package/dist/esm/formControls/DateRange/index.js +6 -6
- package/dist/esm/formControls/DateRange/property.js +128 -62
- package/dist/esm/formControls/DateRange/runtime.js +47 -32
- package/dist/esm/formControls/Department/designer.js +73 -58
- package/dist/esm/formControls/Department/index.js +6 -6
- package/dist/esm/formControls/Department/property.js +102 -58
- package/dist/esm/formControls/Department/runtime.js +47 -32
- package/dist/esm/formControls/Department2/designer.js +77 -62
- package/dist/esm/formControls/Department2/index.js +6 -6
- package/dist/esm/formControls/Department2/property.js +139 -84
- package/dist/esm/formControls/Department2/runtime.js +47 -32
- package/dist/esm/formControls/ElectronicSignature/designer.js +67 -52
- package/dist/esm/formControls/ElectronicSignature/index.js +6 -6
- package/dist/esm/formControls/ElectronicSignature/property.js +89 -68
- package/dist/esm/formControls/ElectronicSignature/runtime.js +47 -32
- package/dist/esm/formControls/Employee/designer.js +65 -50
- package/dist/esm/formControls/Employee/index.js +6 -6
- package/dist/esm/formControls/Employee/property.js +84 -54
- package/dist/esm/formControls/Employee/runtime.js +47 -32
- package/dist/esm/formControls/Employee2/designer.js +68 -53
- package/dist/esm/formControls/Employee2/index.js +6 -6
- package/dist/esm/formControls/Employee2/property.js +121 -82
- package/dist/esm/formControls/Employee2/runtime.js +47 -32
- package/dist/esm/formControls/Image/designer.js +73 -53
- package/dist/esm/formControls/Image/index.js +6 -6
- package/dist/esm/formControls/Image/property.js +25 -25
- package/dist/esm/formControls/Image/runtime.js +36 -36
- package/dist/esm/formControls/Input/designer.js +72 -57
- package/dist/esm/formControls/Input/index.js +6 -6
- package/dist/esm/formControls/Input/property.js +116 -73
- package/dist/esm/formControls/Input/runtime.js +47 -32
- package/dist/esm/formControls/Number/designer.js +84 -69
- package/dist/esm/formControls/Number/index.js +6 -6
- package/dist/esm/formControls/Number/property.js +159 -86
- package/dist/esm/formControls/Number/runtime.js +47 -32
- package/dist/esm/formControls/OrganizationSelection/designer.js +76 -61
- package/dist/esm/formControls/OrganizationSelection/index.js +6 -6
- package/dist/esm/formControls/OrganizationSelection/property.js +159 -92
- package/dist/esm/formControls/OrganizationSelection/runtime.js +47 -32
- package/dist/esm/formControls/Radio/designer.js +68 -53
- package/dist/esm/formControls/Radio/index.js +6 -6
- package/dist/esm/formControls/Radio/property.js +99 -65
- package/dist/esm/formControls/Radio/runtime.js +47 -32
- package/dist/esm/formControls/RichText/designer.js +71 -56
- package/dist/esm/formControls/RichText/index.js +6 -6
- package/dist/esm/formControls/RichText/property.js +79 -62
- package/dist/esm/formControls/RichText/runtime.js +47 -32
- package/dist/esm/formControls/Score/designer.js +87 -72
- package/dist/esm/formControls/Score/index.js +6 -6
- package/dist/esm/formControls/Score/property.js +85 -67
- package/dist/esm/formControls/Score/runtime.js +47 -32
- package/dist/esm/formControls/SearchDateRange/designer.js +67 -55
- package/dist/esm/formControls/SearchDateRange/index.js +6 -6
- package/dist/esm/formControls/SearchDateRange/property.js +92 -63
- package/dist/esm/formControls/SearchDateRange/runtime.js +47 -32
- package/dist/esm/formControls/SearchInput/designer.js +57 -42
- package/dist/esm/formControls/SearchInput/index.js +6 -6
- package/dist/esm/formControls/SearchInput/property.js +30 -30
- package/dist/esm/formControls/SearchInput/runtime.js +47 -32
- package/dist/esm/formControls/SearchNumberRange/designer.js +63 -48
- package/dist/esm/formControls/SearchNumberRange/index.js +6 -6
- package/dist/esm/formControls/SearchNumberRange/property.js +69 -48
- package/dist/esm/formControls/SearchNumberRange/runtime.js +47 -32
- package/dist/esm/formControls/Select/designer.js +63 -50
- package/dist/esm/formControls/Select/index.js +6 -6
- package/dist/esm/formControls/Select/property.js +85 -64
- package/dist/esm/formControls/Select/runtime.js +47 -32
- package/dist/esm/formControls/SelectMultiple/designer.js +63 -50
- package/dist/esm/formControls/SelectMultiple/index.js +6 -6
- package/dist/esm/formControls/SelectMultiple/property.js +87 -68
- package/dist/esm/formControls/SelectMultiple/runtime.js +47 -32
- package/dist/esm/formControls/SelectRelation/designer.js +69 -54
- package/dist/esm/formControls/SelectRelation/index.js +6 -6
- package/dist/esm/formControls/SelectRelation/property.js +134 -70
- package/dist/esm/formControls/SelectRelation/runtime.js +47 -32
- package/dist/esm/formControls/Textarea/designer.js +72 -57
- package/dist/esm/formControls/Textarea/index.js +6 -6
- package/dist/esm/formControls/Textarea/property.js +99 -65
- package/dist/esm/formControls/Textarea/runtime.js +47 -32
- package/dist/esm/formControls/Tree/designer.js +73 -58
- package/dist/esm/formControls/Tree/index.js +6 -6
- package/dist/esm/formControls/Tree/property.js +130 -95
- package/dist/esm/formControls/Tree/runtime.js +47 -32
- package/dist/esm/formControls/VueFormItem/designer.js +62 -47
- package/dist/esm/formControls/VueFormItem/index.js +6 -6
- package/dist/esm/formControls/VueFormItem/property.js +66 -48
- package/dist/esm/formControls/VueFormItem/runtime.js +47 -32
- package/dist/esm/formControls/WPS/designer.js +76 -61
- package/dist/esm/formControls/WPS/index.js +6 -6
- package/dist/esm/formControls/WPS/property.js +105 -78
- package/dist/esm/formControls/WPS/runtime.js +47 -32
- package/dist/esm/formControls/index.js +30 -30
- package/dist/esm/framework.js +209 -122
- package/dist/esm/index.js +15 -23
- package/dist/esm/layoutControls/AdvancedContainer/Setting.js +24 -24
- package/dist/esm/layoutControls/AdvancedContainer/designer.js +30 -30
- package/dist/esm/layoutControls/AdvancedContainer/index.js +6 -6
- package/dist/esm/layoutControls/AdvancedContainer/property.js +44 -28
- package/dist/esm/layoutControls/AdvancedContainer/runtime.js +28 -28
- package/dist/esm/layoutControls/CardGroup/designer.js +57 -42
- package/dist/esm/layoutControls/CardGroup/index.js +6 -6
- package/dist/esm/layoutControls/CardGroup/property.js +60 -39
- package/dist/esm/layoutControls/CardGroup/runtime.js +45 -30
- package/dist/esm/layoutControls/Col/designer.js +52 -37
- package/dist/esm/layoutControls/Col/index.js +6 -6
- package/dist/esm/layoutControls/Col/property.js +45 -29
- package/dist/esm/layoutControls/Col/runtime.js +45 -30
- package/dist/esm/layoutControls/DataView/designer.js +47 -32
- package/dist/esm/layoutControls/DataView/index.js +6 -6
- package/dist/esm/layoutControls/DataView/property.js +83 -53
- package/dist/esm/layoutControls/DataView/runtime.js +45 -30
- package/dist/esm/layoutControls/Grid/designer.js +46 -33
- package/dist/esm/layoutControls/Grid/index.js +6 -6
- package/dist/esm/layoutControls/Grid/property.js +1 -1
- package/dist/esm/layoutControls/Grid/runtime.js +28 -28
- package/dist/esm/layoutControls/GridRow/designer.js +48 -35
- package/dist/esm/layoutControls/GridRow/index.js +6 -6
- package/dist/esm/layoutControls/GridRow/property.js +25 -25
- package/dist/esm/layoutControls/GridRow/runtime.js +28 -28
- package/dist/esm/layoutControls/GridTableColumn/designer.js +56 -41
- package/dist/esm/layoutControls/GridTableColumn/index.js +6 -6
- package/dist/esm/layoutControls/GridTableColumn/property.js +75 -48
- package/dist/esm/layoutControls/GridTableColumn/runtime.js +43 -28
- package/dist/esm/layoutControls/ListView/designer.js +67 -56
- package/dist/esm/layoutControls/ListView/index.js +6 -6
- package/dist/esm/layoutControls/ListView/property.js +152 -78
- package/dist/esm/layoutControls/ListView/runtime.js +45 -30
- package/dist/esm/layoutControls/Page/Setting.js +34 -34
- package/dist/esm/layoutControls/Page/designer.js +30 -30
- package/dist/esm/layoutControls/Page/index.js +6 -6
- package/dist/esm/layoutControls/Page/property.js +46 -31
- package/dist/esm/layoutControls/Page/runtime.js +28 -28
- package/dist/esm/layoutControls/Position/Setting.js +1 -1
- package/dist/esm/layoutControls/Position/designer.js +30 -30
- package/dist/esm/layoutControls/Position/index.js +6 -6
- package/dist/esm/layoutControls/Position/property.js +51 -33
- package/dist/esm/layoutControls/Position/runtime.js +28 -28
- package/dist/esm/layoutControls/PositioningContainer/Setting.js +24 -24
- package/dist/esm/layoutControls/PositioningContainer/designer.js +30 -30
- package/dist/esm/layoutControls/PositioningContainer/index.js +6 -6
- package/dist/esm/layoutControls/PositioningContainer/property.js +25 -25
- package/dist/esm/layoutControls/PositioningContainer/runtime.js +28 -28
- package/dist/esm/layoutControls/Row/designer.js +54 -39
- package/dist/esm/layoutControls/Row/index.js +6 -6
- package/dist/esm/layoutControls/Row/property.js +45 -29
- package/dist/esm/layoutControls/Row/runtime.js +45 -30
- package/dist/esm/layoutControls/SubTableColumn/designer.js +56 -41
- package/dist/esm/layoutControls/SubTableColumn/index.js +6 -6
- package/dist/esm/layoutControls/SubTableColumn/property.js +87 -54
- package/dist/esm/layoutControls/SubTableColumn/runtime.js +43 -28
- package/dist/esm/layoutControls/SubTableRow/designer.js +54 -39
- package/dist/esm/layoutControls/SubTableRow/index.js +6 -6
- package/dist/esm/layoutControls/SubTableRow/property.js +25 -25
- package/dist/esm/layoutControls/SubTableRow/runtime.js +45 -30
- package/dist/esm/layoutControls/Tab/designer.js +62 -47
- package/dist/esm/layoutControls/Tab/index.js +6 -6
- package/dist/esm/layoutControls/Tab/property.js +42 -27
- package/dist/esm/layoutControls/Tab/runtime.js +45 -30
- package/dist/esm/layoutControls/TabPane/designer.js +57 -42
- package/dist/esm/layoutControls/TabPane/index.js +6 -6
- package/dist/esm/layoutControls/TabPane/property.js +53 -38
- package/dist/esm/layoutControls/TabPane/runtime.js +45 -30
- package/dist/esm/layoutControls/Toolbox/designer.js +53 -38
- package/dist/esm/layoutControls/Toolbox/index.js +6 -6
- package/dist/esm/layoutControls/Toolbox/property.js +25 -25
- package/dist/esm/layoutControls/Toolbox/runtime.js +32 -31
- package/dist/esm/layoutControls/index.js +17 -19
- package/dist/esm/listControls/GridTable/designer.js +201 -69
- package/dist/esm/listControls/GridTable/index.js +6 -6
- package/dist/esm/listControls/GridTable/property.js +80 -42
- package/dist/esm/listControls/GridTable/runtime.js +47 -32
- package/dist/esm/listControls/SubTable/designer.js +83 -68
- package/dist/esm/listControls/SubTable/index.js +6 -6
- package/dist/esm/listControls/SubTable/property.js +276 -130
- package/dist/esm/listControls/SubTable/runtime.js +47 -32
- package/dist/esm/listControls/index.js +2 -2
- package/dist/esm/searchControls/SimpleSearch/designer.js +50 -35
- package/dist/esm/searchControls/SimpleSearch/index.js +6 -6
- package/dist/esm/searchControls/SimpleSearch/property.js +98 -54
- package/dist/esm/searchControls/SimpleSearch/runtime.js +46 -30
- package/dist/esm/searchControls/index.js +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/types/baseControls/Button/property.d.ts +1 -2
- package/dist/types/baseControls/ExportListButton/property.d.ts +0 -1
- package/dist/types/baseControls/ImportRecordListButton/property.d.ts +0 -1
- package/dist/types/columnControls/index.d.ts +0 -1
- package/dist/types/formControls/Attachment/property.d.ts +0 -1
- package/dist/types/formControls/Select/property.d.ts +1 -19
- package/dist/types/formControls/SelectMultiple/property.d.ts +1 -19
- package/dist/types/formControls/SelectRelation/property.d.ts +1 -7
- package/dist/types/index.d.ts +1 -3
- package/dist/types/layoutControls/ListView/property.d.ts +1 -10
- package/dist/types/layoutControls/index.d.ts +0 -2
- package/dist/types/listControls/SubTable/property.d.ts +4 -0
- package/dist/types/searchControls/SimpleSearch/property.d.ts +0 -12
- package/dist/types/type.d.ts +2 -9
- package/package.json +5 -5
- package/dist/esm/columnControls/ApprovalStatusColumn/designer.js +0 -121
- package/dist/esm/columnControls/ApprovalStatusColumn/index.js +0 -11
- package/dist/esm/columnControls/ApprovalStatusColumn/property.js +0 -97
- package/dist/esm/columnControls/ApprovalStatusColumn/runtime.js +0 -89
- package/dist/esm/columnControls/ApprovalStatusColumn/types.js +0 -0
- package/dist/esm/layoutControls/ActionBar/designer.js +0 -142
- package/dist/esm/layoutControls/ActionBar/index.js +0 -11
- package/dist/esm/layoutControls/ActionBar/property.js +0 -92
- package/dist/esm/layoutControls/ActionBar/runtime.js +0 -111
- package/dist/esm/layoutControls/ActionBar/types.js +0 -0
- package/dist/esm/layoutControls/GridLayoutContainer/designer.js +0 -128
- package/dist/esm/layoutControls/GridLayoutContainer/index.js +0 -11
- package/dist/esm/layoutControls/GridLayoutContainer/property.js +0 -90
- package/dist/esm/layoutControls/GridLayoutContainer/runtime.js +0 -110
- package/dist/esm/layoutControls/GridLayoutContainer/types.js +0 -0
- package/dist/esm/wrapControls/GridLayoutWrap/Setting.js +0 -33
- package/dist/esm/wrapControls/GridLayoutWrap/designer.js +0 -129
- package/dist/esm/wrapControls/GridLayoutWrap/index.js +0 -20
- package/dist/esm/wrapControls/GridLayoutWrap/property.js +0 -87
- package/dist/esm/wrapControls/GridLayoutWrap/runtime.js +0 -112
- package/dist/esm/wrapControls/index.js +0 -1
- package/dist/types/columnControls/ApprovalStatusColumn/designer.d.ts +0 -14
- package/dist/types/columnControls/ApprovalStatusColumn/index.d.ts +0 -12
- package/dist/types/columnControls/ApprovalStatusColumn/property.d.ts +0 -24
- package/dist/types/columnControls/ApprovalStatusColumn/runtime.d.ts +0 -12
- package/dist/types/columnControls/ApprovalStatusColumn/types.d.ts +0 -0
- package/dist/types/layoutControls/ActionBar/designer.d.ts +0 -13
- package/dist/types/layoutControls/ActionBar/index.d.ts +0 -12
- package/dist/types/layoutControls/ActionBar/property.d.ts +0 -9
- package/dist/types/layoutControls/ActionBar/runtime.d.ts +0 -10
- package/dist/types/layoutControls/ActionBar/types.d.ts +0 -0
- package/dist/types/layoutControls/GridLayoutContainer/designer.d.ts +0 -13
- package/dist/types/layoutControls/GridLayoutContainer/index.d.ts +0 -12
- package/dist/types/layoutControls/GridLayoutContainer/property.d.ts +0 -8
- package/dist/types/layoutControls/GridLayoutContainer/runtime.d.ts +0 -10
- package/dist/types/layoutControls/GridLayoutContainer/types.d.ts +0 -0
- package/dist/types/wrapControls/GridLayoutWrap/Setting.d.ts +0 -2
- package/dist/types/wrapControls/GridLayoutWrap/designer.d.ts +0 -11
- package/dist/types/wrapControls/GridLayoutWrap/index.d.ts +0 -14
- package/dist/types/wrapControls/GridLayoutWrap/property.d.ts +0 -6
- package/dist/types/wrapControls/GridLayoutWrap/runtime.d.ts +0 -8
- package/dist/types/wrapControls/index.d.ts +0 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _assert_this_initialized(self) {
|
|
2
2
|
if (self === void 0) {
|
|
3
3
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4
4
|
}
|
|
5
5
|
return self;
|
|
6
6
|
}
|
|
7
|
-
function
|
|
7
|
+
function _class_call_check(instance, Constructor) {
|
|
8
8
|
if (!(instance instanceof Constructor)) {
|
|
9
9
|
throw new TypeError("Cannot call a class as a function");
|
|
10
10
|
}
|
|
@@ -18,16 +18,29 @@ function _defineProperties(target, props) {
|
|
|
18
18
|
Object.defineProperty(target, descriptor.key, descriptor);
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function _create_class(Constructor, protoProps, staticProps) {
|
|
22
22
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
23
23
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
24
24
|
return Constructor;
|
|
25
25
|
}
|
|
26
|
-
function
|
|
27
|
-
|
|
26
|
+
function _define_property(obj, key, value) {
|
|
27
|
+
if (key in obj) {
|
|
28
|
+
Object.defineProperty(obj, key, {
|
|
29
|
+
value: value,
|
|
30
|
+
enumerable: true,
|
|
31
|
+
configurable: true,
|
|
32
|
+
writable: true
|
|
33
|
+
});
|
|
34
|
+
} else {
|
|
35
|
+
obj[key] = value;
|
|
36
|
+
}
|
|
37
|
+
return obj;
|
|
38
|
+
}
|
|
39
|
+
function _get_prototype_of(o) {
|
|
40
|
+
_get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
|
|
28
41
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
29
42
|
};
|
|
30
|
-
return
|
|
43
|
+
return _get_prototype_of(o);
|
|
31
44
|
}
|
|
32
45
|
function _inherits(subClass, superClass) {
|
|
33
46
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -40,26 +53,26 @@ function _inherits(subClass, superClass) {
|
|
|
40
53
|
configurable: true
|
|
41
54
|
}
|
|
42
55
|
});
|
|
43
|
-
if (superClass)
|
|
56
|
+
if (superClass) _set_prototype_of(subClass, superClass);
|
|
44
57
|
}
|
|
45
|
-
function
|
|
46
|
-
if (call && (
|
|
58
|
+
function _possible_constructor_return(self, call) {
|
|
59
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) {
|
|
47
60
|
return call;
|
|
48
61
|
}
|
|
49
|
-
return
|
|
62
|
+
return _assert_this_initialized(self);
|
|
50
63
|
}
|
|
51
|
-
function
|
|
52
|
-
|
|
64
|
+
function _set_prototype_of(o, p) {
|
|
65
|
+
_set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
|
|
53
66
|
o.__proto__ = p;
|
|
54
67
|
return o;
|
|
55
68
|
};
|
|
56
|
-
return
|
|
69
|
+
return _set_prototype_of(o, p);
|
|
57
70
|
}
|
|
58
|
-
|
|
71
|
+
function _type_of(obj) {
|
|
59
72
|
"@swc/helpers - typeof";
|
|
60
73
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
61
|
-
}
|
|
62
|
-
function
|
|
74
|
+
}
|
|
75
|
+
function _is_native_reflect_construct() {
|
|
63
76
|
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
64
77
|
if (Reflect.construct.sham) return false;
|
|
65
78
|
if (typeof Proxy === "function") return true;
|
|
@@ -70,92 +83,94 @@ function _isNativeReflectConstruct() {
|
|
|
70
83
|
return false;
|
|
71
84
|
}
|
|
72
85
|
}
|
|
73
|
-
function
|
|
74
|
-
var hasNativeReflectConstruct =
|
|
86
|
+
function _create_super(Derived) {
|
|
87
|
+
var hasNativeReflectConstruct = _is_native_reflect_construct();
|
|
75
88
|
return function _createSuperInternal() {
|
|
76
|
-
var Super =
|
|
89
|
+
var Super = _get_prototype_of(Derived), result;
|
|
77
90
|
if (hasNativeReflectConstruct) {
|
|
78
|
-
var NewTarget =
|
|
91
|
+
var NewTarget = _get_prototype_of(this).constructor;
|
|
79
92
|
result = Reflect.construct(Super, arguments, NewTarget);
|
|
80
93
|
} else {
|
|
81
94
|
result = Super.apply(this, arguments);
|
|
82
95
|
}
|
|
83
|
-
return
|
|
96
|
+
return _possible_constructor_return(this, result);
|
|
84
97
|
};
|
|
85
98
|
}
|
|
86
|
-
import { COMMON_SETTING_TYPE } from
|
|
87
|
-
import { DesignerButtonControl } from
|
|
88
|
-
import ListSelectButtonProperty from
|
|
89
|
-
var ListSelectButtonControl = /*#__PURE__*/ function(
|
|
99
|
+
import { COMMON_SETTING_TYPE } from "@byteluck-fe/model-driven-core";
|
|
100
|
+
import { DesignerButtonControl } from "../Button";
|
|
101
|
+
import ListSelectButtonProperty from "./property";
|
|
102
|
+
var ListSelectButtonControl = /*#__PURE__*/ function(DesignerButtonControl) {
|
|
90
103
|
"use strict";
|
|
91
|
-
_inherits(ListSelectButtonControl,
|
|
92
|
-
var _super =
|
|
104
|
+
_inherits(ListSelectButtonControl, DesignerButtonControl);
|
|
105
|
+
var _super = _create_super(ListSelectButtonControl);
|
|
93
106
|
function ListSelectButtonControl(props) {
|
|
94
|
-
|
|
107
|
+
_class_call_check(this, ListSelectButtonControl);
|
|
95
108
|
var _this;
|
|
109
|
+
var _props;
|
|
96
110
|
_this = _super.call(this, props);
|
|
97
|
-
_this
|
|
111
|
+
_define_property(_assert_this_initialized(_this), "props", void 0);
|
|
112
|
+
_this.props = new ListSelectButtonProperty((_props = props) === null || _props === void 0 ? void 0 : _props.props);
|
|
98
113
|
return _this;
|
|
99
114
|
}
|
|
100
|
-
|
|
115
|
+
_create_class(ListSelectButtonControl, null, [
|
|
101
116
|
{
|
|
102
117
|
key: "controlName",
|
|
103
118
|
get: function get() {
|
|
104
|
-
return
|
|
119
|
+
return "列表选择";
|
|
105
120
|
}
|
|
106
121
|
},
|
|
107
122
|
{
|
|
108
123
|
key: "controlIcon",
|
|
109
124
|
get: function get() {
|
|
110
|
-
return
|
|
125
|
+
return "iconliebiaoxuanze";
|
|
111
126
|
}
|
|
112
127
|
},
|
|
113
128
|
{
|
|
114
129
|
key: "controlType",
|
|
115
130
|
get: function get() {
|
|
116
|
-
return
|
|
131
|
+
return "list-select-button";
|
|
117
132
|
}
|
|
118
133
|
}
|
|
119
134
|
]);
|
|
120
135
|
return ListSelectButtonControl;
|
|
121
136
|
}(DesignerButtonControl);
|
|
122
|
-
ListSelectButtonControl
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
];
|
|
127
|
-
ListSelectButtonControl
|
|
137
|
+
_define_property(ListSelectButtonControl, "controlEventKeys", [
|
|
138
|
+
"on_click",
|
|
139
|
+
"on_click_finish",
|
|
140
|
+
"on_modal_ok"
|
|
141
|
+
]);
|
|
142
|
+
_define_property(ListSelectButtonControl, "setting", [
|
|
128
143
|
{
|
|
129
|
-
key:
|
|
144
|
+
key: "button-content",
|
|
130
145
|
visible: true
|
|
131
146
|
},
|
|
132
147
|
{
|
|
133
|
-
key:
|
|
148
|
+
key: "button-type",
|
|
134
149
|
visible: true
|
|
135
150
|
},
|
|
136
151
|
{
|
|
137
|
-
key:
|
|
152
|
+
key: "button-show-type",
|
|
138
153
|
visible: true
|
|
139
154
|
},
|
|
140
155
|
{
|
|
141
|
-
key:
|
|
156
|
+
key: "button-color-type",
|
|
142
157
|
visible: true
|
|
143
158
|
},
|
|
144
159
|
{
|
|
145
|
-
key:
|
|
160
|
+
key: "common-setting",
|
|
146
161
|
visible: true,
|
|
147
162
|
showItems: [
|
|
148
163
|
COMMON_SETTING_TYPE.IS_HIDE
|
|
149
164
|
]
|
|
150
165
|
},
|
|
151
166
|
{
|
|
152
|
-
key:
|
|
167
|
+
key: "button-action-setting",
|
|
153
168
|
visible: true
|
|
154
169
|
},
|
|
155
170
|
{
|
|
156
|
-
key:
|
|
171
|
+
key: "super-setting",
|
|
157
172
|
visible: true
|
|
158
|
-
}
|
|
159
|
-
];
|
|
173
|
+
}
|
|
174
|
+
]);
|
|
160
175
|
export default ListSelectButtonControl;
|
|
161
176
|
export { ListSelectButtonControl as DesignerListSelectButtonControl };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import Designer from
|
|
2
|
-
import Runtime from
|
|
3
|
-
import Property from
|
|
1
|
+
import Designer from "./designer";
|
|
2
|
+
import Runtime from "./runtime";
|
|
3
|
+
import Property from "./property";
|
|
4
4
|
export default {
|
|
5
5
|
Designer: Designer,
|
|
6
6
|
Runtime: Runtime,
|
|
7
7
|
Property: Property
|
|
8
8
|
};
|
|
9
|
-
export * from
|
|
10
|
-
export * from
|
|
11
|
-
export * from
|
|
9
|
+
export * from "./designer";
|
|
10
|
+
export * from "./runtime";
|
|
11
|
+
export * from "./property";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _assert_this_initialized(self) {
|
|
2
2
|
if (self === void 0) {
|
|
3
3
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4
4
|
}
|
|
5
5
|
return self;
|
|
6
6
|
}
|
|
7
|
-
function
|
|
7
|
+
function _class_call_check(instance, Constructor) {
|
|
8
8
|
if (!(instance instanceof Constructor)) {
|
|
9
9
|
throw new TypeError("Cannot call a class as a function");
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function _define_property(obj, key, value) {
|
|
13
13
|
if (key in obj) {
|
|
14
14
|
Object.defineProperty(obj, key, {
|
|
15
15
|
value: value,
|
|
@@ -22,11 +22,11 @@ function _defineProperty(obj, key, value) {
|
|
|
22
22
|
}
|
|
23
23
|
return obj;
|
|
24
24
|
}
|
|
25
|
-
function
|
|
26
|
-
|
|
25
|
+
function _get_prototype_of(o) {
|
|
26
|
+
_get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
|
|
27
27
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
28
28
|
};
|
|
29
|
-
return
|
|
29
|
+
return _get_prototype_of(o);
|
|
30
30
|
}
|
|
31
31
|
function _inherits(subClass, superClass) {
|
|
32
32
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -39,9 +39,9 @@ function _inherits(subClass, superClass) {
|
|
|
39
39
|
configurable: true
|
|
40
40
|
}
|
|
41
41
|
});
|
|
42
|
-
if (superClass)
|
|
42
|
+
if (superClass) _set_prototype_of(subClass, superClass);
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function _object_spread(target) {
|
|
45
45
|
for(var i = 1; i < arguments.length; i++){
|
|
46
46
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
47
47
|
var ownKeys = Object.keys(source);
|
|
@@ -51,29 +51,29 @@ function _objectSpread(target) {
|
|
|
51
51
|
}));
|
|
52
52
|
}
|
|
53
53
|
ownKeys.forEach(function(key) {
|
|
54
|
-
|
|
54
|
+
_define_property(target, key, source[key]);
|
|
55
55
|
});
|
|
56
56
|
}
|
|
57
57
|
return target;
|
|
58
58
|
}
|
|
59
|
-
function
|
|
60
|
-
if (call && (
|
|
59
|
+
function _possible_constructor_return(self, call) {
|
|
60
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) {
|
|
61
61
|
return call;
|
|
62
62
|
}
|
|
63
|
-
return
|
|
63
|
+
return _assert_this_initialized(self);
|
|
64
64
|
}
|
|
65
|
-
function
|
|
66
|
-
|
|
65
|
+
function _set_prototype_of(o, p) {
|
|
66
|
+
_set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
|
|
67
67
|
o.__proto__ = p;
|
|
68
68
|
return o;
|
|
69
69
|
};
|
|
70
|
-
return
|
|
70
|
+
return _set_prototype_of(o, p);
|
|
71
71
|
}
|
|
72
|
-
|
|
72
|
+
function _type_of(obj) {
|
|
73
73
|
"@swc/helpers - typeof";
|
|
74
74
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
75
|
-
}
|
|
76
|
-
function
|
|
75
|
+
}
|
|
76
|
+
function _is_native_reflect_construct() {
|
|
77
77
|
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
78
78
|
if (Reflect.construct.sham) return false;
|
|
79
79
|
if (typeof Proxy === "function") return true;
|
|
@@ -84,90 +84,107 @@ function _isNativeReflectConstruct() {
|
|
|
84
84
|
return false;
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
|
-
function
|
|
88
|
-
var hasNativeReflectConstruct =
|
|
87
|
+
function _create_super(Derived) {
|
|
88
|
+
var hasNativeReflectConstruct = _is_native_reflect_construct();
|
|
89
89
|
return function _createSuperInternal() {
|
|
90
|
-
var Super =
|
|
90
|
+
var Super = _get_prototype_of(Derived), result;
|
|
91
91
|
if (hasNativeReflectConstruct) {
|
|
92
|
-
var NewTarget =
|
|
92
|
+
var NewTarget = _get_prototype_of(this).constructor;
|
|
93
93
|
result = Reflect.construct(Super, arguments, NewTarget);
|
|
94
94
|
} else {
|
|
95
95
|
result = Super.apply(this, arguments);
|
|
96
96
|
}
|
|
97
|
-
return
|
|
97
|
+
return _possible_constructor_return(this, result);
|
|
98
98
|
};
|
|
99
99
|
}
|
|
100
|
-
import { ButtonProperty } from
|
|
101
|
-
import ListSelectButtonControl from
|
|
102
|
-
import { PropertyRules, FillBackBind, FillPayloadBind, SelectedContentConfig, ListBind } from
|
|
103
|
-
import { RulesMessage } from
|
|
104
|
-
import { createFillBindRules } from
|
|
105
|
-
var ListSelectButtonPropertyRules = /*#__PURE__*/ function(
|
|
100
|
+
import { ButtonProperty } from "../Button";
|
|
101
|
+
import ListSelectButtonControl from "./designer";
|
|
102
|
+
import { PropertyRules, FillBackBind, FillPayloadBind, SelectedContentConfig, ListBind } from "@byteluck-fe/model-driven-core";
|
|
103
|
+
import { RulesMessage } from "@byteluck-fe/model-driven-shared";
|
|
104
|
+
import { createFillBindRules } from "../utils";
|
|
105
|
+
var ListSelectButtonPropertyRules = /*#__PURE__*/ function(PropertyRules) {
|
|
106
106
|
"use strict";
|
|
107
|
-
_inherits(ListSelectButtonPropertyRules,
|
|
108
|
-
var _super =
|
|
107
|
+
_inherits(ListSelectButtonPropertyRules, PropertyRules);
|
|
108
|
+
var _super = _create_super(ListSelectButtonPropertyRules);
|
|
109
109
|
function ListSelectButtonPropertyRules(props) {
|
|
110
|
-
|
|
110
|
+
_class_call_check(this, ListSelectButtonPropertyRules);
|
|
111
111
|
var _this;
|
|
112
112
|
_this = _super.call(this, props);
|
|
113
|
-
_this
|
|
114
|
-
type:
|
|
115
|
-
fields:
|
|
116
|
-
};
|
|
117
|
-
_this
|
|
118
|
-
type:
|
|
113
|
+
_define_property(_assert_this_initialized(_this), "fillPayload", {
|
|
114
|
+
type: "object",
|
|
115
|
+
fields: _object_spread({}, createFillBindRules())
|
|
116
|
+
});
|
|
117
|
+
_define_property(_assert_this_initialized(_this), "listPageBind", {
|
|
118
|
+
type: "object",
|
|
119
119
|
fields: {
|
|
120
120
|
formKey: {
|
|
121
|
-
type:
|
|
121
|
+
type: "string",
|
|
122
122
|
required: true,
|
|
123
|
-
message: RulesMessage.getMessage(
|
|
123
|
+
message: RulesMessage.getMessage("pleaseEnterList")
|
|
124
124
|
},
|
|
125
125
|
headers: {
|
|
126
|
-
type:
|
|
126
|
+
type: "array",
|
|
127
127
|
required: true,
|
|
128
|
-
message: RulesMessage.getMessage(
|
|
128
|
+
message: RulesMessage.getMessage("pleaseSelectAtLeastOneColumn")
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
|
-
};
|
|
132
|
-
_this
|
|
133
|
-
type:
|
|
134
|
-
fields:
|
|
131
|
+
});
|
|
132
|
+
_define_property(_assert_this_initialized(_this), "fillBack", {
|
|
133
|
+
type: "object",
|
|
134
|
+
fields: _object_spread({
|
|
135
135
|
mode: {
|
|
136
|
-
type:
|
|
136
|
+
type: "string",
|
|
137
137
|
required: true,
|
|
138
|
-
message: RulesMessage.getMessage(
|
|
138
|
+
message: RulesMessage.getMessage("pleaseSelectFillBackMode")
|
|
139
139
|
}
|
|
140
140
|
}, createFillBindRules())
|
|
141
|
-
};
|
|
141
|
+
});
|
|
142
142
|
return _this;
|
|
143
143
|
}
|
|
144
144
|
return ListSelectButtonPropertyRules;
|
|
145
145
|
}(PropertyRules);
|
|
146
|
-
|
|
146
|
+
/**
|
|
147
147
|
* ListSelectButton 列表选择
|
|
148
148
|
* @public
|
|
149
|
-
*/ /*#__PURE__*/ function(
|
|
149
|
+
*/ var ListSelectButtonProperty = /*#__PURE__*/ function(ButtonProperty) {
|
|
150
150
|
"use strict";
|
|
151
|
-
_inherits(ListSelectButtonProperty,
|
|
152
|
-
var _super =
|
|
151
|
+
_inherits(ListSelectButtonProperty, ButtonProperty);
|
|
152
|
+
var _super = _create_super(ListSelectButtonProperty);
|
|
153
153
|
function ListSelectButtonProperty(props) {
|
|
154
|
-
|
|
154
|
+
_class_call_check(this, ListSelectButtonProperty);
|
|
155
155
|
var _this;
|
|
156
|
+
var _props, _props1, _props2, _props3, _props4, _props5, _props6;
|
|
156
157
|
_this = _super.call(this, props);
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
158
|
+
/**
|
|
159
|
+
* 数据过滤
|
|
160
|
+
* @public
|
|
161
|
+
*/ _define_property(_assert_this_initialized(_this), "fillPayload", void 0);
|
|
162
|
+
/**
|
|
163
|
+
* 绑定列表页
|
|
164
|
+
* @public
|
|
165
|
+
*/ _define_property(_assert_this_initialized(_this), "listPageBind", void 0);
|
|
166
|
+
/**
|
|
167
|
+
* 回填配置
|
|
168
|
+
* @public
|
|
169
|
+
*/ _define_property(_assert_this_initialized(_this), "fillBack", void 0);
|
|
170
|
+
// 展示已选明细
|
|
171
|
+
_define_property(_assert_this_initialized(_this), "showSelectedDetail", void 0);
|
|
172
|
+
// 展示已选内容配置字段
|
|
173
|
+
_define_property(_assert_this_initialized(_this), "selectedContentConfig", void 0);
|
|
174
|
+
var _props_content;
|
|
175
|
+
_this.content = (_props_content = (_props = props) === null || _props === void 0 ? void 0 : _props.content) !== null && _props_content !== void 0 ? _props_content : ListSelectButtonControl.controlName;
|
|
176
|
+
var _props_icon;
|
|
177
|
+
_this.icon = (_props_icon = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.icon) !== null && _props_icon !== void 0 ? _props_icon : ListSelectButtonControl.controlIcon;
|
|
178
|
+
_this.fillPayload = new FillPayloadBind((_props2 = props) === null || _props2 === void 0 ? void 0 : _props2.fillPayload);
|
|
179
|
+
_this.listPageBind = new ListBind((_props3 = props) === null || _props3 === void 0 ? void 0 : _props3.listPageBind);
|
|
180
|
+
_this.fillBack = new FillBackBind((_props4 = props) === null || _props4 === void 0 ? void 0 : _props4.fillBack);
|
|
181
|
+
var _props_showSelectedDetail;
|
|
182
|
+
_this.showSelectedDetail = (_props_showSelectedDetail = (_props5 = props) === null || _props5 === void 0 ? void 0 : _props5.showSelectedDetail) !== null && _props_showSelectedDetail !== void 0 ? _props_showSelectedDetail : false;
|
|
183
|
+
_this.selectedContentConfig = new SelectedContentConfig((_props6 = props) === null || _props6 === void 0 ? void 0 : _props6.selectedContentConfig);
|
|
167
184
|
return _this;
|
|
168
185
|
}
|
|
169
186
|
return ListSelectButtonProperty;
|
|
170
187
|
}(ButtonProperty);
|
|
171
|
-
ListSelectButtonProperty
|
|
188
|
+
_define_property(ListSelectButtonProperty, "Rules", ListSelectButtonPropertyRules);
|
|
172
189
|
export default ListSelectButtonProperty;
|
|
173
190
|
export { ListSelectButtonProperty, ListSelectButtonPropertyRules };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _assert_this_initialized(self) {
|
|
2
2
|
if (self === void 0) {
|
|
3
3
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4
4
|
}
|
|
5
5
|
return self;
|
|
6
6
|
}
|
|
7
|
-
function
|
|
7
|
+
function _class_call_check(instance, Constructor) {
|
|
8
8
|
if (!(instance instanceof Constructor)) {
|
|
9
9
|
throw new TypeError("Cannot call a class as a function");
|
|
10
10
|
}
|
|
@@ -18,16 +18,29 @@ function _defineProperties(target, props) {
|
|
|
18
18
|
Object.defineProperty(target, descriptor.key, descriptor);
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function _create_class(Constructor, protoProps, staticProps) {
|
|
22
22
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
23
23
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
24
24
|
return Constructor;
|
|
25
25
|
}
|
|
26
|
-
function
|
|
27
|
-
|
|
26
|
+
function _define_property(obj, key, value) {
|
|
27
|
+
if (key in obj) {
|
|
28
|
+
Object.defineProperty(obj, key, {
|
|
29
|
+
value: value,
|
|
30
|
+
enumerable: true,
|
|
31
|
+
configurable: true,
|
|
32
|
+
writable: true
|
|
33
|
+
});
|
|
34
|
+
} else {
|
|
35
|
+
obj[key] = value;
|
|
36
|
+
}
|
|
37
|
+
return obj;
|
|
38
|
+
}
|
|
39
|
+
function _get_prototype_of(o) {
|
|
40
|
+
_get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
|
|
28
41
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
29
42
|
};
|
|
30
|
-
return
|
|
43
|
+
return _get_prototype_of(o);
|
|
31
44
|
}
|
|
32
45
|
function _inherits(subClass, superClass) {
|
|
33
46
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -40,26 +53,26 @@ function _inherits(subClass, superClass) {
|
|
|
40
53
|
configurable: true
|
|
41
54
|
}
|
|
42
55
|
});
|
|
43
|
-
if (superClass)
|
|
56
|
+
if (superClass) _set_prototype_of(subClass, superClass);
|
|
44
57
|
}
|
|
45
|
-
function
|
|
46
|
-
if (call && (
|
|
58
|
+
function _possible_constructor_return(self, call) {
|
|
59
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) {
|
|
47
60
|
return call;
|
|
48
61
|
}
|
|
49
|
-
return
|
|
62
|
+
return _assert_this_initialized(self);
|
|
50
63
|
}
|
|
51
|
-
function
|
|
52
|
-
|
|
64
|
+
function _set_prototype_of(o, p) {
|
|
65
|
+
_set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
|
|
53
66
|
o.__proto__ = p;
|
|
54
67
|
return o;
|
|
55
68
|
};
|
|
56
|
-
return
|
|
69
|
+
return _set_prototype_of(o, p);
|
|
57
70
|
}
|
|
58
|
-
|
|
71
|
+
function _type_of(obj) {
|
|
59
72
|
"@swc/helpers - typeof";
|
|
60
73
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
61
|
-
}
|
|
62
|
-
function
|
|
74
|
+
}
|
|
75
|
+
function _is_native_reflect_construct() {
|
|
63
76
|
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
64
77
|
if (Reflect.construct.sham) return false;
|
|
65
78
|
if (typeof Proxy === "function") return true;
|
|
@@ -70,37 +83,39 @@ function _isNativeReflectConstruct() {
|
|
|
70
83
|
return false;
|
|
71
84
|
}
|
|
72
85
|
}
|
|
73
|
-
function
|
|
74
|
-
var hasNativeReflectConstruct =
|
|
86
|
+
function _create_super(Derived) {
|
|
87
|
+
var hasNativeReflectConstruct = _is_native_reflect_construct();
|
|
75
88
|
return function _createSuperInternal() {
|
|
76
|
-
var Super =
|
|
89
|
+
var Super = _get_prototype_of(Derived), result;
|
|
77
90
|
if (hasNativeReflectConstruct) {
|
|
78
|
-
var NewTarget =
|
|
91
|
+
var NewTarget = _get_prototype_of(this).constructor;
|
|
79
92
|
result = Reflect.construct(Super, arguments, NewTarget);
|
|
80
93
|
} else {
|
|
81
94
|
result = Super.apply(this, arguments);
|
|
82
95
|
}
|
|
83
|
-
return
|
|
96
|
+
return _possible_constructor_return(this, result);
|
|
84
97
|
};
|
|
85
98
|
}
|
|
86
|
-
import ListSelectButtonProperty from
|
|
87
|
-
import { RuntimeButtonControl } from
|
|
88
|
-
var ListSelectButtonControl = /*#__PURE__*/ function(
|
|
99
|
+
import ListSelectButtonProperty from "./property";
|
|
100
|
+
import { RuntimeButtonControl } from "../Button";
|
|
101
|
+
var ListSelectButtonControl = /*#__PURE__*/ function(RuntimeButtonControl) {
|
|
89
102
|
"use strict";
|
|
90
|
-
_inherits(ListSelectButtonControl,
|
|
91
|
-
var _super =
|
|
103
|
+
_inherits(ListSelectButtonControl, RuntimeButtonControl);
|
|
104
|
+
var _super = _create_super(ListSelectButtonControl);
|
|
92
105
|
function ListSelectButtonControl(props) {
|
|
93
|
-
|
|
106
|
+
_class_call_check(this, ListSelectButtonControl);
|
|
94
107
|
var _this;
|
|
108
|
+
var _props;
|
|
95
109
|
_this = _super.call(this, props);
|
|
96
|
-
_this
|
|
110
|
+
_define_property(_assert_this_initialized(_this), "props", void 0);
|
|
111
|
+
_this.props = new ListSelectButtonProperty((_props = props) === null || _props === void 0 ? void 0 : _props.props);
|
|
97
112
|
return _this;
|
|
98
113
|
}
|
|
99
|
-
|
|
114
|
+
_create_class(ListSelectButtonControl, null, [
|
|
100
115
|
{
|
|
101
116
|
key: "controlType",
|
|
102
117
|
get: function get() {
|
|
103
|
-
return
|
|
118
|
+
return "list-select-button";
|
|
104
119
|
}
|
|
105
120
|
}
|
|
106
121
|
]);
|