@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 _define_property(obj, key, value) {
|
|
17
13
|
if (key in obj) {
|
|
@@ -21,9 +17,7 @@ function _define_property(obj, key, value) {
|
|
|
21
17
|
configurable: true,
|
|
22
18
|
writable: true
|
|
23
19
|
});
|
|
24
|
-
} else
|
|
25
|
-
obj[key] = value;
|
|
26
|
-
}
|
|
20
|
+
} else obj[key] = value;
|
|
27
21
|
return obj;
|
|
28
22
|
}
|
|
29
23
|
function _get_prototype_of(o) {
|
|
@@ -45,10 +39,16 @@ function _inherits(subClass, superClass) {
|
|
|
45
39
|
});
|
|
46
40
|
if (superClass) _set_prototype_of(subClass, superClass);
|
|
47
41
|
}
|
|
42
|
+
function _is_native_reflect_construct() {
|
|
43
|
+
try {
|
|
44
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
45
|
+
} catch (_) {}
|
|
46
|
+
return (_is_native_reflect_construct = function() {
|
|
47
|
+
return !!result;
|
|
48
|
+
})();
|
|
49
|
+
}
|
|
48
50
|
function _possible_constructor_return(self, call) {
|
|
49
|
-
if (call && (_type_of(call) === "object" || typeof call === "function"))
|
|
50
|
-
return call;
|
|
51
|
-
}
|
|
51
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) return call;
|
|
52
52
|
return _assert_this_initialized(self);
|
|
53
53
|
}
|
|
54
54
|
function _set_prototype_of(o, p) {
|
|
@@ -62,34 +62,24 @@ function _type_of(obj) {
|
|
|
62
62
|
"@swc/helpers - typeof";
|
|
63
63
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
64
64
|
}
|
|
65
|
-
|
|
66
|
-
try {
|
|
67
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
68
|
-
} catch (_) {}
|
|
69
|
-
return (_is_native_reflect_construct = function() {
|
|
70
|
-
return !!result;
|
|
71
|
-
})();
|
|
72
|
-
}
|
|
73
|
-
import { Property } from '@byteluck-fe/model-driven-core';
|
|
65
|
+
import { BaseControlProperty } from '@byteluck-fe/model-driven-core';
|
|
74
66
|
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
75
|
-
var LinkProperty = /*#__PURE__*/ function(
|
|
67
|
+
var LinkProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
76
68
|
"use strict";
|
|
77
|
-
_inherits(LinkProperty,
|
|
69
|
+
_inherits(LinkProperty, BaseControlProperty);
|
|
78
70
|
function LinkProperty(props) {
|
|
79
71
|
_class_call_check(this, LinkProperty);
|
|
80
72
|
var _this;
|
|
73
|
+
var _ref, _ref1, _ref2;
|
|
81
74
|
_this = _call_super(this, LinkProperty, [
|
|
82
75
|
props
|
|
83
76
|
]), _define_property(_this, "content", void 0), _define_property(_this, "url", void 0), _define_property(_this, "openMode", void 0);
|
|
84
|
-
|
|
85
|
-
_this.
|
|
86
|
-
|
|
87
|
-
_this.url = (_props_url = props === null || props === void 0 ? void 0 : props.url) !== null && _props_url !== void 0 ? _props_url : '';
|
|
88
|
-
var _props_openMode;
|
|
89
|
-
_this.openMode = (_props_openMode = props === null || props === void 0 ? void 0 : props.openMode) !== null && _props_openMode !== void 0 ? _props_openMode : 'new';
|
|
77
|
+
_this.content = (_ref = props === null || props === void 0 ? void 0 : props.content) !== null && _ref !== void 0 ? _ref : getLocaleText('CMD.linkContent', null, '我是一个链接');
|
|
78
|
+
_this.url = (_ref1 = props === null || props === void 0 ? void 0 : props.url) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
79
|
+
_this.openMode = (_ref2 = props === null || props === void 0 ? void 0 : props.openMode) !== null && _ref2 !== void 0 ? _ref2 : 'new';
|
|
90
80
|
return _this;
|
|
91
81
|
}
|
|
92
82
|
return LinkProperty;
|
|
93
|
-
}(
|
|
83
|
+
}(BaseControlProperty);
|
|
94
84
|
export default LinkProperty;
|
|
95
85
|
export { LinkProperty };
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
function _assert_this_initialized(self) {
|
|
2
|
-
if (self === void 0)
|
|
3
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4
|
-
}
|
|
2
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
5
3
|
return self;
|
|
6
4
|
}
|
|
7
5
|
function _call_super(_this, derived, args) {
|
|
@@ -9,9 +7,7 @@ function _call_super(_this, derived, args) {
|
|
|
9
7
|
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
10
8
|
}
|
|
11
9
|
function _class_call_check(instance, Constructor) {
|
|
12
|
-
if (!(instance instanceof Constructor))
|
|
13
|
-
throw new TypeError("Cannot call a class as a function");
|
|
14
|
-
}
|
|
10
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
15
11
|
}
|
|
16
12
|
function _defineProperties(target, props) {
|
|
17
13
|
for(var i = 0; i < props.length; i++){
|
|
@@ -35,9 +31,7 @@ function _define_property(obj, key, value) {
|
|
|
35
31
|
configurable: true,
|
|
36
32
|
writable: true
|
|
37
33
|
});
|
|
38
|
-
} else
|
|
39
|
-
obj[key] = value;
|
|
40
|
-
}
|
|
34
|
+
} else obj[key] = value;
|
|
41
35
|
return obj;
|
|
42
36
|
}
|
|
43
37
|
function _get_prototype_of(o) {
|
|
@@ -59,10 +53,16 @@ function _inherits(subClass, superClass) {
|
|
|
59
53
|
});
|
|
60
54
|
if (superClass) _set_prototype_of(subClass, superClass);
|
|
61
55
|
}
|
|
56
|
+
function _is_native_reflect_construct() {
|
|
57
|
+
try {
|
|
58
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
59
|
+
} catch (_) {}
|
|
60
|
+
return (_is_native_reflect_construct = function() {
|
|
61
|
+
return !!result;
|
|
62
|
+
})();
|
|
63
|
+
}
|
|
62
64
|
function _possible_constructor_return(self, call) {
|
|
63
|
-
if (call && (_type_of(call) === "object" || typeof call === "function"))
|
|
64
|
-
return call;
|
|
65
|
-
}
|
|
65
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) return call;
|
|
66
66
|
return _assert_this_initialized(self);
|
|
67
67
|
}
|
|
68
68
|
function _set_prototype_of(o, p) {
|
|
@@ -76,14 +76,6 @@ function _type_of(obj) {
|
|
|
76
76
|
"@swc/helpers - typeof";
|
|
77
77
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
78
78
|
}
|
|
79
|
-
function _is_native_reflect_construct() {
|
|
80
|
-
try {
|
|
81
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
82
|
-
} catch (_) {}
|
|
83
|
-
return (_is_native_reflect_construct = function() {
|
|
84
|
-
return !!result;
|
|
85
|
-
})();
|
|
86
|
-
}
|
|
87
79
|
import { RuntimeControl } from '@byteluck-fe/model-driven-core';
|
|
88
80
|
import { LinkProperty } from './property';
|
|
89
81
|
var LinkControl = /*#__PURE__*/ function(RuntimeControl) {
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
function _assert_this_initialized(self) {
|
|
2
|
-
if (self === void 0)
|
|
3
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4
|
-
}
|
|
2
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
5
3
|
return self;
|
|
6
4
|
}
|
|
7
5
|
function _call_super(_this, derived, args) {
|
|
@@ -9,9 +7,7 @@ function _call_super(_this, derived, args) {
|
|
|
9
7
|
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
10
8
|
}
|
|
11
9
|
function _class_call_check(instance, Constructor) {
|
|
12
|
-
if (!(instance instanceof Constructor))
|
|
13
|
-
throw new TypeError("Cannot call a class as a function");
|
|
14
|
-
}
|
|
10
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
15
11
|
}
|
|
16
12
|
function _defineProperties(target, props) {
|
|
17
13
|
for(var i = 0; i < props.length; i++){
|
|
@@ -35,22 +31,17 @@ 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(target, property, receiver) {
|
|
44
|
-
if (typeof Reflect !== "undefined" && Reflect.get)
|
|
45
|
-
|
|
46
|
-
} else {
|
|
38
|
+
if (typeof Reflect !== "undefined" && Reflect.get) _get = Reflect.get;
|
|
39
|
+
else {
|
|
47
40
|
_get = function get(target, property, receiver) {
|
|
48
41
|
var base = _super_prop_base(target, property);
|
|
49
42
|
if (!base) return;
|
|
50
43
|
var desc = Object.getOwnPropertyDescriptor(base, property);
|
|
51
|
-
if (desc.get)
|
|
52
|
-
return desc.get.call(receiver || target);
|
|
53
|
-
}
|
|
44
|
+
if (desc.get) return desc.get.call(receiver || target);
|
|
54
45
|
return desc.value;
|
|
55
46
|
};
|
|
56
47
|
}
|
|
@@ -75,10 +66,16 @@ function _inherits(subClass, superClass) {
|
|
|
75
66
|
});
|
|
76
67
|
if (superClass) _set_prototype_of(subClass, superClass);
|
|
77
68
|
}
|
|
69
|
+
function _is_native_reflect_construct() {
|
|
70
|
+
try {
|
|
71
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
72
|
+
} catch (_) {}
|
|
73
|
+
return (_is_native_reflect_construct = function() {
|
|
74
|
+
return !!result;
|
|
75
|
+
})();
|
|
76
|
+
}
|
|
78
77
|
function _possible_constructor_return(self, call) {
|
|
79
|
-
if (call && (_type_of(call) === "object" || typeof call === "function"))
|
|
80
|
-
return call;
|
|
81
|
-
}
|
|
78
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) return call;
|
|
82
79
|
return _assert_this_initialized(self);
|
|
83
80
|
}
|
|
84
81
|
function _set_prototype_of(o, p) {
|
|
@@ -99,14 +96,6 @@ function _type_of(obj) {
|
|
|
99
96
|
"@swc/helpers - typeof";
|
|
100
97
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
101
98
|
}
|
|
102
|
-
function _is_native_reflect_construct() {
|
|
103
|
-
try {
|
|
104
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
105
|
-
} catch (_) {}
|
|
106
|
-
return (_is_native_reflect_construct = function() {
|
|
107
|
-
return !!result;
|
|
108
|
-
})();
|
|
109
|
-
}
|
|
110
99
|
import { DesignerFormControl, COMMON_SETTING_TYPE } from '@byteluck-fe/model-driven-core';
|
|
111
100
|
import { FieldTypes } from '@byteluck-fe/model-driven-shared';
|
|
112
101
|
import NumberProperty from './property';
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
function _assert_this_initialized(self) {
|
|
2
|
-
if (self === void 0)
|
|
3
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4
|
-
}
|
|
2
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
5
3
|
return self;
|
|
6
4
|
}
|
|
7
5
|
function _call_super(_this, derived, args) {
|
|
@@ -9,9 +7,7 @@ function _call_super(_this, derived, args) {
|
|
|
9
7
|
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
10
8
|
}
|
|
11
9
|
function _class_call_check(instance, Constructor) {
|
|
12
|
-
if (!(instance instanceof Constructor))
|
|
13
|
-
throw new TypeError("Cannot call a class as a function");
|
|
14
|
-
}
|
|
10
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
15
11
|
}
|
|
16
12
|
function _define_property(obj, key, value) {
|
|
17
13
|
if (key in obj) {
|
|
@@ -21,9 +17,7 @@ function _define_property(obj, key, value) {
|
|
|
21
17
|
configurable: true,
|
|
22
18
|
writable: true
|
|
23
19
|
});
|
|
24
|
-
} else
|
|
25
|
-
obj[key] = value;
|
|
26
|
-
}
|
|
20
|
+
} else obj[key] = value;
|
|
27
21
|
return obj;
|
|
28
22
|
}
|
|
29
23
|
function _get_prototype_of(o) {
|
|
@@ -45,10 +39,16 @@ function _inherits(subClass, superClass) {
|
|
|
45
39
|
});
|
|
46
40
|
if (superClass) _set_prototype_of(subClass, superClass);
|
|
47
41
|
}
|
|
42
|
+
function _is_native_reflect_construct() {
|
|
43
|
+
try {
|
|
44
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
45
|
+
} catch (_) {}
|
|
46
|
+
return (_is_native_reflect_construct = function() {
|
|
47
|
+
return !!result;
|
|
48
|
+
})();
|
|
49
|
+
}
|
|
48
50
|
function _possible_constructor_return(self, call) {
|
|
49
|
-
if (call && (_type_of(call) === "object" || typeof call === "function"))
|
|
50
|
-
return call;
|
|
51
|
-
}
|
|
51
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) return call;
|
|
52
52
|
return _assert_this_initialized(self);
|
|
53
53
|
}
|
|
54
54
|
function _set_prototype_of(o, p) {
|
|
@@ -62,14 +62,6 @@ function _type_of(obj) {
|
|
|
62
62
|
"@swc/helpers - typeof";
|
|
63
63
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
64
64
|
}
|
|
65
|
-
function _is_native_reflect_construct() {
|
|
66
|
-
try {
|
|
67
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
68
|
-
} catch (_) {}
|
|
69
|
-
return (_is_native_reflect_construct = function() {
|
|
70
|
-
return !!result;
|
|
71
|
-
})();
|
|
72
|
-
}
|
|
73
65
|
import NumberControl from './designer';
|
|
74
66
|
import { BaseControlProperty, BaseControlPropertyRules, BaseControlPropertyRuntimeRules, RegularRules } from '@byteluck-fe/model-driven-core';
|
|
75
67
|
import { initExpression } from '../../framework';
|
|
@@ -159,6 +151,7 @@ var NumberControlPropertyRuntimeRules = /*#__PURE__*/ function(BaseControlProper
|
|
|
159
151
|
function NumberProperty(props) {
|
|
160
152
|
_class_call_check(this, NumberProperty);
|
|
161
153
|
var _this;
|
|
154
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11, _ref12;
|
|
162
155
|
_this = _call_super(this, NumberProperty, [
|
|
163
156
|
props
|
|
164
157
|
]), /**
|
|
@@ -209,32 +202,19 @@ var NumberControlPropertyRuntimeRules = /*#__PURE__*/ function(BaseControlProper
|
|
|
209
202
|
* 正则校验
|
|
210
203
|
* @public
|
|
211
204
|
* */ _define_property(_this, "regularRules", void 0);
|
|
212
|
-
|
|
213
|
-
_this.
|
|
214
|
-
|
|
215
|
-
_this.
|
|
216
|
-
|
|
217
|
-
_this.
|
|
218
|
-
|
|
219
|
-
_this.
|
|
220
|
-
|
|
221
|
-
_this.
|
|
222
|
-
|
|
223
|
-
_this.
|
|
224
|
-
|
|
225
|
-
_this.showUpperCase = (_props_showUpperCase = props === null || props === void 0 ? void 0 : props.showUpperCase) !== null && _props_showUpperCase !== void 0 ? _props_showUpperCase : false;
|
|
226
|
-
var _props_isShowUnit;
|
|
227
|
-
_this.isShowUnit = (_props_isShowUnit = props === null || props === void 0 ? void 0 : props.isShowUnit) !== null && _props_isShowUnit !== void 0 ? _props_isShowUnit : false;
|
|
228
|
-
var _props_unitPosition;
|
|
229
|
-
_this.unitPosition = (_props_unitPosition = props === null || props === void 0 ? void 0 : props.unitPosition) !== null && _props_unitPosition !== void 0 ? _props_unitPosition : 'right';
|
|
230
|
-
var _props_unit;
|
|
231
|
-
_this.unit = (_props_unit = props === null || props === void 0 ? void 0 : props.unit) !== null && _props_unit !== void 0 ? _props_unit : '';
|
|
232
|
-
var _props_caption;
|
|
233
|
-
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : NumberControl.controlName;
|
|
234
|
-
var _props_placeholder;
|
|
235
|
-
_this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : getLocaleText('CMD.pleaseEnter', null, '请输入');
|
|
236
|
-
var _props_defaultValue;
|
|
237
|
-
_this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : '';
|
|
205
|
+
_this.rangeMin = (_ref = props === null || props === void 0 ? void 0 : props.rangeMin) !== null && _ref !== void 0 ? _ref : '';
|
|
206
|
+
_this.rangeMax = (_ref1 = props === null || props === void 0 ? void 0 : props.rangeMax) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
207
|
+
_this.numberType = (_ref2 = props === null || props === void 0 ? void 0 : props.numberType) !== null && _ref2 !== void 0 ? _ref2 : 'number';
|
|
208
|
+
_this.percentageFormat = (_ref3 = props === null || props === void 0 ? void 0 : props.percentageFormat) !== null && _ref3 !== void 0 ? _ref3 : false;
|
|
209
|
+
_this.micrometer = (_ref4 = props === null || props === void 0 ? void 0 : props.micrometer) !== null && _ref4 !== void 0 ? _ref4 : false;
|
|
210
|
+
_this.precision = (_ref5 = props === null || props === void 0 ? void 0 : props.precision) !== null && _ref5 !== void 0 ? _ref5 : 0;
|
|
211
|
+
_this.showUpperCase = (_ref6 = props === null || props === void 0 ? void 0 : props.showUpperCase) !== null && _ref6 !== void 0 ? _ref6 : false;
|
|
212
|
+
_this.isShowUnit = (_ref7 = props === null || props === void 0 ? void 0 : props.isShowUnit) !== null && _ref7 !== void 0 ? _ref7 : false;
|
|
213
|
+
_this.unitPosition = (_ref8 = props === null || props === void 0 ? void 0 : props.unitPosition) !== null && _ref8 !== void 0 ? _ref8 : 'right';
|
|
214
|
+
_this.unit = (_ref9 = props === null || props === void 0 ? void 0 : props.unit) !== null && _ref9 !== void 0 ? _ref9 : '';
|
|
215
|
+
_this.caption = (_ref10 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref10 !== void 0 ? _ref10 : NumberControl.controlName;
|
|
216
|
+
_this.placeholder = (_ref11 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _ref11 !== void 0 ? _ref11 : getLocaleText('CMD.pleaseEnter', null, '请输入');
|
|
217
|
+
_this.defaultValue = (_ref12 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref12 !== void 0 ? _ref12 : '';
|
|
238
218
|
_this.regularRules = new RegularRules(props === null || props === void 0 ? void 0 : props.regularRules);
|
|
239
219
|
return _this;
|
|
240
220
|
}
|
|
@@ -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 { RuntimeFormControl } from '@byteluck-fe/model-driven-core';
|
|
88
80
|
import { FieldTypes } from '@byteluck-fe/model-driven-shared';
|
|
89
81
|
import NumberProperty from './property';
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
function _assert_this_initialized(self) {
|
|
2
|
-
if (self === void 0)
|
|
3
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4
|
-
}
|
|
2
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
5
3
|
return self;
|
|
6
4
|
}
|
|
7
5
|
function _call_super(_this, derived, args) {
|
|
@@ -9,9 +7,7 @@ function _call_super(_this, derived, args) {
|
|
|
9
7
|
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
10
8
|
}
|
|
11
9
|
function _class_call_check(instance, Constructor) {
|
|
12
|
-
if (!(instance instanceof Constructor))
|
|
13
|
-
throw new TypeError("Cannot call a class as a function");
|
|
14
|
-
}
|
|
10
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
15
11
|
}
|
|
16
12
|
function _defineProperties(target, props) {
|
|
17
13
|
for(var i = 0; i < props.length; i++){
|
|
@@ -35,22 +31,17 @@ 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(target, property, receiver) {
|
|
44
|
-
if (typeof Reflect !== "undefined" && Reflect.get)
|
|
45
|
-
|
|
46
|
-
} else {
|
|
38
|
+
if (typeof Reflect !== "undefined" && Reflect.get) _get = Reflect.get;
|
|
39
|
+
else {
|
|
47
40
|
_get = function get(target, property, receiver) {
|
|
48
41
|
var base = _super_prop_base(target, property);
|
|
49
42
|
if (!base) return;
|
|
50
43
|
var desc = Object.getOwnPropertyDescriptor(base, property);
|
|
51
|
-
if (desc.get)
|
|
52
|
-
return desc.get.call(receiver || target);
|
|
53
|
-
}
|
|
44
|
+
if (desc.get) return desc.get.call(receiver || target);
|
|
54
45
|
return desc.value;
|
|
55
46
|
};
|
|
56
47
|
}
|
|
@@ -75,10 +66,16 @@ function _inherits(subClass, superClass) {
|
|
|
75
66
|
});
|
|
76
67
|
if (superClass) _set_prototype_of(subClass, superClass);
|
|
77
68
|
}
|
|
69
|
+
function _is_native_reflect_construct() {
|
|
70
|
+
try {
|
|
71
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
72
|
+
} catch (_) {}
|
|
73
|
+
return (_is_native_reflect_construct = function() {
|
|
74
|
+
return !!result;
|
|
75
|
+
})();
|
|
76
|
+
}
|
|
78
77
|
function _possible_constructor_return(self, call) {
|
|
79
|
-
if (call && (_type_of(call) === "object" || typeof call === "function"))
|
|
80
|
-
return call;
|
|
81
|
-
}
|
|
78
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) return call;
|
|
82
79
|
return _assert_this_initialized(self);
|
|
83
80
|
}
|
|
84
81
|
function _set_prototype_of(o, p) {
|
|
@@ -99,14 +96,6 @@ function _type_of(obj) {
|
|
|
99
96
|
"@swc/helpers - typeof";
|
|
100
97
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
101
98
|
}
|
|
102
|
-
function _is_native_reflect_construct() {
|
|
103
|
-
try {
|
|
104
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
105
|
-
} catch (_) {}
|
|
106
|
-
return (_is_native_reflect_construct = function() {
|
|
107
|
-
return !!result;
|
|
108
|
-
})();
|
|
109
|
-
}
|
|
110
99
|
import { DesignerFormControl, COMMON_SETTING_TYPE } from '@byteluck-fe/model-driven-core';
|
|
111
100
|
import { FieldTypes } from '@byteluck-fe/model-driven-shared';
|
|
112
101
|
import OrganizationSelectionProperty from './property';
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
function _assert_this_initialized(self) {
|
|
2
|
-
if (self === void 0)
|
|
3
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4
|
-
}
|
|
2
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
5
3
|
return self;
|
|
6
4
|
}
|
|
7
5
|
function _call_super(_this, derived, args) {
|
|
@@ -9,9 +7,7 @@ function _call_super(_this, derived, args) {
|
|
|
9
7
|
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
10
8
|
}
|
|
11
9
|
function _class_call_check(instance, Constructor) {
|
|
12
|
-
if (!(instance instanceof Constructor))
|
|
13
|
-
throw new TypeError("Cannot call a class as a function");
|
|
14
|
-
}
|
|
10
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
15
11
|
}
|
|
16
12
|
function _define_property(obj, key, value) {
|
|
17
13
|
if (key in obj) {
|
|
@@ -21,9 +17,7 @@ function _define_property(obj, key, value) {
|
|
|
21
17
|
configurable: true,
|
|
22
18
|
writable: true
|
|
23
19
|
});
|
|
24
|
-
} else
|
|
25
|
-
obj[key] = value;
|
|
26
|
-
}
|
|
20
|
+
} else obj[key] = value;
|
|
27
21
|
return obj;
|
|
28
22
|
}
|
|
29
23
|
function _get_prototype_of(o) {
|
|
@@ -45,10 +39,16 @@ function _inherits(subClass, superClass) {
|
|
|
45
39
|
});
|
|
46
40
|
if (superClass) _set_prototype_of(subClass, superClass);
|
|
47
41
|
}
|
|
42
|
+
function _is_native_reflect_construct() {
|
|
43
|
+
try {
|
|
44
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
45
|
+
} catch (_) {}
|
|
46
|
+
return (_is_native_reflect_construct = function() {
|
|
47
|
+
return !!result;
|
|
48
|
+
})();
|
|
49
|
+
}
|
|
48
50
|
function _possible_constructor_return(self, call) {
|
|
49
|
-
if (call && (_type_of(call) === "object" || typeof call === "function"))
|
|
50
|
-
return call;
|
|
51
|
-
}
|
|
51
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) return call;
|
|
52
52
|
return _assert_this_initialized(self);
|
|
53
53
|
}
|
|
54
54
|
function _set_prototype_of(o, p) {
|
|
@@ -62,14 +62,6 @@ function _type_of(obj) {
|
|
|
62
62
|
"@swc/helpers - typeof";
|
|
63
63
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
64
64
|
}
|
|
65
|
-
function _is_native_reflect_construct() {
|
|
66
|
-
try {
|
|
67
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
68
|
-
} catch (_) {}
|
|
69
|
-
return (_is_native_reflect_construct = function() {
|
|
70
|
-
return !!result;
|
|
71
|
-
})();
|
|
72
|
-
}
|
|
73
65
|
import OrganizationSelectionControl from './designer';
|
|
74
66
|
import { BaseControlProperty, BaseControlPropertyRules, BaseControlPropertyRuntimeRules, initSuperDataSourceRules, MultistageFillingItem, SelectedContentConfig, OrganizationDataSourceBind, ListBind } from '@byteluck-fe/model-driven-core';
|
|
75
67
|
import { DepartmentType, AssignType } from '../../framework';
|
|
@@ -124,6 +116,7 @@ var OrganizationSelectionProperty = /*#__PURE__*/ function(BaseControlProperty)
|
|
|
124
116
|
function OrganizationSelectionProperty(props) {
|
|
125
117
|
_class_call_check(this, OrganizationSelectionProperty);
|
|
126
118
|
var _this;
|
|
119
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11, _ref12, _ref13, _ref14, _ref15, _ref16, _ref17;
|
|
127
120
|
_this = _call_super(this, OrganizationSelectionProperty, [
|
|
128
121
|
props
|
|
129
122
|
]), /**
|
|
@@ -160,46 +153,28 @@ var OrganizationSelectionProperty = /*#__PURE__*/ function(BaseControlProperty)
|
|
|
160
153
|
), // 展示已选明细
|
|
161
154
|
_define_property(_this, "showSelectedDetail", void 0), // 展示已选内容配置字段
|
|
162
155
|
_define_property(_this, "selectedContentConfig", void 0);
|
|
163
|
-
|
|
164
|
-
_this.
|
|
165
|
-
|
|
166
|
-
_this.multiple = (_props_multiple = props === null || props === void 0 ? void 0 : props.multiple) !== null && _props_multiple !== void 0 ? _props_multiple : false;
|
|
167
|
-
var _props_range;
|
|
168
|
-
_this.range = (_props_range = props === null || props === void 0 ? void 0 : props.range) !== null && _props_range !== void 0 ? _props_range : 'all';
|
|
156
|
+
_this.showType = (_ref = props === null || props === void 0 ? void 0 : props.showType) !== null && _ref !== void 0 ? _ref : 'default';
|
|
157
|
+
_this.multiple = (_ref1 = props === null || props === void 0 ? void 0 : props.multiple) !== null && _ref1 !== void 0 ? _ref1 : false;
|
|
158
|
+
_this.range = (_ref2 = props === null || props === void 0 ? void 0 : props.range) !== null && _ref2 !== void 0 ? _ref2 : 'all';
|
|
169
159
|
_this.listPageBind = new ListBind(props === null || props === void 0 ? void 0 : props.listPageBind);
|
|
170
|
-
|
|
171
|
-
_this.
|
|
172
|
-
|
|
173
|
-
_this.
|
|
174
|
-
|
|
175
|
-
_this.
|
|
176
|
-
|
|
177
|
-
_this.
|
|
178
|
-
var _props_showSubDept;
|
|
179
|
-
_this.showSubDept = (_props_showSubDept = props === null || props === void 0 ? void 0 : props.showSubDept) !== null && _props_showSubDept !== void 0 ? _props_showSubDept : true;
|
|
180
|
-
var _props_caption;
|
|
181
|
-
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : OrganizationSelectionControl.controlName;
|
|
182
|
-
var _props_placeholder;
|
|
183
|
-
_this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : getLocaleText('CMD.pleaseSelectOrg', null, '请选择组织');
|
|
184
|
-
var _props_datasourceBind;
|
|
185
|
-
_this.datasourceBind = new OrganizationDataSourceBind((_props_datasourceBind = props === null || props === void 0 ? void 0 : props.datasourceBind) !== null && _props_datasourceBind !== void 0 ? _props_datasourceBind : {
|
|
160
|
+
_this.defaultValueType = (_ref3 = props === null || props === void 0 ? void 0 : props.defaultValueType) !== null && _ref3 !== void 0 ? _ref3 : 'none';
|
|
161
|
+
_this.rangeOptions = (_ref4 = props === null || props === void 0 ? void 0 : props.rangeOptions) !== null && _ref4 !== void 0 ? _ref4 : [];
|
|
162
|
+
_this.defaultValue = (_ref5 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref5 !== void 0 ? _ref5 : [];
|
|
163
|
+
_this.displayLevel = (_ref6 = props === null || props === void 0 ? void 0 : props.displayLevel) !== null && _ref6 !== void 0 ? _ref6 : 1;
|
|
164
|
+
_this.showSubDept = (_ref7 = props === null || props === void 0 ? void 0 : props.showSubDept) !== null && _ref7 !== void 0 ? _ref7 : true;
|
|
165
|
+
_this.caption = (_ref8 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref8 !== void 0 ? _ref8 : OrganizationSelectionControl.controlName;
|
|
166
|
+
_this.placeholder = (_ref9 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _ref9 !== void 0 ? _ref9 : getLocaleText('CMD.pleaseSelectOrg', null, '请选择组织');
|
|
167
|
+
_this.datasourceBind = new OrganizationDataSourceBind((_ref10 = props === null || props === void 0 ? void 0 : props.datasourceBind) !== null && _ref10 !== void 0 ? _ref10 : {
|
|
186
168
|
attributes: OrganizationSelectionControl.controlCustomAttributes
|
|
187
169
|
});
|
|
188
|
-
|
|
189
|
-
_this.
|
|
190
|
-
|
|
191
|
-
_this.
|
|
192
|
-
|
|
193
|
-
_this.
|
|
194
|
-
var _props_organizingFunction;
|
|
195
|
-
_this.organizingFunction = (_props_organizingFunction = props === null || props === void 0 ? void 0 : props.organizingFunction) !== null && _props_organizingFunction !== void 0 ? _props_organizingFunction : undefined;
|
|
196
|
-
var _props_organizationView;
|
|
197
|
-
_this.organizationView = (_props_organizationView = props === null || props === void 0 ? void 0 : props.organizationView) !== null && _props_organizationView !== void 0 ? _props_organizationView : undefined;
|
|
198
|
-
var _props_showSelectedDetail;
|
|
199
|
-
_this.showSelectedDetail = (_props_showSelectedDetail = props === null || props === void 0 ? void 0 : props.showSelectedDetail) !== null && _props_showSelectedDetail !== void 0 ? _props_showSelectedDetail : false;
|
|
170
|
+
_this.datasourceType = (_ref11 = props === null || props === void 0 ? void 0 : props.datasourceType) !== null && _ref11 !== void 0 ? _ref11 : DepartmentType.INTERNAL;
|
|
171
|
+
_this.businessScope = (_ref12 = props === null || props === void 0 ? void 0 : props.businessScope) !== null && _ref12 !== void 0 ? _ref12 : [];
|
|
172
|
+
_this.businessType = (_ref13 = props === null || props === void 0 ? void 0 : props.businessType) !== null && _ref13 !== void 0 ? _ref13 : AssignType.ALL;
|
|
173
|
+
_this.organizingFunction = (_ref14 = props === null || props === void 0 ? void 0 : props.organizingFunction) !== null && _ref14 !== void 0 ? _ref14 : undefined;
|
|
174
|
+
_this.organizationView = (_ref15 = props === null || props === void 0 ? void 0 : props.organizationView) !== null && _ref15 !== void 0 ? _ref15 : undefined;
|
|
175
|
+
_this.showSelectedDetail = (_ref16 = props === null || props === void 0 ? void 0 : props.showSelectedDetail) !== null && _ref16 !== void 0 ? _ref16 : false;
|
|
200
176
|
_this.selectedContentConfig = new SelectedContentConfig(props === null || props === void 0 ? void 0 : props.selectedContentConfig);
|
|
201
|
-
|
|
202
|
-
_this.openMultistageFilling = (_props_openMultistageFilling = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
|
|
177
|
+
_this.openMultistageFilling = (_ref17 = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _ref17 !== void 0 ? _ref17 : false;
|
|
203
178
|
_this.multistageFilling = [];
|
|
204
179
|
if (Array.isArray(props === null || props === void 0 ? void 0 : props.multistageFilling)) {
|
|
205
180
|
props === null || props === void 0 ? void 0 : props.multistageFilling.map(function(item) {
|