@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
|
@@ -138,29 +138,58 @@ var TextareaProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
138
138
|
function TextareaProperty(props) {
|
|
139
139
|
_class_call_check(this, TextareaProperty);
|
|
140
140
|
var _this;
|
|
141
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9;
|
|
141
142
|
_this = _call_super(this, TextareaProperty, [
|
|
142
143
|
props
|
|
143
|
-
]),
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
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 ''
|
|
155
|
+
* @public
|
|
156
|
+
*/ _define_property(_this, "defaultValue", void 0), /**
|
|
157
|
+
* 行高设置 分为pc 和 移动 默认值为 RowHeight
|
|
158
|
+
* @defaultValue new MetaRowHeight()
|
|
159
|
+
* @public
|
|
160
|
+
*/ _define_property(_this, "rowHeightSetting", void 0), /**
|
|
161
|
+
* 是否开启 AI 内容搜索
|
|
162
|
+
* @defaultValue false
|
|
163
|
+
* @public
|
|
164
|
+
*/ _define_property(_this, "aiContentSearch", void 0), /**
|
|
165
|
+
* 是否开启 AI 生成
|
|
166
|
+
* @defaultValue false
|
|
167
|
+
* @public
|
|
168
|
+
*/ _define_property(_this, "aiGeneration", void 0), /**
|
|
169
|
+
* AI 生成选项
|
|
170
|
+
* @defaultValue [{ label: '总结', cueWord: 'SUMM', checked: true }, ...]
|
|
171
|
+
* @public
|
|
172
|
+
*/ _define_property(_this, "aiOptions", void 0), /**
|
|
173
|
+
* 在明细子表中自动高度
|
|
174
|
+
* @defaultValue false
|
|
175
|
+
* @public
|
|
176
|
+
*/ _define_property(_this, "autoHeight", void 0), /**
|
|
177
|
+
* 在明细子表中行数设置
|
|
178
|
+
* @defaultValue 1
|
|
179
|
+
* @public
|
|
180
|
+
*/ _define_property(_this, "lineEllipsis", void 0);
|
|
181
|
+
_this.maxLength = (_ref = props === null || props === void 0 ? void 0 : props.maxLength) !== null && _ref !== void 0 ? _ref : 50000;
|
|
182
|
+
_this.minLength = (_ref1 = props === null || props === void 0 ? void 0 : props.minLength) !== null && _ref1 !== void 0 ? _ref1 : 0;
|
|
183
|
+
_this.defaultValue = (_ref2 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref2 !== void 0 ? _ref2 : '';
|
|
184
|
+
_this.caption = (_ref3 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref3 !== void 0 ? _ref3 : TextareaControl.controlName;
|
|
185
|
+
_this.placeholder = (_ref4 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _ref4 !== void 0 ? _ref4 : getLocaleText('CMD.pleaseEnter', null, '请输入');
|
|
154
186
|
// this.lineEllipsis = props?.lineEllipsis ?? 4
|
|
155
187
|
// this.autoSize = props?.autoSize ?? false
|
|
156
188
|
// this.maxRows = props?.maxRows
|
|
157
189
|
_this.rowHeightSetting = new MetaRowHeight(props === null || props === void 0 ? void 0 : props.rowHeightSetting);
|
|
158
|
-
|
|
159
|
-
_this.
|
|
160
|
-
|
|
161
|
-
_this.aiGeneration = (_props_aiGeneration = props === null || props === void 0 ? void 0 : props.aiGeneration) !== null && _props_aiGeneration !== void 0 ? _props_aiGeneration : false;
|
|
162
|
-
var _props_aiOptions;
|
|
163
|
-
_this.aiOptions = initAiOptions((_props_aiOptions = props === null || props === void 0 ? void 0 : props.aiOptions) !== null && _props_aiOptions !== void 0 ? _props_aiOptions : [
|
|
190
|
+
_this.aiContentSearch = (_ref5 = props === null || props === void 0 ? void 0 : props.aiContentSearch) !== null && _ref5 !== void 0 ? _ref5 : false;
|
|
191
|
+
_this.aiGeneration = (_ref6 = props === null || props === void 0 ? void 0 : props.aiGeneration) !== null && _ref6 !== void 0 ? _ref6 : false;
|
|
192
|
+
_this.aiOptions = initAiOptions((_ref7 = props === null || props === void 0 ? void 0 : props.aiOptions) !== null && _ref7 !== void 0 ? _ref7 : [
|
|
164
193
|
{
|
|
165
194
|
label: getLocaleText('CMD.aiOptionOneLabel', null, '总结'),
|
|
166
195
|
cueWord: getLocaleText('CMD.aiOptionOneCurword', null, 'SUMM'),
|
|
@@ -177,10 +206,8 @@ var TextareaProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
177
206
|
checked: false
|
|
178
207
|
}
|
|
179
208
|
]);
|
|
180
|
-
|
|
181
|
-
_this.
|
|
182
|
-
var _props_lineEllipsis;
|
|
183
|
-
_this.lineEllipsis = (_props_lineEllipsis = props === null || props === void 0 ? void 0 : props.lineEllipsis) !== null && _props_lineEllipsis !== void 0 ? _props_lineEllipsis : 1;
|
|
209
|
+
_this.autoHeight = (_ref8 = props === null || props === void 0 ? void 0 : props.autoHeight) !== null && _ref8 !== void 0 ? _ref8 : false;
|
|
210
|
+
_this.lineEllipsis = (_ref9 = props === null || props === void 0 ? void 0 : props.lineEllipsis) !== null && _ref9 !== void 0 ? _ref9 : 1;
|
|
184
211
|
return _this;
|
|
185
212
|
}
|
|
186
213
|
return TextareaProperty;
|
|
@@ -9,6 +9,14 @@
|
|
|
9
9
|
"description": "是否隐藏",
|
|
10
10
|
"default": false
|
|
11
11
|
},
|
|
12
|
+
"className": {
|
|
13
|
+
"type": "array",
|
|
14
|
+
"items": {
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
"description": "样式类",
|
|
18
|
+
"default": []
|
|
19
|
+
},
|
|
12
20
|
"caption": {
|
|
13
21
|
"type": "string",
|
|
14
22
|
"description": "标题",
|
|
@@ -17,14 +25,14 @@
|
|
|
17
25
|
"defaultState": {
|
|
18
26
|
"type": "string",
|
|
19
27
|
"enum": [
|
|
20
|
-
"
|
|
21
|
-
"
|
|
28
|
+
"readonly",
|
|
29
|
+
"default"
|
|
22
30
|
],
|
|
23
31
|
"description": "默认状态",
|
|
24
32
|
"default": "default",
|
|
25
33
|
"enumDescription": [
|
|
26
|
-
"
|
|
27
|
-
"
|
|
34
|
+
"readonly",
|
|
35
|
+
"default"
|
|
28
36
|
]
|
|
29
37
|
},
|
|
30
38
|
"captionSize": {
|
|
@@ -42,6 +50,21 @@
|
|
|
42
50
|
"description": "标题斜体",
|
|
43
51
|
"default": false
|
|
44
52
|
},
|
|
53
|
+
"captionFontWeight": {
|
|
54
|
+
"type": "string",
|
|
55
|
+
"enum": [
|
|
56
|
+
"normal",
|
|
57
|
+
"bold",
|
|
58
|
+
"lighter"
|
|
59
|
+
],
|
|
60
|
+
"description": "标题字重;",
|
|
61
|
+
"default": "normal",
|
|
62
|
+
"enumDescription": [
|
|
63
|
+
"常规",
|
|
64
|
+
"粗体",
|
|
65
|
+
"更细"
|
|
66
|
+
]
|
|
67
|
+
},
|
|
45
68
|
"isHideCaption": {
|
|
46
69
|
"type": "boolean",
|
|
47
70
|
"description": "隐藏标题",
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* name: rok_time_picker
|
|
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_time_picker
|
|
75
|
+
* description: 时间选择组件,用于录入单个时间值。适合会议时间、打卡时间等场景,支持时分秒格式、自定义格式、时间限制和国际化配置。
|
|
76
|
+
*/ import TimePickerControl from './designer';
|
|
77
77
|
import { BaseControlProperty } from '@byteluck-fe/model-driven-core';
|
|
78
78
|
import { LimitTime } from '../../framework';
|
|
79
79
|
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
@@ -84,26 +84,40 @@ var TimePickerProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
84
84
|
function TimePickerProperty(props) {
|
|
85
85
|
_class_call_check(this, TimePickerProperty);
|
|
86
86
|
var _this;
|
|
87
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6;
|
|
87
88
|
var _props_limitTimeList;
|
|
88
89
|
_this = _call_super(this, TimePickerProperty, [
|
|
89
90
|
props
|
|
90
|
-
]),
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
91
|
+
]), /**
|
|
92
|
+
* 时间展示类型;取值:hoursec:时分秒;hourmin:时分;custom:自定义;
|
|
93
|
+
* @defaultValue 'hoursec'
|
|
94
|
+
* @public
|
|
95
|
+
*/ _define_property(_this, "timeType", void 0), /**
|
|
96
|
+
* 时间格式化字符串
|
|
97
|
+
* @defaultValue ''
|
|
98
|
+
* @public
|
|
99
|
+
*/ _define_property(_this, "format", void 0), /**
|
|
100
|
+
* 默认值
|
|
101
|
+
* @defaultValue ''
|
|
102
|
+
* @public
|
|
103
|
+
*/ _define_property(_this, "defaultValue", void 0), /**
|
|
104
|
+
* 时间限制范围
|
|
105
|
+
* @defaultValue []
|
|
106
|
+
* @public
|
|
107
|
+
*/ _define_property(_this, "limitTimeList", void 0), /**
|
|
108
|
+
* 是否国际化
|
|
109
|
+
* @defaultValue false
|
|
110
|
+
* @public
|
|
111
|
+
*/ _define_property(_this, "isInternational", void 0);
|
|
112
|
+
_this.timeType = (_ref = props === null || props === void 0 ? void 0 : props.timeType) !== null && _ref !== void 0 ? _ref : TimeType.HOURSEC;
|
|
113
|
+
_this.format = (_ref1 = props === null || props === void 0 ? void 0 : props.format) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
114
|
+
_this.caption = (_ref2 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref2 !== void 0 ? _ref2 : TimePickerControl.controlName;
|
|
115
|
+
_this.placeholder = (_ref3 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _ref3 !== void 0 ? _ref3 : getLocaleText('CMD.c9dc1774578987545');
|
|
116
|
+
_this.defaultValue = (_ref4 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref4 !== void 0 ? _ref4 : '';
|
|
117
|
+
_this.limitTimeList = (_ref5 = props === null || props === void 0 ? void 0 : (_props_limitTimeList = props.limitTimeList) === null || _props_limitTimeList === void 0 ? void 0 : _props_limitTimeList.map(function(item) {
|
|
103
118
|
return new LimitTime(item);
|
|
104
|
-
})) !== null &&
|
|
105
|
-
|
|
106
|
-
_this.isInternational = (_props_isInternational = props === null || props === void 0 ? void 0 : props.isInternational) !== null && _props_isInternational !== void 0 ? _props_isInternational : false;
|
|
119
|
+
})) !== null && _ref5 !== void 0 ? _ref5 : [];
|
|
120
|
+
_this.isInternational = (_ref6 = props === null || props === void 0 ? void 0 : props.isInternational) !== null && _ref6 !== void 0 ? _ref6 : false;
|
|
107
121
|
return _this;
|
|
108
122
|
}
|
|
109
123
|
return TimePickerProperty;
|
|
@@ -9,6 +9,14 @@
|
|
|
9
9
|
"description": "是否隐藏",
|
|
10
10
|
"default": false
|
|
11
11
|
},
|
|
12
|
+
"className": {
|
|
13
|
+
"type": "array",
|
|
14
|
+
"items": {
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
"description": "样式类",
|
|
18
|
+
"default": []
|
|
19
|
+
},
|
|
12
20
|
"caption": {
|
|
13
21
|
"type": "string",
|
|
14
22
|
"description": "标题",
|
|
@@ -17,14 +25,14 @@
|
|
|
17
25
|
"defaultState": {
|
|
18
26
|
"type": "string",
|
|
19
27
|
"enum": [
|
|
20
|
-
"
|
|
21
|
-
"
|
|
28
|
+
"readonly",
|
|
29
|
+
"default"
|
|
22
30
|
],
|
|
23
31
|
"description": "默认状态",
|
|
24
32
|
"default": "default",
|
|
25
33
|
"enumDescription": [
|
|
26
|
-
"
|
|
27
|
-
"
|
|
34
|
+
"readonly",
|
|
35
|
+
"default"
|
|
28
36
|
]
|
|
29
37
|
},
|
|
30
38
|
"captionSize": {
|
|
@@ -42,6 +50,21 @@
|
|
|
42
50
|
"description": "标题斜体",
|
|
43
51
|
"default": false
|
|
44
52
|
},
|
|
53
|
+
"captionFontWeight": {
|
|
54
|
+
"type": "string",
|
|
55
|
+
"enum": [
|
|
56
|
+
"normal",
|
|
57
|
+
"bold",
|
|
58
|
+
"lighter"
|
|
59
|
+
],
|
|
60
|
+
"description": "标题字重;",
|
|
61
|
+
"default": "normal",
|
|
62
|
+
"enumDescription": [
|
|
63
|
+
"常规",
|
|
64
|
+
"粗体",
|
|
65
|
+
"更细"
|
|
66
|
+
]
|
|
67
|
+
},
|
|
45
68
|
"isHideCaption": {
|
|
46
69
|
"type": "boolean",
|
|
47
70
|
"description": "隐藏标题",
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* name: rok_time_range
|
|
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_time_range
|
|
75
|
+
* description: 时间区间组件,用于录入开始和结束时间。适合班次安排、会议时段等场景,支持时间格式、默认区间、范围限制和国际化配置。
|
|
76
|
+
*/ import { BaseControlProperty, BaseControlPropertyRuntimeRules, RangeDataBind, RangeDateValue } from '@byteluck-fe/model-driven-core';
|
|
77
77
|
import TimeRangeControl from './designer';
|
|
78
78
|
import { LimitTime } from '../../framework';
|
|
79
79
|
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
@@ -117,32 +117,64 @@ var TimeRangeProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
117
117
|
function TimeRangeProperty(props) {
|
|
118
118
|
_class_call_check(this, TimeRangeProperty);
|
|
119
119
|
var _this;
|
|
120
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8;
|
|
120
121
|
var _props_limitTimeList;
|
|
121
122
|
_this = _call_super(this, TimeRangeProperty, [
|
|
122
123
|
props
|
|
123
|
-
]),
|
|
124
|
+
]), /**
|
|
125
|
+
* 时间展示类型;取值:hoursec:时分秒;hourmin:时分;custom:自定义;
|
|
126
|
+
* @defaultValue 'hoursec'
|
|
127
|
+
* @public
|
|
128
|
+
*/ _define_property(_this, "timeType", void 0), /**
|
|
129
|
+
* 数据绑定项
|
|
130
|
+
* @defaultValue new RangeDataBind()
|
|
131
|
+
* @public
|
|
132
|
+
*/ _define_property(_this, "dataBind", void 0), /**
|
|
133
|
+
* 开始时间
|
|
134
|
+
* @defaultValue ''
|
|
135
|
+
* @public
|
|
136
|
+
*/ _define_property(_this, "rangeMin", void 0), /**
|
|
137
|
+
* 结束时间
|
|
138
|
+
* @defaultValue ''
|
|
139
|
+
* @public
|
|
140
|
+
*/ _define_property(_this, "rangeMax", void 0), /**
|
|
141
|
+
* 时间区间开始的提示文字
|
|
142
|
+
* @defaultValue getLocaleText('CMD.be931774579000687')
|
|
143
|
+
* @public
|
|
144
|
+
*/ _define_property(_this, "placeholderStart", void 0), /**
|
|
145
|
+
* 时间区结束的提示文字
|
|
146
|
+
* @defaultValue getLocaleText('CMD.0a501774579002398')
|
|
147
|
+
* @public
|
|
148
|
+
*/ _define_property(_this, "placeholderEnd", void 0), /**
|
|
149
|
+
* 时间格式化字符串
|
|
150
|
+
* @defaultValue ''
|
|
151
|
+
* @public
|
|
152
|
+
*/ _define_property(_this, "format", void 0), /**
|
|
153
|
+
* 默认值
|
|
154
|
+
* @defaultValue new RangeDateValue()
|
|
155
|
+
* @public
|
|
156
|
+
*/ _define_property(_this, "defaultValue", void 0), /**
|
|
157
|
+
* 时间限制范围
|
|
158
|
+
* @defaultValue []
|
|
159
|
+
* @public
|
|
160
|
+
*/ _define_property(_this, "limitTimeList", void 0), /**
|
|
161
|
+
* 是否国际化
|
|
162
|
+
* @defaultValue false
|
|
163
|
+
* @public
|
|
164
|
+
*/ _define_property(_this, "isInternational", void 0);
|
|
124
165
|
_this.dataBind = new RangeDataBind(props === null || props === void 0 ? void 0 : props.dataBind);
|
|
125
166
|
_this.defaultValue = new RangeDateValue(props === null || props === void 0 ? void 0 : props.defaultValue);
|
|
126
|
-
|
|
127
|
-
_this.
|
|
128
|
-
|
|
129
|
-
_this.
|
|
130
|
-
|
|
131
|
-
_this.
|
|
132
|
-
|
|
133
|
-
_this.
|
|
134
|
-
var _props_placeholderStart;
|
|
135
|
-
_this.placeholderStart = (_props_placeholderStart = props === null || props === void 0 ? void 0 : props.placeholderStart) !== null && _props_placeholderStart !== void 0 ? _props_placeholderStart : getLocaleText('CMD.be931774579000687');
|
|
136
|
-
var _props_placeholderEnd;
|
|
137
|
-
_this.placeholderEnd = (_props_placeholderEnd = props === null || props === void 0 ? void 0 : props.placeholderEnd) !== null && _props_placeholderEnd !== void 0 ? _props_placeholderEnd : getLocaleText('CMD.0a501774579002398');
|
|
138
|
-
var _props_caption;
|
|
139
|
-
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : TimeRangeControl.controlName;
|
|
140
|
-
var _props_limitTimeList_map;
|
|
141
|
-
_this.limitTimeList = (_props_limitTimeList_map = props === null || props === void 0 ? void 0 : (_props_limitTimeList = props.limitTimeList) === null || _props_limitTimeList === void 0 ? void 0 : _props_limitTimeList.map(function(item) {
|
|
167
|
+
_this.timeType = (_ref = props === null || props === void 0 ? void 0 : props.timeType) !== null && _ref !== void 0 ? _ref : TimeType.HOURSEC;
|
|
168
|
+
_this.format = (_ref1 = props === null || props === void 0 ? void 0 : props.format) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
169
|
+
_this.rangeMin = (_ref2 = props === null || props === void 0 ? void 0 : props.rangeMin) !== null && _ref2 !== void 0 ? _ref2 : '';
|
|
170
|
+
_this.rangeMax = (_ref3 = props === null || props === void 0 ? void 0 : props.rangeMax) !== null && _ref3 !== void 0 ? _ref3 : '';
|
|
171
|
+
_this.placeholderStart = (_ref4 = props === null || props === void 0 ? void 0 : props.placeholderStart) !== null && _ref4 !== void 0 ? _ref4 : getLocaleText('CMD.be931774579000687');
|
|
172
|
+
_this.placeholderEnd = (_ref5 = props === null || props === void 0 ? void 0 : props.placeholderEnd) !== null && _ref5 !== void 0 ? _ref5 : getLocaleText('CMD.0a501774579002398');
|
|
173
|
+
_this.caption = (_ref6 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref6 !== void 0 ? _ref6 : TimeRangeControl.controlName;
|
|
174
|
+
_this.limitTimeList = (_ref7 = props === null || props === void 0 ? void 0 : (_props_limitTimeList = props.limitTimeList) === null || _props_limitTimeList === void 0 ? void 0 : _props_limitTimeList.map(function(item) {
|
|
142
175
|
return new LimitTime(item);
|
|
143
|
-
})) !== null &&
|
|
144
|
-
|
|
145
|
-
_this.isInternational = (_props_isInternational = props === null || props === void 0 ? void 0 : props.isInternational) !== null && _props_isInternational !== void 0 ? _props_isInternational : false;
|
|
176
|
+
})) !== null && _ref7 !== void 0 ? _ref7 : [];
|
|
177
|
+
_this.isInternational = (_ref8 = props === null || props === void 0 ? void 0 : props.isInternational) !== null && _ref8 !== void 0 ? _ref8 : false;
|
|
146
178
|
return _this;
|
|
147
179
|
}
|
|
148
180
|
return TimeRangeProperty;
|
|
@@ -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": "隐藏标题",
|
|
@@ -217,12 +240,12 @@
|
|
|
217
240
|
"placeholderStart": {
|
|
218
241
|
"type": "string",
|
|
219
242
|
"description": "时间区间开始的提示文字",
|
|
220
|
-
"default": "
|
|
243
|
+
"default": "getLocaleText('CMD.be931774579000687')"
|
|
221
244
|
},
|
|
222
245
|
"placeholderEnd": {
|
|
223
246
|
"type": "string",
|
|
224
247
|
"description": "时间区结束的提示文字",
|
|
225
|
-
"default": "
|
|
248
|
+
"default": "getLocaleText('CMD.0a501774579002398')"
|
|
226
249
|
},
|
|
227
250
|
"format": {
|
|
228
251
|
"type": "string",
|
|
@@ -168,54 +168,112 @@ var TreeProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
168
168
|
function TreeProperty(props) {
|
|
169
169
|
_class_call_check(this, TreeProperty);
|
|
170
170
|
var _this;
|
|
171
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11, _ref12, _ref13, _ref14, _ref15, _ref16, _ref17, _ref18;
|
|
171
172
|
var _props_multistageFilling;
|
|
172
173
|
_this = _call_super(this, TreeProperty, [
|
|
173
174
|
props
|
|
174
|
-
]),
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
175
|
+
]), /**
|
|
176
|
+
* 占位提示
|
|
177
|
+
* @defaultValue '请选择'
|
|
178
|
+
* @public
|
|
179
|
+
*/ _define_property(_this, "placeholder", void 0), /**
|
|
180
|
+
* 是否多选
|
|
181
|
+
* @defaultValue false
|
|
182
|
+
* @public
|
|
183
|
+
*/ _define_property(_this, "multiple", void 0), /**
|
|
184
|
+
* 是否支持搜索
|
|
185
|
+
* @defaultValue true
|
|
186
|
+
* @public
|
|
187
|
+
*/ _define_property(_this, "canSearch", void 0), /**
|
|
188
|
+
* 可选层级类型;取值:all:全部;specified:指定;last:末级;
|
|
189
|
+
* @defaultValue 'all'
|
|
190
|
+
* @public
|
|
191
|
+
*/ _define_property(_this, "levelType", void 0), /**
|
|
192
|
+
* 可选层级
|
|
193
|
+
* @defaultValue 1
|
|
194
|
+
* @public
|
|
195
|
+
*/ _define_property(_this, "optionalLevel", void 0), /**
|
|
196
|
+
* 是否包含下级节点
|
|
197
|
+
* @defaultValue false
|
|
198
|
+
* @public
|
|
199
|
+
*/ _define_property(_this, "containsSubNode", void 0), /**
|
|
200
|
+
* 是否默认显示
|
|
201
|
+
* @defaultValue false
|
|
202
|
+
* @public
|
|
203
|
+
*/ _define_property(_this, "defaultDisplay", void 0), /**
|
|
204
|
+
* 是否显示包含下级
|
|
205
|
+
* @defaultValue false
|
|
206
|
+
* @public
|
|
207
|
+
*/ _define_property(_this, "isShowIncludeSub", void 0), /**
|
|
208
|
+
* 包含下级选项是否默认勾选
|
|
209
|
+
* @defaultValue false
|
|
210
|
+
* @public
|
|
211
|
+
*/ _define_property(_this, "isDefaultCheckSub", void 0), /**
|
|
212
|
+
* 是否显示筛选设置
|
|
213
|
+
* @defaultValue false
|
|
214
|
+
* @public
|
|
215
|
+
*/ _define_property(_this, "isShowFilterItem", void 0), /**
|
|
216
|
+
* 默认折叠方式;取值:all:全部;specified:指定;none:无;
|
|
217
|
+
* @defaultValue 'all'
|
|
218
|
+
* @public
|
|
219
|
+
*/ _define_property(_this, "defaultCollapse", void 0), /**
|
|
220
|
+
* 默认折叠层级
|
|
221
|
+
* @defaultValue 1
|
|
222
|
+
* @public
|
|
223
|
+
*/ _define_property(_this, "defaultCollapseLevel", void 0), /**
|
|
224
|
+
* 选项配置方式;取值:datasource:数据源;
|
|
225
|
+
* @defaultValue 'datasource'
|
|
226
|
+
* @public
|
|
227
|
+
*/ _define_property(_this, "optionConfig", 'datasource'), /**
|
|
228
|
+
* 数据源绑定
|
|
229
|
+
* @defaultValue new TreeDataSourceBind({ attributes: TreeControl.controlCustomAttributes })
|
|
230
|
+
* @public
|
|
231
|
+
*/ _define_property(_this, "datasourceBind", void 0), /**
|
|
232
|
+
* 筛选项数据源绑定
|
|
233
|
+
* @defaultValue new TreeDataSourceBind({ attributes: TreeControl.controlCustomAttributes })
|
|
234
|
+
* @public
|
|
235
|
+
*/ _define_property(_this, "filterItemDatasourceBind", void 0), /**
|
|
236
|
+
* 多级填充
|
|
237
|
+
* @defaultValue []
|
|
238
|
+
* @public
|
|
239
|
+
*/ _define_property(_this, "multistageFilling", void 0), /**
|
|
240
|
+
* 默认值
|
|
241
|
+
* @defaultValue []
|
|
242
|
+
* @public
|
|
243
|
+
*/ _define_property(_this, "defaultValue", void 0), /**
|
|
244
|
+
* 是否开启填充
|
|
245
|
+
* @defaultValue false
|
|
246
|
+
* @public
|
|
247
|
+
*/ _define_property(_this, "openMultistageFilling", void 0), /**
|
|
248
|
+
* 树查询条件
|
|
249
|
+
* @defaultValue []
|
|
250
|
+
* @public
|
|
251
|
+
*/ _define_property(_this, "treeQuery", void 0);
|
|
252
|
+
_this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : TreeControl.controlName;
|
|
253
|
+
_this.placeholder = (_ref1 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _ref1 !== void 0 ? _ref1 : getLocaleText('CMD.pleaseSelect', null, '请选择');
|
|
254
|
+
_this.multiple = (_ref2 = props === null || props === void 0 ? void 0 : props.multiple) !== null && _ref2 !== void 0 ? _ref2 : false;
|
|
255
|
+
_this.canSearch = (_ref3 = props === null || props === void 0 ? void 0 : props.canSearch) !== null && _ref3 !== void 0 ? _ref3 : true;
|
|
256
|
+
_this.levelType = (_ref4 = props === null || props === void 0 ? void 0 : props.levelType) !== null && _ref4 !== void 0 ? _ref4 : 'all';
|
|
257
|
+
_this.optionalLevel = (_ref5 = props === null || props === void 0 ? void 0 : props.optionalLevel) !== null && _ref5 !== void 0 ? _ref5 : 1;
|
|
258
|
+
_this.containsSubNode = (_ref6 = props === null || props === void 0 ? void 0 : props.containsSubNode) !== null && _ref6 !== void 0 ? _ref6 : false;
|
|
259
|
+
_this.isShowFilterItem = (_ref7 = props === null || props === void 0 ? void 0 : props.isShowFilterItem) !== null && _ref7 !== void 0 ? _ref7 : false;
|
|
260
|
+
_this.isShowIncludeSub = (_ref8 = props === null || props === void 0 ? void 0 : props.isShowIncludeSub) !== null && _ref8 !== void 0 ? _ref8 : false;
|
|
261
|
+
_this.isDefaultCheckSub = (_ref9 = props === null || props === void 0 ? void 0 : props.isDefaultCheckSub) !== null && _ref9 !== void 0 ? _ref9 : false;
|
|
262
|
+
_this.defaultCollapse = (_ref10 = props === null || props === void 0 ? void 0 : props.defaultCollapse) !== null && _ref10 !== void 0 ? _ref10 : 'all';
|
|
263
|
+
_this.defaultCollapseLevel = (_ref11 = props === null || props === void 0 ? void 0 : props.defaultCollapseLevel) !== null && _ref11 !== void 0 ? _ref11 : 1;
|
|
264
|
+
_this.datasourceBind = new TreeDataSourceBind((_ref12 = props === null || props === void 0 ? void 0 : props.datasourceBind) !== null && _ref12 !== void 0 ? _ref12 : {
|
|
201
265
|
attributes: TreeControl.controlCustomAttributes
|
|
202
266
|
});
|
|
203
|
-
|
|
204
|
-
_this.filterItemDatasourceBind = new TreeDataSourceBind((_props_filterItemDatasourceBind = props === null || props === void 0 ? void 0 : props.filterItemDatasourceBind) !== null && _props_filterItemDatasourceBind !== void 0 ? _props_filterItemDatasourceBind : {
|
|
267
|
+
_this.filterItemDatasourceBind = new TreeDataSourceBind((_ref13 = props === null || props === void 0 ? void 0 : props.filterItemDatasourceBind) !== null && _ref13 !== void 0 ? _ref13 : {
|
|
205
268
|
attributes: TreeControl.controlCustomAttributes
|
|
206
269
|
});
|
|
207
|
-
|
|
208
|
-
_this.
|
|
209
|
-
|
|
210
|
-
_this.defaultDisplay = (_props_defaultDisplay = props === null || props === void 0 ? void 0 : props.defaultDisplay) !== null && _props_defaultDisplay !== void 0 ? _props_defaultDisplay : false;
|
|
211
|
-
var _props_multistageFilling_map;
|
|
212
|
-
_this.multistageFilling = (_props_multistageFilling_map = props === null || props === void 0 ? void 0 : (_props_multistageFilling = props.multistageFilling) === null || _props_multistageFilling === void 0 ? void 0 : _props_multistageFilling.map(function(item) {
|
|
270
|
+
_this.openMultistageFilling = (_ref14 = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _ref14 !== void 0 ? _ref14 : false;
|
|
271
|
+
_this.defaultDisplay = (_ref15 = props === null || props === void 0 ? void 0 : props.defaultDisplay) !== null && _ref15 !== void 0 ? _ref15 : false;
|
|
272
|
+
_this.multistageFilling = (_ref16 = props === null || props === void 0 ? void 0 : (_props_multistageFilling = props.multistageFilling) === null || _props_multistageFilling === void 0 ? void 0 : _props_multistageFilling.map(function(item) {
|
|
213
273
|
return new MultistageFillingItem(item);
|
|
214
|
-
})) !== null &&
|
|
215
|
-
|
|
216
|
-
_this.
|
|
217
|
-
var _props_treeQuery;
|
|
218
|
-
_this.treeQuery = (_props_treeQuery = props === null || props === void 0 ? void 0 : props.treeQuery) !== null && _props_treeQuery !== void 0 ? _props_treeQuery : [];
|
|
274
|
+
})) !== null && _ref16 !== void 0 ? _ref16 : [];
|
|
275
|
+
_this.defaultValue = (_ref17 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref17 !== void 0 ? _ref17 : [];
|
|
276
|
+
_this.treeQuery = (_ref18 = props === null || props === void 0 ? void 0 : props.treeQuery) !== null && _ref18 !== void 0 ? _ref18 : [];
|
|
219
277
|
return _this;
|
|
220
278
|
}
|
|
221
279
|
return TreeProperty;
|