@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": "隐藏标题",
|
|
@@ -195,46 +218,46 @@
|
|
|
195
218
|
"default": "auto",
|
|
196
219
|
"enumDescription": [
|
|
197
220
|
"自动",
|
|
198
|
-
"1
|
|
199
|
-
"2
|
|
200
|
-
"3
|
|
201
|
-
"4
|
|
202
|
-
"5
|
|
203
|
-
"6
|
|
204
|
-
"7
|
|
205
|
-
"8
|
|
206
|
-
"9
|
|
207
|
-
"10
|
|
208
|
-
"11
|
|
209
|
-
"12
|
|
210
|
-
"13
|
|
211
|
-
"14
|
|
212
|
-
"15
|
|
213
|
-
"16
|
|
214
|
-
"17
|
|
215
|
-
"18
|
|
216
|
-
"19
|
|
217
|
-
"20
|
|
218
|
-
"21
|
|
219
|
-
"22
|
|
220
|
-
"23
|
|
221
|
-
"24
|
|
222
|
-
"25
|
|
223
|
-
"26
|
|
224
|
-
"27
|
|
225
|
-
"28
|
|
226
|
-
"29
|
|
227
|
-
"30
|
|
228
|
-
"31
|
|
229
|
-
"32
|
|
230
|
-
"33
|
|
231
|
-
"34
|
|
232
|
-
"35
|
|
233
|
-
"36
|
|
234
|
-
"37
|
|
235
|
-
"38
|
|
236
|
-
"39
|
|
237
|
-
"40
|
|
221
|
+
"1",
|
|
222
|
+
"2",
|
|
223
|
+
"3",
|
|
224
|
+
"4",
|
|
225
|
+
"5",
|
|
226
|
+
"6",
|
|
227
|
+
"7",
|
|
228
|
+
"8",
|
|
229
|
+
"9",
|
|
230
|
+
"10",
|
|
231
|
+
"11",
|
|
232
|
+
"12",
|
|
233
|
+
"13",
|
|
234
|
+
"14",
|
|
235
|
+
"15",
|
|
236
|
+
"16",
|
|
237
|
+
"17",
|
|
238
|
+
"18",
|
|
239
|
+
"19",
|
|
240
|
+
"20",
|
|
241
|
+
"21",
|
|
242
|
+
"22",
|
|
243
|
+
"23",
|
|
244
|
+
"24",
|
|
245
|
+
"25",
|
|
246
|
+
"26",
|
|
247
|
+
"27",
|
|
248
|
+
"28",
|
|
249
|
+
"29",
|
|
250
|
+
"30",
|
|
251
|
+
"31",
|
|
252
|
+
"32",
|
|
253
|
+
"33",
|
|
254
|
+
"34",
|
|
255
|
+
"35",
|
|
256
|
+
"36",
|
|
257
|
+
"37",
|
|
258
|
+
"38",
|
|
259
|
+
"39",
|
|
260
|
+
"40"
|
|
238
261
|
]
|
|
239
262
|
},
|
|
240
263
|
"errorCorrectionLevel": {
|
|
@@ -256,14 +279,14 @@
|
|
|
256
279
|
},
|
|
257
280
|
"codeMode": {
|
|
258
281
|
"type": "string",
|
|
282
|
+
"description": "码制;",
|
|
283
|
+
"default": "qrCode",
|
|
259
284
|
"enum": [
|
|
260
285
|
"qrCode",
|
|
261
286
|
"hanxinCode",
|
|
262
287
|
"pdf417",
|
|
263
288
|
"dataMatrix"
|
|
264
289
|
],
|
|
265
|
-
"description": "码制;",
|
|
266
|
-
"default": "qrCode",
|
|
267
290
|
"enumDescription": [
|
|
268
291
|
"QR Code",
|
|
269
292
|
"汉信码",
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* name: rok_radio
|
|
3
|
-
* description: 单选框组件,用于在多个互斥选项中选择一个值。适合是否判断、分类选择等场景,支持横竖排布局、其他选项、数据源配置、按钮样式和 AI 内容搜索。
|
|
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_radio
|
|
75
|
+
* description: 单选框组件,用于在多个互斥选项中选择一个值。适合是否判断、分类选择等场景,支持横竖排布局、其他选项、数据源配置、按钮样式和 AI 内容搜索。
|
|
76
|
+
*/ import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
77
77
|
import RadioControl from './designer';
|
|
78
78
|
import { BaseControlProperty, OptionAndDataSourcePropertyRules, DataSourceBind, MultistageFillingItem, initOptions } from '@byteluck-fe/model-driven-core';
|
|
79
79
|
var RadioControlPropertyRules = /*#__PURE__*/ function(OptionAndDataSourcePropertyRules) {
|
|
@@ -93,11 +93,71 @@ var RadioProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
93
93
|
function RadioProperty(props) {
|
|
94
94
|
_class_call_check(this, RadioProperty);
|
|
95
95
|
var _this;
|
|
96
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11, _ref12, _ref13;
|
|
96
97
|
_this = _call_super(this, RadioProperty, [
|
|
97
98
|
props
|
|
98
|
-
]),
|
|
99
|
-
|
|
100
|
-
|
|
99
|
+
]), /**
|
|
100
|
+
* 选项排列方式;取值:horizontal:横向;vertical:纵向;
|
|
101
|
+
* @defaultValue 'horizontal'
|
|
102
|
+
* @public
|
|
103
|
+
*/ _define_property(_this, "radioMode", void 0), /**
|
|
104
|
+
* 选项
|
|
105
|
+
* @defaultValue [{ label: '选项一', value: '选项一' }, ...]
|
|
106
|
+
* @public
|
|
107
|
+
*/ _define_property(_this, "options", void 0), /**
|
|
108
|
+
* 选项配置方式;取值:custom:自定义;datasource:数据源;
|
|
109
|
+
* @defaultValue 'custom'
|
|
110
|
+
* @public
|
|
111
|
+
*/ _define_property(_this, "optionConfig", void 0), /**
|
|
112
|
+
* 选项布局:竖排/横排;取值:vertical:纵向;horizontal:横向;
|
|
113
|
+
* @defaultValue 'horizontal'
|
|
114
|
+
* @public
|
|
115
|
+
*/ _define_property(_this, "optionsFormat", void 0), /**
|
|
116
|
+
* 是否默认展开选项
|
|
117
|
+
* @defaultValue true
|
|
118
|
+
* @public
|
|
119
|
+
*/ _define_property(_this, "defaultShowOptions", void 0), /**
|
|
120
|
+
* 是否加其他按钮
|
|
121
|
+
* @defaultValue false
|
|
122
|
+
* @public
|
|
123
|
+
*/ _define_property(_this, "otherOption", void 0), /**
|
|
124
|
+
* 选项排序
|
|
125
|
+
* @defaultValue false
|
|
126
|
+
* @public
|
|
127
|
+
*/ _define_property(_this, "optionsOrder", void 0), /**
|
|
128
|
+
* 数据源绑定
|
|
129
|
+
* @defaultValue new DataSourceBind()
|
|
130
|
+
* @public
|
|
131
|
+
*/ _define_property(_this, "datasourceBind", void 0), /**
|
|
132
|
+
* 多级填充
|
|
133
|
+
* @defaultValue []
|
|
134
|
+
* @public
|
|
135
|
+
*/ _define_property(_this, "multistageFilling", void 0), /**
|
|
136
|
+
* 数据联动
|
|
137
|
+
* @defaultValue []
|
|
138
|
+
* @public
|
|
139
|
+
*/ _define_property(_this, "interreaction", void 0), /**
|
|
140
|
+
* 默认值
|
|
141
|
+
* @defaultValue ''
|
|
142
|
+
* @public
|
|
143
|
+
*/ _define_property(_this, "defaultValue", void 0), /**
|
|
144
|
+
* 是否开启填充
|
|
145
|
+
* @defaultValue false
|
|
146
|
+
* @public
|
|
147
|
+
*/ _define_property(_this, "openMultistageFilling", void 0), /**
|
|
148
|
+
* 是否开启 AI 内容搜索
|
|
149
|
+
* @defaultValue false
|
|
150
|
+
* @public
|
|
151
|
+
*/ _define_property(_this, "aiContentSearch", void 0), /**
|
|
152
|
+
* 选项类型;default:默认;button:按钮;
|
|
153
|
+
* @defaultValue 'default'
|
|
154
|
+
* @public
|
|
155
|
+
*/ _define_property(_this, "type", void 0), /**
|
|
156
|
+
* 是否开启设置选项自定义颜色;仅当选项设置为自定义时该设置生效;
|
|
157
|
+
* @defaultValue false
|
|
158
|
+
* @public
|
|
159
|
+
*/ _define_property(_this, "isUseCustomColor", void 0);
|
|
160
|
+
_this.options = initOptions((_ref = props === null || props === void 0 ? void 0 : props.options) !== null && _ref !== void 0 ? _ref : [
|
|
101
161
|
{
|
|
102
162
|
label: getLocaleText('CMD.optionOne', null, '选项一'),
|
|
103
163
|
value: getLocaleText('CMD.optionOne', null, '选项一')
|
|
@@ -111,31 +171,19 @@ var RadioProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
111
171
|
value: getLocaleText('CMD.optionThird', null, '选项三')
|
|
112
172
|
}
|
|
113
173
|
]);
|
|
114
|
-
|
|
115
|
-
_this.
|
|
116
|
-
|
|
117
|
-
_this.
|
|
118
|
-
|
|
119
|
-
_this.
|
|
120
|
-
var _props_optionsOrder;
|
|
121
|
-
_this.optionsOrder = (_props_optionsOrder = props === null || props === void 0 ? void 0 : props.optionsOrder) !== null && _props_optionsOrder !== void 0 ? _props_optionsOrder : false;
|
|
122
|
-
var _props_defaultShowOptions;
|
|
123
|
-
_this.defaultShowOptions = (_props_defaultShowOptions = props === null || props === void 0 ? void 0 : props.defaultShowOptions) !== null && _props_defaultShowOptions !== void 0 ? _props_defaultShowOptions : true;
|
|
124
|
-
var _props_optionsFormat;
|
|
125
|
-
_this.optionsFormat = (_props_optionsFormat = props === null || props === void 0 ? void 0 : props.optionsFormat) !== null && _props_optionsFormat !== void 0 ? _props_optionsFormat : 'horizontal';
|
|
174
|
+
_this.radioMode = (_ref1 = props === null || props === void 0 ? void 0 : props.radioMode) !== null && _ref1 !== void 0 ? _ref1 : 'horizontal';
|
|
175
|
+
_this.optionConfig = (_ref2 = props === null || props === void 0 ? void 0 : props.optionConfig) !== null && _ref2 !== void 0 ? _ref2 : 'custom';
|
|
176
|
+
_this.otherOption = (_ref3 = props === null || props === void 0 ? void 0 : props.otherOption) !== null && _ref3 !== void 0 ? _ref3 : false;
|
|
177
|
+
_this.optionsOrder = (_ref4 = props === null || props === void 0 ? void 0 : props.optionsOrder) !== null && _ref4 !== void 0 ? _ref4 : false;
|
|
178
|
+
_this.defaultShowOptions = (_ref5 = props === null || props === void 0 ? void 0 : props.defaultShowOptions) !== null && _ref5 !== void 0 ? _ref5 : true;
|
|
179
|
+
_this.optionsFormat = (_ref6 = props === null || props === void 0 ? void 0 : props.optionsFormat) !== null && _ref6 !== void 0 ? _ref6 : 'horizontal';
|
|
126
180
|
_this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
|
|
127
|
-
|
|
128
|
-
_this.
|
|
129
|
-
|
|
130
|
-
_this.
|
|
131
|
-
|
|
132
|
-
_this.
|
|
133
|
-
var _props_openMultistageFilling;
|
|
134
|
-
_this.openMultistageFilling = (_props_openMultistageFilling = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
|
|
135
|
-
var _props_type;
|
|
136
|
-
_this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : 'default';
|
|
137
|
-
var _props_isUseCustomColor;
|
|
138
|
-
_this.isUseCustomColor = (_props_isUseCustomColor = props === null || props === void 0 ? void 0 : props.isUseCustomColor) !== null && _props_isUseCustomColor !== void 0 ? _props_isUseCustomColor : false;
|
|
181
|
+
_this.interreaction = (_ref7 = props === null || props === void 0 ? void 0 : props.interreaction) !== null && _ref7 !== void 0 ? _ref7 : [];
|
|
182
|
+
_this.caption = (_ref8 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref8 !== void 0 ? _ref8 : RadioControl.controlName;
|
|
183
|
+
_this.defaultValue = (_ref9 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref9 !== void 0 ? _ref9 : '';
|
|
184
|
+
_this.openMultistageFilling = (_ref10 = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _ref10 !== void 0 ? _ref10 : false;
|
|
185
|
+
_this.type = (_ref11 = props === null || props === void 0 ? void 0 : props.type) !== null && _ref11 !== void 0 ? _ref11 : 'default';
|
|
186
|
+
_this.isUseCustomColor = (_ref12 = props === null || props === void 0 ? void 0 : props.isUseCustomColor) !== null && _ref12 !== void 0 ? _ref12 : false;
|
|
139
187
|
_this.multistageFilling = [];
|
|
140
188
|
if (Array.isArray(props === null || props === void 0 ? void 0 : props.multistageFilling)) {
|
|
141
189
|
props === null || props === void 0 ? void 0 : props.multistageFilling.map(function(item) {
|
|
@@ -143,8 +191,7 @@ var RadioProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
143
191
|
(_this_multistageFilling = _this.multistageFilling) === null || _this_multistageFilling === void 0 ? void 0 : _this_multistageFilling.push(new MultistageFillingItem(item));
|
|
144
192
|
});
|
|
145
193
|
}
|
|
146
|
-
|
|
147
|
-
_this.aiContentSearch = (_props_aiContentSearch = props === null || props === void 0 ? void 0 : props.aiContentSearch) !== null && _props_aiContentSearch !== void 0 ? _props_aiContentSearch : false;
|
|
194
|
+
_this.aiContentSearch = (_ref13 = props === null || props === void 0 ? void 0 : props.aiContentSearch) !== null && _ref13 !== void 0 ? _ref13 : false;
|
|
148
195
|
return _this;
|
|
149
196
|
}
|
|
150
197
|
return RadioProperty;
|
|
@@ -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": "隐藏标题",
|
|
@@ -186,14 +209,14 @@
|
|
|
186
209
|
"optionConfig": {
|
|
187
210
|
"type": "string",
|
|
188
211
|
"enum": [
|
|
189
|
-
"
|
|
190
|
-
"
|
|
212
|
+
"datasource",
|
|
213
|
+
"custom"
|
|
191
214
|
],
|
|
192
215
|
"description": "选项配置方式;",
|
|
193
216
|
"default": "custom",
|
|
194
217
|
"enumDescription": [
|
|
195
|
-
"
|
|
196
|
-
"
|
|
218
|
+
"数据源",
|
|
219
|
+
"自定义"
|
|
197
220
|
]
|
|
198
221
|
},
|
|
199
222
|
"optionsFormat": {
|
|
@@ -138,17 +138,50 @@ var RichTextProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
138
138
|
function RichTextProperty(props) {
|
|
139
139
|
_class_call_check(this, RichTextProperty);
|
|
140
140
|
var _this;
|
|
141
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10;
|
|
141
142
|
_this = _call_super(this, RichTextProperty, [
|
|
142
143
|
props
|
|
143
|
-
]),
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
144
|
+
]), /**
|
|
145
|
+
* 最大长度
|
|
146
|
+
* @defaultValue 50000
|
|
147
|
+
* @public
|
|
148
|
+
*/ _define_property(_this, "maxLength", void 0), /**
|
|
149
|
+
* 最小长度
|
|
150
|
+
* @defaultValue 0
|
|
151
|
+
* @public
|
|
152
|
+
*/ _define_property(_this, "minLength", void 0), /**
|
|
153
|
+
* 高度
|
|
154
|
+
* @defaultValue 300
|
|
155
|
+
* @public
|
|
156
|
+
*/ _define_property(_this, "height", void 0), // public toolbarOptions: Array<string>
|
|
157
|
+
/**
|
|
158
|
+
* 默认值
|
|
159
|
+
* @defaultValue ''
|
|
160
|
+
* @public
|
|
161
|
+
*/ _define_property(_this, "defaultValue", void 0), /**
|
|
162
|
+
* 是否开启 AI 内容搜索
|
|
163
|
+
* @defaultValue false
|
|
164
|
+
* @public
|
|
165
|
+
*/ _define_property(_this, "aiContentSearch", void 0), /**
|
|
166
|
+
* 是否开启 AI 生成
|
|
167
|
+
* @defaultValue false
|
|
168
|
+
* @public
|
|
169
|
+
*/ _define_property(_this, "aiGeneration", void 0), /**
|
|
170
|
+
* AI 生成选项
|
|
171
|
+
* @defaultValue [{ label: '总结', cueWord: 'SUMM', checked: true }, ...]
|
|
172
|
+
* @public
|
|
173
|
+
*/ _define_property(_this, "aiOptions", void 0), /**
|
|
174
|
+
* 在明细子表中自动高度
|
|
175
|
+
* @defaultValue false
|
|
176
|
+
* @public
|
|
177
|
+
*/ _define_property(_this, "autoHeight", void 0), /**
|
|
178
|
+
* 在明细子表中行数设置
|
|
179
|
+
* @defaultValue 1
|
|
180
|
+
* @public
|
|
181
|
+
*/ _define_property(_this, "lineEllipsis", void 0);
|
|
182
|
+
_this.maxLength = (_ref = props === null || props === void 0 ? void 0 : props.maxLength) !== null && _ref !== void 0 ? _ref : 50000;
|
|
183
|
+
_this.minLength = (_ref1 = props === null || props === void 0 ? void 0 : props.minLength) !== null && _ref1 !== void 0 ? _ref1 : 0;
|
|
184
|
+
_this.height = (_ref2 = props === null || props === void 0 ? void 0 : props.height) !== null && _ref2 !== void 0 ? _ref2 : 300;
|
|
152
185
|
// this.toolbarOptions = props?.toolbarOptions ?? [
|
|
153
186
|
// 'undo', 'redo', '|',
|
|
154
187
|
// 'forecolor', 'backcolor', 'bold', 'italic', 'underline', 'strikethrough', 'link', '|',
|
|
@@ -159,17 +192,12 @@ var RichTextProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
159
192
|
// 'table', 'image', 'hr', 'preview', '|',
|
|
160
193
|
// 'fullscreen'
|
|
161
194
|
// ]
|
|
162
|
-
_this.defaultValue = (
|
|
163
|
-
|
|
164
|
-
_this.
|
|
165
|
-
|
|
166
|
-
_this.
|
|
167
|
-
|
|
168
|
-
_this.aiContentSearch = (_props_aiContentSearch = props === null || props === void 0 ? void 0 : props.aiContentSearch) !== null && _props_aiContentSearch !== void 0 ? _props_aiContentSearch : false;
|
|
169
|
-
var _props_aiGeneration;
|
|
170
|
-
_this.aiGeneration = (_props_aiGeneration = props === null || props === void 0 ? void 0 : props.aiGeneration) !== null && _props_aiGeneration !== void 0 ? _props_aiGeneration : false;
|
|
171
|
-
var _props_aiOptions;
|
|
172
|
-
_this.aiOptions = initAiOptions((_props_aiOptions = props === null || props === void 0 ? void 0 : props.aiOptions) !== null && _props_aiOptions !== void 0 ? _props_aiOptions : [
|
|
195
|
+
_this.defaultValue = (_ref3 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref3 !== void 0 ? _ref3 : '';
|
|
196
|
+
_this.caption = (_ref4 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref4 !== void 0 ? _ref4 : RichTextControl.controlName;
|
|
197
|
+
_this.placeholder = (_ref5 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _ref5 !== void 0 ? _ref5 : getLocaleText('CMD.pleaseEnter', null, '请输入');
|
|
198
|
+
_this.aiContentSearch = (_ref6 = props === null || props === void 0 ? void 0 : props.aiContentSearch) !== null && _ref6 !== void 0 ? _ref6 : false;
|
|
199
|
+
_this.aiGeneration = (_ref7 = props === null || props === void 0 ? void 0 : props.aiGeneration) !== null && _ref7 !== void 0 ? _ref7 : false;
|
|
200
|
+
_this.aiOptions = initAiOptions((_ref8 = props === null || props === void 0 ? void 0 : props.aiOptions) !== null && _ref8 !== void 0 ? _ref8 : [
|
|
173
201
|
{
|
|
174
202
|
label: getLocaleText('CMD.aiOptionOneLabel', null, '总结'),
|
|
175
203
|
cueWord: getLocaleText('CMD.aiOptionOneCurword', null, 'SUMM'),
|
|
@@ -186,10 +214,8 @@ var RichTextProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
186
214
|
checked: false
|
|
187
215
|
}
|
|
188
216
|
]);
|
|
189
|
-
|
|
190
|
-
_this.
|
|
191
|
-
var _props_lineEllipsis;
|
|
192
|
-
_this.lineEllipsis = (_props_lineEllipsis = props === null || props === void 0 ? void 0 : props.lineEllipsis) !== null && _props_lineEllipsis !== void 0 ? _props_lineEllipsis : 1;
|
|
217
|
+
_this.autoHeight = (_ref9 = props === null || props === void 0 ? void 0 : props.autoHeight) !== null && _ref9 !== void 0 ? _ref9 : false;
|
|
218
|
+
_this.lineEllipsis = (_ref10 = props === null || props === void 0 ? void 0 : props.lineEllipsis) !== null && _ref10 !== void 0 ? _ref10 : 1;
|
|
193
219
|
return _this;
|
|
194
220
|
}
|
|
195
221
|
return RichTextProperty;
|
|
@@ -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,15 +182,7 @@
|
|
|
159
182
|
"height": {
|
|
160
183
|
"type": "integer",
|
|
161
184
|
"description": "高度",
|
|
162
|
-
"default":
|
|
163
|
-
},
|
|
164
|
-
"toolbarOptions": {
|
|
165
|
-
"type": "array",
|
|
166
|
-
"items": {
|
|
167
|
-
"type": "string"
|
|
168
|
-
},
|
|
169
|
-
"description": "工具栏选项",
|
|
170
|
-
"default": "['undo', 'redo', '|', 'forecolor', 'backcolor', 'bold', 'italic', 'underline', 'strikethrough', 'link', '|', 'alignleft', 'aligncenter', 'alignright', 'alignjustify', 'outdent', 'indent', '|', 'styles', 'fontfamily', 'fontsize', '|', 'bullist', 'numlist', '|', 'blockquote', 'subscript', 'superscript', 'removeformat', '|', 'table', 'image', 'hr', 'preview', '|', 'fullscreen']"
|
|
185
|
+
"default": 300
|
|
171
186
|
},
|
|
172
187
|
"aiContentSearch": {
|
|
173
188
|
"type": "boolean",
|
|
@@ -144,32 +144,55 @@ var ScoreProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
144
144
|
function ScoreProperty(props) {
|
|
145
145
|
_class_call_check(this, ScoreProperty);
|
|
146
146
|
var _this;
|
|
147
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7;
|
|
147
148
|
var _props_explain;
|
|
148
149
|
_this = _call_super(this, ScoreProperty, [
|
|
149
150
|
props
|
|
150
|
-
]),
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
151
|
+
]), /**
|
|
152
|
+
* 总分值
|
|
153
|
+
* @defaultValue 5
|
|
154
|
+
* @public
|
|
155
|
+
*/ _define_property(_this, "totalScore", void 0), /**
|
|
156
|
+
* 评分类型;取值:praise:点赞;star:星星;flower:花朵;hand:手势;heart:爱心;smile:笑脸;
|
|
157
|
+
* @defaultValue 'star'
|
|
158
|
+
* @public
|
|
159
|
+
*/ _define_property(_this, "scoreType", void 0), /**
|
|
160
|
+
* 是否显示评分说明
|
|
161
|
+
* @defaultValue true
|
|
162
|
+
* @public
|
|
163
|
+
*/ _define_property(_this, "isShowExplain", void 0), /**
|
|
164
|
+
* explain
|
|
165
|
+
* @defaultValue Array(this.totalScore)
|
|
166
|
+
.fill(undefined)
|
|
167
|
+
.map()
|
|
168
|
+
* @public
|
|
169
|
+
*/ _define_property(_this, "explain", void 0), /**
|
|
170
|
+
* 默认值
|
|
171
|
+
* @defaultValue 0
|
|
172
|
+
* @public
|
|
173
|
+
*/ _define_property(_this, "defaultValue", void 0), // public canHalf: boolean
|
|
174
|
+
/**
|
|
175
|
+
* 分数说明文字颜色;取值:primary:主色;danger:危险;warning:警告;success:成功;info:信息;blue:蓝色;
|
|
176
|
+
* @defaultValue 'primary'
|
|
177
|
+
* @public
|
|
178
|
+
*/ _define_property(_this, "explainColor", void 0), /**
|
|
179
|
+
* 是否显示当前分数
|
|
180
|
+
* @defaultValue false
|
|
181
|
+
* @public
|
|
182
|
+
*/ _define_property(_this, "isShowCurrentScore", void 0);
|
|
183
|
+
_this.totalScore = (_ref = props === null || props === void 0 ? void 0 : props.totalScore) !== null && _ref !== void 0 ? _ref : 5;
|
|
184
|
+
_this.scoreType = (_ref1 = props === null || props === void 0 ? void 0 : props.scoreType) !== null && _ref1 !== void 0 ? _ref1 : SCORE_TYPE.STAR;
|
|
185
|
+
_this.isShowExplain = (_ref2 = props === null || props === void 0 ? void 0 : props.isShowExplain) !== null && _ref2 !== void 0 ? _ref2 : true;
|
|
186
|
+
_this.explain = (_ref3 = props === null || props === void 0 ? void 0 : (_props_explain = props.explain) === null || _props_explain === void 0 ? void 0 : _props_explain.map(function(item) {
|
|
160
187
|
return new Explain(item);
|
|
161
|
-
})) !== null &&
|
|
188
|
+
})) !== null && _ref3 !== void 0 ? _ref3 : Array(_this.totalScore).fill(undefined).map(function() {
|
|
162
189
|
return new Explain();
|
|
163
190
|
});
|
|
164
|
-
|
|
165
|
-
_this.
|
|
166
|
-
var _props_caption;
|
|
167
|
-
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : ScoreControl.controlName;
|
|
168
|
-
var _props_explainColor;
|
|
191
|
+
_this.defaultValue = (_ref4 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref4 !== void 0 ? _ref4 : 0;
|
|
192
|
+
_this.caption = (_ref5 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref5 !== void 0 ? _ref5 : ScoreControl.controlName;
|
|
169
193
|
// this.canHalf = props?.canHalf ?? false
|
|
170
|
-
_this.explainColor = (
|
|
171
|
-
|
|
172
|
-
_this.isShowCurrentScore = (_props_isShowCurrentScore = props === null || props === void 0 ? void 0 : props.isShowCurrentScore) !== null && _props_isShowCurrentScore !== void 0 ? _props_isShowCurrentScore : false;
|
|
194
|
+
_this.explainColor = (_ref6 = props === null || props === void 0 ? void 0 : props.explainColor) !== null && _ref6 !== void 0 ? _ref6 : 'primary';
|
|
195
|
+
_this.isShowCurrentScore = (_ref7 = props === null || props === void 0 ? void 0 : props.isShowCurrentScore) !== null && _ref7 !== void 0 ? _ref7 : false;
|
|
173
196
|
return _this;
|
|
174
197
|
}
|
|
175
198
|
return ScoreProperty;
|