@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_link
|
|
3
|
-
* description: 链接组件。用于展示可点击的文本链接并跳转页面或执行脚本。支持链接地址、描述、对齐方式、颜色、图标、打开方式以及动态脚本或 JavaScript 配置,适合导航与快捷操作场景。
|
|
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_link
|
|
75
|
+
* description: 链接组件。用于展示可点击的文本链接并跳转页面或执行脚本。支持链接地址、描述、对齐方式、颜色、图标、打开方式以及动态脚本或 JavaScript 配置,适合导航与快捷操作场景。
|
|
76
|
+
*/ import { Property } from '@byteluck-fe/model-driven-core';
|
|
77
77
|
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
78
78
|
var LinkProperty = /*#__PURE__*/ function(Property) {
|
|
79
79
|
"use strict";
|
|
@@ -81,23 +81,42 @@ var LinkProperty = /*#__PURE__*/ function(Property) {
|
|
|
81
81
|
function LinkProperty(props) {
|
|
82
82
|
_class_call_check(this, LinkProperty);
|
|
83
83
|
var _this;
|
|
84
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5;
|
|
84
85
|
_this = _call_super(this, LinkProperty, [
|
|
85
86
|
props
|
|
86
|
-
]),
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
87
|
+
]), /**
|
|
88
|
+
* 内容
|
|
89
|
+
* @defaultValue '我是一个链接'
|
|
90
|
+
* @public
|
|
91
|
+
*/ _define_property(_this, "content", void 0), /**
|
|
92
|
+
* 链接地址
|
|
93
|
+
* @defaultValue ''
|
|
94
|
+
* @public
|
|
95
|
+
*/ _define_property(_this, "url", void 0), // public description: string
|
|
96
|
+
/**
|
|
97
|
+
* 位置;取值:left:左侧;center:居中;right:右侧;
|
|
98
|
+
* @defaultValue 'left'
|
|
99
|
+
* @public
|
|
100
|
+
*/ _define_property(_this, "position", void 0), /**
|
|
101
|
+
* 颜色;取值:primary:主色;danger:危险;warning:警告;success:成功;info:信息;blue:蓝色;
|
|
102
|
+
* @defaultValue 'primary'
|
|
103
|
+
* @public
|
|
104
|
+
*/ _define_property(_this, "color", void 0), /**
|
|
105
|
+
* 打开方式;取值:new:新页面;current:当前;
|
|
106
|
+
* @defaultValue 'new'
|
|
107
|
+
* @public
|
|
108
|
+
*/ _define_property(_this, "openMode", void 0), /**
|
|
109
|
+
* 图标
|
|
110
|
+
* @defaultValue ''
|
|
111
|
+
* @public
|
|
112
|
+
*/ _define_property(_this, "icon", void 0);
|
|
113
|
+
_this.content = (_ref = props === null || props === void 0 ? void 0 : props.content) !== null && _ref !== void 0 ? _ref : getLocaleText('CMD.linkContent', null, '我是一个链接');
|
|
91
114
|
// this.description = props?.description ?? ''
|
|
92
|
-
_this.position = (
|
|
93
|
-
|
|
94
|
-
_this.
|
|
95
|
-
|
|
96
|
-
_this.
|
|
97
|
-
var _props_openMode;
|
|
98
|
-
_this.openMode = (_props_openMode = props === null || props === void 0 ? void 0 : props.openMode) !== null && _props_openMode !== void 0 ? _props_openMode : 'new';
|
|
99
|
-
var _props_icon;
|
|
100
|
-
_this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : '';
|
|
115
|
+
_this.position = (_ref1 = props === null || props === void 0 ? void 0 : props.position) !== null && _ref1 !== void 0 ? _ref1 : 'left';
|
|
116
|
+
_this.color = (_ref2 = props === null || props === void 0 ? void 0 : props.color) !== null && _ref2 !== void 0 ? _ref2 : 'primary';
|
|
117
|
+
_this.url = (_ref3 = props === null || props === void 0 ? void 0 : props.url) !== null && _ref3 !== void 0 ? _ref3 : '';
|
|
118
|
+
_this.openMode = (_ref4 = props === null || props === void 0 ? void 0 : props.openMode) !== null && _ref4 !== void 0 ? _ref4 : 'new';
|
|
119
|
+
_this.icon = (_ref5 = props === null || props === void 0 ? void 0 : props.icon) !== null && _ref5 !== void 0 ? _ref5 : '';
|
|
101
120
|
return _this;
|
|
102
121
|
}
|
|
103
122
|
return LinkProperty;
|
|
@@ -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
|
"content": {
|
|
@@ -31,11 +31,6 @@
|
|
|
31
31
|
"description": "内容",
|
|
32
32
|
"default": "我是一个链接"
|
|
33
33
|
},
|
|
34
|
-
"description": {
|
|
35
|
-
"type": "string",
|
|
36
|
-
"description": "描述",
|
|
37
|
-
"default": ""
|
|
38
|
-
},
|
|
39
34
|
"url": {
|
|
40
35
|
"type": "string",
|
|
41
36
|
"description": "链接地址",
|
|
@@ -44,15 +39,15 @@
|
|
|
44
39
|
"position": {
|
|
45
40
|
"type": "string",
|
|
46
41
|
"enum": [
|
|
47
|
-
"center",
|
|
48
42
|
"left",
|
|
43
|
+
"center",
|
|
49
44
|
"right"
|
|
50
45
|
],
|
|
51
46
|
"description": "位置;",
|
|
52
47
|
"default": "left",
|
|
53
48
|
"enumDescription": [
|
|
54
|
-
"居中",
|
|
55
49
|
"左侧",
|
|
50
|
+
"居中",
|
|
56
51
|
"右侧"
|
|
57
52
|
]
|
|
58
53
|
},
|
|
@@ -77,24 +72,6 @@
|
|
|
77
72
|
"蓝色"
|
|
78
73
|
]
|
|
79
74
|
},
|
|
80
|
-
"scriptType": {
|
|
81
|
-
"type": "string",
|
|
82
|
-
"enum": [
|
|
83
|
-
"dynamic",
|
|
84
|
-
"js"
|
|
85
|
-
],
|
|
86
|
-
"description": "脚本类型;",
|
|
87
|
-
"default": "js",
|
|
88
|
-
"enumDescription": [
|
|
89
|
-
"动态脚本",
|
|
90
|
-
"JavaScript"
|
|
91
|
-
]
|
|
92
|
-
},
|
|
93
|
-
"scriptContent": {
|
|
94
|
-
"type": "string",
|
|
95
|
-
"description": "脚本内容",
|
|
96
|
-
"default": ""
|
|
97
|
-
},
|
|
98
75
|
"openMode": {
|
|
99
76
|
"type": "string",
|
|
100
77
|
"enum": [
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* name: rok_list_select_button
|
|
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
|
}
|
|
@@ -88,7 +85,10 @@ function _is_native_reflect_construct() {
|
|
|
88
85
|
return !!result;
|
|
89
86
|
})();
|
|
90
87
|
}
|
|
91
|
-
|
|
88
|
+
/**
|
|
89
|
+
* name: rok_list_select_button
|
|
90
|
+
* description: 列表选择按钮组件。用于打开列表页选择数据并回填到当前页面。支持查询过滤、目标列表绑定、回填设置、选中行填充和已选内容展示配置,适合数据引用、关联选择和批量带回场景。
|
|
91
|
+
*/ import { ButtonProperty } from '../Button';
|
|
92
92
|
import ListSelectButtonControl from './designer';
|
|
93
93
|
import { PropertyRules, FillBackBind, FillPayloadBind, SelectedContentConfig, ListBind } from '@byteluck-fe/model-driven-core';
|
|
94
94
|
import { createFillBindRules } from '../utils';
|
|
@@ -141,23 +141,47 @@ var ListSelectButtonPropertyRules = /*#__PURE__*/ function(PropertyRules) {
|
|
|
141
141
|
function ListSelectButtonProperty(props) {
|
|
142
142
|
_class_call_check(this, ListSelectButtonProperty);
|
|
143
143
|
var _this;
|
|
144
|
+
var _ref, _ref1, _ref2, _ref3, _ref4;
|
|
144
145
|
_this = _call_super(this, ListSelectButtonProperty, [
|
|
145
146
|
props
|
|
146
|
-
]),
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
147
|
+
]), /**
|
|
148
|
+
* 数据过滤
|
|
149
|
+
* @defaultValue new FillPayloadBind()
|
|
150
|
+
* @public
|
|
151
|
+
*/ _define_property(_this, "fillPayload", void 0), /**
|
|
152
|
+
* 绑定列表页
|
|
153
|
+
* @defaultValue new ListBind()
|
|
154
|
+
* @public
|
|
155
|
+
*/ _define_property(_this, "listPageBind", void 0), /**
|
|
156
|
+
* 禁用填充
|
|
157
|
+
* @defaultValue true
|
|
158
|
+
* @public
|
|
159
|
+
*/ _define_property(_this, "disableFilling", void 0), /**
|
|
160
|
+
* 回填配置
|
|
161
|
+
* @defaultValue new FillBackBind()
|
|
162
|
+
* @public
|
|
163
|
+
*/ _define_property(_this, "fillBack", void 0), /**
|
|
164
|
+
* 展示已选明细
|
|
165
|
+
* @defaultValue false
|
|
166
|
+
* @public
|
|
167
|
+
*/ _define_property(_this, "showSelectedDetail", void 0), /**
|
|
168
|
+
* 是否使用选中行填充
|
|
169
|
+
* @defaultValue false
|
|
170
|
+
* @public
|
|
171
|
+
*/ _define_property(_this, "isSelectedRowFill", void 0), /**
|
|
172
|
+
* 展示已选内容配置字段
|
|
173
|
+
* @defaultValue new SelectedContentConfig()
|
|
174
|
+
* @public
|
|
175
|
+
*/ _define_property(_this, "selectedContentConfig", void 0);
|
|
176
|
+
_this.content = (_ref = props === null || props === void 0 ? void 0 : props.content) !== null && _ref !== void 0 ? _ref : ListSelectButtonControl.controlName;
|
|
177
|
+
_this.icon = (_ref1 = props === null || props === void 0 ? void 0 : props.icon) !== null && _ref1 !== void 0 ? _ref1 : ListSelectButtonControl.controlIcon;
|
|
151
178
|
_this.fillPayload = new FillPayloadBind(props === null || props === void 0 ? void 0 : props.fillPayload);
|
|
152
179
|
_this.listPageBind = new ListBind(props === null || props === void 0 ? void 0 : props.listPageBind);
|
|
153
180
|
_this.fillBack = new FillBackBind(props === null || props === void 0 ? void 0 : props.fillBack);
|
|
154
|
-
|
|
155
|
-
_this.showSelectedDetail = (_props_showSelectedDetail = props === null || props === void 0 ? void 0 : props.showSelectedDetail) !== null && _props_showSelectedDetail !== void 0 ? _props_showSelectedDetail : false;
|
|
181
|
+
_this.showSelectedDetail = (_ref2 = props === null || props === void 0 ? void 0 : props.showSelectedDetail) !== null && _ref2 !== void 0 ? _ref2 : false;
|
|
156
182
|
_this.selectedContentConfig = new SelectedContentConfig(props === null || props === void 0 ? void 0 : props.selectedContentConfig);
|
|
157
|
-
|
|
158
|
-
_this.
|
|
159
|
-
var _props_disableFilling;
|
|
160
|
-
_this.disableFilling = (_props_disableFilling = props === null || props === void 0 ? void 0 : props.disableFilling) !== null && _props_disableFilling !== void 0 ? _props_disableFilling : true;
|
|
183
|
+
_this.isSelectedRowFill = (_ref3 = props === null || props === void 0 ? void 0 : props.isSelectedRowFill) !== null && _ref3 !== void 0 ? _ref3 : false;
|
|
184
|
+
_this.disableFilling = (_ref4 = props === null || props === void 0 ? void 0 : props.disableFilling) !== null && _ref4 !== void 0 ? _ref4 : true;
|
|
161
185
|
return _this;
|
|
162
186
|
}
|
|
163
187
|
return ListSelectButtonProperty;
|
|
@@ -17,14 +17,14 @@
|
|
|
17
17
|
"defaultState": {
|
|
18
18
|
"type": "string",
|
|
19
19
|
"enum": [
|
|
20
|
-
"
|
|
21
|
-
"
|
|
20
|
+
"readonly",
|
|
21
|
+
"default"
|
|
22
22
|
],
|
|
23
23
|
"description": "默认状态;",
|
|
24
24
|
"default": "default",
|
|
25
25
|
"enumDescription": [
|
|
26
|
-
"
|
|
27
|
-
"
|
|
26
|
+
"只读",
|
|
27
|
+
"默认"
|
|
28
28
|
]
|
|
29
29
|
},
|
|
30
30
|
"content": {
|
|
@@ -129,6 +129,164 @@
|
|
|
129
129
|
"description": "操作项",
|
|
130
130
|
"default": "new OptObject({})"
|
|
131
131
|
},
|
|
132
|
+
"actionObj": {
|
|
133
|
+
"type": "object",
|
|
134
|
+
"properties": {
|
|
135
|
+
"actionCode": {
|
|
136
|
+
"type": "string",
|
|
137
|
+
"description": "行动编码",
|
|
138
|
+
"default": ""
|
|
139
|
+
},
|
|
140
|
+
"actionType": {
|
|
141
|
+
"type": "string",
|
|
142
|
+
"description": "行动类型",
|
|
143
|
+
"default": ""
|
|
144
|
+
},
|
|
145
|
+
"bizAction": {
|
|
146
|
+
"type": "object",
|
|
147
|
+
"properties": {
|
|
148
|
+
"serviceName": {
|
|
149
|
+
"type": "object",
|
|
150
|
+
"properties": {
|
|
151
|
+
"actionCode": {
|
|
152
|
+
"type": "string",
|
|
153
|
+
"description": "业务行动编码",
|
|
154
|
+
"default": ""
|
|
155
|
+
},
|
|
156
|
+
"dataCode": {
|
|
157
|
+
"type": "string",
|
|
158
|
+
"description": "数据编码",
|
|
159
|
+
"default": ""
|
|
160
|
+
},
|
|
161
|
+
"name": {
|
|
162
|
+
"type": "string",
|
|
163
|
+
"description": "名称",
|
|
164
|
+
"default": ""
|
|
165
|
+
},
|
|
166
|
+
"appName": {
|
|
167
|
+
"type": "string",
|
|
168
|
+
"description": "应用名称",
|
|
169
|
+
"default": ""
|
|
170
|
+
},
|
|
171
|
+
"dataName": {
|
|
172
|
+
"type": "string",
|
|
173
|
+
"description": "数据名称",
|
|
174
|
+
"default": ""
|
|
175
|
+
},
|
|
176
|
+
"actionName": {
|
|
177
|
+
"type": "string",
|
|
178
|
+
"description": "业务行动名称",
|
|
179
|
+
"default": ""
|
|
180
|
+
},
|
|
181
|
+
"displayName": {
|
|
182
|
+
"type": "string",
|
|
183
|
+
"description": "展示名称",
|
|
184
|
+
"default": ""
|
|
185
|
+
},
|
|
186
|
+
"svcTypeEnum": {
|
|
187
|
+
"type": "string",
|
|
188
|
+
"description": "服务类型",
|
|
189
|
+
"default": ""
|
|
190
|
+
}
|
|
191
|
+
},
|
|
192
|
+
"description": "服务信息",
|
|
193
|
+
"default": "new BizActionServiceName()"
|
|
194
|
+
},
|
|
195
|
+
"inputParam": {
|
|
196
|
+
"type": "array",
|
|
197
|
+
"items": {
|
|
198
|
+
"type": "object",
|
|
199
|
+
"properties": {
|
|
200
|
+
"id": {
|
|
201
|
+
"type": "string",
|
|
202
|
+
"description": "参数ID",
|
|
203
|
+
"default": ""
|
|
204
|
+
},
|
|
205
|
+
"name": {
|
|
206
|
+
"type": "string",
|
|
207
|
+
"description": "参数名称",
|
|
208
|
+
"default": ""
|
|
209
|
+
},
|
|
210
|
+
"required": {
|
|
211
|
+
"type": "boolean",
|
|
212
|
+
"description": "是否必填",
|
|
213
|
+
"default": false
|
|
214
|
+
},
|
|
215
|
+
"paramType": {
|
|
216
|
+
"type": "string",
|
|
217
|
+
"description": "参数类型",
|
|
218
|
+
"default": ""
|
|
219
|
+
},
|
|
220
|
+
"rightVariableBo": {
|
|
221
|
+
"type": "object",
|
|
222
|
+
"properties": {
|
|
223
|
+
"type": {
|
|
224
|
+
"type": "string",
|
|
225
|
+
"enum": [
|
|
226
|
+
"form",
|
|
227
|
+
"system",
|
|
228
|
+
"custom",
|
|
229
|
+
"gv"
|
|
230
|
+
],
|
|
231
|
+
"description": "变量类型",
|
|
232
|
+
"default": "custom",
|
|
233
|
+
"enumDescription": [
|
|
234
|
+
"form",
|
|
235
|
+
"system",
|
|
236
|
+
"custom",
|
|
237
|
+
"gv"
|
|
238
|
+
]
|
|
239
|
+
},
|
|
240
|
+
"value": {
|
|
241
|
+
"type": "array",
|
|
242
|
+
"items": {
|
|
243
|
+
"type": [
|
|
244
|
+
"string",
|
|
245
|
+
"integer"
|
|
246
|
+
]
|
|
247
|
+
},
|
|
248
|
+
"description": "变量值",
|
|
249
|
+
"default": []
|
|
250
|
+
},
|
|
251
|
+
"displayBos": {
|
|
252
|
+
"type": "array",
|
|
253
|
+
"items": {
|
|
254
|
+
"type": "object",
|
|
255
|
+
"additionalProperties": {}
|
|
256
|
+
},
|
|
257
|
+
"description": "展示对象",
|
|
258
|
+
"default": []
|
|
259
|
+
}
|
|
260
|
+
},
|
|
261
|
+
"description": "参数右值变量",
|
|
262
|
+
"default": "new BizActionRightVariable()"
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
},
|
|
266
|
+
"description": "入参列表",
|
|
267
|
+
"default": []
|
|
268
|
+
}
|
|
269
|
+
},
|
|
270
|
+
"description": "业务行动配置",
|
|
271
|
+
"default": "new BizActionObject()"
|
|
272
|
+
}
|
|
273
|
+
},
|
|
274
|
+
"description": "操作行动项",
|
|
275
|
+
"default": "new ActionObject({})"
|
|
276
|
+
},
|
|
277
|
+
"optButtonType": {
|
|
278
|
+
"type": "string",
|
|
279
|
+
"enum": [
|
|
280
|
+
"button",
|
|
281
|
+
"businessAction"
|
|
282
|
+
],
|
|
283
|
+
"description": "操作项按钮类型;",
|
|
284
|
+
"default": "button",
|
|
285
|
+
"enumDescription": [
|
|
286
|
+
"按钮操作项",
|
|
287
|
+
"业务行动操作"
|
|
288
|
+
]
|
|
289
|
+
},
|
|
132
290
|
"fillPayload": {
|
|
133
291
|
"type": "object",
|
|
134
292
|
"properties": {
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* name: rok_list_view_select
|
|
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_list_view_select
|
|
75
|
+
* description: 列表视图切换组件。用于在多个列表视图之间切换展示方式。支持下拉选择或页签切换模式,并可配置多组视图标题和显示字段,适合同一数据源下的多视角查看场景。
|
|
76
|
+
*/ import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
77
77
|
import { Property, PropertyRules, ViewOperationItem } from '@byteluck-fe/model-driven-core';
|
|
78
78
|
var ListViewSelectPropertyRules = /*#__PURE__*/ function(PropertyRules) {
|
|
79
79
|
"use strict";
|
|
@@ -118,16 +118,23 @@ var ListViewSelectProperty = /*#__PURE__*/ function(Property) {
|
|
|
118
118
|
function ListViewSelectProperty(props) {
|
|
119
119
|
_class_call_check(this, ListViewSelectProperty);
|
|
120
120
|
var _this;
|
|
121
|
+
var _ref, _ref1;
|
|
121
122
|
var _props_viewList;
|
|
122
123
|
_this = _call_super(this, ListViewSelectProperty, [
|
|
123
124
|
props
|
|
124
|
-
]),
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
125
|
+
]), /**
|
|
126
|
+
* 展示类型;取值:select:下拉选择;tabs:页签切换;
|
|
127
|
+
* @defaultValue 'select'
|
|
128
|
+
* @public
|
|
129
|
+
*/ _define_property(_this, "showType", void 0), /**
|
|
130
|
+
* 查看操作列表
|
|
131
|
+
* @defaultValue []
|
|
132
|
+
* @public
|
|
133
|
+
*/ _define_property(_this, "viewList", void 0);
|
|
134
|
+
_this.showType = (_ref = props === null || props === void 0 ? void 0 : props.showType) !== null && _ref !== void 0 ? _ref : 'select';
|
|
135
|
+
_this.viewList = (_ref1 = props === null || props === void 0 ? void 0 : (_props_viewList = props.viewList) === null || _props_viewList === void 0 ? void 0 : _props_viewList.map(function(item) {
|
|
129
136
|
return new ViewOperationItem(item);
|
|
130
|
-
})) !== null &&
|
|
137
|
+
})) !== null && _ref1 !== void 0 ? _ref1 : [];
|
|
131
138
|
return _this;
|
|
132
139
|
}
|
|
133
140
|
return ListViewSelectProperty;
|
|
@@ -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
|
"showType": {
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* name: rok_operation_button
|
|
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_operation_button
|
|
75
|
+
* description: 操作按钮组件。用于列表或页面中定义单条数据的编辑、查看、删除或自定义操作。支持命令类型、表单绑定、打开方式、确认提示、自定义参数、加载态和同步删除流程数据等能力。
|
|
76
|
+
*/ import { Property, PropertyRules } from '@byteluck-fe/model-driven-core';
|
|
77
77
|
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
78
78
|
var OperationButtonPropertyRules = /*#__PURE__*/ function(PropertyRules) {
|
|
79
79
|
"use strict";
|
|
@@ -104,29 +104,80 @@ var OperationButtonProperty = /*#__PURE__*/ function(Property) {
|
|
|
104
104
|
function OperationButtonProperty(props) {
|
|
105
105
|
_class_call_check(this, OperationButtonProperty);
|
|
106
106
|
var _this;
|
|
107
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5;
|
|
107
108
|
_this = _call_super(this, OperationButtonProperty, [
|
|
108
109
|
props
|
|
109
|
-
]),
|
|
110
|
-
|
|
111
|
-
|
|
110
|
+
]), /**
|
|
111
|
+
* 按钮内容
|
|
112
|
+
* @defaultValue '按钮'
|
|
113
|
+
* @public
|
|
114
|
+
*/ _define_property(_this, "content", void 0), /**
|
|
115
|
+
* 按钮代码
|
|
116
|
+
* @defaultValue undefined
|
|
117
|
+
* @public
|
|
118
|
+
*/ _define_property(_this, "code", void 0), /**
|
|
119
|
+
* 操作类型;取值:edit:编辑;view:查看;delete:删除;custom:自定义;
|
|
120
|
+
* @defaultValue 'custom'
|
|
121
|
+
* @public
|
|
122
|
+
*/ _define_property(_this, "command", void 0), /**
|
|
123
|
+
* 按钮颜色;取值:primary:主色;danger:危险;warning:警告;success:成功;info:信息;blue:蓝色;
|
|
124
|
+
* @defaultValue 'primary'
|
|
125
|
+
* @public
|
|
126
|
+
*/ _define_property(_this, "color", void 0), /**
|
|
127
|
+
* 按钮图标
|
|
128
|
+
* @defaultValue undefined
|
|
129
|
+
* @public
|
|
130
|
+
*/ _define_property(_this, "icon", void 0), /**
|
|
131
|
+
* 绑定表单
|
|
132
|
+
* @defaultValue undefined
|
|
133
|
+
* @public
|
|
134
|
+
*/ _define_property(_this, "formKey", void 0), /**
|
|
135
|
+
* 打开方式;取值:modal:弹窗;window:新窗口;dialog:对话框;tab:页签;
|
|
136
|
+
* @defaultValue undefined
|
|
137
|
+
* @public
|
|
138
|
+
*/ _define_property(_this, "openType", void 0), /**
|
|
139
|
+
* 是否需要确认
|
|
140
|
+
* @defaultValue undefined
|
|
141
|
+
* @public
|
|
142
|
+
*/ _define_property(_this, "needConfirm", void 0), /**
|
|
143
|
+
* 确认消息
|
|
144
|
+
* @defaultValue undefined
|
|
145
|
+
* @public
|
|
146
|
+
*/ _define_property(_this, "confirmMessage", void 0), /**
|
|
147
|
+
* 自定义参数
|
|
148
|
+
* @defaultValue undefined
|
|
149
|
+
* @public
|
|
150
|
+
*/ _define_property(_this, "options", void 0), /**
|
|
151
|
+
* 默认状态;取值:default:默认;readonly:只读;
|
|
152
|
+
* @defaultValue 'default'
|
|
153
|
+
* @public
|
|
154
|
+
*/ _define_property(_this, "defaultState", void 0), /**
|
|
155
|
+
* 优先访问流程列表
|
|
156
|
+
* @defaultValue undefined
|
|
157
|
+
* @public
|
|
158
|
+
*/ _define_property(_this, "priorityProcess", void 0), /**
|
|
159
|
+
* 是否加载中
|
|
160
|
+
* @defaultValue false
|
|
161
|
+
* @public
|
|
162
|
+
*/ _define_property(_this, "isLoading", void 0), /**
|
|
163
|
+
* 是否同步删除流程数据
|
|
164
|
+
* @defaultValue false
|
|
165
|
+
* @public
|
|
166
|
+
*/ _define_property(_this, "isSyncDelete", void 0);
|
|
167
|
+
_this.content = (_ref = props === null || props === void 0 ? void 0 : props.content) !== null && _ref !== void 0 ? _ref : getLocaleText('CMD.button', null, '按钮');
|
|
112
168
|
_this.code = props === null || props === void 0 ? void 0 : props.code;
|
|
113
|
-
|
|
114
|
-
_this.
|
|
115
|
-
var _props_color;
|
|
116
|
-
_this.color = (_props_color = props === null || props === void 0 ? void 0 : props.color) !== null && _props_color !== void 0 ? _props_color : 'primary';
|
|
169
|
+
_this.command = (_ref1 = props === null || props === void 0 ? void 0 : props.command) !== null && _ref1 !== void 0 ? _ref1 : 'custom';
|
|
170
|
+
_this.color = (_ref2 = props === null || props === void 0 ? void 0 : props.color) !== null && _ref2 !== void 0 ? _ref2 : 'primary';
|
|
117
171
|
_this.icon = props === null || props === void 0 ? void 0 : props.icon;
|
|
118
172
|
_this.formKey = props === null || props === void 0 ? void 0 : props.formKey;
|
|
119
173
|
_this.openType = props === null || props === void 0 ? void 0 : props.openType;
|
|
120
174
|
_this.needConfirm = props === null || props === void 0 ? void 0 : props.needConfirm;
|
|
121
175
|
_this.confirmMessage = props === null || props === void 0 ? void 0 : props.confirmMessage;
|
|
122
176
|
_this.options = props === null || props === void 0 ? void 0 : props.options;
|
|
123
|
-
|
|
124
|
-
_this.defaultState = (_props_defaultState = props === null || props === void 0 ? void 0 : props.defaultState) !== null && _props_defaultState !== void 0 ? _props_defaultState : 'default';
|
|
177
|
+
_this.defaultState = (_ref3 = props === null || props === void 0 ? void 0 : props.defaultState) !== null && _ref3 !== void 0 ? _ref3 : 'default';
|
|
125
178
|
_this.priorityProcess = props === null || props === void 0 ? void 0 : props.priorityProcess;
|
|
126
|
-
|
|
127
|
-
_this.
|
|
128
|
-
var _props_isSyncDelete;
|
|
129
|
-
_this.isSyncDelete = (_props_isSyncDelete = props === null || props === void 0 ? void 0 : props.isSyncDelete) !== null && _props_isSyncDelete !== void 0 ? _props_isSyncDelete : false;
|
|
179
|
+
_this.isLoading = (_ref4 = props === null || props === void 0 ? void 0 : props.isLoading) !== null && _ref4 !== void 0 ? _ref4 : false;
|
|
180
|
+
_this.isSyncDelete = (_ref5 = props === null || props === void 0 ? void 0 : props.isSyncDelete) !== null && _ref5 !== void 0 ? _ref5 : false;
|
|
130
181
|
return _this;
|
|
131
182
|
}
|
|
132
183
|
return OperationButtonProperty;
|
|
@@ -17,14 +17,14 @@
|
|
|
17
17
|
"defaultState": {
|
|
18
18
|
"type": "string",
|
|
19
19
|
"enum": [
|
|
20
|
-
"
|
|
21
|
-
"
|
|
20
|
+
"readonly",
|
|
21
|
+
"default"
|
|
22
22
|
],
|
|
23
23
|
"description": "默认状态;",
|
|
24
24
|
"default": "default",
|
|
25
25
|
"enumDescription": [
|
|
26
|
-
"
|
|
27
|
-
"
|
|
26
|
+
"只读",
|
|
27
|
+
"默认"
|
|
28
28
|
]
|
|
29
29
|
},
|
|
30
30
|
"content": {
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* name: rok_pagination
|
|
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_pagination
|
|
75
|
+
* description: 分页组件。用于列表或数据展示场景进行分页导航与页码切换。适合作为标准分页容器配置项,为大数据量列表提供分段浏览能力。
|
|
76
|
+
*/ import { Property, PropertyRules, PropertyRuntimeRules } from '@byteluck-fe/model-driven-core';
|
|
77
77
|
var PaginationPropertyRules = /*#__PURE__*/ function(PropertyRules) {
|
|
78
78
|
"use strict";
|
|
79
79
|
_inherits(PaginationPropertyRules, PropertyRules);
|