@byteluck-fe/model-driven-controls 7.0.0-beta.6 → 7.0.0-beta.8
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/baseControls/BarChart/property.js +107 -37
- package/dist/esm/baseControls/BarChart/schema.json +1650 -0
- package/dist/esm/baseControls/BatchDeleteButton/property.js +49 -25
- package/dist/esm/baseControls/BatchDeleteButton/schema.json +4 -4
- package/dist/esm/baseControls/BatchPrintListButton/property.js +20 -15
- package/dist/esm/baseControls/BatchPrintListButton/schema.json +162 -4
- package/dist/esm/baseControls/BatchPrintRecordListButton/property.js +8 -9
- package/dist/esm/baseControls/BatchPrintRecordListButton/schema.json +162 -4
- package/dist/esm/baseControls/BatchSubmissionListButton/property.js +24 -13
- package/dist/esm/baseControls/BatchSubmissionListButton/schema.json +162 -4
- package/dist/esm/baseControls/Button/property.js +22 -28
- package/dist/esm/baseControls/Button/schema.json +149 -26
- package/dist/esm/baseControls/Comment/property.js +16 -8
- package/dist/esm/baseControls/Comment/schema.json +4 -4
- package/dist/esm/baseControls/CreateFormListButton/property.js +19 -14
- package/dist/esm/baseControls/CreateFormListButton/schema.json +162 -4
- package/dist/esm/baseControls/Dashboard/property.js +47 -22
- package/dist/esm/baseControls/Dashboard/schema.json +4 -4
- package/dist/esm/baseControls/Divider/property.js +49 -18
- package/dist/esm/baseControls/Divider/schema.json +7 -8
- package/dist/esm/baseControls/ExportListButton/property.js +20 -15
- package/dist/esm/baseControls/ExportListButton/schema.json +162 -4
- package/dist/esm/baseControls/ExportRecordListButton/property.js +8 -9
- package/dist/esm/baseControls/ExportRecordListButton/schema.json +162 -4
- package/dist/esm/baseControls/FormSelectButton/property.js +26 -12
- package/dist/esm/baseControls/FormSelectButton/schema.json +162 -4
- package/dist/esm/baseControls/Iframe/property.js +17 -7
- package/dist/esm/baseControls/Iframe/schema.json +4 -4
- package/dist/esm/baseControls/ImportRecordListButton/property.js +24 -16
- package/dist/esm/baseControls/ImportRecordListButton/schema.json +164 -5
- package/dist/esm/baseControls/InvoiceCheckButton/property.js +45 -25
- package/dist/esm/baseControls/InvoiceCheckButton/schema.json +162 -4
- package/dist/esm/baseControls/LineChart/property.js +107 -37
- package/dist/esm/baseControls/LineChart/schema.json +1650 -0
- package/dist/esm/baseControls/Link/property.js +38 -19
- package/dist/esm/baseControls/Link/schema.json +6 -29
- package/dist/esm/baseControls/ListSelectButton/property.js +40 -16
- package/dist/esm/baseControls/ListSelectButton/schema.json +162 -4
- package/dist/esm/baseControls/ListViewSelect/property.js +18 -11
- package/dist/esm/baseControls/ListViewSelect/schema.json +4 -4
- package/dist/esm/baseControls/OperationButton/property.js +69 -18
- package/dist/esm/baseControls/OperationButton/schema.json +4 -4
- package/dist/esm/baseControls/Pagination/property.js +5 -5
- package/dist/esm/baseControls/Pagination/schema.json +4 -4
- package/dist/esm/baseControls/PieChart/property.js +97 -33
- package/dist/esm/baseControls/PieChart/schema.json +1642 -0
- package/dist/esm/baseControls/ReferenceList/property.js +33 -18
- package/dist/esm/baseControls/ReferenceList/schema.json +4 -4
- package/dist/esm/baseControls/SubmissionRecordListButton/property.js +8 -9
- package/dist/esm/baseControls/SubmissionRecordListButton/schema.json +162 -4
- package/dist/esm/baseControls/Text/property.js +65 -25
- package/dist/esm/baseControls/Text/schema.json +5 -6
- package/dist/esm/baseControls/TextOcrButton/property.js +45 -25
- package/dist/esm/baseControls/TextOcrButton/schema.json +162 -4
- package/dist/esm/baseControls/Title/property.js +21 -7
- package/dist/esm/baseControls/Title/schema.json +4 -4
- package/dist/esm/baseControls/utils.js +1 -1
- package/dist/esm/columnControls/ApprovalStatusColumn/property.js +22 -12
- package/dist/esm/columnControls/ApprovalStatusColumn/schema.json +6 -6
- package/dist/esm/columnControls/ArrayColumn/property.js +31 -14
- package/dist/esm/columnControls/ArrayColumn/schema.json +10 -10
- package/dist/esm/columnControls/AutoNumberColumn/property.js +17 -10
- package/dist/esm/columnControls/AutoNumberColumn/schema.json +6 -6
- package/dist/esm/columnControls/CustomColumn/designer.js +1 -0
- package/dist/esm/columnControls/CustomColumn/property.js +18 -12
- package/dist/esm/columnControls/CustomColumn/schema.json +6 -6
- package/dist/esm/columnControls/DecimalColumn/property.js +46 -20
- package/dist/esm/columnControls/DecimalColumn/schema.json +10 -10
- package/dist/esm/columnControls/DepartmentColumn/property.js +13 -10
- package/dist/esm/columnControls/DepartmentColumn/schema.json +6 -6
- package/dist/esm/columnControls/EmployeeColumn/property.js +13 -10
- package/dist/esm/columnControls/EmployeeColumn/schema.json +6 -6
- package/dist/esm/columnControls/FileColumn/property.js +13 -10
- package/dist/esm/columnControls/FileColumn/schema.json +6 -6
- package/dist/esm/columnControls/GroupColumn/property.js +7 -7
- package/dist/esm/columnControls/GroupColumn/schema.json +6 -6
- package/dist/esm/columnControls/ImageColumn/property.js +7 -7
- package/dist/esm/columnControls/ImageColumn/schema.json +6 -6
- package/dist/esm/columnControls/LocationColumn/property.js +17 -10
- package/dist/esm/columnControls/LocationColumn/schema.json +6 -6
- package/dist/esm/columnControls/OperationColumn/designer.js +16 -12
- package/dist/esm/columnControls/OperationColumn/property.js +20 -16
- package/dist/esm/columnControls/OperationColumn/schema.json +6 -6
- package/dist/esm/columnControls/OrderColumn/property.js +12 -17
- package/dist/esm/columnControls/OrderColumn/schema.json +6 -6
- package/dist/esm/columnControls/PeopleColumn/property.js +7 -7
- package/dist/esm/columnControls/PeopleColumn/schema.json +6 -6
- package/dist/esm/columnControls/TextColumn/property.js +27 -14
- package/dist/esm/columnControls/TextColumn/schema.json +6 -6
- package/dist/esm/columnControls/TimescopeColumn/property.js +27 -14
- package/dist/esm/columnControls/TimescopeColumn/schema.json +6 -6
- package/dist/esm/columnControls/TimestampColumn/property.js +27 -14
- package/dist/esm/columnControls/TimestampColumn/schema.json +6 -6
- package/dist/esm/columnControls/VarcharColumn/property.js +41 -18
- package/dist/esm/columnControls/VarcharColumn/schema.json +10 -10
- package/dist/esm/formControls/Address/property.js +29 -18
- package/dist/esm/formControls/Address/schema.json +28 -5
- package/dist/esm/formControls/Amount/property.js +67 -30
- package/dist/esm/formControls/Amount/schema.json +31 -8
- package/dist/esm/formControls/Attachment/designer.js +1 -4
- package/dist/esm/formControls/Attachment/property.js +84 -40
- package/dist/esm/formControls/Attachment/schema.json +27 -4
- package/dist/esm/formControls/AutoNumber/property.js +14 -12
- package/dist/esm/formControls/AutoNumber/schema.json +27 -4
- package/dist/esm/formControls/Barcode/property.js +41 -21
- package/dist/esm/formControls/Barcode/schema.json +35 -21
- package/dist/esm/formControls/Calc/property.js +47 -19
- package/dist/esm/formControls/Calc/schema.json +27 -4
- package/dist/esm/formControls/Cascader/property.js +70 -32
- package/dist/esm/formControls/Cascader/schema.json +31 -8
- package/dist/esm/formControls/Checkbox/property.js +74 -32
- package/dist/esm/formControls/Checkbox/schema.json +31 -21
- package/dist/esm/formControls/Counter/property.js +39 -19
- package/dist/esm/formControls/Counter/schema.json +111 -31
- package/dist/esm/formControls/DatePicker/property.js +66 -34
- package/dist/esm/formControls/DatePicker/schema.json +27 -4
- package/dist/esm/formControls/DateRange/property.js +67 -29
- package/dist/esm/formControls/DateRange/schema.json +27 -4
- package/dist/esm/formControls/Department/property.js +58 -28
- package/dist/esm/formControls/Department/schema.json +27 -4
- package/dist/esm/formControls/Department2/property.js +85 -41
- package/dist/esm/formControls/Department2/schema.json +27 -17
- package/dist/esm/formControls/ElectronicSignature/property.js +45 -18
- package/dist/esm/formControls/ElectronicSignature/schema.json +27 -4
- package/dist/esm/formControls/Employee/property.js +48 -24
- package/dist/esm/formControls/Employee/schema.json +27 -4
- package/dist/esm/formControls/Employee2/property.js +83 -39
- package/dist/esm/formControls/Employee2/schema.json +27 -17
- package/dist/esm/formControls/Image/designer.js +8 -8
- package/dist/esm/formControls/Image/property.js +25 -18
- package/dist/esm/formControls/Image/schema.json +29 -14
- package/dist/esm/formControls/Input/property.js +11 -20
- package/dist/esm/formControls/Input/schema.json +27 -4
- package/dist/esm/formControls/Number/property.js +78 -33
- package/dist/esm/formControls/Number/schema.json +27 -4
- package/dist/esm/formControls/OrganizationSelection/property.js +101 -42
- package/dist/esm/formControls/OrganizationSelection/schema.json +27 -4
- package/dist/esm/formControls/QrCode/property.js +48 -24
- package/dist/esm/formControls/QrCode/schema.json +69 -46
- package/dist/esm/formControls/Radio/property.js +81 -34
- package/dist/esm/formControls/Radio/schema.json +31 -8
- package/dist/esm/formControls/RichText/property.js +50 -24
- package/dist/esm/formControls/RichText/schema.json +28 -13
- package/dist/esm/formControls/Score/property.js +42 -19
- package/dist/esm/formControls/Score/schema.json +27 -9
- package/dist/esm/formControls/SearchDateRange/property.js +64 -31
- package/dist/esm/formControls/SearchDateRange/schema.json +27 -4
- package/dist/esm/formControls/SearchInput/property.js +5 -5
- package/dist/esm/formControls/SearchInput/schema.json +27 -4
- package/dist/esm/formControls/SearchNumberRange/property.js +33 -18
- package/dist/esm/formControls/SearchNumberRange/schema.json +27 -4
- package/dist/esm/formControls/Select/property.js +71 -30
- package/dist/esm/formControls/Select/schema.json +31 -13
- package/dist/esm/formControls/SelectMultiple/property.js +66 -28
- package/dist/esm/formControls/SelectMultiple/schema.json +31 -13
- package/dist/esm/formControls/SelectRelation/property.js +84 -32
- package/dist/esm/formControls/SelectRelation/schema.json +31 -8
- package/dist/esm/formControls/Slider/property.js +42 -18
- package/dist/esm/formControls/Slider/schema.json +58 -6
- package/dist/esm/formControls/Switch/property.js +45 -21
- package/dist/esm/formControls/Switch/schema.json +27 -4
- package/dist/esm/formControls/Tag/property.js +56 -24
- package/dist/esm/formControls/Tag/schema.json +63 -52
- package/dist/esm/formControls/Textarea/property.js +48 -21
- package/dist/esm/formControls/Textarea/schema.json +27 -4
- package/dist/esm/formControls/TimePicker/property.js +35 -21
- package/dist/esm/formControls/TimePicker/schema.json +27 -4
- package/dist/esm/formControls/TimeRange/property.js +57 -25
- package/dist/esm/formControls/TimeRange/schema.json +29 -6
- package/dist/esm/formControls/Tree/property.js +98 -40
- package/dist/esm/formControls/Tree/schema.json +27 -4
- package/dist/esm/formControls/VueFormItem/property.js +28 -16
- package/dist/esm/formControls/VueFormItem/schema.json +27 -4
- package/dist/esm/formControls/VuePage/property.js +28 -16
- package/dist/esm/formControls/VuePage/schema.json +27 -4
- package/dist/esm/formControls/WPS/designer.js +9 -9
- package/dist/esm/formControls/WPS/property.js +67 -30
- package/dist/esm/formControls/WPS/schema.json +27 -4
- package/dist/esm/framework.js +81 -135
- package/dist/esm/layoutControls/ActionBar/designer.js +2 -2
- package/dist/esm/layoutControls/ActionBar/property.js +22 -12
- package/dist/esm/layoutControls/ActionBar/runtime.js +2 -2
- package/dist/esm/layoutControls/ActionBar/schema.json +4 -4
- package/dist/esm/layoutControls/AdvancedContainer/property.js +14 -6
- package/dist/esm/layoutControls/AdvancedContainer/schema.json +4 -4
- package/dist/esm/layoutControls/BlankContainer/property.js +48 -14
- package/dist/esm/layoutControls/BlankContainer/schema.json +10 -5
- package/dist/esm/layoutControls/CardGroup/property.js +52 -21
- package/dist/esm/layoutControls/CardGroup/schema.json +6 -6
- package/dist/esm/layoutControls/Col/property.js +22 -12
- package/dist/esm/layoutControls/Col/schema.json +4 -4
- package/dist/esm/layoutControls/Collapse/designer.js +2 -2
- package/dist/esm/layoutControls/Collapse/property.js +21 -10
- package/dist/esm/layoutControls/Collapse/schema.json +4 -9
- package/dist/esm/layoutControls/CollapsePane/property.js +12 -8
- package/dist/esm/layoutControls/CollapsePane/schema.json +5 -5
- package/dist/esm/layoutControls/DataView/property.js +34 -20
- package/dist/esm/layoutControls/DataView/schema.json +4 -4
- package/dist/esm/layoutControls/Grid/property.js +5 -5
- package/dist/esm/layoutControls/Grid/schema.json +4 -4
- package/dist/esm/layoutControls/GridLayoutContainer/property.js +17 -10
- package/dist/esm/layoutControls/GridLayoutContainer/schema.json +4 -4
- package/dist/esm/layoutControls/GridRow/property.js +5 -5
- package/dist/esm/layoutControls/GridRow/schema.json +4 -4
- package/dist/esm/layoutControls/GridTableColumn/property.js +65 -26
- package/dist/esm/layoutControls/GridTableColumn/schema.json +4 -4
- package/dist/esm/layoutControls/ListView/property.js +100 -29
- package/dist/esm/layoutControls/ListView/schema.json +4 -4
- package/dist/esm/layoutControls/Page/property.js +28 -8
- package/dist/esm/layoutControls/Page/schema.json +4 -4
- package/dist/esm/layoutControls/Position/property.js +27 -14
- package/dist/esm/layoutControls/Position/schema.json +4 -4
- package/dist/esm/layoutControls/PositioningContainer/property.js +5 -5
- package/dist/esm/layoutControls/PositioningContainer/schema.json +4 -4
- package/dist/esm/layoutControls/Row/property.js +40 -16
- package/dist/esm/layoutControls/Row/schema.json +4 -4
- package/dist/esm/layoutControls/Step/designer.js +2 -2
- package/dist/esm/layoutControls/Step/property.js +66 -28
- package/dist/esm/layoutControls/Step/schema.json +8 -8
- package/dist/esm/layoutControls/StepPane/property.js +47 -22
- package/dist/esm/layoutControls/StepPane/schema.json +4 -4
- package/dist/esm/layoutControls/SubTableColumn/property.js +31 -11
- package/dist/esm/layoutControls/SubTableColumn/schema.json +4 -4
- package/dist/esm/layoutControls/SubTableRow/property.js +5 -5
- package/dist/esm/layoutControls/SubTableRow/schema.json +4 -4
- package/dist/esm/layoutControls/Tab/designer.js +2 -2
- package/dist/esm/layoutControls/Tab/property.js +32 -16
- package/dist/esm/layoutControls/Tab/schema.json +4 -4
- package/dist/esm/layoutControls/TabPane/property.js +12 -8
- package/dist/esm/layoutControls/TabPane/schema.json +4 -4
- package/dist/esm/layoutControls/TableLayout/property.js +82 -36
- package/dist/esm/layoutControls/TableLayout/schema.json +6 -6
- package/dist/esm/layoutControls/TableLayoutCol/property.js +57 -26
- package/dist/esm/layoutControls/TableLayoutCol/schema.json +4 -4
- package/dist/esm/layoutControls/TableLayoutRow/property.js +17 -10
- package/dist/esm/layoutControls/TableLayoutRow/schema.json +4 -4
- package/dist/esm/layoutControls/TableLayoutWrapper/property.js +22 -12
- package/dist/esm/layoutControls/TableLayoutWrapper/schema.json +4 -4
- package/dist/esm/layoutControls/Toolbox/property.js +5 -5
- package/dist/esm/layoutControls/Toolbox/schema.json +4 -4
- package/dist/esm/listControls/GridTable/designer.js +17 -12
- package/dist/esm/listControls/GridTable/property.js +11 -15
- package/dist/esm/listControls/GridTable/schema.json +4 -4
- package/dist/esm/listControls/SubTable/property.js +181 -71
- package/dist/esm/listControls/SubTable/schema.json +4 -4
- package/dist/esm/searchControls/SimpleSearch/property.js +67 -30
- package/dist/esm/searchControls/SimpleSearch/runtime.js +2 -2
- package/dist/esm/searchControls/SimpleSearch/schema.json +4 -4
- package/dist/esm/wrapControls/GridLayoutWrap/designer.js +8 -8
- package/dist/esm/wrapControls/GridLayoutWrap/property.js +12 -8
- package/dist/esm/wrapControls/GridLayoutWrap/runtime.js +8 -8
- package/dist/esm/wrapControls/GridLayoutWrap/schema.json +4 -4
- package/dist/index.umd.js +1 -1
- package/dist/types/baseControls/BarChart/property.d.ts +105 -0
- package/dist/types/baseControls/BatchDeleteButton/property.d.ts +40 -0
- package/dist/types/baseControls/BatchPrintListButton/property.d.ts +10 -0
- package/dist/types/baseControls/BatchSubmissionListButton/property.d.ts +20 -0
- package/dist/types/baseControls/Button/property.d.ts +5 -0
- package/dist/types/baseControls/Comment/property.d.ts +10 -0
- package/dist/types/baseControls/CreateFormListButton/property.d.ts +10 -0
- package/dist/types/baseControls/Dashboard/property.d.ts +40 -0
- package/dist/types/baseControls/Divider/property.d.ts +45 -0
- package/dist/types/baseControls/ExportListButton/property.d.ts +10 -0
- package/dist/types/baseControls/FormSelectButton/property.d.ts +20 -0
- package/dist/types/baseControls/Iframe/property.d.ts +15 -0
- package/dist/types/baseControls/ImportRecordListButton/property.d.ts +14 -0
- package/dist/types/baseControls/InvoiceCheckButton/property.d.ts +35 -0
- package/dist/types/baseControls/LineChart/property.d.ts +105 -0
- package/dist/types/baseControls/Link/property.d.ts +30 -0
- package/dist/types/baseControls/ListSelectButton/property.d.ts +35 -0
- package/dist/types/baseControls/ListViewSelect/property.d.ts +10 -0
- package/dist/types/baseControls/OperationButton/property.d.ts +70 -0
- package/dist/types/baseControls/PieChart/property.d.ts +95 -0
- package/dist/types/baseControls/ReferenceList/property.d.ts +25 -0
- package/dist/types/baseControls/Text/property.d.ts +60 -0
- package/dist/types/baseControls/TextOcrButton/property.d.ts +35 -0
- package/dist/types/baseControls/Title/property.d.ts +20 -0
- package/dist/types/columnControls/ApprovalStatusColumn/property.d.ts +15 -0
- package/dist/types/columnControls/ArrayColumn/property.d.ts +25 -0
- package/dist/types/columnControls/AutoNumberColumn/property.d.ts +10 -0
- package/dist/types/columnControls/CustomColumn/property.d.ts +10 -0
- package/dist/types/columnControls/DecimalColumn/property.d.ts +40 -0
- package/dist/types/columnControls/DepartmentColumn/property.d.ts +5 -0
- package/dist/types/columnControls/EmployeeColumn/property.d.ts +5 -0
- package/dist/types/columnControls/FileColumn/property.d.ts +5 -0
- package/dist/types/columnControls/LocationColumn/property.d.ts +10 -0
- package/dist/types/columnControls/OperationColumn/property.d.ts +10 -0
- package/dist/types/columnControls/TextColumn/property.d.ts +20 -0
- package/dist/types/columnControls/TimescopeColumn/property.d.ts +20 -0
- package/dist/types/columnControls/TimestampColumn/property.d.ts +20 -0
- package/dist/types/columnControls/VarcharColumn/property.d.ts +35 -0
- package/dist/types/formControls/Address/property.d.ts +20 -0
- package/dist/types/formControls/Amount/property.d.ts +60 -0
- package/dist/types/formControls/Attachment/property.d.ts +75 -0
- package/dist/types/formControls/AutoNumber/property.d.ts +5 -0
- package/dist/types/formControls/Barcode/property.d.ts +35 -0
- package/dist/types/formControls/Calc/property.d.ts +45 -0
- package/dist/types/formControls/Cascader/property.d.ts +65 -0
- package/dist/types/formControls/Checkbox/property.d.ts +70 -0
- package/dist/types/formControls/Counter/property.d.ts +35 -0
- package/dist/types/formControls/DatePicker/property.d.ts +55 -0
- package/dist/types/formControls/DateRange/property.d.ts +60 -0
- package/dist/types/formControls/Department/property.d.ts +50 -0
- package/dist/types/formControls/Department2/property.d.ts +75 -0
- package/dist/types/formControls/ElectronicSignature/property.d.ts +40 -0
- package/dist/types/formControls/Employee/property.d.ts +40 -0
- package/dist/types/formControls/Employee2/property.d.ts +75 -0
- package/dist/types/formControls/Image/property.d.ts +20 -0
- package/dist/types/formControls/Number/property.d.ts +75 -0
- package/dist/types/formControls/OrganizationSelection/property.d.ts +95 -0
- package/dist/types/formControls/QrCode/property.d.ts +40 -0
- package/dist/types/formControls/Radio/property.d.ts +75 -0
- package/dist/types/formControls/RichText/property.d.ts +45 -0
- package/dist/types/formControls/Score/property.d.ts +37 -0
- package/dist/types/formControls/SearchDateRange/property.d.ts +55 -0
- package/dist/types/formControls/SearchNumberRange/property.d.ts +25 -0
- package/dist/types/formControls/Select/property.d.ts +65 -0
- package/dist/types/formControls/SelectMultiple/property.d.ts +60 -0
- package/dist/types/formControls/SelectRelation/property.d.ts +80 -0
- package/dist/types/formControls/Slider/property.d.ts +35 -4
- package/dist/types/formControls/Switch/property.d.ts +40 -0
- package/dist/types/formControls/Tag/property.d.ts +50 -0
- package/dist/types/formControls/Textarea/property.d.ts +45 -0
- package/dist/types/formControls/TimePicker/property.d.ts +25 -0
- package/dist/types/formControls/TimeRange/property.d.ts +50 -0
- package/dist/types/formControls/Tree/property.d.ts +95 -0
- package/dist/types/formControls/VueFormItem/property.d.ts +20 -0
- package/dist/types/formControls/VuePage/property.d.ts +20 -0
- package/dist/types/formControls/WPS/property.d.ts +60 -0
- package/dist/types/layoutControls/ActionBar/property.d.ts +15 -0
- package/dist/types/layoutControls/AdvancedContainer/property.d.ts +10 -0
- package/dist/types/layoutControls/BlankContainer/property.d.ts +45 -4
- package/dist/types/layoutControls/CardGroup/property.d.ts +50 -0
- package/dist/types/layoutControls/Col/property.d.ts +15 -0
- package/dist/types/layoutControls/Collapse/property.d.ts +15 -0
- package/dist/types/layoutControls/CollapsePane/property.d.ts +5 -0
- package/dist/types/layoutControls/DataView/property.d.ts +25 -0
- package/dist/types/layoutControls/GridLayoutContainer/property.d.ts +10 -0
- package/dist/types/layoutControls/GridTableColumn/property.d.ts +60 -0
- package/dist/types/layoutControls/ListView/property.d.ts +105 -0
- package/dist/types/layoutControls/Page/property.d.ts +25 -0
- package/dist/types/layoutControls/Position/property.d.ts +20 -0
- package/dist/types/layoutControls/Row/property.d.ts +35 -0
- package/dist/types/layoutControls/Step/property.d.ts +60 -0
- package/dist/types/layoutControls/StepPane/property.d.ts +40 -0
- package/dist/types/layoutControls/SubTableColumn/property.d.ts +30 -0
- package/dist/types/layoutControls/Tab/property.d.ts +25 -0
- package/dist/types/layoutControls/TabPane/property.d.ts +5 -0
- package/dist/types/layoutControls/TableLayout/property.d.ts +75 -0
- package/dist/types/layoutControls/TableLayoutCol/property.d.ts +50 -0
- package/dist/types/layoutControls/TableLayoutRow/property.d.ts +10 -0
- package/dist/types/layoutControls/TableLayoutWrapper/property.d.ts +15 -0
- package/dist/types/listControls/SubTable/property.d.ts +180 -0
- package/dist/types/searchControls/SimpleSearch/property.d.ts +60 -0
- package/dist/types/wrapControls/GridLayoutWrap/property.d.ts +5 -0
- package/package.json +4 -4
|
@@ -17,13 +17,13 @@
|
|
|
17
17
|
"defaultState": {
|
|
18
18
|
"type": "string",
|
|
19
19
|
"enum": [
|
|
20
|
-
"
|
|
21
|
-
"
|
|
20
|
+
"readonly",
|
|
21
|
+
"default"
|
|
22
22
|
],
|
|
23
23
|
"description": "默认状态",
|
|
24
24
|
"enumDescription": [
|
|
25
|
-
"
|
|
26
|
-
"
|
|
25
|
+
"readonly",
|
|
26
|
+
"default"
|
|
27
27
|
]
|
|
28
28
|
},
|
|
29
29
|
"layoutMode": {
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* name: rok_grid_table_column
|
|
3
|
-
* description: 表格列配置组件。用于定义数据表格中单列的展示与格式化规则。支持列宽、标题、字段绑定、固定列、文本清洗、数值精度和时间/部门展示设置。
|
|
4
|
-
*/ function _assert_this_initialized(self) {
|
|
1
|
+
function _assert_this_initialized(self) {
|
|
5
2
|
if (self === void 0) {
|
|
6
3
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
7
4
|
}
|
|
@@ -73,7 +70,10 @@ function _is_native_reflect_construct() {
|
|
|
73
70
|
return !!result;
|
|
74
71
|
})();
|
|
75
72
|
}
|
|
76
|
-
|
|
73
|
+
/**
|
|
74
|
+
* name: rok_grid_table_column
|
|
75
|
+
* description: 表格列配置组件。用于定义数据表格中单列的展示与格式化规则。支持列宽、标题、字段绑定、固定列、文本清洗、数值精度和时间/部门展示设置。
|
|
76
|
+
*/ import { DateType, FieldTypes } from '@byteluck-fe/model-driven-shared';
|
|
77
77
|
import { LayoutControlProperty, DataSourceBind } from '@byteluck-fe/model-driven-core';
|
|
78
78
|
var GridTableColumnControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
|
|
79
79
|
"use strict";
|
|
@@ -81,31 +81,70 @@ var GridTableColumnControlProperty = /*#__PURE__*/ function(LayoutControlPropert
|
|
|
81
81
|
function GridTableColumnControlProperty(props) {
|
|
82
82
|
_class_call_check(this, GridTableColumnControlProperty);
|
|
83
83
|
var _this;
|
|
84
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9;
|
|
84
85
|
_this = _call_super(this, GridTableColumnControlProperty, [
|
|
85
86
|
props
|
|
86
|
-
]),
|
|
87
|
-
|
|
88
|
-
|
|
87
|
+
]), /**
|
|
88
|
+
* 宽度类型;取值:px:像素;auto:自动;percent:百分比;
|
|
89
|
+
* @defaultValue 'auto'
|
|
90
|
+
* @public
|
|
91
|
+
*/ _define_property(_this, "widthType", void 0), /**
|
|
92
|
+
* 宽度
|
|
93
|
+
* @defaultValue 200
|
|
94
|
+
* @public
|
|
95
|
+
*/ _define_property(_this, "width", void 0), /**
|
|
96
|
+
* 标题
|
|
97
|
+
* @defaultValue ''
|
|
98
|
+
* @public
|
|
99
|
+
*/ _define_property(_this, "caption", void 0), /**
|
|
100
|
+
* 字段编码
|
|
101
|
+
* @defaultValue ''
|
|
102
|
+
* @public
|
|
103
|
+
*/ _define_property(_this, "fieldCode", void 0), /**
|
|
104
|
+
* 字段类型
|
|
105
|
+
* @defaultValue 'varchar'
|
|
106
|
+
* @public
|
|
107
|
+
*/ _define_property(_this, "fieldType", void 0), /**
|
|
108
|
+
* 字段名称
|
|
109
|
+
* @defaultValue ''
|
|
110
|
+
* @public
|
|
111
|
+
*/ _define_property(_this, "fieldName", void 0), /**
|
|
112
|
+
* 数据源绑定
|
|
113
|
+
* @defaultValue new DataSourceBind()
|
|
114
|
+
* @public
|
|
115
|
+
*/ _define_property(_this, "datasourceBind", void 0), /**
|
|
116
|
+
* 是否固定
|
|
117
|
+
* @defaultValue false
|
|
118
|
+
* @public
|
|
119
|
+
*/ _define_property(_this, "fixed", void 0), /**
|
|
120
|
+
* 是否去除标签格式
|
|
121
|
+
* @defaultValue false
|
|
122
|
+
* @public
|
|
123
|
+
*/ _define_property(_this, "textCleanFormart", void 0), /**
|
|
124
|
+
* 小数保留位数
|
|
125
|
+
* @defaultValue 0
|
|
126
|
+
* @public
|
|
127
|
+
*/ _define_property(_this, "decimalKeepPrecision", void 0), /**
|
|
128
|
+
* 时间戳展示类型;取值:year:年;month:年月;date:年月日;datehour:年月日时;datemin:年月日时分;datetime:年月日时分秒;custom:自定义;
|
|
129
|
+
* @defaultValue 'date'
|
|
130
|
+
* @public
|
|
131
|
+
*/ _define_property(_this, "timestampDateType", void 0), /**
|
|
132
|
+
* 部门显示层级
|
|
133
|
+
* @defaultValue 1
|
|
134
|
+
* @public
|
|
135
|
+
*/ _define_property(_this, "departmentDisplayLevel", void 0);
|
|
136
|
+
_this.width = (_ref = props === null || props === void 0 ? void 0 : props.width) !== null && _ref !== void 0 ? _ref : 200;
|
|
89
137
|
_this.widthType = (props === null || props === void 0 ? void 0 : props.widthType) || 'auto';
|
|
90
|
-
|
|
91
|
-
_this.
|
|
92
|
-
|
|
93
|
-
_this.
|
|
94
|
-
|
|
95
|
-
_this.fieldCode = (_props_fieldCode = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _props_fieldCode !== void 0 ? _props_fieldCode : '';
|
|
96
|
-
var _props_fieldType;
|
|
97
|
-
_this.fieldType = (_props_fieldType = props === null || props === void 0 ? void 0 : props.fieldType) !== null && _props_fieldType !== void 0 ? _props_fieldType : FieldTypes.VARCHAR;
|
|
98
|
-
var _props_fieldName;
|
|
99
|
-
_this.fieldName = (_props_fieldName = props === null || props === void 0 ? void 0 : props.fieldName) !== null && _props_fieldName !== void 0 ? _props_fieldName : '';
|
|
138
|
+
_this.caption = (_ref1 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
139
|
+
_this.fixed = (_ref2 = props === null || props === void 0 ? void 0 : props.fixed) !== null && _ref2 !== void 0 ? _ref2 : false;
|
|
140
|
+
_this.fieldCode = (_ref3 = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _ref3 !== void 0 ? _ref3 : '';
|
|
141
|
+
_this.fieldType = (_ref4 = props === null || props === void 0 ? void 0 : props.fieldType) !== null && _ref4 !== void 0 ? _ref4 : FieldTypes.VARCHAR;
|
|
142
|
+
_this.fieldName = (_ref5 = props === null || props === void 0 ? void 0 : props.fieldName) !== null && _ref5 !== void 0 ? _ref5 : '';
|
|
100
143
|
_this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
|
|
101
|
-
|
|
102
|
-
_this.
|
|
103
|
-
|
|
104
|
-
_this.
|
|
105
|
-
var _props_timestampDateType;
|
|
106
|
-
_this.timestampDateType = (_props_timestampDateType = props === null || props === void 0 ? void 0 : props.timestampDateType) !== null && _props_timestampDateType !== void 0 ? _props_timestampDateType : DateType.DATE;
|
|
107
|
-
var _props_departmentDisplayLevel;
|
|
108
|
-
_this.departmentDisplayLevel = (_props_departmentDisplayLevel = props === null || props === void 0 ? void 0 : props.departmentDisplayLevel) !== null && _props_departmentDisplayLevel !== void 0 ? _props_departmentDisplayLevel : 1;
|
|
144
|
+
_this.textCleanFormart = (_ref6 = props === null || props === void 0 ? void 0 : props.textCleanFormart) !== null && _ref6 !== void 0 ? _ref6 : false;
|
|
145
|
+
_this.decimalKeepPrecision = (_ref7 = props === null || props === void 0 ? void 0 : props.decimalKeepPrecision) !== null && _ref7 !== void 0 ? _ref7 : 0;
|
|
146
|
+
_this.timestampDateType = (_ref8 = props === null || props === void 0 ? void 0 : props.timestampDateType) !== null && _ref8 !== void 0 ? _ref8 : DateType.DATE;
|
|
147
|
+
_this.departmentDisplayLevel = (_ref9 = props === null || props === void 0 ? void 0 : props.departmentDisplayLevel) !== null && _ref9 !== void 0 ? _ref9 : 1;
|
|
109
148
|
return _this;
|
|
110
149
|
}
|
|
111
150
|
return GridTableColumnControlProperty;
|
|
@@ -17,13 +17,13 @@
|
|
|
17
17
|
"defaultState": {
|
|
18
18
|
"type": "string",
|
|
19
19
|
"enum": [
|
|
20
|
-
"
|
|
21
|
-
"
|
|
20
|
+
"readonly",
|
|
21
|
+
"default"
|
|
22
22
|
],
|
|
23
23
|
"description": "默认状态",
|
|
24
24
|
"enumDescription": [
|
|
25
|
-
"
|
|
26
|
-
"
|
|
25
|
+
"readonly",
|
|
26
|
+
"default"
|
|
27
27
|
]
|
|
28
28
|
},
|
|
29
29
|
"widthType": {
|
|
@@ -220,43 +220,114 @@ var ListViewControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
|
|
|
220
220
|
function ListViewControlProperty(props) {
|
|
221
221
|
_class_call_check(this, ListViewControlProperty);
|
|
222
222
|
var _this;
|
|
223
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11, _ref12, _ref13;
|
|
223
224
|
_this = _call_super(this, ListViewControlProperty, [
|
|
224
225
|
props
|
|
225
|
-
]),
|
|
226
|
+
]), /**
|
|
227
|
+
* 数据高级设置
|
|
228
|
+
* @defaultValue new DataSourceBind()
|
|
229
|
+
* @public
|
|
230
|
+
*/ _define_property(_this, "datasourceBind", void 0), /**
|
|
231
|
+
* 加载中
|
|
232
|
+
* @defaultValue false
|
|
233
|
+
* @public
|
|
234
|
+
*/ _define_property(_this, "isLoading", void 0), /**
|
|
235
|
+
* 显示明细表
|
|
236
|
+
* @defaultValue false
|
|
237
|
+
* @public
|
|
238
|
+
*/ _define_property(_this, "isShowSubList", void 0), /**
|
|
239
|
+
* 触发时机 1=整行,2=字段;取值:1:点击整行;2:点击单元格;
|
|
240
|
+
* @defaultValue 1
|
|
241
|
+
* @public
|
|
242
|
+
*/ _define_property(_this, "triggerType", void 0), /**
|
|
243
|
+
* 触发字段
|
|
244
|
+
* @defaultValue ''
|
|
245
|
+
* @public
|
|
246
|
+
*/ _define_property(_this, "triggerFieldCode", void 0), /**
|
|
247
|
+
* 抽屉内容配置
|
|
248
|
+
* @defaultValue new SubListPageConfig()
|
|
249
|
+
* @public
|
|
250
|
+
*/ _define_property(_this, "sublistPage", void 0), /**
|
|
251
|
+
* 显示连接表
|
|
252
|
+
* @defaultValue false
|
|
253
|
+
* @public
|
|
254
|
+
*/ _define_property(_this, "isShowJoinRelation", void 0), /**
|
|
255
|
+
* 连接表配置
|
|
256
|
+
* @defaultValue new JoinRelation()
|
|
257
|
+
* @public
|
|
258
|
+
*/ _define_property(_this, "joinRelation", void 0), /**
|
|
259
|
+
* 提供给关联单选中复用list-view的能力;取值:stretch:拉伸;shrink:收缩;
|
|
260
|
+
* @defaultValue 'stretch'
|
|
261
|
+
* @internal
|
|
262
|
+
*/ _define_property(_this, "showType", void 0), /**
|
|
263
|
+
* 全屏显示
|
|
264
|
+
* @defaultValue false
|
|
265
|
+
* @public
|
|
266
|
+
*/ _define_property(_this, "showFullScreen", void 0), /**
|
|
267
|
+
* 固定表头
|
|
268
|
+
* @defaultValue false
|
|
269
|
+
* @public
|
|
270
|
+
*/ _define_property(_this, "isFixedHeader", void 0), /**
|
|
271
|
+
* 显示选择框类型;取值:multiple:多选;single:单选;
|
|
272
|
+
* @defaultValue 'multiple'
|
|
273
|
+
* @public
|
|
274
|
+
*/ _define_property(_this, "selectionType", void 0), /**
|
|
275
|
+
* 显示选择框
|
|
276
|
+
* @defaultValue false
|
|
277
|
+
* @public
|
|
278
|
+
*/ _define_property(_this, "isShowSelection", void 0), /**
|
|
279
|
+
* 加载全部数据
|
|
280
|
+
* @defaultValue true
|
|
281
|
+
* @public
|
|
282
|
+
*/ _define_property(_this, "isAllLoaded", void 0), /**
|
|
283
|
+
* 计数模式;取值:sync:同步;async:异步;none:无;
|
|
284
|
+
* @defaultValue undefined
|
|
285
|
+
* @public
|
|
286
|
+
*/ _define_property(_this, "countType", void 0), /**
|
|
287
|
+
* 列表展示最多条数
|
|
288
|
+
* @defaultValue 100000
|
|
289
|
+
* @public
|
|
290
|
+
*/ _define_property(_this, "countLimit", void 0), /**
|
|
291
|
+
* 行背景规则
|
|
292
|
+
* @defaultValue new RowStyle()
|
|
293
|
+
* @public
|
|
294
|
+
*/ _define_property(_this, "rowStyle", void 0), /**
|
|
295
|
+
* 是否树状列表
|
|
296
|
+
* @defaultValue false
|
|
297
|
+
* @public
|
|
298
|
+
*/ _define_property(_this, "isTreeData", void 0), /**
|
|
299
|
+
* 树状列表配置详情
|
|
300
|
+
* @defaultValue new ListTreeData()
|
|
301
|
+
* @public
|
|
302
|
+
*/ _define_property(_this, "treeData", void 0), /**
|
|
303
|
+
* 是否开启嵌套列表
|
|
304
|
+
* @defaultValue false
|
|
305
|
+
* @public
|
|
306
|
+
*/ _define_property(_this, "isMasterDetail", void 0), /**
|
|
307
|
+
* 嵌套列表的关联表配置
|
|
308
|
+
* @defaultValue new MasterDetail()
|
|
309
|
+
* @public
|
|
310
|
+
*/ _define_property(_this, "masterDetail", void 0);
|
|
226
311
|
_this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
|
|
227
|
-
|
|
228
|
-
_this.
|
|
229
|
-
|
|
230
|
-
_this.
|
|
231
|
-
var _props_triggerType;
|
|
232
|
-
_this.triggerType = (_props_triggerType = props === null || props === void 0 ? void 0 : props.triggerType) !== null && _props_triggerType !== void 0 ? _props_triggerType : 1;
|
|
233
|
-
var _props_triggerFieldCode;
|
|
234
|
-
_this.triggerFieldCode = (_props_triggerFieldCode = props === null || props === void 0 ? void 0 : props.triggerFieldCode) !== null && _props_triggerFieldCode !== void 0 ? _props_triggerFieldCode : '';
|
|
312
|
+
_this.isLoading = (_ref = props === null || props === void 0 ? void 0 : props.isLoading) !== null && _ref !== void 0 ? _ref : false;
|
|
313
|
+
_this.isShowSubList = (_ref1 = props === null || props === void 0 ? void 0 : props.isShowSubList) !== null && _ref1 !== void 0 ? _ref1 : false;
|
|
314
|
+
_this.triggerType = (_ref2 = props === null || props === void 0 ? void 0 : props.triggerType) !== null && _ref2 !== void 0 ? _ref2 : 1;
|
|
315
|
+
_this.triggerFieldCode = (_ref3 = props === null || props === void 0 ? void 0 : props.triggerFieldCode) !== null && _ref3 !== void 0 ? _ref3 : '';
|
|
235
316
|
_this.sublistPage = new SubListPageConfig(props === null || props === void 0 ? void 0 : props.sublistPage);
|
|
236
|
-
|
|
237
|
-
_this.isShowJoinRelation = (_props_isShowJoinRelation = props === null || props === void 0 ? void 0 : props.isShowJoinRelation) !== null && _props_isShowJoinRelation !== void 0 ? _props_isShowJoinRelation : false;
|
|
317
|
+
_this.isShowJoinRelation = (_ref4 = props === null || props === void 0 ? void 0 : props.isShowJoinRelation) !== null && _ref4 !== void 0 ? _ref4 : false;
|
|
238
318
|
_this.joinRelation = new JoinRelation(props === null || props === void 0 ? void 0 : props.joinRelation);
|
|
239
|
-
|
|
240
|
-
_this.
|
|
241
|
-
|
|
242
|
-
_this.
|
|
243
|
-
|
|
244
|
-
_this.
|
|
245
|
-
var _props_isFixedHeader;
|
|
246
|
-
_this.isFixedHeader = (_props_isFixedHeader = props === null || props === void 0 ? void 0 : props.isFixedHeader) !== null && _props_isFixedHeader !== void 0 ? _props_isFixedHeader : false;
|
|
247
|
-
var _props_isShowSelection;
|
|
248
|
-
_this.isShowSelection = (_props_isShowSelection = props === null || props === void 0 ? void 0 : props.isShowSelection) !== null && _props_isShowSelection !== void 0 ? _props_isShowSelection : false;
|
|
249
|
-
var _props_isAllLoaded;
|
|
250
|
-
_this.isAllLoaded = (_props_isAllLoaded = props === null || props === void 0 ? void 0 : props.isAllLoaded) !== null && _props_isAllLoaded !== void 0 ? _props_isAllLoaded : true;
|
|
319
|
+
_this.showType = (_ref5 = props === null || props === void 0 ? void 0 : props.showType) !== null && _ref5 !== void 0 ? _ref5 : 'stretch';
|
|
320
|
+
_this.showFullScreen = (_ref6 = props === null || props === void 0 ? void 0 : props.showFullScreen) !== null && _ref6 !== void 0 ? _ref6 : false;
|
|
321
|
+
_this.selectionType = (_ref7 = props === null || props === void 0 ? void 0 : props.selectionType) !== null && _ref7 !== void 0 ? _ref7 : 'multiple';
|
|
322
|
+
_this.isFixedHeader = (_ref8 = props === null || props === void 0 ? void 0 : props.isFixedHeader) !== null && _ref8 !== void 0 ? _ref8 : false;
|
|
323
|
+
_this.isShowSelection = (_ref9 = props === null || props === void 0 ? void 0 : props.isShowSelection) !== null && _ref9 !== void 0 ? _ref9 : false;
|
|
324
|
+
_this.isAllLoaded = (_ref10 = props === null || props === void 0 ? void 0 : props.isAllLoaded) !== null && _ref10 !== void 0 ? _ref10 : true;
|
|
251
325
|
_this.countType = props === null || props === void 0 ? void 0 : props.countType;
|
|
252
|
-
|
|
253
|
-
_this.countLimit = (_props_countLimit = props === null || props === void 0 ? void 0 : props.countLimit) !== null && _props_countLimit !== void 0 ? _props_countLimit : 100000;
|
|
326
|
+
_this.countLimit = (_ref11 = props === null || props === void 0 ? void 0 : props.countLimit) !== null && _ref11 !== void 0 ? _ref11 : 100000;
|
|
254
327
|
_this.rowStyle = new RowStyle(props === null || props === void 0 ? void 0 : props.rowStyle);
|
|
255
|
-
|
|
256
|
-
_this.isTreeData = (_props_isTreeData = props === null || props === void 0 ? void 0 : props.isTreeData) !== null && _props_isTreeData !== void 0 ? _props_isTreeData : false;
|
|
328
|
+
_this.isTreeData = (_ref12 = props === null || props === void 0 ? void 0 : props.isTreeData) !== null && _ref12 !== void 0 ? _ref12 : false;
|
|
257
329
|
_this.treeData = new ListTreeData(props === null || props === void 0 ? void 0 : props.treeData);
|
|
258
|
-
|
|
259
|
-
_this.isMasterDetail = (_props_isMasterDetail = props === null || props === void 0 ? void 0 : props.isMasterDetail) !== null && _props_isMasterDetail !== void 0 ? _props_isMasterDetail : false;
|
|
330
|
+
_this.isMasterDetail = (_ref13 = props === null || props === void 0 ? void 0 : props.isMasterDetail) !== null && _ref13 !== void 0 ? _ref13 : false;
|
|
260
331
|
_this.masterDetail = new MasterDetail(props === null || props === void 0 ? void 0 : props.masterDetail);
|
|
261
332
|
return _this;
|
|
262
333
|
}
|
|
@@ -17,13 +17,13 @@
|
|
|
17
17
|
"defaultState": {
|
|
18
18
|
"type": "string",
|
|
19
19
|
"enum": [
|
|
20
|
-
"
|
|
21
|
-
"
|
|
20
|
+
"readonly",
|
|
21
|
+
"default"
|
|
22
22
|
],
|
|
23
23
|
"description": "默认状态",
|
|
24
24
|
"enumDescription": [
|
|
25
|
-
"
|
|
26
|
-
"
|
|
25
|
+
"readonly",
|
|
26
|
+
"default"
|
|
27
27
|
]
|
|
28
28
|
},
|
|
29
29
|
"datasourceBind": {
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* name: rok_page
|
|
3
|
-
* description: 页面容器组件。用于定义整页内容区域的基础展示结构。支持隐藏页头、背景色、最小/最大宽度和高度填充策略设置。
|
|
4
|
-
*/ function _assert_this_initialized(self) {
|
|
1
|
+
function _assert_this_initialized(self) {
|
|
5
2
|
if (self === void 0) {
|
|
6
3
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
7
4
|
}
|
|
@@ -73,18 +70,41 @@ function _is_native_reflect_construct() {
|
|
|
73
70
|
return !!result;
|
|
74
71
|
})();
|
|
75
72
|
}
|
|
76
|
-
|
|
73
|
+
/**
|
|
74
|
+
* name: rok_page
|
|
75
|
+
* description: 页面容器组件。用于定义整页内容区域的基础展示结构。支持隐藏页头、背景色、最小/最大宽度和高度填充策略设置。
|
|
76
|
+
*/ import { LayoutControlProperty } from '@byteluck-fe/model-driven-core';
|
|
77
77
|
var PageProperty = /*#__PURE__*/ function(LayoutControlProperty) {
|
|
78
78
|
"use strict";
|
|
79
79
|
_inherits(PageProperty, LayoutControlProperty);
|
|
80
80
|
function PageProperty(props) {
|
|
81
81
|
_class_call_check(this, PageProperty);
|
|
82
82
|
var _this;
|
|
83
|
+
var _ref;
|
|
83
84
|
_this = _call_super(this, PageProperty, [
|
|
84
85
|
props
|
|
85
|
-
]),
|
|
86
|
-
|
|
87
|
-
|
|
86
|
+
]), /**
|
|
87
|
+
* 隐藏头
|
|
88
|
+
* @defaultValue false
|
|
89
|
+
* @public
|
|
90
|
+
*/ _define_property(_this, "hideHeader", void 0), /**
|
|
91
|
+
* 背景
|
|
92
|
+
* @defaultValue '#fff'
|
|
93
|
+
* @public
|
|
94
|
+
*/ _define_property(_this, "background", '#fff'), /**
|
|
95
|
+
* 最小宽度
|
|
96
|
+
* @defaultValue ''
|
|
97
|
+
* @public
|
|
98
|
+
*/ _define_property(_this, "minWidth", ''), /**
|
|
99
|
+
* 最大宽度
|
|
100
|
+
* @defaultValue ''
|
|
101
|
+
* @public
|
|
102
|
+
*/ _define_property(_this, "maxWidth", ''), /**
|
|
103
|
+
* 最小高度;取值:auto:自动;fill:填充;
|
|
104
|
+
* @defaultValue 'auto'
|
|
105
|
+
* @public
|
|
106
|
+
*/ _define_property(_this, "heightConfig", 'auto');
|
|
107
|
+
_this.hideHeader = (_ref = props === null || props === void 0 ? void 0 : props.hideHeader) !== null && _ref !== void 0 ? _ref : false;
|
|
88
108
|
return _this;
|
|
89
109
|
}
|
|
90
110
|
return PageProperty;
|
|
@@ -17,13 +17,13 @@
|
|
|
17
17
|
"defaultState": {
|
|
18
18
|
"type": "string",
|
|
19
19
|
"enum": [
|
|
20
|
-
"
|
|
21
|
-
"
|
|
20
|
+
"readonly",
|
|
21
|
+
"default"
|
|
22
22
|
],
|
|
23
23
|
"description": "默认状态",
|
|
24
24
|
"enumDescription": [
|
|
25
|
-
"
|
|
26
|
-
"
|
|
25
|
+
"readonly",
|
|
26
|
+
"default"
|
|
27
27
|
]
|
|
28
28
|
},
|
|
29
29
|
"hideHeader": {
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* name: rok_position
|
|
3
|
-
* description: 定位布局项组件。用于在定位容器中按坐标和占比放置内容。支持宽高占比以及顶部、左侧偏移,适合自由布局场景。
|
|
4
|
-
*/ function _assert_this_initialized(self) {
|
|
1
|
+
function _assert_this_initialized(self) {
|
|
5
2
|
if (self === void 0) {
|
|
6
3
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
7
4
|
}
|
|
@@ -73,24 +70,40 @@ function _is_native_reflect_construct() {
|
|
|
73
70
|
return !!result;
|
|
74
71
|
})();
|
|
75
72
|
}
|
|
76
|
-
|
|
73
|
+
/**
|
|
74
|
+
* name: rok_position
|
|
75
|
+
* description: 定位布局项组件。用于在定位容器中按坐标和占比放置内容。支持宽高占比以及顶部、左侧偏移,适合自由布局场景。
|
|
76
|
+
*/ import { LayoutControlProperty } from '@byteluck-fe/model-driven-core';
|
|
77
77
|
var PositionProperty = /*#__PURE__*/ function(LayoutControlProperty) {
|
|
78
78
|
"use strict";
|
|
79
79
|
_inherits(PositionProperty, LayoutControlProperty);
|
|
80
80
|
function PositionProperty(props) {
|
|
81
81
|
_class_call_check(this, PositionProperty);
|
|
82
82
|
var _this;
|
|
83
|
+
var _ref, _ref1, _ref2, _ref3;
|
|
83
84
|
_this = _call_super(this, PositionProperty, [
|
|
84
85
|
props
|
|
85
|
-
]),
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
86
|
+
]), /**
|
|
87
|
+
* 宽度占比
|
|
88
|
+
* @defaultValue 12
|
|
89
|
+
* @public
|
|
90
|
+
*/ _define_property(_this, "widthSpan", void 0), /**
|
|
91
|
+
* 高度占比
|
|
92
|
+
* @defaultValue 12
|
|
93
|
+
* @public
|
|
94
|
+
*/ _define_property(_this, "heightSpan", void 0), /**
|
|
95
|
+
* 左侧偏移
|
|
96
|
+
* @defaultValue 0
|
|
97
|
+
* @public
|
|
98
|
+
*/ _define_property(_this, "left", void 0), /**
|
|
99
|
+
* 顶部偏移
|
|
100
|
+
* @defaultValue 0
|
|
101
|
+
* @public
|
|
102
|
+
*/ _define_property(_this, "top", void 0);
|
|
103
|
+
_this.widthSpan = (_ref = props === null || props === void 0 ? void 0 : props.widthSpan) !== null && _ref !== void 0 ? _ref : 12;
|
|
104
|
+
_this.heightSpan = (_ref1 = props === null || props === void 0 ? void 0 : props.heightSpan) !== null && _ref1 !== void 0 ? _ref1 : 12;
|
|
105
|
+
_this.left = (_ref2 = props === null || props === void 0 ? void 0 : props.left) !== null && _ref2 !== void 0 ? _ref2 : 0;
|
|
106
|
+
_this.top = (_ref3 = props === null || props === void 0 ? void 0 : props.top) !== null && _ref3 !== void 0 ? _ref3 : 0;
|
|
94
107
|
return _this;
|
|
95
108
|
}
|
|
96
109
|
return PositionProperty;
|
|
@@ -17,13 +17,13 @@
|
|
|
17
17
|
"defaultState": {
|
|
18
18
|
"type": "string",
|
|
19
19
|
"enum": [
|
|
20
|
-
"
|
|
21
|
-
"
|
|
20
|
+
"readonly",
|
|
21
|
+
"default"
|
|
22
22
|
],
|
|
23
23
|
"description": "默认状态",
|
|
24
24
|
"enumDescription": [
|
|
25
|
-
"
|
|
26
|
-
"
|
|
25
|
+
"readonly",
|
|
26
|
+
"default"
|
|
27
27
|
]
|
|
28
28
|
},
|
|
29
29
|
"widthSpan": {
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* name: rok_positioning_container
|
|
3
|
-
* description: 定位容器组件。用于承载自由摆放的定位布局内容。当前继承基础布局属性,适合与定位项配合搭建画布式页面。
|
|
4
|
-
*/ function _assert_this_initialized(self) {
|
|
1
|
+
function _assert_this_initialized(self) {
|
|
5
2
|
if (self === void 0) {
|
|
6
3
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
7
4
|
}
|
|
@@ -60,7 +57,10 @@ function _is_native_reflect_construct() {
|
|
|
60
57
|
return !!result;
|
|
61
58
|
})();
|
|
62
59
|
}
|
|
63
|
-
|
|
60
|
+
/**
|
|
61
|
+
* name: rok_positioning_container
|
|
62
|
+
* description: 定位容器组件。用于承载自由摆放的定位布局内容。当前继承基础布局属性,适合与定位项配合搭建画布式页面。
|
|
63
|
+
*/ import { LayoutControlProperty } from '@byteluck-fe/model-driven-core';
|
|
64
64
|
var PositioningContainerProperty = /*#__PURE__*/ function(LayoutControlProperty) {
|
|
65
65
|
"use strict";
|
|
66
66
|
_inherits(PositioningContainerProperty, LayoutControlProperty);
|
|
@@ -17,13 +17,13 @@
|
|
|
17
17
|
"defaultState": {
|
|
18
18
|
"type": "string",
|
|
19
19
|
"enum": [
|
|
20
|
-
"
|
|
21
|
-
"
|
|
20
|
+
"readonly",
|
|
21
|
+
"default"
|
|
22
22
|
],
|
|
23
23
|
"description": "默认状态",
|
|
24
24
|
"enumDescription": [
|
|
25
|
-
"
|
|
26
|
-
"
|
|
25
|
+
"readonly",
|
|
26
|
+
"default"
|
|
27
27
|
]
|
|
28
28
|
}
|
|
29
29
|
},
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* name: rok_row
|
|
3
|
-
* description: 行布局容器组件。用于按行组织多个控件并进行横向编排。支持预设/自定义布局模式、间距、主侧轴对齐、内外边距和整行占满设置。
|
|
4
|
-
*/ function _assert_this_initialized(self) {
|
|
1
|
+
function _assert_this_initialized(self) {
|
|
5
2
|
if (self === void 0) {
|
|
6
3
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
7
4
|
}
|
|
@@ -73,28 +70,55 @@ function _is_native_reflect_construct() {
|
|
|
73
70
|
return !!result;
|
|
74
71
|
})();
|
|
75
72
|
}
|
|
76
|
-
|
|
73
|
+
/**
|
|
74
|
+
* name: rok_row
|
|
75
|
+
* description: 行布局容器组件。用于按行组织多个控件并进行横向编排。支持预设/自定义布局模式、间距、主侧轴对齐、内外边距和整行占满设置。
|
|
76
|
+
*/ import { LayoutControlProperty, Margin, Padding } from '@byteluck-fe/model-driven-core';
|
|
77
77
|
var RowControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
|
|
78
78
|
"use strict";
|
|
79
79
|
_inherits(RowControlProperty, LayoutControlProperty);
|
|
80
80
|
function RowControlProperty(props) {
|
|
81
81
|
_class_call_check(this, RowControlProperty);
|
|
82
82
|
var _this;
|
|
83
|
+
var _ref, _ref1, _ref2, _ref3, _ref4;
|
|
83
84
|
_this = _call_super(this, RowControlProperty, [
|
|
84
85
|
props
|
|
85
|
-
]),
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
86
|
+
]), /**
|
|
87
|
+
* 布局模式;取值:select:选择预设布局;custom:自定义布局;
|
|
88
|
+
* @defaultValue 'select'
|
|
89
|
+
* @public
|
|
90
|
+
*/ _define_property(_this, "layoutMode", void 0), /**
|
|
91
|
+
* 间距
|
|
92
|
+
* @defaultValue 0
|
|
93
|
+
* @public
|
|
94
|
+
*/ _define_property(_this, "gutter", void 0), /**
|
|
95
|
+
* 对齐方式
|
|
96
|
+
* @defaultValue ''
|
|
97
|
+
* @public
|
|
98
|
+
*/ _define_property(_this, "align", void 0), /**
|
|
99
|
+
* 主轴对齐方式
|
|
100
|
+
* @defaultValue ''
|
|
101
|
+
* @public
|
|
102
|
+
*/ _define_property(_this, "justify", void 0), /**
|
|
103
|
+
* 内边距配置
|
|
104
|
+
* @defaultValue new Padding()
|
|
105
|
+
* @public
|
|
106
|
+
*/ _define_property(_this, "padding", void 0), /**
|
|
107
|
+
* 外边距配置
|
|
108
|
+
* @defaultValue new Margin()
|
|
109
|
+
* @public
|
|
110
|
+
*/ _define_property(_this, "margin", void 0), /**
|
|
111
|
+
* 是否占满整行
|
|
112
|
+
* @defaultValue false
|
|
113
|
+
* @public
|
|
114
|
+
*/ _define_property(_this, "isFull", void 0);
|
|
115
|
+
_this.layoutMode = (_ref = props === null || props === void 0 ? void 0 : props.layoutMode) !== null && _ref !== void 0 ? _ref : 'select';
|
|
116
|
+
_this.gutter = (_ref1 = props === null || props === void 0 ? void 0 : props.gutter) !== null && _ref1 !== void 0 ? _ref1 : 0;
|
|
117
|
+
_this.align = (_ref2 = props === null || props === void 0 ? void 0 : props.align) !== null && _ref2 !== void 0 ? _ref2 : '';
|
|
118
|
+
_this.justify = (_ref3 = props === null || props === void 0 ? void 0 : props.justify) !== null && _ref3 !== void 0 ? _ref3 : '';
|
|
94
119
|
_this.padding = new Padding(props === null || props === void 0 ? void 0 : props.padding);
|
|
95
120
|
_this.margin = new Margin(props === null || props === void 0 ? void 0 : props.margin);
|
|
96
|
-
|
|
97
|
-
_this.isFull = (_props_isFull = props === null || props === void 0 ? void 0 : props.isFull) !== null && _props_isFull !== void 0 ? _props_isFull : false;
|
|
121
|
+
_this.isFull = (_ref4 = props === null || props === void 0 ? void 0 : props.isFull) !== null && _ref4 !== void 0 ? _ref4 : false;
|
|
98
122
|
return _this;
|
|
99
123
|
}
|
|
100
124
|
return RowControlProperty;
|
|
@@ -17,13 +17,13 @@
|
|
|
17
17
|
"defaultState": {
|
|
18
18
|
"type": "string",
|
|
19
19
|
"enum": [
|
|
20
|
-
"
|
|
21
|
-
"
|
|
20
|
+
"readonly",
|
|
21
|
+
"default"
|
|
22
22
|
],
|
|
23
23
|
"description": "默认状态",
|
|
24
24
|
"enumDescription": [
|
|
25
|
-
"
|
|
26
|
-
"
|
|
25
|
+
"readonly",
|
|
26
|
+
"default"
|
|
27
27
|
]
|
|
28
28
|
},
|
|
29
29
|
"layoutMode": {
|
|
@@ -94,12 +94,12 @@ var StepControl = /*#__PURE__*/ function(DesignerLayoutControl) {
|
|
|
94
94
|
function StepControl(props) {
|
|
95
95
|
_class_call_check(this, StepControl);
|
|
96
96
|
var _this;
|
|
97
|
+
var _ref;
|
|
97
98
|
_this = _call_super(this, StepControl, [
|
|
98
99
|
props
|
|
99
100
|
]), _define_property(_this, "props", void 0);
|
|
100
101
|
_this.props = new StepControlProperty(props === null || props === void 0 ? void 0 : props.props);
|
|
101
|
-
|
|
102
|
-
_this.children = (_props_children = props === null || props === void 0 ? void 0 : props.children) !== null && _props_children !== void 0 ? _props_children : [
|
|
102
|
+
_this.children = (_ref = props === null || props === void 0 ? void 0 : props.children) !== null && _ref !== void 0 ? _ref : [
|
|
103
103
|
new DesignerStepPaneControl(),
|
|
104
104
|
new DesignerStepPaneControl(),
|
|
105
105
|
new DesignerStepPaneControl()
|