@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
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* name: rok_step
|
|
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,38 +70,79 @@ function _is_native_reflect_construct() {
|
|
|
73
70
|
return !!result;
|
|
74
71
|
})();
|
|
75
72
|
}
|
|
76
|
-
|
|
73
|
+
/**
|
|
74
|
+
* name: rok_step
|
|
75
|
+
* description: 步骤条容器组件。用于分步骤表单、流程导航和向导式填写场景。支持方向、标签位置、尺寸、导航样式、粘性展示、步骤状态以及前后切换按钮配置。
|
|
76
|
+
*/ import { LayoutControlProperty, StepButtons } from '@byteluck-fe/model-driven-core';
|
|
77
77
|
var StepControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
|
|
78
78
|
"use strict";
|
|
79
79
|
_inherits(StepControlProperty, LayoutControlProperty);
|
|
80
80
|
function StepControlProperty(props) {
|
|
81
81
|
_class_call_check(this, StepControlProperty);
|
|
82
82
|
var _this;
|
|
83
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10;
|
|
83
84
|
_this = _call_super(this, StepControlProperty, [
|
|
84
85
|
props
|
|
85
|
-
]),
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
86
|
+
]), /**
|
|
87
|
+
* 步骤条方向;horizontal:水平方向;vertical:垂直方向
|
|
88
|
+
* @defaultValue 'horizontal'
|
|
89
|
+
* @public
|
|
90
|
+
*/ _define_property(_this, "direction", void 0), /**
|
|
91
|
+
* 标签放置位置;horizontal:水平方向;vertical:竖直方向
|
|
92
|
+
* @defaultValue 'horizontal'
|
|
93
|
+
* @public
|
|
94
|
+
*/ _define_property(_this, "labelPlacement", void 0), /**
|
|
95
|
+
* 大小;取值:small:小尺寸;default:默认尺寸;large:大尺寸;
|
|
96
|
+
* @defaultValue 'default'
|
|
97
|
+
* @public
|
|
98
|
+
*/ _define_property(_this, "size", void 0), /**
|
|
99
|
+
* 步骤条类型;default:默认; navigation:导航
|
|
100
|
+
* @defaultValue 'default'
|
|
101
|
+
* @public
|
|
102
|
+
*/ _define_property(_this, "type", void 0), /**
|
|
103
|
+
* 是否粘性
|
|
104
|
+
* @defaultValue false
|
|
105
|
+
* @public
|
|
106
|
+
*/ _define_property(_this, "isSticky", void 0), /**
|
|
107
|
+
* 步骤条间距,可输入%或px
|
|
108
|
+
* @defaultValue ''
|
|
109
|
+
* @public
|
|
110
|
+
*/ _define_property(_this, "step", void 0), /**
|
|
111
|
+
* 是否居中对齐
|
|
112
|
+
* @defaultValue false
|
|
113
|
+
* @public
|
|
114
|
+
*/ _define_property(_this, "isCenter", void 0), /**
|
|
115
|
+
* 是否允许结束步骤点击
|
|
116
|
+
* @defaultValue false
|
|
117
|
+
* @public
|
|
118
|
+
*/ _define_property(_this, "isStopStepClick", void 0), /**
|
|
119
|
+
* 当前步骤的状态,wait:等待; process:进行中; finish:完成; error:错误;
|
|
120
|
+
* @defaultValue 'process'
|
|
121
|
+
* @public
|
|
122
|
+
*/ _define_property(_this, "status", void 0), /**
|
|
123
|
+
* 结束步骤的状态,wait:等待; process:进行中; finish:完成; error:错误;
|
|
124
|
+
* @defaultValue 'finish'
|
|
125
|
+
* @public
|
|
126
|
+
*/ _define_property(_this, "stopStatus", void 0), /**
|
|
127
|
+
* 是否显示步骤条按钮
|
|
128
|
+
* @defaultValue false
|
|
129
|
+
* @public
|
|
130
|
+
*/ _define_property(_this, "isShowStepButton", void 0), /**
|
|
131
|
+
* 步骤条按钮配置
|
|
132
|
+
* @defaultValue new StepButtons()
|
|
133
|
+
* @public
|
|
134
|
+
*/ _define_property(_this, "stepButtons", void 0);
|
|
135
|
+
_this.direction = (_ref = props === null || props === void 0 ? void 0 : props.direction) !== null && _ref !== void 0 ? _ref : 'horizontal';
|
|
136
|
+
_this.labelPlacement = (_ref1 = props === null || props === void 0 ? void 0 : props.labelPlacement) !== null && _ref1 !== void 0 ? _ref1 : 'horizontal';
|
|
137
|
+
_this.size = (_ref2 = props === null || props === void 0 ? void 0 : props.size) !== null && _ref2 !== void 0 ? _ref2 : 'default';
|
|
138
|
+
_this.type = (_ref3 = props === null || props === void 0 ? void 0 : props.type) !== null && _ref3 !== void 0 ? _ref3 : 'default';
|
|
139
|
+
_this.isSticky = (_ref4 = props === null || props === void 0 ? void 0 : props.isSticky) !== null && _ref4 !== void 0 ? _ref4 : false;
|
|
140
|
+
_this.step = (_ref5 = props === null || props === void 0 ? void 0 : props.step) !== null && _ref5 !== void 0 ? _ref5 : '';
|
|
141
|
+
_this.isCenter = (_ref6 = props === null || props === void 0 ? void 0 : props.isCenter) !== null && _ref6 !== void 0 ? _ref6 : false;
|
|
142
|
+
_this.isStopStepClick = (_ref7 = props === null || props === void 0 ? void 0 : props.isStopStepClick) !== null && _ref7 !== void 0 ? _ref7 : true;
|
|
143
|
+
_this.status = (_ref8 = props === null || props === void 0 ? void 0 : props.status) !== null && _ref8 !== void 0 ? _ref8 : 'process';
|
|
144
|
+
_this.stopStatus = (_ref9 = props === null || props === void 0 ? void 0 : props.stopStatus) !== null && _ref9 !== void 0 ? _ref9 : 'finish';
|
|
145
|
+
_this.isShowStepButton = (_ref10 = props === null || props === void 0 ? void 0 : props.isShowStepButton) !== null && _ref10 !== void 0 ? _ref10 : false;
|
|
108
146
|
_this.stepButtons = new StepButtons(props === null || props === void 0 ? void 0 : props.stepButtons);
|
|
109
147
|
return _this;
|
|
110
148
|
}
|
|
@@ -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
|
"direction": {
|
|
@@ -56,15 +56,15 @@
|
|
|
56
56
|
"type": "string",
|
|
57
57
|
"enum": [
|
|
58
58
|
"default",
|
|
59
|
-
"
|
|
60
|
-
"
|
|
59
|
+
"large",
|
|
60
|
+
"small"
|
|
61
61
|
],
|
|
62
62
|
"description": "大小;",
|
|
63
63
|
"default": "default",
|
|
64
64
|
"enumDescription": [
|
|
65
65
|
"默认尺寸",
|
|
66
|
-
"
|
|
67
|
-
"
|
|
66
|
+
"大尺寸",
|
|
67
|
+
"小尺寸"
|
|
68
68
|
]
|
|
69
69
|
},
|
|
70
70
|
"type": {
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* name: rok_step_pane
|
|
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,33 +70,61 @@ function _is_native_reflect_construct() {
|
|
|
73
70
|
return !!result;
|
|
74
71
|
})();
|
|
75
72
|
}
|
|
76
|
-
|
|
73
|
+
/**
|
|
74
|
+
* name: rok_step_pane
|
|
75
|
+
* description: 步骤项组件。用于定义步骤条中的单个步骤内容与状态。支持标题、副标题、图标、颜色、状态、描述、禁用和默认选中设置。
|
|
76
|
+
*/ import { LayoutControlProperty } from '@byteluck-fe/model-driven-core';
|
|
77
77
|
var StepPaneControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
|
|
78
78
|
"use strict";
|
|
79
79
|
_inherits(StepPaneControlProperty, LayoutControlProperty);
|
|
80
80
|
function StepPaneControlProperty(props) {
|
|
81
81
|
_class_call_check(this, StepPaneControlProperty);
|
|
82
82
|
var _this;
|
|
83
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7;
|
|
83
84
|
_this = _call_super(this, StepPaneControlProperty, [
|
|
84
85
|
props
|
|
85
86
|
]), // static readonly Rules = StepPaneControlPropertyRules
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
87
|
+
/**
|
|
88
|
+
* 主标题
|
|
89
|
+
* @defaultValue ''
|
|
90
|
+
* @public
|
|
91
|
+
*/ _define_property(_this, "title", void 0), /**
|
|
92
|
+
* 副标题
|
|
93
|
+
* @defaultValue ''
|
|
94
|
+
* @public
|
|
95
|
+
*/ _define_property(_this, "subTitle", void 0), /**
|
|
96
|
+
* 是否禁用点击
|
|
97
|
+
* @defaultValue false
|
|
98
|
+
* @public
|
|
99
|
+
*/ _define_property(_this, "disabled", void 0), /**
|
|
100
|
+
* 步骤图标
|
|
101
|
+
* @defaultValue ''
|
|
102
|
+
* @public
|
|
103
|
+
*/ _define_property(_this, "icon", void 0), /**
|
|
104
|
+
* 步骤激活颜色;取值:primary:主色;danger:危险;warning:警告;success:成功;info:信息;blue:蓝色;
|
|
105
|
+
* @defaultValue ''
|
|
106
|
+
* @public
|
|
107
|
+
*/ _define_property(_this, "color", void 0), /**
|
|
108
|
+
* 步骤状态;取值:wait:等待;process:进行中;finish:完成;error:错误;
|
|
109
|
+
* @defaultValue 'wait'
|
|
110
|
+
* @public
|
|
111
|
+
*/ _define_property(_this, "status", void 0), /**
|
|
112
|
+
* 步骤描述
|
|
113
|
+
* @defaultValue ''
|
|
114
|
+
* @public
|
|
115
|
+
*/ _define_property(_this, "description", void 0), /**
|
|
116
|
+
* 是否默认选中
|
|
117
|
+
* @defaultValue false
|
|
118
|
+
* @public
|
|
119
|
+
*/ _define_property(_this, "isDefault", void 0);
|
|
120
|
+
_this.title = (_ref = props === null || props === void 0 ? void 0 : props.title) !== null && _ref !== void 0 ? _ref : '';
|
|
121
|
+
_this.subTitle = (_ref1 = props === null || props === void 0 ? void 0 : props.subTitle) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
122
|
+
_this.disabled = (_ref2 = props === null || props === void 0 ? void 0 : props.disabled) !== null && _ref2 !== void 0 ? _ref2 : false;
|
|
123
|
+
_this.icon = (_ref3 = props === null || props === void 0 ? void 0 : props.icon) !== null && _ref3 !== void 0 ? _ref3 : '';
|
|
124
|
+
_this.color = (_ref4 = props === null || props === void 0 ? void 0 : props.color) !== null && _ref4 !== void 0 ? _ref4 : '';
|
|
125
|
+
_this.status = (_ref5 = props === null || props === void 0 ? void 0 : props.status) !== null && _ref5 !== void 0 ? _ref5 : 'wait';
|
|
126
|
+
_this.description = (_ref6 = props === null || props === void 0 ? void 0 : props.description) !== null && _ref6 !== void 0 ? _ref6 : '';
|
|
127
|
+
_this.isDefault = (_ref7 = props === null || props === void 0 ? void 0 : props.isDefault) !== null && _ref7 !== void 0 ? _ref7 : false;
|
|
103
128
|
return _this;
|
|
104
129
|
}
|
|
105
130
|
return StepPaneControlProperty;
|
|
@@ -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
|
"title": {
|
|
@@ -109,19 +109,39 @@ var SubTableColumnControlProperty = /*#__PURE__*/ function(LayoutControlProperty
|
|
|
109
109
|
function SubTableColumnControlProperty(props) {
|
|
110
110
|
_class_call_check(this, SubTableColumnControlProperty);
|
|
111
111
|
var _this;
|
|
112
|
+
var _ref, _ref1, _ref2, _ref3, _ref4;
|
|
112
113
|
_this = _call_super(this, SubTableColumnControlProperty, [
|
|
113
114
|
props
|
|
114
|
-
]),
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
115
|
+
]), /**
|
|
116
|
+
* 设置宽度在移动和pc - 宽度
|
|
117
|
+
* @defaultValue new MetaAutoWidth()
|
|
118
|
+
* @public
|
|
119
|
+
*/ _define_property(_this, "metaAutoWidth", void 0), /**
|
|
120
|
+
* 列标题
|
|
121
|
+
* @defaultValue ''
|
|
122
|
+
* @public
|
|
123
|
+
*/ _define_property(_this, "caption", void 0), /**
|
|
124
|
+
* 是否固定列
|
|
125
|
+
* @defaultValue false
|
|
126
|
+
* @public
|
|
127
|
+
*/ _define_property(_this, "fixed", void 0), /**
|
|
128
|
+
* 是否开启气泡提示
|
|
129
|
+
* @defaultValue false
|
|
130
|
+
* @public
|
|
131
|
+
*/ _define_property(_this, "isShowCaptionTip", void 0), /**
|
|
132
|
+
* 气泡提示语
|
|
133
|
+
* @defaultValue ''
|
|
134
|
+
* @public
|
|
135
|
+
*/ _define_property(_this, "captionTip", void 0), /**
|
|
136
|
+
* 隐藏标题一直为false
|
|
137
|
+
* @defaultValue false
|
|
138
|
+
* @public
|
|
139
|
+
*/ _define_property(_this, "isHideCaption", void 0);
|
|
140
|
+
_this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : '';
|
|
141
|
+
_this.fixed = (_ref1 = props === null || props === void 0 ? void 0 : props.fixed) !== null && _ref1 !== void 0 ? _ref1 : false;
|
|
142
|
+
_this.isShowCaptionTip = (_ref2 = props === null || props === void 0 ? void 0 : props.isShowCaptionTip) !== null && _ref2 !== void 0 ? _ref2 : false;
|
|
143
|
+
_this.captionTip = (_ref3 = props === null || props === void 0 ? void 0 : props.captionTip) !== null && _ref3 !== void 0 ? _ref3 : '';
|
|
144
|
+
_this.isHideCaption = (_ref4 = props === null || props === void 0 ? void 0 : props.isHideCaption) !== null && _ref4 !== void 0 ? _ref4 : false;
|
|
125
145
|
_this.metaAutoWidth = new MetaAutoWidth(props === null || props === void 0 ? void 0 : props.metaAutoWidth);
|
|
126
146
|
return _this;
|
|
127
147
|
}
|
|
@@ -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
|
"metaAutoWidth": {
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* name: rok_sub_table_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
|
}
|
|
@@ -60,7 +57,10 @@ function _is_native_reflect_construct() {
|
|
|
60
57
|
return !!result;
|
|
61
58
|
})();
|
|
62
59
|
}
|
|
63
|
-
|
|
60
|
+
/**
|
|
61
|
+
* name: rok_sub_table_row
|
|
62
|
+
* description: 子表行容器组件。用于组织明细子表中的单行布局内容。当前继承基础布局属性,适合与子表列共同构建明细结构。
|
|
63
|
+
*/ import { LayoutControlProperty } from '@byteluck-fe/model-driven-core';
|
|
64
64
|
var SubtableRowControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
|
|
65
65
|
"use strict";
|
|
66
66
|
_inherits(SubtableRowControlProperty, 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
|
},
|
|
@@ -95,12 +95,12 @@ var TabControl = /*#__PURE__*/ function(DesignerLayoutControl) {
|
|
|
95
95
|
function TabControl(props) {
|
|
96
96
|
_class_call_check(this, TabControl);
|
|
97
97
|
var _this;
|
|
98
|
+
var _ref;
|
|
98
99
|
_this = _call_super(this, TabControl, [
|
|
99
100
|
props
|
|
100
101
|
]), _define_property(_this, "props", void 0);
|
|
101
102
|
_this.props = new TabControlProperty(props === null || props === void 0 ? void 0 : props.props);
|
|
102
|
-
|
|
103
|
-
_this.children = (_props_children = props === null || props === void 0 ? void 0 : props.children) !== null && _props_children !== void 0 ? _props_children : [
|
|
103
|
+
_this.children = (_ref = props === null || props === void 0 ? void 0 : props.children) !== null && _ref !== void 0 ? _ref : [
|
|
104
104
|
new DesignerTabPaneControl(),
|
|
105
105
|
new DesignerTabPaneControl()
|
|
106
106
|
];
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* name: rok_tab
|
|
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,26 +70,45 @@ function _is_native_reflect_construct() {
|
|
|
73
70
|
return !!result;
|
|
74
71
|
})();
|
|
75
72
|
}
|
|
76
|
-
|
|
73
|
+
/**
|
|
74
|
+
* name: rok_tab
|
|
75
|
+
* description: 选项卡容器组件。用于将内容分为多个页签按需切换展示。支持移动端展示方式、线条/卡片风格、页签位置、标签撑开和内容延迟渲染。
|
|
76
|
+
*/ import { LayoutControlProperty } from '@byteluck-fe/model-driven-core';
|
|
77
77
|
var TabControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
|
|
78
78
|
"use strict";
|
|
79
79
|
_inherits(TabControlProperty, LayoutControlProperty);
|
|
80
80
|
function TabControlProperty(props) {
|
|
81
81
|
_class_call_check(this, TabControlProperty);
|
|
82
82
|
var _this;
|
|
83
|
+
var _ref, _ref1, _ref2, _ref3, _ref4;
|
|
83
84
|
_this = _call_super(this, TabControlProperty, [
|
|
84
85
|
props
|
|
85
|
-
]),
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
86
|
+
]), /**
|
|
87
|
+
* 移动端展示样式;取值:horizontal:横向;vertical:纵向;
|
|
88
|
+
* @defaultValue 'vertical'
|
|
89
|
+
* @public
|
|
90
|
+
*/ _define_property(_this, "mobileShowType", void 0), /**
|
|
91
|
+
* 风格类型,line:默认样式;card:选项卡样式;
|
|
92
|
+
* @defaultValue 'line'
|
|
93
|
+
* @public
|
|
94
|
+
*/ _define_property(_this, "type", void 0), /**
|
|
95
|
+
* 页签位置,top:页签在上;bottom:页签在下;left:页签在左侧;right:页签在右侧;
|
|
96
|
+
* @defaultValue 'top'
|
|
97
|
+
* @public
|
|
98
|
+
*/ _define_property(_this, "tabPosition", void 0), /**
|
|
99
|
+
* 页签宽度是否自动撑开
|
|
100
|
+
* @defaultValue false
|
|
101
|
+
* @public
|
|
102
|
+
*/ _define_property(_this, "isLabelFlat", void 0), /**
|
|
103
|
+
* 内容是否延迟渲染
|
|
104
|
+
* @defaultValue false
|
|
105
|
+
* @public
|
|
106
|
+
*/ _define_property(_this, "isDelay", void 0);
|
|
107
|
+
_this.mobileShowType = (_ref = props === null || props === void 0 ? void 0 : props.mobileShowType) !== null && _ref !== void 0 ? _ref : 'vertical';
|
|
108
|
+
_this.type = (_ref1 = props === null || props === void 0 ? void 0 : props.type) !== null && _ref1 !== void 0 ? _ref1 : 'line';
|
|
109
|
+
_this.tabPosition = (_ref2 = props === null || props === void 0 ? void 0 : props.tabPosition) !== null && _ref2 !== void 0 ? _ref2 : 'top';
|
|
110
|
+
_this.isLabelFlat = (_ref3 = props === null || props === void 0 ? void 0 : props.isLabelFlat) !== null && _ref3 !== void 0 ? _ref3 : false;
|
|
111
|
+
_this.isDelay = (_ref4 = props === null || props === void 0 ? void 0 : props.isDelay) !== null && _ref4 !== void 0 ? _ref4 : false;
|
|
96
112
|
return _this;
|
|
97
113
|
}
|
|
98
114
|
return TabControlProperty;
|
|
@@ -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
|
"mobileShowType": {
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* name: rok_tab_pane
|
|
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_tab_pane
|
|
75
|
+
* description: 选项卡子页签组件。用于承载单个页签对应的内容区域。支持配置页签标题,适合与选项卡容器组合实现分组切换展示。
|
|
76
|
+
*/ import { LayoutControlProperty, PropertyRules } from '@byteluck-fe/model-driven-core';
|
|
77
77
|
import { DesignerTabControl } from '../Tab';
|
|
78
78
|
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
79
79
|
var TabPaneControlPropertyRules = /*#__PURE__*/ function(PropertyRules) {
|
|
@@ -99,11 +99,15 @@ var TabPaneControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
|
|
|
99
99
|
function TabPaneControlProperty(props) {
|
|
100
100
|
_class_call_check(this, TabPaneControlProperty);
|
|
101
101
|
var _this;
|
|
102
|
+
var _ref;
|
|
102
103
|
_this = _call_super(this, TabPaneControlProperty, [
|
|
103
104
|
props
|
|
104
|
-
]),
|
|
105
|
-
|
|
106
|
-
|
|
105
|
+
]), /**
|
|
106
|
+
* 标题
|
|
107
|
+
* @defaultValue 控件名称
|
|
108
|
+
* @public
|
|
109
|
+
*/ _define_property(_this, "caption", void 0);
|
|
110
|
+
_this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : DesignerTabControl.controlName;
|
|
107
111
|
return _this;
|
|
108
112
|
}
|
|
109
113
|
return TabPaneControlProperty;
|
|
@@ -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
|
},
|