@byteluck-fe/model-driven-controls 7.0.0-beta.6 → 7.0.0-beta.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/baseControls/BarChart/property.js +107 -37
- package/dist/esm/baseControls/BarChart/schema.json +1650 -0
- package/dist/esm/baseControls/BatchDeleteButton/property.js +49 -25
- package/dist/esm/baseControls/BatchDeleteButton/schema.json +4 -4
- package/dist/esm/baseControls/BatchPrintListButton/property.js +20 -15
- package/dist/esm/baseControls/BatchPrintListButton/schema.json +162 -4
- package/dist/esm/baseControls/BatchPrintRecordListButton/property.js +8 -9
- package/dist/esm/baseControls/BatchPrintRecordListButton/schema.json +162 -4
- package/dist/esm/baseControls/BatchSubmissionListButton/property.js +24 -13
- package/dist/esm/baseControls/BatchSubmissionListButton/schema.json +162 -4
- package/dist/esm/baseControls/Button/property.js +22 -28
- package/dist/esm/baseControls/Button/schema.json +149 -26
- package/dist/esm/baseControls/Comment/property.js +16 -8
- package/dist/esm/baseControls/Comment/schema.json +4 -4
- package/dist/esm/baseControls/CreateFormListButton/property.js +19 -14
- package/dist/esm/baseControls/CreateFormListButton/schema.json +162 -4
- package/dist/esm/baseControls/Dashboard/property.js +47 -22
- package/dist/esm/baseControls/Dashboard/schema.json +4 -4
- package/dist/esm/baseControls/Divider/property.js +49 -18
- package/dist/esm/baseControls/Divider/schema.json +7 -8
- package/dist/esm/baseControls/ExportListButton/property.js +20 -15
- package/dist/esm/baseControls/ExportListButton/schema.json +162 -4
- package/dist/esm/baseControls/ExportRecordListButton/property.js +8 -9
- package/dist/esm/baseControls/ExportRecordListButton/schema.json +162 -4
- package/dist/esm/baseControls/FormSelectButton/property.js +26 -12
- package/dist/esm/baseControls/FormSelectButton/schema.json +162 -4
- package/dist/esm/baseControls/Iframe/property.js +17 -7
- package/dist/esm/baseControls/Iframe/schema.json +4 -4
- package/dist/esm/baseControls/ImportRecordListButton/property.js +24 -16
- package/dist/esm/baseControls/ImportRecordListButton/schema.json +164 -5
- package/dist/esm/baseControls/InvoiceCheckButton/property.js +45 -25
- package/dist/esm/baseControls/InvoiceCheckButton/schema.json +162 -4
- package/dist/esm/baseControls/LineChart/property.js +107 -37
- package/dist/esm/baseControls/LineChart/schema.json +1650 -0
- package/dist/esm/baseControls/Link/property.js +38 -19
- package/dist/esm/baseControls/Link/schema.json +6 -29
- package/dist/esm/baseControls/ListSelectButton/property.js +40 -16
- package/dist/esm/baseControls/ListSelectButton/schema.json +162 -4
- package/dist/esm/baseControls/ListViewSelect/property.js +18 -11
- package/dist/esm/baseControls/ListViewSelect/schema.json +4 -4
- package/dist/esm/baseControls/OperationButton/property.js +69 -18
- package/dist/esm/baseControls/OperationButton/schema.json +4 -4
- package/dist/esm/baseControls/Pagination/property.js +5 -5
- package/dist/esm/baseControls/Pagination/schema.json +4 -4
- package/dist/esm/baseControls/PieChart/property.js +97 -33
- package/dist/esm/baseControls/PieChart/schema.json +1642 -0
- package/dist/esm/baseControls/ReferenceList/property.js +33 -18
- package/dist/esm/baseControls/ReferenceList/schema.json +4 -4
- package/dist/esm/baseControls/SubmissionRecordListButton/property.js +8 -9
- package/dist/esm/baseControls/SubmissionRecordListButton/schema.json +162 -4
- package/dist/esm/baseControls/Text/property.js +65 -25
- package/dist/esm/baseControls/Text/schema.json +5 -6
- package/dist/esm/baseControls/TextOcrButton/property.js +45 -25
- package/dist/esm/baseControls/TextOcrButton/schema.json +162 -4
- package/dist/esm/baseControls/Title/property.js +21 -7
- package/dist/esm/baseControls/Title/schema.json +4 -4
- package/dist/esm/baseControls/utils.js +1 -1
- package/dist/esm/columnControls/ApprovalStatusColumn/property.js +22 -12
- package/dist/esm/columnControls/ApprovalStatusColumn/schema.json +6 -6
- package/dist/esm/columnControls/ArrayColumn/property.js +31 -14
- package/dist/esm/columnControls/ArrayColumn/schema.json +10 -10
- package/dist/esm/columnControls/AutoNumberColumn/property.js +17 -10
- package/dist/esm/columnControls/AutoNumberColumn/schema.json +6 -6
- package/dist/esm/columnControls/CustomColumn/designer.js +1 -0
- package/dist/esm/columnControls/CustomColumn/property.js +18 -12
- package/dist/esm/columnControls/CustomColumn/schema.json +6 -6
- package/dist/esm/columnControls/DecimalColumn/property.js +46 -20
- package/dist/esm/columnControls/DecimalColumn/schema.json +10 -10
- package/dist/esm/columnControls/DepartmentColumn/property.js +13 -10
- package/dist/esm/columnControls/DepartmentColumn/schema.json +6 -6
- package/dist/esm/columnControls/EmployeeColumn/property.js +13 -10
- package/dist/esm/columnControls/EmployeeColumn/schema.json +6 -6
- package/dist/esm/columnControls/FileColumn/property.js +13 -10
- package/dist/esm/columnControls/FileColumn/schema.json +6 -6
- package/dist/esm/columnControls/GroupColumn/property.js +7 -7
- package/dist/esm/columnControls/GroupColumn/schema.json +6 -6
- package/dist/esm/columnControls/ImageColumn/property.js +7 -7
- package/dist/esm/columnControls/ImageColumn/schema.json +6 -6
- package/dist/esm/columnControls/LocationColumn/property.js +17 -10
- package/dist/esm/columnControls/LocationColumn/schema.json +6 -6
- package/dist/esm/columnControls/OperationColumn/designer.js +16 -12
- package/dist/esm/columnControls/OperationColumn/property.js +20 -16
- package/dist/esm/columnControls/OperationColumn/schema.json +6 -6
- package/dist/esm/columnControls/OrderColumn/property.js +12 -17
- package/dist/esm/columnControls/OrderColumn/schema.json +6 -6
- package/dist/esm/columnControls/PeopleColumn/property.js +7 -7
- package/dist/esm/columnControls/PeopleColumn/schema.json +6 -6
- package/dist/esm/columnControls/TextColumn/property.js +27 -14
- package/dist/esm/columnControls/TextColumn/schema.json +6 -6
- package/dist/esm/columnControls/TimescopeColumn/property.js +27 -14
- package/dist/esm/columnControls/TimescopeColumn/schema.json +6 -6
- package/dist/esm/columnControls/TimestampColumn/property.js +27 -14
- package/dist/esm/columnControls/TimestampColumn/schema.json +6 -6
- package/dist/esm/columnControls/VarcharColumn/property.js +41 -18
- package/dist/esm/columnControls/VarcharColumn/schema.json +10 -10
- package/dist/esm/formControls/Address/property.js +29 -18
- package/dist/esm/formControls/Address/schema.json +28 -5
- package/dist/esm/formControls/Amount/property.js +67 -30
- package/dist/esm/formControls/Amount/schema.json +31 -8
- package/dist/esm/formControls/Attachment/designer.js +1 -4
- package/dist/esm/formControls/Attachment/property.js +84 -40
- package/dist/esm/formControls/Attachment/schema.json +27 -4
- package/dist/esm/formControls/AutoNumber/property.js +14 -12
- package/dist/esm/formControls/AutoNumber/schema.json +27 -4
- package/dist/esm/formControls/Barcode/property.js +41 -21
- package/dist/esm/formControls/Barcode/schema.json +35 -21
- package/dist/esm/formControls/Calc/property.js +47 -19
- package/dist/esm/formControls/Calc/schema.json +27 -4
- package/dist/esm/formControls/Cascader/property.js +70 -32
- package/dist/esm/formControls/Cascader/schema.json +31 -8
- package/dist/esm/formControls/Checkbox/property.js +74 -32
- package/dist/esm/formControls/Checkbox/schema.json +31 -21
- package/dist/esm/formControls/Counter/property.js +39 -19
- package/dist/esm/formControls/Counter/schema.json +111 -31
- package/dist/esm/formControls/DatePicker/property.js +66 -34
- package/dist/esm/formControls/DatePicker/schema.json +27 -4
- package/dist/esm/formControls/DateRange/property.js +67 -29
- package/dist/esm/formControls/DateRange/schema.json +27 -4
- package/dist/esm/formControls/Department/property.js +58 -28
- package/dist/esm/formControls/Department/schema.json +27 -4
- package/dist/esm/formControls/Department2/property.js +85 -41
- package/dist/esm/formControls/Department2/schema.json +27 -17
- package/dist/esm/formControls/ElectronicSignature/property.js +45 -18
- package/dist/esm/formControls/ElectronicSignature/schema.json +27 -4
- package/dist/esm/formControls/Employee/property.js +48 -24
- package/dist/esm/formControls/Employee/schema.json +27 -4
- package/dist/esm/formControls/Employee2/property.js +83 -39
- package/dist/esm/formControls/Employee2/schema.json +27 -17
- package/dist/esm/formControls/Image/designer.js +8 -8
- package/dist/esm/formControls/Image/property.js +25 -18
- package/dist/esm/formControls/Image/schema.json +29 -14
- package/dist/esm/formControls/Input/property.js +11 -20
- package/dist/esm/formControls/Input/schema.json +27 -4
- package/dist/esm/formControls/Number/property.js +78 -33
- package/dist/esm/formControls/Number/schema.json +27 -4
- package/dist/esm/formControls/OrganizationSelection/property.js +101 -42
- package/dist/esm/formControls/OrganizationSelection/schema.json +27 -4
- package/dist/esm/formControls/QrCode/property.js +48 -24
- package/dist/esm/formControls/QrCode/schema.json +69 -46
- package/dist/esm/formControls/Radio/property.js +81 -34
- package/dist/esm/formControls/Radio/schema.json +31 -8
- package/dist/esm/formControls/RichText/property.js +50 -24
- package/dist/esm/formControls/RichText/schema.json +28 -13
- package/dist/esm/formControls/Score/property.js +42 -19
- package/dist/esm/formControls/Score/schema.json +27 -9
- package/dist/esm/formControls/SearchDateRange/property.js +64 -31
- package/dist/esm/formControls/SearchDateRange/schema.json +27 -4
- package/dist/esm/formControls/SearchInput/property.js +5 -5
- package/dist/esm/formControls/SearchInput/schema.json +27 -4
- package/dist/esm/formControls/SearchNumberRange/property.js +33 -18
- package/dist/esm/formControls/SearchNumberRange/schema.json +27 -4
- package/dist/esm/formControls/Select/property.js +71 -30
- package/dist/esm/formControls/Select/schema.json +31 -13
- package/dist/esm/formControls/SelectMultiple/property.js +66 -28
- package/dist/esm/formControls/SelectMultiple/schema.json +31 -13
- package/dist/esm/formControls/SelectRelation/property.js +84 -32
- package/dist/esm/formControls/SelectRelation/schema.json +31 -8
- package/dist/esm/formControls/Slider/property.js +42 -18
- package/dist/esm/formControls/Slider/schema.json +58 -6
- package/dist/esm/formControls/Switch/property.js +45 -21
- package/dist/esm/formControls/Switch/schema.json +27 -4
- package/dist/esm/formControls/Tag/property.js +56 -24
- package/dist/esm/formControls/Tag/schema.json +63 -52
- package/dist/esm/formControls/Textarea/property.js +48 -21
- package/dist/esm/formControls/Textarea/schema.json +27 -4
- package/dist/esm/formControls/TimePicker/property.js +35 -21
- package/dist/esm/formControls/TimePicker/schema.json +27 -4
- package/dist/esm/formControls/TimeRange/property.js +57 -25
- package/dist/esm/formControls/TimeRange/schema.json +29 -6
- package/dist/esm/formControls/Tree/property.js +98 -40
- package/dist/esm/formControls/Tree/schema.json +27 -4
- package/dist/esm/formControls/VueFormItem/property.js +28 -16
- package/dist/esm/formControls/VueFormItem/schema.json +27 -4
- package/dist/esm/formControls/VuePage/property.js +28 -16
- package/dist/esm/formControls/VuePage/schema.json +27 -4
- package/dist/esm/formControls/WPS/designer.js +9 -9
- package/dist/esm/formControls/WPS/property.js +67 -30
- package/dist/esm/formControls/WPS/schema.json +27 -4
- package/dist/esm/framework.js +81 -135
- package/dist/esm/layoutControls/ActionBar/designer.js +2 -2
- package/dist/esm/layoutControls/ActionBar/property.js +22 -12
- package/dist/esm/layoutControls/ActionBar/runtime.js +2 -2
- package/dist/esm/layoutControls/ActionBar/schema.json +4 -4
- package/dist/esm/layoutControls/AdvancedContainer/property.js +14 -6
- package/dist/esm/layoutControls/AdvancedContainer/schema.json +4 -4
- package/dist/esm/layoutControls/BlankContainer/property.js +48 -14
- package/dist/esm/layoutControls/BlankContainer/schema.json +10 -5
- package/dist/esm/layoutControls/CardGroup/property.js +52 -21
- package/dist/esm/layoutControls/CardGroup/schema.json +6 -6
- package/dist/esm/layoutControls/Col/property.js +22 -12
- package/dist/esm/layoutControls/Col/schema.json +4 -4
- package/dist/esm/layoutControls/Collapse/designer.js +2 -2
- package/dist/esm/layoutControls/Collapse/property.js +21 -10
- package/dist/esm/layoutControls/Collapse/schema.json +4 -9
- package/dist/esm/layoutControls/CollapsePane/property.js +12 -8
- package/dist/esm/layoutControls/CollapsePane/schema.json +5 -5
- package/dist/esm/layoutControls/DataView/property.js +34 -20
- package/dist/esm/layoutControls/DataView/schema.json +4 -4
- package/dist/esm/layoutControls/Grid/property.js +5 -5
- package/dist/esm/layoutControls/Grid/schema.json +4 -4
- package/dist/esm/layoutControls/GridLayoutContainer/property.js +17 -10
- package/dist/esm/layoutControls/GridLayoutContainer/schema.json +4 -4
- package/dist/esm/layoutControls/GridRow/property.js +5 -5
- package/dist/esm/layoutControls/GridRow/schema.json +4 -4
- package/dist/esm/layoutControls/GridTableColumn/property.js +65 -26
- package/dist/esm/layoutControls/GridTableColumn/schema.json +4 -4
- package/dist/esm/layoutControls/ListView/property.js +100 -29
- package/dist/esm/layoutControls/ListView/schema.json +4 -4
- package/dist/esm/layoutControls/Page/property.js +28 -8
- package/dist/esm/layoutControls/Page/schema.json +4 -4
- package/dist/esm/layoutControls/Position/property.js +27 -14
- package/dist/esm/layoutControls/Position/schema.json +4 -4
- package/dist/esm/layoutControls/PositioningContainer/property.js +5 -5
- package/dist/esm/layoutControls/PositioningContainer/schema.json +4 -4
- package/dist/esm/layoutControls/Row/property.js +40 -16
- package/dist/esm/layoutControls/Row/schema.json +4 -4
- package/dist/esm/layoutControls/Step/designer.js +2 -2
- package/dist/esm/layoutControls/Step/property.js +66 -28
- package/dist/esm/layoutControls/Step/schema.json +8 -8
- package/dist/esm/layoutControls/StepPane/property.js +47 -22
- package/dist/esm/layoutControls/StepPane/schema.json +4 -4
- package/dist/esm/layoutControls/SubTableColumn/property.js +31 -11
- package/dist/esm/layoutControls/SubTableColumn/schema.json +4 -4
- package/dist/esm/layoutControls/SubTableRow/property.js +5 -5
- package/dist/esm/layoutControls/SubTableRow/schema.json +4 -4
- package/dist/esm/layoutControls/Tab/designer.js +2 -2
- package/dist/esm/layoutControls/Tab/property.js +32 -16
- package/dist/esm/layoutControls/Tab/schema.json +4 -4
- package/dist/esm/layoutControls/TabPane/property.js +12 -8
- package/dist/esm/layoutControls/TabPane/schema.json +4 -4
- package/dist/esm/layoutControls/TableLayout/property.js +82 -36
- package/dist/esm/layoutControls/TableLayout/schema.json +6 -6
- package/dist/esm/layoutControls/TableLayoutCol/property.js +57 -26
- package/dist/esm/layoutControls/TableLayoutCol/schema.json +4 -4
- package/dist/esm/layoutControls/TableLayoutRow/property.js +17 -10
- package/dist/esm/layoutControls/TableLayoutRow/schema.json +4 -4
- package/dist/esm/layoutControls/TableLayoutWrapper/property.js +22 -12
- package/dist/esm/layoutControls/TableLayoutWrapper/schema.json +4 -4
- package/dist/esm/layoutControls/Toolbox/property.js +5 -5
- package/dist/esm/layoutControls/Toolbox/schema.json +4 -4
- package/dist/esm/listControls/GridTable/designer.js +17 -12
- package/dist/esm/listControls/GridTable/property.js +11 -15
- package/dist/esm/listControls/GridTable/schema.json +4 -4
- package/dist/esm/listControls/SubTable/property.js +181 -71
- package/dist/esm/listControls/SubTable/schema.json +4 -4
- package/dist/esm/searchControls/SimpleSearch/property.js +67 -30
- package/dist/esm/searchControls/SimpleSearch/runtime.js +2 -2
- package/dist/esm/searchControls/SimpleSearch/schema.json +4 -4
- package/dist/esm/wrapControls/GridLayoutWrap/designer.js +8 -8
- package/dist/esm/wrapControls/GridLayoutWrap/property.js +12 -8
- package/dist/esm/wrapControls/GridLayoutWrap/runtime.js +8 -8
- package/dist/esm/wrapControls/GridLayoutWrap/schema.json +4 -4
- package/dist/index.umd.js +1 -1
- package/dist/types/baseControls/BarChart/property.d.ts +105 -0
- package/dist/types/baseControls/BatchDeleteButton/property.d.ts +40 -0
- package/dist/types/baseControls/BatchPrintListButton/property.d.ts +10 -0
- package/dist/types/baseControls/BatchSubmissionListButton/property.d.ts +20 -0
- package/dist/types/baseControls/Button/property.d.ts +5 -0
- package/dist/types/baseControls/Comment/property.d.ts +10 -0
- package/dist/types/baseControls/CreateFormListButton/property.d.ts +10 -0
- package/dist/types/baseControls/Dashboard/property.d.ts +40 -0
- package/dist/types/baseControls/Divider/property.d.ts +45 -0
- package/dist/types/baseControls/ExportListButton/property.d.ts +10 -0
- package/dist/types/baseControls/FormSelectButton/property.d.ts +20 -0
- package/dist/types/baseControls/Iframe/property.d.ts +15 -0
- package/dist/types/baseControls/ImportRecordListButton/property.d.ts +14 -0
- package/dist/types/baseControls/InvoiceCheckButton/property.d.ts +35 -0
- package/dist/types/baseControls/LineChart/property.d.ts +105 -0
- package/dist/types/baseControls/Link/property.d.ts +30 -0
- package/dist/types/baseControls/ListSelectButton/property.d.ts +35 -0
- package/dist/types/baseControls/ListViewSelect/property.d.ts +10 -0
- package/dist/types/baseControls/OperationButton/property.d.ts +70 -0
- package/dist/types/baseControls/PieChart/property.d.ts +95 -0
- package/dist/types/baseControls/ReferenceList/property.d.ts +25 -0
- package/dist/types/baseControls/Text/property.d.ts +60 -0
- package/dist/types/baseControls/TextOcrButton/property.d.ts +35 -0
- package/dist/types/baseControls/Title/property.d.ts +20 -0
- package/dist/types/columnControls/ApprovalStatusColumn/property.d.ts +15 -0
- package/dist/types/columnControls/ArrayColumn/property.d.ts +25 -0
- package/dist/types/columnControls/AutoNumberColumn/property.d.ts +10 -0
- package/dist/types/columnControls/CustomColumn/property.d.ts +10 -0
- package/dist/types/columnControls/DecimalColumn/property.d.ts +40 -0
- package/dist/types/columnControls/DepartmentColumn/property.d.ts +5 -0
- package/dist/types/columnControls/EmployeeColumn/property.d.ts +5 -0
- package/dist/types/columnControls/FileColumn/property.d.ts +5 -0
- package/dist/types/columnControls/LocationColumn/property.d.ts +10 -0
- package/dist/types/columnControls/OperationColumn/property.d.ts +10 -0
- package/dist/types/columnControls/TextColumn/property.d.ts +20 -0
- package/dist/types/columnControls/TimescopeColumn/property.d.ts +20 -0
- package/dist/types/columnControls/TimestampColumn/property.d.ts +20 -0
- package/dist/types/columnControls/VarcharColumn/property.d.ts +35 -0
- package/dist/types/formControls/Address/property.d.ts +20 -0
- package/dist/types/formControls/Amount/property.d.ts +60 -0
- package/dist/types/formControls/Attachment/property.d.ts +75 -0
- package/dist/types/formControls/AutoNumber/property.d.ts +5 -0
- package/dist/types/formControls/Barcode/property.d.ts +35 -0
- package/dist/types/formControls/Calc/property.d.ts +45 -0
- package/dist/types/formControls/Cascader/property.d.ts +65 -0
- package/dist/types/formControls/Checkbox/property.d.ts +70 -0
- package/dist/types/formControls/Counter/property.d.ts +35 -0
- package/dist/types/formControls/DatePicker/property.d.ts +55 -0
- package/dist/types/formControls/DateRange/property.d.ts +60 -0
- package/dist/types/formControls/Department/property.d.ts +50 -0
- package/dist/types/formControls/Department2/property.d.ts +75 -0
- package/dist/types/formControls/ElectronicSignature/property.d.ts +40 -0
- package/dist/types/formControls/Employee/property.d.ts +40 -0
- package/dist/types/formControls/Employee2/property.d.ts +75 -0
- package/dist/types/formControls/Image/property.d.ts +20 -0
- package/dist/types/formControls/Number/property.d.ts +75 -0
- package/dist/types/formControls/OrganizationSelection/property.d.ts +95 -0
- package/dist/types/formControls/QrCode/property.d.ts +40 -0
- package/dist/types/formControls/Radio/property.d.ts +75 -0
- package/dist/types/formControls/RichText/property.d.ts +45 -0
- package/dist/types/formControls/Score/property.d.ts +37 -0
- package/dist/types/formControls/SearchDateRange/property.d.ts +55 -0
- package/dist/types/formControls/SearchNumberRange/property.d.ts +25 -0
- package/dist/types/formControls/Select/property.d.ts +65 -0
- package/dist/types/formControls/SelectMultiple/property.d.ts +60 -0
- package/dist/types/formControls/SelectRelation/property.d.ts +80 -0
- package/dist/types/formControls/Slider/property.d.ts +35 -4
- package/dist/types/formControls/Switch/property.d.ts +40 -0
- package/dist/types/formControls/Tag/property.d.ts +50 -0
- package/dist/types/formControls/Textarea/property.d.ts +45 -0
- package/dist/types/formControls/TimePicker/property.d.ts +25 -0
- package/dist/types/formControls/TimeRange/property.d.ts +50 -0
- package/dist/types/formControls/Tree/property.d.ts +95 -0
- package/dist/types/formControls/VueFormItem/property.d.ts +20 -0
- package/dist/types/formControls/VuePage/property.d.ts +20 -0
- package/dist/types/formControls/WPS/property.d.ts +60 -0
- package/dist/types/layoutControls/ActionBar/property.d.ts +15 -0
- package/dist/types/layoutControls/AdvancedContainer/property.d.ts +10 -0
- package/dist/types/layoutControls/BlankContainer/property.d.ts +45 -4
- package/dist/types/layoutControls/CardGroup/property.d.ts +50 -0
- package/dist/types/layoutControls/Col/property.d.ts +15 -0
- package/dist/types/layoutControls/Collapse/property.d.ts +15 -0
- package/dist/types/layoutControls/CollapsePane/property.d.ts +5 -0
- package/dist/types/layoutControls/DataView/property.d.ts +25 -0
- package/dist/types/layoutControls/GridLayoutContainer/property.d.ts +10 -0
- package/dist/types/layoutControls/GridTableColumn/property.d.ts +60 -0
- package/dist/types/layoutControls/ListView/property.d.ts +105 -0
- package/dist/types/layoutControls/Page/property.d.ts +25 -0
- package/dist/types/layoutControls/Position/property.d.ts +20 -0
- package/dist/types/layoutControls/Row/property.d.ts +35 -0
- package/dist/types/layoutControls/Step/property.d.ts +60 -0
- package/dist/types/layoutControls/StepPane/property.d.ts +40 -0
- package/dist/types/layoutControls/SubTableColumn/property.d.ts +30 -0
- package/dist/types/layoutControls/Tab/property.d.ts +25 -0
- package/dist/types/layoutControls/TabPane/property.d.ts +5 -0
- package/dist/types/layoutControls/TableLayout/property.d.ts +75 -0
- package/dist/types/layoutControls/TableLayoutCol/property.d.ts +50 -0
- package/dist/types/layoutControls/TableLayoutRow/property.d.ts +10 -0
- package/dist/types/layoutControls/TableLayoutWrapper/property.d.ts +15 -0
- package/dist/types/listControls/SubTable/property.d.ts +180 -0
- package/dist/types/searchControls/SimpleSearch/property.d.ts +60 -0
- package/dist/types/wrapControls/GridLayoutWrap/property.d.ts +5 -0
- package/package.json +4 -4
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* name: rok_varchar_column
|
|
3
|
-
* description: 短文本展示列。用于在表格中展示名称、编号、状态文本等简短内容,适合业务列表和台账场景,支持选项映射、数据源绑定、标签化展示、多行省略和链接操作。
|
|
4
|
-
*/ function _assert_this_initialized(self) {
|
|
1
|
+
function _assert_this_initialized(self) {
|
|
5
2
|
if (self === void 0) {
|
|
6
3
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
7
4
|
}
|
|
@@ -73,7 +70,10 @@ function _is_native_reflect_construct() {
|
|
|
73
70
|
return !!result;
|
|
74
71
|
})();
|
|
75
72
|
}
|
|
76
|
-
|
|
73
|
+
/**
|
|
74
|
+
* name: rok_varchar_column
|
|
75
|
+
* description: 短文本展示列。用于在表格中展示名称、编号、状态文本等简短内容,适合业务列表和台账场景,支持选项映射、数据源绑定、标签化展示、多行省略和链接操作。
|
|
76
|
+
*/ import { ColumnControlProperty, ColumnOptionAndDataSourcePropertyRules, DataSourceBind, LinkOperationOption, initLinkOperationRules, initOptions } from '@byteluck-fe/model-driven-core';
|
|
77
77
|
import { DesignerVarcharColumnControl } from './designer';
|
|
78
78
|
var VarcharColumnControlPropertyRules = /*#__PURE__*/ function(ColumnOptionAndDataSourcePropertyRules) {
|
|
79
79
|
"use strict";
|
|
@@ -95,25 +95,48 @@ var VarcharColumnControlProperty = /*#__PURE__*/ function(ColumnControlProperty)
|
|
|
95
95
|
function VarcharColumnControlProperty(props) {
|
|
96
96
|
_class_call_check(this, VarcharColumnControlProperty);
|
|
97
97
|
var _this;
|
|
98
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5;
|
|
98
99
|
_this = _call_super(this, VarcharColumnControlProperty, [
|
|
99
100
|
props
|
|
100
|
-
]),
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
101
|
+
]), /**
|
|
102
|
+
* 选项配置;取值:none:无;custom:自定义;datasource:数据源;
|
|
103
|
+
* @defaultValue 'none'
|
|
104
|
+
* @public
|
|
105
|
+
*/ _define_property(_this, "optionConfig", void 0), /**
|
|
106
|
+
* 关联数据源
|
|
107
|
+
* @defaultValue new DataSourceBind()
|
|
108
|
+
* @public
|
|
109
|
+
*/ _define_property(_this, "datasourceBind", void 0), /**
|
|
110
|
+
* 是否显示链接操作
|
|
111
|
+
* @defaultValue false
|
|
112
|
+
* @public
|
|
113
|
+
*/ _define_property(_this, "showLinkOperation", void 0), /**
|
|
114
|
+
* 链接操作配置
|
|
115
|
+
* @defaultValue new LinkOperationOption()
|
|
116
|
+
* @public
|
|
117
|
+
*/ _define_property(_this, "linkOperationOption", void 0), /**
|
|
118
|
+
* 自定义选项
|
|
119
|
+
* @defaultValue [{}]
|
|
120
|
+
* @public
|
|
121
|
+
*/ _define_property(_this, "options", void 0), /**
|
|
122
|
+
* 最大行数
|
|
123
|
+
* @defaultValue 1
|
|
124
|
+
* @public
|
|
125
|
+
*/ _define_property(_this, "lineEllipsis", void 0), /**
|
|
126
|
+
* tag配置
|
|
127
|
+
* @defaultValue { isTag: false }
|
|
128
|
+
* @public
|
|
129
|
+
*/ _define_property(_this, "dictionaryTagConfig", void 0);
|
|
130
|
+
_this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : DesignerVarcharColumnControl.controlName;
|
|
131
|
+
_this.optionConfig = (_ref1 = props === null || props === void 0 ? void 0 : props.optionConfig) !== null && _ref1 !== void 0 ? _ref1 : 'none';
|
|
105
132
|
_this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
|
|
106
|
-
|
|
107
|
-
_this.options = initOptions((_props_options = props === null || props === void 0 ? void 0 : props.options) !== null && _props_options !== void 0 ? _props_options : [
|
|
133
|
+
_this.options = initOptions((_ref2 = props === null || props === void 0 ? void 0 : props.options) !== null && _ref2 !== void 0 ? _ref2 : [
|
|
108
134
|
{}
|
|
109
135
|
]);
|
|
110
|
-
|
|
111
|
-
_this.showLinkOperation = (_props_showLinkOperation = props === null || props === void 0 ? void 0 : props.showLinkOperation) !== null && _props_showLinkOperation !== void 0 ? _props_showLinkOperation : false;
|
|
136
|
+
_this.showLinkOperation = (_ref3 = props === null || props === void 0 ? void 0 : props.showLinkOperation) !== null && _ref3 !== void 0 ? _ref3 : false;
|
|
112
137
|
_this.linkOperationOption = new LinkOperationOption(props === null || props === void 0 ? void 0 : props.linkOperationOption);
|
|
113
|
-
|
|
114
|
-
_this.
|
|
115
|
-
var _props_dictionaryTagConfig;
|
|
116
|
-
_this.dictionaryTagConfig = (_props_dictionaryTagConfig = props === null || props === void 0 ? void 0 : props.dictionaryTagConfig) !== null && _props_dictionaryTagConfig !== void 0 ? _props_dictionaryTagConfig : {
|
|
138
|
+
_this.lineEllipsis = (_ref4 = props === null || props === void 0 ? void 0 : props.lineEllipsis) !== null && _ref4 !== void 0 ? _ref4 : 1;
|
|
139
|
+
_this.dictionaryTagConfig = (_ref5 = props === null || props === void 0 ? void 0 : props.dictionaryTagConfig) !== null && _ref5 !== void 0 ? _ref5 : {
|
|
117
140
|
isTag: false
|
|
118
141
|
};
|
|
119
142
|
return _this;
|
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
"defaultState": {
|
|
17
17
|
"type": "string",
|
|
18
18
|
"enum": [
|
|
19
|
-
"
|
|
20
|
-
"
|
|
19
|
+
"readonly",
|
|
20
|
+
"default"
|
|
21
21
|
],
|
|
22
22
|
"description": "默认状态",
|
|
23
23
|
"enumDescription": [
|
|
24
|
-
"
|
|
25
|
-
"
|
|
24
|
+
"readonly",
|
|
25
|
+
"default"
|
|
26
26
|
]
|
|
27
27
|
},
|
|
28
28
|
"widthType": {
|
|
@@ -108,14 +108,14 @@
|
|
|
108
108
|
"align": {
|
|
109
109
|
"type": "string",
|
|
110
110
|
"enum": [
|
|
111
|
-
"center",
|
|
112
111
|
"left",
|
|
112
|
+
"center",
|
|
113
113
|
"right"
|
|
114
114
|
],
|
|
115
115
|
"description": "对齐",
|
|
116
116
|
"enumDescription": [
|
|
117
|
-
"center",
|
|
118
117
|
"left",
|
|
118
|
+
"center",
|
|
119
119
|
"right"
|
|
120
120
|
]
|
|
121
121
|
},
|
|
@@ -158,16 +158,16 @@
|
|
|
158
158
|
"optionConfig": {
|
|
159
159
|
"type": "string",
|
|
160
160
|
"enum": [
|
|
161
|
+
"datasource",
|
|
161
162
|
"custom",
|
|
162
|
-
"none"
|
|
163
|
-
"datasource"
|
|
163
|
+
"none"
|
|
164
164
|
],
|
|
165
165
|
"description": "选项配置;",
|
|
166
166
|
"default": "none",
|
|
167
167
|
"enumDescription": [
|
|
168
|
+
"数据源",
|
|
168
169
|
"自定义",
|
|
169
|
-
"无"
|
|
170
|
-
"数据源"
|
|
170
|
+
"无"
|
|
171
171
|
]
|
|
172
172
|
},
|
|
173
173
|
"datasourceBind": {
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* name: rok_address
|
|
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_address
|
|
75
|
+
* description: 地址选择组件,用于采集省市区等层级地址信息。适合收货地址、办公地点等场景,支持按层级配置地址范围与默认定位方式。
|
|
76
|
+
*/ import { BaseControlProperty, BaseControlPropertyRuntimeRules, AddressValue } from '@byteluck-fe/model-driven-core';
|
|
77
77
|
import AddressControl from './designer';
|
|
78
78
|
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
79
79
|
var AddressControlPropertyRuntimeRules = /*#__PURE__*/ function(BaseControlPropertyRuntimeRules) {
|
|
@@ -133,28 +133,39 @@ var AddressProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
133
133
|
function AddressProperty(props) {
|
|
134
134
|
_class_call_check(this, AddressProperty);
|
|
135
135
|
var _this;
|
|
136
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5;
|
|
136
137
|
_this = _call_super(this, AddressProperty, [
|
|
137
138
|
props
|
|
138
|
-
]),
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
139
|
+
]), /**
|
|
140
|
+
* 默认值类型 default固定地址 current当前定位
|
|
141
|
+
* @defaultValue 'default'
|
|
142
|
+
* @public
|
|
143
|
+
*/ _define_property(_this, "defaultValueType", void 0), /**
|
|
144
|
+
* 默认值
|
|
145
|
+
* @defaultValue new AddressValue({})
|
|
146
|
+
* @public
|
|
147
|
+
*/ _define_property(_this, "defaultValue", void 0), /**
|
|
148
|
+
* 地址类型;country:国家;province:省;city:城市;district:区县;
|
|
149
|
+
* @defaultValue ['province', 'city', 'district']
|
|
150
|
+
* @public
|
|
151
|
+
*/ _define_property(_this, "addressType", void 0), /**
|
|
152
|
+
* 国家范围
|
|
153
|
+
* @defaultValue false
|
|
154
|
+
* @public
|
|
155
|
+
*/ _define_property(_this, "countryScope", void 0);
|
|
156
|
+
_this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : AddressControl.controlName;
|
|
157
|
+
_this.defaultValueType = (_ref1 = props === null || props === void 0 ? void 0 : props.defaultValueType) !== null && _ref1 !== void 0 ? _ref1 : 'default';
|
|
158
|
+
_this.countryScope = (_ref2 = props === null || props === void 0 ? void 0 : props.countryScope) !== null && _ref2 !== void 0 ? _ref2 : [
|
|
145
159
|
'100000'
|
|
146
160
|
];
|
|
147
|
-
|
|
148
|
-
_this.addressType = (_props_addressType = props === null || props === void 0 ? void 0 : props.addressType) !== null && _props_addressType !== void 0 ? _props_addressType : [
|
|
161
|
+
_this.addressType = (_ref3 = props === null || props === void 0 ? void 0 : props.addressType) !== null && _ref3 !== void 0 ? _ref3 : [
|
|
149
162
|
'country',
|
|
150
163
|
'province',
|
|
151
164
|
'city',
|
|
152
165
|
'district'
|
|
153
166
|
];
|
|
154
|
-
|
|
155
|
-
_this.
|
|
156
|
-
var _props_placeholder;
|
|
157
|
-
_this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : getLocaleText('CMD.pleaseChooseAddress', null, '请选择地址');
|
|
167
|
+
_this.defaultValue = new AddressValue((_ref4 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref4 !== void 0 ? _ref4 : {});
|
|
168
|
+
_this.placeholder = (_ref5 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _ref5 !== void 0 ? _ref5 : getLocaleText('CMD.pleaseChooseAddress', null, '请选择地址');
|
|
158
169
|
return _this;
|
|
159
170
|
}
|
|
160
171
|
return AddressProperty;
|
|
@@ -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": "隐藏标题",
|
|
@@ -207,7 +230,7 @@
|
|
|
207
230
|
"type": "string"
|
|
208
231
|
},
|
|
209
232
|
"description": "地址类型;country:国家;province:省;city:城市;district:区县;",
|
|
210
|
-
"default": "['
|
|
233
|
+
"default": "['province', 'city', 'district']"
|
|
211
234
|
},
|
|
212
235
|
"countryScope": {
|
|
213
236
|
"type": "array",
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* name: rok_amount
|
|
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
|
}
|
|
@@ -112,7 +109,10 @@ function _is_native_reflect_construct() {
|
|
|
112
109
|
return !!result;
|
|
113
110
|
})();
|
|
114
111
|
}
|
|
115
|
-
|
|
112
|
+
/**
|
|
113
|
+
* name: rok_amount
|
|
114
|
+
* description: 金额输入组件,用于录入带币种的金额数据。适合费用报销、预算申请等场景,支持币种选择、数值范围、小数精度、千分位和大写金额展示。
|
|
115
|
+
*/ import { BaseControlProperty, BaseControlPropertyRuntimeRules, OptionAndDataSourcePropertyRules, AMOUNT_TYPE, AmountDataBind, AmountValue, DataSourceBind, DisplayBoListItem, initOptions } from '@byteluck-fe/model-driven-core';
|
|
116
116
|
import AmountControl from './designer';
|
|
117
117
|
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
118
118
|
var AmountPropertyRules = /*#__PURE__*/ function(OptionAndDataSourcePropertyRules) {
|
|
@@ -203,44 +203,81 @@ var AmountProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
203
203
|
function AmountProperty(props) {
|
|
204
204
|
_class_call_check(this, AmountProperty);
|
|
205
205
|
var _this;
|
|
206
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11;
|
|
206
207
|
_this = _call_super(this, AmountProperty, [
|
|
207
208
|
props
|
|
208
|
-
]),
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
209
|
+
]), /**
|
|
210
|
+
* 最小值
|
|
211
|
+
* @defaultValue ''
|
|
212
|
+
* @public
|
|
213
|
+
*/ _define_property(_this, "rangeMin", void 0), /**
|
|
214
|
+
* 最大值
|
|
215
|
+
* @defaultValue ''
|
|
216
|
+
* @public
|
|
217
|
+
*/ _define_property(_this, "rangeMax", void 0), /**
|
|
218
|
+
* 是否显示大写数字
|
|
219
|
+
* @defaultValue false
|
|
220
|
+
* @public
|
|
221
|
+
*/ _define_property(_this, "showUpperCase", void 0), /**
|
|
222
|
+
* 提交时选择币种
|
|
223
|
+
* @defaultValue false
|
|
224
|
+
* @public
|
|
225
|
+
*/ _define_property(_this, "submitSelectCurrency", void 0), /**
|
|
226
|
+
* 千分位展示
|
|
227
|
+
* @defaultValue false
|
|
228
|
+
* @public
|
|
229
|
+
*/ _define_property(_this, "micrometer", void 0), /**
|
|
230
|
+
* 小数位数
|
|
231
|
+
* @defaultValue 2
|
|
232
|
+
* @public
|
|
233
|
+
*/ _define_property(_this, "precision", void 0), /**
|
|
234
|
+
* 单位位置 left right align-right
|
|
235
|
+
* @defaultValue 'right'
|
|
236
|
+
* @public
|
|
237
|
+
*/ _define_property(_this, "unitPosition", void 0), /**
|
|
238
|
+
* 选项配置 custom datasource
|
|
239
|
+
* @defaultValue 'datasource'
|
|
240
|
+
* @public
|
|
241
|
+
*/ _define_property(_this, "optionConfig", void 0), /**
|
|
242
|
+
* 金额和币种的数据绑定
|
|
243
|
+
* @defaultValue new AmountDataBind()
|
|
244
|
+
* @public
|
|
245
|
+
*/ _define_property(_this, "dataBind", void 0), /**
|
|
246
|
+
* 币种的数据源绑定
|
|
247
|
+
* @defaultValue new DataSourceBind({ displayBoList: [new DisplayBoListItem({ value: 'name' })] })
|
|
248
|
+
* @public
|
|
249
|
+
*/ _define_property(_this, "datasourceBind", void 0), /**
|
|
250
|
+
* 默认值
|
|
251
|
+
* @defaultValue new AmountValue({ amount: '', currency: 'CNY' })
|
|
252
|
+
* @public
|
|
253
|
+
*/ _define_property(_this, "defaultValue", void 0), /**
|
|
254
|
+
* 币种的默认选项
|
|
255
|
+
* @defaultValue []
|
|
256
|
+
* @public
|
|
257
|
+
*/ _define_property(_this, "options", void 0);
|
|
258
|
+
_this.rangeMin = (_ref = props === null || props === void 0 ? void 0 : props.rangeMin) !== null && _ref !== void 0 ? _ref : '';
|
|
259
|
+
_this.rangeMax = (_ref1 = props === null || props === void 0 ? void 0 : props.rangeMax) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
260
|
+
_this.optionConfig = (_ref2 = props === null || props === void 0 ? void 0 : props.optionConfig) !== null && _ref2 !== void 0 ? _ref2 : 'datasource';
|
|
261
|
+
_this.micrometer = (_ref3 = props === null || props === void 0 ? void 0 : props.micrometer) !== null && _ref3 !== void 0 ? _ref3 : false;
|
|
262
|
+
_this.precision = (_ref4 = props === null || props === void 0 ? void 0 : props.precision) !== null && _ref4 !== void 0 ? _ref4 : 2;
|
|
219
263
|
_this.dataBind = new AmountDataBind(props === null || props === void 0 ? void 0 : props.dataBind);
|
|
220
|
-
|
|
221
|
-
_this.datasourceBind = new DataSourceBind((_props_datasourceBind = props === null || props === void 0 ? void 0 : props.datasourceBind) !== null && _props_datasourceBind !== void 0 ? _props_datasourceBind : {
|
|
264
|
+
_this.datasourceBind = new DataSourceBind((_ref5 = props === null || props === void 0 ? void 0 : props.datasourceBind) !== null && _ref5 !== void 0 ? _ref5 : {
|
|
222
265
|
displayBoList: [
|
|
223
266
|
new DisplayBoListItem({
|
|
224
267
|
value: 'name'
|
|
225
268
|
})
|
|
226
269
|
]
|
|
227
270
|
});
|
|
228
|
-
|
|
229
|
-
_this.defaultValue = new AmountValue((_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : {
|
|
271
|
+
_this.defaultValue = new AmountValue((_ref6 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref6 !== void 0 ? _ref6 : {
|
|
230
272
|
amount: '',
|
|
231
273
|
currency: AMOUNT_TYPE.CNY
|
|
232
274
|
});
|
|
233
|
-
|
|
234
|
-
_this.unitPosition = (_props_unitPosition = props === null || props === void 0 ? void 0 : props.unitPosition) !== null && _props_unitPosition !== void 0 ? _props_unitPosition : 'right';
|
|
275
|
+
_this.unitPosition = (_ref7 = props === null || props === void 0 ? void 0 : props.unitPosition) !== null && _ref7 !== void 0 ? _ref7 : 'right';
|
|
235
276
|
_this.options = initOptions(props === null || props === void 0 ? void 0 : props.options);
|
|
236
|
-
|
|
237
|
-
_this.
|
|
238
|
-
|
|
239
|
-
_this.
|
|
240
|
-
var _props_submitSelectCurrency;
|
|
241
|
-
_this.submitSelectCurrency = (_props_submitSelectCurrency = props === null || props === void 0 ? void 0 : props.submitSelectCurrency) !== null && _props_submitSelectCurrency !== void 0 ? _props_submitSelectCurrency : false;
|
|
242
|
-
var _props_showUpperCase;
|
|
243
|
-
_this.showUpperCase = (_props_showUpperCase = props === null || props === void 0 ? void 0 : props.showUpperCase) !== null && _props_showUpperCase !== void 0 ? _props_showUpperCase : false;
|
|
277
|
+
_this.caption = (_ref8 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref8 !== void 0 ? _ref8 : AmountControl.controlName;
|
|
278
|
+
_this.placeholder = (_ref9 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _ref9 !== void 0 ? _ref9 : getLocaleText('CMD.pleaseEnter', null, '请输入');
|
|
279
|
+
_this.submitSelectCurrency = (_ref10 = props === null || props === void 0 ? void 0 : props.submitSelectCurrency) !== null && _ref10 !== void 0 ? _ref10 : false;
|
|
280
|
+
_this.showUpperCase = (_ref11 = props === null || props === void 0 ? void 0 : props.showUpperCase) !== null && _ref11 !== void 0 ? _ref11 : false;
|
|
244
281
|
return _this;
|
|
245
282
|
}
|
|
246
283
|
return AmountProperty;
|
|
@@ -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": "隐藏标题",
|
|
@@ -301,14 +324,14 @@
|
|
|
301
324
|
"optionConfig": {
|
|
302
325
|
"type": "string",
|
|
303
326
|
"enum": [
|
|
304
|
-
"
|
|
305
|
-
"
|
|
327
|
+
"datasource",
|
|
328
|
+
"custom"
|
|
306
329
|
],
|
|
307
330
|
"description": "选项配置 custom datasource",
|
|
308
331
|
"default": "datasource",
|
|
309
332
|
"enumDescription": [
|
|
310
|
-
"
|
|
311
|
-
"
|
|
333
|
+
"datasource",
|
|
334
|
+
"custom"
|
|
312
335
|
]
|
|
313
336
|
},
|
|
314
337
|
"datasourceBind": {
|
|
@@ -176,10 +176,7 @@ _define_property(AttachmentControl, "setting", [
|
|
|
176
176
|
key: 'ai-explanation',
|
|
177
177
|
visible: true
|
|
178
178
|
},
|
|
179
|
-
{
|
|
180
|
-
key: 'attachment-storage',
|
|
181
|
-
visible: true
|
|
182
|
-
},
|
|
179
|
+
// { key: 'attachment-storage', visible: true },
|
|
183
180
|
{
|
|
184
181
|
key: 'attachment-state',
|
|
185
182
|
visible: true
|