@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
|
@@ -9,6 +9,14 @@
|
|
|
9
9
|
"description": "是否隐藏",
|
|
10
10
|
"default": false
|
|
11
11
|
},
|
|
12
|
+
"className": {
|
|
13
|
+
"type": "array",
|
|
14
|
+
"items": {
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
"description": "样式类",
|
|
18
|
+
"default": []
|
|
19
|
+
},
|
|
12
20
|
"caption": {
|
|
13
21
|
"type": "string",
|
|
14
22
|
"description": "标题",
|
|
@@ -17,14 +25,14 @@
|
|
|
17
25
|
"defaultState": {
|
|
18
26
|
"type": "string",
|
|
19
27
|
"enum": [
|
|
20
|
-
"
|
|
21
|
-
"
|
|
28
|
+
"readonly",
|
|
29
|
+
"default"
|
|
22
30
|
],
|
|
23
31
|
"description": "默认状态",
|
|
24
32
|
"default": "default",
|
|
25
33
|
"enumDescription": [
|
|
26
|
-
"
|
|
27
|
-
"
|
|
34
|
+
"readonly",
|
|
35
|
+
"default"
|
|
28
36
|
]
|
|
29
37
|
},
|
|
30
38
|
"captionSize": {
|
|
@@ -42,6 +50,21 @@
|
|
|
42
50
|
"description": "标题斜体",
|
|
43
51
|
"default": false
|
|
44
52
|
},
|
|
53
|
+
"captionFontWeight": {
|
|
54
|
+
"type": "string",
|
|
55
|
+
"enum": [
|
|
56
|
+
"normal",
|
|
57
|
+
"bold",
|
|
58
|
+
"lighter"
|
|
59
|
+
],
|
|
60
|
+
"description": "标题字重;",
|
|
61
|
+
"default": "normal",
|
|
62
|
+
"enumDescription": [
|
|
63
|
+
"常规",
|
|
64
|
+
"粗体",
|
|
65
|
+
"更细"
|
|
66
|
+
]
|
|
67
|
+
},
|
|
45
68
|
"isHideCaption": {
|
|
46
69
|
"type": "boolean",
|
|
47
70
|
"description": "隐藏标题",
|
|
@@ -159,42 +159,87 @@ var NumberProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
159
159
|
function NumberProperty(props) {
|
|
160
160
|
_class_call_check(this, NumberProperty);
|
|
161
161
|
var _this;
|
|
162
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11, _ref12, _ref13, _ref14, _ref15;
|
|
162
163
|
_this = _call_super(this, NumberProperty, [
|
|
163
164
|
props
|
|
164
|
-
]),
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
165
|
+
]), /**
|
|
166
|
+
* 最小值
|
|
167
|
+
* @defaultValue ''
|
|
168
|
+
* @public
|
|
169
|
+
*/ _define_property(_this, "rangeMin", void 0), /**
|
|
170
|
+
* 最大值
|
|
171
|
+
* @defaultValue ''
|
|
172
|
+
* @public
|
|
173
|
+
*/ _define_property(_this, "rangeMax", void 0), /**
|
|
174
|
+
* 类型 (数值number/百分比percentage)
|
|
175
|
+
* @defaultValue 'number'
|
|
176
|
+
* @public
|
|
177
|
+
*/ _define_property(_this, "numberType", void 0), /**
|
|
178
|
+
* 百分比格式化
|
|
179
|
+
* @defaultValue false
|
|
180
|
+
* @public
|
|
181
|
+
*/ _define_property(_this, "percentageFormat", void 0), /**
|
|
182
|
+
* 千分位展示
|
|
183
|
+
* @defaultValue false
|
|
184
|
+
* @public
|
|
185
|
+
*/ _define_property(_this, "micrometer", void 0), /**
|
|
186
|
+
* 小数位数
|
|
187
|
+
* @defaultValue 0
|
|
188
|
+
* @public
|
|
189
|
+
*/ _define_property(_this, "precision", void 0), /**
|
|
190
|
+
* 显示大写数字
|
|
191
|
+
* @defaultValue false
|
|
192
|
+
* @public
|
|
193
|
+
*/ _define_property(_this, "showUpperCase", void 0), /**
|
|
194
|
+
* 是否勾选单位
|
|
195
|
+
* @defaultValue false
|
|
196
|
+
* @public
|
|
197
|
+
*/ _define_property(_this, "isShowUnit", void 0), /**
|
|
198
|
+
* 单位位置 left right align-right
|
|
199
|
+
* @defaultValue 'right'
|
|
200
|
+
* @public
|
|
201
|
+
*/ _define_property(_this, "unitPosition", void 0), /**
|
|
202
|
+
* 自定义单位
|
|
203
|
+
* @defaultValue ''
|
|
204
|
+
* @public
|
|
205
|
+
*/ _define_property(_this, "unit", void 0), /**
|
|
206
|
+
* 默认值
|
|
207
|
+
* @defaultValue ''
|
|
208
|
+
* @public
|
|
209
|
+
*/ _define_property(_this, "defaultValue", void 0), /**
|
|
210
|
+
* 正则校验
|
|
211
|
+
* @defaultValue new RegularRules()
|
|
212
|
+
* @public
|
|
213
|
+
*/ _define_property(_this, "regularRules", void 0), /**
|
|
214
|
+
* 是否使用控制按钮
|
|
215
|
+
* @defaultValue false
|
|
216
|
+
* @public
|
|
217
|
+
*/ _define_property(_this, "isShowControlButton", void 0), /**
|
|
218
|
+
* 控制按钮位置;between:两端;right:右侧;
|
|
219
|
+
* @defaultValue 'between'
|
|
220
|
+
* @public
|
|
221
|
+
*/ _define_property(_this, "controlButtonPosition", void 0), /**
|
|
222
|
+
* 步长
|
|
223
|
+
* @defaultValue 1
|
|
224
|
+
* @public
|
|
225
|
+
*/ _define_property(_this, "step", void 0);
|
|
226
|
+
_this.rangeMin = (_ref = props === null || props === void 0 ? void 0 : props.rangeMin) !== null && _ref !== void 0 ? _ref : '';
|
|
227
|
+
_this.rangeMax = (_ref1 = props === null || props === void 0 ? void 0 : props.rangeMax) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
228
|
+
_this.numberType = (_ref2 = props === null || props === void 0 ? void 0 : props.numberType) !== null && _ref2 !== void 0 ? _ref2 : 'number';
|
|
229
|
+
_this.percentageFormat = (_ref3 = props === null || props === void 0 ? void 0 : props.percentageFormat) !== null && _ref3 !== void 0 ? _ref3 : false;
|
|
230
|
+
_this.micrometer = (_ref4 = props === null || props === void 0 ? void 0 : props.micrometer) !== null && _ref4 !== void 0 ? _ref4 : false;
|
|
231
|
+
_this.precision = (_ref5 = props === null || props === void 0 ? void 0 : props.precision) !== null && _ref5 !== void 0 ? _ref5 : 0;
|
|
232
|
+
_this.showUpperCase = (_ref6 = props === null || props === void 0 ? void 0 : props.showUpperCase) !== null && _ref6 !== void 0 ? _ref6 : false;
|
|
233
|
+
_this.isShowUnit = (_ref7 = props === null || props === void 0 ? void 0 : props.isShowUnit) !== null && _ref7 !== void 0 ? _ref7 : false;
|
|
234
|
+
_this.unitPosition = (_ref8 = props === null || props === void 0 ? void 0 : props.unitPosition) !== null && _ref8 !== void 0 ? _ref8 : 'right';
|
|
235
|
+
_this.unit = (_ref9 = props === null || props === void 0 ? void 0 : props.unit) !== null && _ref9 !== void 0 ? _ref9 : '';
|
|
236
|
+
_this.caption = (_ref10 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref10 !== void 0 ? _ref10 : NumberControl.controlName;
|
|
237
|
+
_this.placeholder = (_ref11 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _ref11 !== void 0 ? _ref11 : getLocaleText('CMD.pleaseEnter', null, '请输入');
|
|
238
|
+
_this.defaultValue = (_ref12 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref12 !== void 0 ? _ref12 : '';
|
|
191
239
|
_this.regularRules = new RegularRules(props === null || props === void 0 ? void 0 : props.regularRules);
|
|
192
|
-
|
|
193
|
-
_this.
|
|
194
|
-
|
|
195
|
-
_this.controlButtonPosition = (_props_controlButtonPosition = props === null || props === void 0 ? void 0 : props.controlButtonPosition) !== null && _props_controlButtonPosition !== void 0 ? _props_controlButtonPosition : 'between';
|
|
196
|
-
var _props_step;
|
|
197
|
-
_this.step = (_props_step = props === null || props === void 0 ? void 0 : props.step) !== null && _props_step !== void 0 ? _props_step : 1;
|
|
240
|
+
_this.isShowControlButton = (_ref13 = props === null || props === void 0 ? void 0 : props.isShowControlButton) !== null && _ref13 !== void 0 ? _ref13 : false;
|
|
241
|
+
_this.controlButtonPosition = (_ref14 = props === null || props === void 0 ? void 0 : props.controlButtonPosition) !== null && _ref14 !== void 0 ? _ref14 : 'between';
|
|
242
|
+
_this.step = (_ref15 = props === null || props === void 0 ? void 0 : props.step) !== null && _ref15 !== void 0 ? _ref15 : 1;
|
|
198
243
|
return _this;
|
|
199
244
|
}
|
|
200
245
|
return NumberProperty;
|
|
@@ -9,6 +9,14 @@
|
|
|
9
9
|
"description": "是否隐藏",
|
|
10
10
|
"default": false
|
|
11
11
|
},
|
|
12
|
+
"className": {
|
|
13
|
+
"type": "array",
|
|
14
|
+
"items": {
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
"description": "样式类",
|
|
18
|
+
"default": []
|
|
19
|
+
},
|
|
12
20
|
"caption": {
|
|
13
21
|
"type": "string",
|
|
14
22
|
"description": "标题",
|
|
@@ -17,14 +25,14 @@
|
|
|
17
25
|
"defaultState": {
|
|
18
26
|
"type": "string",
|
|
19
27
|
"enum": [
|
|
20
|
-
"
|
|
21
|
-
"
|
|
28
|
+
"readonly",
|
|
29
|
+
"default"
|
|
22
30
|
],
|
|
23
31
|
"description": "默认状态",
|
|
24
32
|
"default": "default",
|
|
25
33
|
"enumDescription": [
|
|
26
|
-
"
|
|
27
|
-
"
|
|
34
|
+
"readonly",
|
|
35
|
+
"default"
|
|
28
36
|
]
|
|
29
37
|
},
|
|
30
38
|
"captionSize": {
|
|
@@ -42,6 +50,21 @@
|
|
|
42
50
|
"description": "标题斜体",
|
|
43
51
|
"default": false
|
|
44
52
|
},
|
|
53
|
+
"captionFontWeight": {
|
|
54
|
+
"type": "string",
|
|
55
|
+
"enum": [
|
|
56
|
+
"normal",
|
|
57
|
+
"bold",
|
|
58
|
+
"lighter"
|
|
59
|
+
],
|
|
60
|
+
"description": "标题字重;",
|
|
61
|
+
"default": "normal",
|
|
62
|
+
"enumDescription": [
|
|
63
|
+
"常规",
|
|
64
|
+
"粗体",
|
|
65
|
+
"更细"
|
|
66
|
+
]
|
|
67
|
+
},
|
|
45
68
|
"isHideCaption": {
|
|
46
69
|
"type": "boolean",
|
|
47
70
|
"description": "隐藏标题",
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* name: rok_organization_selection
|
|
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_organization_selection
|
|
75
|
+
* description: 组织选择组件,用于选择组织单元并展示已选明细。适合组织归属、业务协同等场景,支持组织视图、数据源绑定、列表页联动、多级填充和已选内容配置。
|
|
76
|
+
*/ import OrganizationSelectionControl from './designer';
|
|
77
77
|
import { BaseControlProperty, BaseControlPropertyRules, BaseControlPropertyRuntimeRules, initSuperDataSourceRules, MultistageFillingItem, SelectedContentConfig, OrganizationDataSourceBind, ListBind } from '@byteluck-fe/model-driven-core';
|
|
78
78
|
import { DepartmentType, AssignType } from '../../framework';
|
|
79
79
|
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
@@ -127,49 +127,108 @@ var OrganizationSelectionProperty = /*#__PURE__*/ function(BaseControlProperty)
|
|
|
127
127
|
function OrganizationSelectionProperty(props) {
|
|
128
128
|
_class_call_check(this, OrganizationSelectionProperty);
|
|
129
129
|
var _this;
|
|
130
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11, _ref12, _ref13, _ref14, _ref15, _ref16, _ref17;
|
|
130
131
|
_this = _call_super(this, OrganizationSelectionProperty, [
|
|
131
132
|
props
|
|
132
|
-
]),
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
133
|
+
]), /**
|
|
134
|
+
* 展示类型;取值:default:默认;tree:树状;
|
|
135
|
+
* @defaultValue 'default'
|
|
136
|
+
* @public
|
|
137
|
+
*/ _define_property(_this, "showType", void 0), /**
|
|
138
|
+
* 部门范围;取值:all:全部;assign:指定;
|
|
139
|
+
* @defaultValue 'all'
|
|
140
|
+
* @public
|
|
141
|
+
*/ _define_property(_this, "range", void 0), /**
|
|
142
|
+
* 默认值类型:无 / 表单发起人部门 / 指定部门;取值:current:表单发起人部门;assigned:指定部门;none:无;
|
|
143
|
+
* @defaultValue 'none'
|
|
144
|
+
* @public
|
|
145
|
+
*/ _define_property(_this, "defaultValueType", void 0), /**
|
|
146
|
+
* 部门多选
|
|
147
|
+
* @defaultValue false
|
|
148
|
+
* @public
|
|
149
|
+
*/ _define_property(_this, "multiple", void 0), /**
|
|
150
|
+
* 指定部门范围
|
|
151
|
+
* @defaultValue []
|
|
152
|
+
* @public
|
|
153
|
+
*/ _define_property(_this, "rangeOptions", void 0), /**
|
|
154
|
+
* 默认值
|
|
155
|
+
* @defaultValue []
|
|
156
|
+
* @public
|
|
157
|
+
*/ _define_property(_this, "defaultValue", void 0), /**
|
|
158
|
+
* 部门显示层级
|
|
159
|
+
* @defaultValue 1
|
|
160
|
+
* @public
|
|
161
|
+
*/ _define_property(_this, "displayLevel", void 0), /**
|
|
162
|
+
* 是否展示子部门
|
|
163
|
+
* @defaultValue true
|
|
164
|
+
* @public
|
|
165
|
+
*/ _define_property(_this, "showSubDept", void 0), /**
|
|
166
|
+
* 多级填充
|
|
167
|
+
* @defaultValue []
|
|
168
|
+
* @public
|
|
169
|
+
*/ _define_property(_this, "multistageFilling", void 0), /**
|
|
170
|
+
* 数据设置
|
|
171
|
+
* @defaultValue new OrganizationDataSourceBind({ attributes: OrganizationSelectionControl.controlCustomAttributes })
|
|
172
|
+
* @public
|
|
173
|
+
*/ _define_property(_this, "datasourceBind", void 0), /**
|
|
174
|
+
* 绑定列表页
|
|
175
|
+
* @defaultValue new ListBind()
|
|
176
|
+
* @public
|
|
177
|
+
*/ _define_property(_this, "listPageBind", void 0), /**
|
|
178
|
+
* 数据源类型;取值:INTERNAL:行政;BUSINESS:业务;INTERNAL_BUSINESS:行政和业务;
|
|
179
|
+
* @defaultValue 'INTERNAL'
|
|
180
|
+
* @public
|
|
181
|
+
*/ _define_property(_this, "datasourceType", void 0), /**
|
|
182
|
+
* 业务部门类型;取值:all:全部;assign:指定;
|
|
183
|
+
* @defaultValue 'all'
|
|
184
|
+
* @public
|
|
185
|
+
*/ _define_property(_this, "businessType", void 0), /**
|
|
186
|
+
* 业务部门范围
|
|
187
|
+
* @defaultValue []
|
|
188
|
+
* @public
|
|
189
|
+
*/ _define_property(_this, "businessScope", void 0), /**
|
|
190
|
+
* 组织职能
|
|
191
|
+
* @defaultValue undefined
|
|
192
|
+
* @public
|
|
193
|
+
*/ _define_property(_this, "organizingFunction", void 0), /**
|
|
194
|
+
* 组织视图
|
|
195
|
+
* @defaultValue undefined
|
|
196
|
+
* @public
|
|
197
|
+
*/ _define_property(_this, "organizationView", void 0), /**
|
|
198
|
+
* 是否开启填充
|
|
199
|
+
* @defaultValue false
|
|
200
|
+
* @public
|
|
201
|
+
*/ _define_property(_this, "openMultistageFilling", void 0), /**
|
|
202
|
+
* 展示已选明细
|
|
203
|
+
* @defaultValue false
|
|
204
|
+
* @public
|
|
205
|
+
*/ _define_property(_this, "showSelectedDetail", void 0), /**
|
|
206
|
+
* 展示已选内容配置字段
|
|
207
|
+
* @defaultValue new SelectedContentConfig()
|
|
208
|
+
* @public
|
|
209
|
+
*/ _define_property(_this, "selectedContentConfig", void 0);
|
|
210
|
+
_this.showType = (_ref = props === null || props === void 0 ? void 0 : props.showType) !== null && _ref !== void 0 ? _ref : 'default';
|
|
211
|
+
_this.multiple = (_ref1 = props === null || props === void 0 ? void 0 : props.multiple) !== null && _ref1 !== void 0 ? _ref1 : false;
|
|
212
|
+
_this.range = (_ref2 = props === null || props === void 0 ? void 0 : props.range) !== null && _ref2 !== void 0 ? _ref2 : 'all';
|
|
139
213
|
_this.listPageBind = new ListBind(props === null || props === void 0 ? void 0 : props.listPageBind);
|
|
140
|
-
|
|
141
|
-
_this.
|
|
142
|
-
|
|
143
|
-
_this.
|
|
144
|
-
|
|
145
|
-
_this.
|
|
146
|
-
|
|
147
|
-
_this.
|
|
148
|
-
var _props_showSubDept;
|
|
149
|
-
_this.showSubDept = (_props_showSubDept = props === null || props === void 0 ? void 0 : props.showSubDept) !== null && _props_showSubDept !== void 0 ? _props_showSubDept : true;
|
|
150
|
-
var _props_caption;
|
|
151
|
-
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : OrganizationSelectionControl.controlName;
|
|
152
|
-
var _props_placeholder;
|
|
153
|
-
_this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : getLocaleText('CMD.pleaseSelectOrg', null, '请选择组织');
|
|
154
|
-
var _props_datasourceBind;
|
|
155
|
-
_this.datasourceBind = new OrganizationDataSourceBind((_props_datasourceBind = props === null || props === void 0 ? void 0 : props.datasourceBind) !== null && _props_datasourceBind !== void 0 ? _props_datasourceBind : {
|
|
214
|
+
_this.defaultValueType = (_ref3 = props === null || props === void 0 ? void 0 : props.defaultValueType) !== null && _ref3 !== void 0 ? _ref3 : 'none';
|
|
215
|
+
_this.rangeOptions = (_ref4 = props === null || props === void 0 ? void 0 : props.rangeOptions) !== null && _ref4 !== void 0 ? _ref4 : [];
|
|
216
|
+
_this.defaultValue = (_ref5 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref5 !== void 0 ? _ref5 : [];
|
|
217
|
+
_this.displayLevel = (_ref6 = props === null || props === void 0 ? void 0 : props.displayLevel) !== null && _ref6 !== void 0 ? _ref6 : 1;
|
|
218
|
+
_this.showSubDept = (_ref7 = props === null || props === void 0 ? void 0 : props.showSubDept) !== null && _ref7 !== void 0 ? _ref7 : true;
|
|
219
|
+
_this.caption = (_ref8 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref8 !== void 0 ? _ref8 : OrganizationSelectionControl.controlName;
|
|
220
|
+
_this.placeholder = (_ref9 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _ref9 !== void 0 ? _ref9 : getLocaleText('CMD.pleaseSelectOrg', null, '请选择组织');
|
|
221
|
+
_this.datasourceBind = new OrganizationDataSourceBind((_ref10 = props === null || props === void 0 ? void 0 : props.datasourceBind) !== null && _ref10 !== void 0 ? _ref10 : {
|
|
156
222
|
attributes: OrganizationSelectionControl.controlCustomAttributes
|
|
157
223
|
});
|
|
158
|
-
|
|
159
|
-
_this.
|
|
160
|
-
|
|
161
|
-
_this.
|
|
162
|
-
|
|
163
|
-
_this.
|
|
164
|
-
var _props_organizingFunction;
|
|
165
|
-
_this.organizingFunction = (_props_organizingFunction = props === null || props === void 0 ? void 0 : props.organizingFunction) !== null && _props_organizingFunction !== void 0 ? _props_organizingFunction : undefined;
|
|
166
|
-
var _props_organizationView;
|
|
167
|
-
_this.organizationView = (_props_organizationView = props === null || props === void 0 ? void 0 : props.organizationView) !== null && _props_organizationView !== void 0 ? _props_organizationView : undefined;
|
|
168
|
-
var _props_showSelectedDetail;
|
|
169
|
-
_this.showSelectedDetail = (_props_showSelectedDetail = props === null || props === void 0 ? void 0 : props.showSelectedDetail) !== null && _props_showSelectedDetail !== void 0 ? _props_showSelectedDetail : false;
|
|
224
|
+
_this.datasourceType = (_ref11 = props === null || props === void 0 ? void 0 : props.datasourceType) !== null && _ref11 !== void 0 ? _ref11 : DepartmentType.INTERNAL;
|
|
225
|
+
_this.businessScope = (_ref12 = props === null || props === void 0 ? void 0 : props.businessScope) !== null && _ref12 !== void 0 ? _ref12 : [];
|
|
226
|
+
_this.businessType = (_ref13 = props === null || props === void 0 ? void 0 : props.businessType) !== null && _ref13 !== void 0 ? _ref13 : AssignType.ALL;
|
|
227
|
+
_this.organizingFunction = (_ref14 = props === null || props === void 0 ? void 0 : props.organizingFunction) !== null && _ref14 !== void 0 ? _ref14 : undefined;
|
|
228
|
+
_this.organizationView = (_ref15 = props === null || props === void 0 ? void 0 : props.organizationView) !== null && _ref15 !== void 0 ? _ref15 : undefined;
|
|
229
|
+
_this.showSelectedDetail = (_ref16 = props === null || props === void 0 ? void 0 : props.showSelectedDetail) !== null && _ref16 !== void 0 ? _ref16 : false;
|
|
170
230
|
_this.selectedContentConfig = new SelectedContentConfig(props === null || props === void 0 ? void 0 : props.selectedContentConfig);
|
|
171
|
-
|
|
172
|
-
_this.openMultistageFilling = (_props_openMultistageFilling = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
|
|
231
|
+
_this.openMultistageFilling = (_ref17 = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _ref17 !== void 0 ? _ref17 : false;
|
|
173
232
|
_this.multistageFilling = [];
|
|
174
233
|
if (Array.isArray(props === null || props === void 0 ? void 0 : props.multistageFilling)) {
|
|
175
234
|
props === null || props === void 0 ? void 0 : props.multistageFilling.map(function(item) {
|
|
@@ -9,6 +9,14 @@
|
|
|
9
9
|
"description": "是否隐藏",
|
|
10
10
|
"default": false
|
|
11
11
|
},
|
|
12
|
+
"className": {
|
|
13
|
+
"type": "array",
|
|
14
|
+
"items": {
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
"description": "样式类",
|
|
18
|
+
"default": []
|
|
19
|
+
},
|
|
12
20
|
"caption": {
|
|
13
21
|
"type": "string",
|
|
14
22
|
"description": "标题",
|
|
@@ -17,14 +25,14 @@
|
|
|
17
25
|
"defaultState": {
|
|
18
26
|
"type": "string",
|
|
19
27
|
"enum": [
|
|
20
|
-
"
|
|
21
|
-
"
|
|
28
|
+
"readonly",
|
|
29
|
+
"default"
|
|
22
30
|
],
|
|
23
31
|
"description": "默认状态",
|
|
24
32
|
"default": "default",
|
|
25
33
|
"enumDescription": [
|
|
26
|
-
"
|
|
27
|
-
"
|
|
34
|
+
"readonly",
|
|
35
|
+
"default"
|
|
28
36
|
]
|
|
29
37
|
},
|
|
30
38
|
"captionSize": {
|
|
@@ -42,6 +50,21 @@
|
|
|
42
50
|
"description": "标题斜体",
|
|
43
51
|
"default": false
|
|
44
52
|
},
|
|
53
|
+
"captionFontWeight": {
|
|
54
|
+
"type": "string",
|
|
55
|
+
"enum": [
|
|
56
|
+
"normal",
|
|
57
|
+
"bold",
|
|
58
|
+
"lighter"
|
|
59
|
+
],
|
|
60
|
+
"description": "标题字重;",
|
|
61
|
+
"default": "normal",
|
|
62
|
+
"enumDescription": [
|
|
63
|
+
"常规",
|
|
64
|
+
"粗体",
|
|
65
|
+
"更细"
|
|
66
|
+
]
|
|
67
|
+
},
|
|
45
68
|
"isHideCaption": {
|
|
46
69
|
"type": "boolean",
|
|
47
70
|
"description": "隐藏标题",
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* name: rok_qr_code
|
|
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_qr_code
|
|
75
|
+
* description: 二维码组件,用于展示或绑定二维码内容。支持尺寸、边距、码点颜色与对齐方式配置,适合链接、单据追溯等场景。
|
|
76
|
+
*/ import QrCodeControl from './designer';
|
|
77
77
|
import { BaseControlProperty, BaseControlPropertyRules, BaseControlPropertyRuntimeRules } from '@byteluck-fe/model-driven-core';
|
|
78
78
|
var QrCodePropertyRules = /*#__PURE__*/ function(BaseControlPropertyRules) {
|
|
79
79
|
"use strict";
|
|
@@ -108,27 +108,51 @@ var QrCodeProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
108
108
|
function QrCodeProperty(props) {
|
|
109
109
|
_class_call_check(this, QrCodeProperty);
|
|
110
110
|
var _this;
|
|
111
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8;
|
|
111
112
|
_this = _call_super(this, QrCodeProperty, [
|
|
112
113
|
props
|
|
113
|
-
]),
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
114
|
+
]), /**
|
|
115
|
+
* 默认值
|
|
116
|
+
* @defaultValue ''
|
|
117
|
+
* @public
|
|
118
|
+
*/ _define_property(_this, "defaultValue", void 0), /**
|
|
119
|
+
* 二维码版本;取值:auto:自动;1~40:V1~V40;
|
|
120
|
+
* @defaultValue 'auto'
|
|
121
|
+
* @public
|
|
122
|
+
*/ _define_property(_this, "qrVersion", void 0), /**
|
|
123
|
+
* 容错级别;取值:L:低(约7%);M:中(约15%);Q:高(约25%);H:最高(约30%);
|
|
124
|
+
* @defaultValue 'M'
|
|
125
|
+
* @public
|
|
126
|
+
*/ _define_property(_this, "errorCorrectionLevel", void 0), /**
|
|
127
|
+
* 码制;取值:qrCode:QR Code;hanxinCode:汉信码;pdf417:PDF417;dataMatrix:Data Matrix;
|
|
128
|
+
* @defaultValue 'qrCode'
|
|
129
|
+
* @public
|
|
130
|
+
*/ _define_property(_this, "codeMode", void 0), /**
|
|
131
|
+
* 尺寸;单位 px
|
|
132
|
+
* @defaultValue 160
|
|
133
|
+
* @public
|
|
134
|
+
*/ _define_property(_this, "size", void 0), /**
|
|
135
|
+
* 边距;单位 px
|
|
136
|
+
* @defaultValue 0
|
|
137
|
+
* @public
|
|
138
|
+
*/ _define_property(_this, "codeMargin", void 0), /**
|
|
139
|
+
* 二维码颜色;取值:#000000:纯黑;#001F3F:深海军蓝;#004225:深森林绿;#4A0404:深酒红;#2F2F2F:深炭灰;#1A237E:深靛青;
|
|
140
|
+
* @defaultValue '#000000'
|
|
141
|
+
* @public
|
|
142
|
+
*/ _define_property(_this, "qrColor", void 0), /**
|
|
143
|
+
* 对齐;取值:left:左对齐;center:居中;right:右对齐;
|
|
144
|
+
* @defaultValue 'left'
|
|
145
|
+
* @public
|
|
146
|
+
*/ _define_property(_this, "align", void 0);
|
|
147
|
+
_this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : QrCodeControl.controlName;
|
|
148
|
+
_this.defaultValue = (_ref1 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
149
|
+
_this.qrVersion = (_ref2 = props === null || props === void 0 ? void 0 : props.qrVersion) !== null && _ref2 !== void 0 ? _ref2 : 'auto';
|
|
150
|
+
_this.errorCorrectionLevel = (_ref3 = props === null || props === void 0 ? void 0 : props.errorCorrectionLevel) !== null && _ref3 !== void 0 ? _ref3 : 'M';
|
|
151
|
+
_this.codeMode = (_ref4 = props === null || props === void 0 ? void 0 : props.codeMode) !== null && _ref4 !== void 0 ? _ref4 : 'qrCode';
|
|
152
|
+
_this.size = (_ref5 = props === null || props === void 0 ? void 0 : props.size) !== null && _ref5 !== void 0 ? _ref5 : 160;
|
|
153
|
+
_this.codeMargin = (_ref6 = props === null || props === void 0 ? void 0 : props.codeMargin) !== null && _ref6 !== void 0 ? _ref6 : 0;
|
|
154
|
+
_this.qrColor = (_ref7 = props === null || props === void 0 ? void 0 : props.qrColor) !== null && _ref7 !== void 0 ? _ref7 : '#000000';
|
|
155
|
+
_this.align = (_ref8 = props === null || props === void 0 ? void 0 : props.align) !== null && _ref8 !== void 0 ? _ref8 : 'left';
|
|
132
156
|
return _this;
|
|
133
157
|
}
|
|
134
158
|
return QrCodeProperty;
|