@byteluck-fe/model-driven-controls 7.0.0-props.2 → 7.0.0-props.21
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/BatchDeleteButton/property.js +14 -19
- package/dist/esm/baseControls/BatchDeleteButton/schema.json +118 -0
- package/dist/esm/baseControls/BatchPrintListButton/property.js +11 -12
- package/dist/esm/baseControls/BatchPrintListButton/schema.json +461 -0
- package/dist/esm/baseControls/BatchPrintRecordListButton/property.js +7 -5
- package/dist/esm/baseControls/BatchPrintRecordListButton/schema.json +135 -0
- package/dist/esm/baseControls/BatchSubmissionListButton/property.js +12 -22
- package/dist/esm/baseControls/BatchSubmissionListButton/schema.json +163 -0
- package/dist/esm/baseControls/Button/property.js +15 -53
- package/dist/esm/baseControls/Button/schema.json +135 -0
- package/dist/esm/baseControls/Comment/property.js +6 -3
- package/dist/esm/baseControls/Comment/schema.json +81 -0
- package/dist/esm/baseControls/CreateFormListButton/property.js +9 -9
- package/dist/esm/baseControls/CreateFormListButton/schema.json +157 -0
- package/dist/esm/baseControls/Dashboard/property.js +13 -17
- package/dist/esm/baseControls/Dashboard/schema.json +374 -0
- package/dist/esm/baseControls/Divider/designer.js +57 -0
- package/dist/esm/baseControls/Divider/property.js +16 -8
- package/dist/esm/baseControls/Divider/schema.json +141 -0
- package/dist/esm/baseControls/ExportListButton/property.js +10 -10
- package/dist/esm/baseControls/ExportListButton/schema.json +182 -0
- package/dist/esm/baseControls/ExportRecordListButton/property.js +7 -5
- package/dist/esm/baseControls/ExportRecordListButton/schema.json +135 -0
- package/dist/esm/baseControls/FormSelectButton/property.js +8 -7
- package/dist/esm/baseControls/FormSelectButton/schema.json +872 -0
- package/dist/esm/baseControls/ImportRecordListButton/property.js +11 -13
- package/dist/esm/baseControls/ImportRecordListButton/schema.json +161 -0
- package/dist/esm/baseControls/InvoiceCheckButton/property.js +15 -20
- package/dist/esm/baseControls/InvoiceCheckButton/schema.json +198 -0
- package/dist/esm/baseControls/Link/designer.js +41 -0
- package/dist/esm/baseControls/Link/property.js +15 -8
- package/dist/esm/baseControls/Link/schema.json +119 -0
- package/dist/esm/baseControls/ListSelectButton/property.js +11 -27
- package/dist/esm/baseControls/ListSelectButton/schema.json +922 -0
- package/dist/esm/baseControls/ListViewSelect/property.js +8 -6
- package/dist/esm/baseControls/ListViewSelect/schema.json +675 -0
- package/dist/esm/baseControls/OperationButton/property.js +12 -15
- package/dist/esm/baseControls/OperationButton/schema.json +129 -0
- package/dist/esm/baseControls/Pagination/property.js +4 -1
- package/dist/esm/baseControls/Pagination/schema.json +32 -0
- package/dist/esm/baseControls/ReferenceList/property.js +12 -19
- package/dist/esm/baseControls/ReferenceList/schema.json +414 -0
- package/dist/esm/baseControls/SubmissionRecordListButton/property.js +7 -5
- package/dist/esm/baseControls/SubmissionRecordListButton/schema.json +135 -0
- package/dist/esm/baseControls/Text/designer.js +8 -0
- package/dist/esm/baseControls/Text/property.js +22 -30
- package/dist/esm/baseControls/Text/schema.json +128 -0
- package/dist/esm/baseControls/TextOcrButton/property.js +15 -20
- package/dist/esm/baseControls/TextOcrButton/schema.json +198 -0
- package/dist/esm/baseControls/Title/property.js +8 -7
- package/dist/esm/baseControls/Title/schema.json +95 -0
- package/dist/esm/columnControls/ApprovalStatusColumn/property.js +10 -20
- package/dist/esm/columnControls/ApprovalStatusColumn/schema.json +209 -0
- package/dist/esm/columnControls/ArrayColumn/property.js +12 -34
- package/dist/esm/columnControls/ArrayColumn/schema.json +979 -0
- package/dist/esm/columnControls/AutoNumberColumn/property.js +8 -12
- package/dist/esm/columnControls/AutoNumberColumn/schema.json +204 -0
- package/dist/esm/columnControls/CustomColumn/property.js +9 -11
- package/dist/esm/columnControls/CustomColumn/schema.json +174 -0
- package/dist/esm/columnControls/DecimalColumn/property.js +14 -49
- package/dist/esm/columnControls/DecimalColumn/schema.json +997 -0
- package/dist/esm/columnControls/DepartmentColumn/property.js +9 -14
- package/dist/esm/columnControls/DepartmentColumn/schema.json +166 -0
- package/dist/esm/columnControls/EmployeeColumn/property.js +9 -13
- package/dist/esm/columnControls/EmployeeColumn/schema.json +940 -0
- package/dist/esm/columnControls/FileColumn/property.js +9 -10
- package/dist/esm/columnControls/FileColumn/schema.json +169 -0
- package/dist/esm/columnControls/GroupColumn/designer.js +2 -1
- package/dist/esm/columnControls/GroupColumn/property.js +6 -6
- package/dist/esm/columnControls/GroupColumn/schema.json +161 -0
- package/dist/esm/columnControls/ImageColumn/property.js +7 -6
- package/dist/esm/columnControls/ImageColumn/schema.json +161 -0
- package/dist/esm/columnControls/LocationColumn/property.js +10 -17
- package/dist/esm/columnControls/LocationColumn/schema.json +204 -0
- package/dist/esm/columnControls/OperationColumn/designer.js +12 -4
- package/dist/esm/columnControls/OperationColumn/property.js +12 -59
- package/dist/esm/columnControls/OperationColumn/schema.json +181 -0
- package/dist/esm/columnControls/OrderColumn/property.js +12 -17
- package/dist/esm/columnControls/OrderColumn/schema.json +161 -0
- package/dist/esm/columnControls/PeopleColumn/property.js +7 -6
- package/dist/esm/columnControls/PeopleColumn/schema.json +161 -0
- package/dist/esm/columnControls/TextColumn/property.js +11 -28
- package/dist/esm/columnControls/TextColumn/schema.json +214 -0
- package/dist/esm/columnControls/TimescopeColumn/property.js +11 -25
- package/dist/esm/columnControls/TimescopeColumn/schema.json +232 -0
- package/dist/esm/columnControls/TimestampColumn/property.js +11 -25
- package/dist/esm/columnControls/TimestampColumn/schema.json +232 -0
- package/dist/esm/columnControls/VarcharColumn/property.js +13 -39
- package/dist/esm/columnControls/VarcharColumn/schema.json +997 -0
- package/dist/esm/formControls/Address/property.js +13 -25
- package/dist/esm/formControls/Address/schema.json +205 -0
- package/dist/esm/formControls/Amount/property.js +19 -61
- package/dist/esm/formControls/Amount/schema.json +1077 -0
- package/dist/esm/formControls/Attachment/property.js +24 -53
- package/dist/esm/formControls/Attachment/schema.json +273 -0
- package/dist/esm/formControls/AutoNumber/property.js +8 -7
- package/dist/esm/formControls/AutoNumber/schema.json +152 -0
- package/dist/esm/formControls/Calc/property.js +15 -45
- package/dist/esm/formControls/Calc/schema.json +294 -0
- package/dist/esm/formControls/Cascader/property.js +23 -73
- package/dist/esm/formControls/Cascader/schema.json +1908 -0
- package/dist/esm/formControls/Checkbox/property.js +28 -49
- package/dist/esm/formControls/Checkbox/schema.json +1048 -0
- package/dist/esm/formControls/Counter/designer.js +189 -0
- package/dist/esm/formControls/Counter/index.js +11 -0
- package/dist/esm/formControls/Counter/property.js +167 -0
- package/dist/esm/formControls/Counter/runtime.js +114 -0
- package/dist/esm/formControls/Counter/schema.json +142 -0
- package/dist/esm/formControls/DatePicker/designer.js +4 -0
- package/dist/esm/formControls/DatePicker/property.js +21 -34
- package/dist/esm/formControls/DatePicker/schema.json +288 -0
- package/dist/esm/formControls/DateRange/property.js +19 -72
- package/dist/esm/formControls/DateRange/schema.json +328 -0
- package/dist/esm/formControls/Department/property.js +17 -43
- package/dist/esm/formControls/Department/schema.json +254 -0
- package/dist/esm/formControls/Department2/designer.js +8 -0
- package/dist/esm/formControls/Department2/property.js +33 -62
- package/dist/esm/formControls/Department2/schema.json +1388 -0
- package/dist/esm/formControls/ElectronicSignature/property.js +11 -13
- package/dist/esm/formControls/ElectronicSignature/schema.json +523 -0
- package/dist/esm/formControls/Employee/property.js +15 -27
- package/dist/esm/formControls/Employee/schema.json +244 -0
- package/dist/esm/formControls/Employee2/designer.js +4 -0
- package/dist/esm/formControls/Employee2/property.js +23 -47
- package/dist/esm/formControls/Employee2/schema.json +1097 -0
- package/dist/esm/formControls/Image/designer.js +8 -8
- package/dist/esm/formControls/Image/property.js +12 -24
- package/dist/esm/formControls/Image/schema.json +306 -0
- package/dist/esm/formControls/Input/property.js +17 -23
- package/dist/esm/formControls/Input/schema.json +219 -0
- package/dist/esm/formControls/Number/property.js +23 -94
- package/dist/esm/formControls/Number/schema.json +277 -0
- package/dist/esm/formControls/OrganizationSelection/property.js +24 -71
- package/dist/esm/formControls/OrganizationSelection/schema.json +1135 -0
- package/dist/esm/formControls/Radio/property.js +20 -47
- package/dist/esm/formControls/Radio/schema.json +1029 -0
- package/dist/esm/formControls/RichText/designer.js +8 -0
- package/dist/esm/formControls/RichText/property.js +55 -41
- package/dist/esm/formControls/RichText/schema.json +225 -0
- package/dist/esm/formControls/Score/designer.js +11 -2
- package/dist/esm/formControls/Score/property.js +16 -30
- package/dist/esm/formControls/Score/schema.json +233 -0
- package/dist/esm/formControls/SearchDateRange/property.js +19 -34
- package/dist/esm/formControls/SearchDateRange/schema.json +294 -0
- package/dist/esm/formControls/SearchInput/property.js +4 -1
- package/dist/esm/formControls/SearchInput/schema.json +219 -0
- package/dist/esm/formControls/SearchNumberRange/property.js +12 -16
- package/dist/esm/formControls/SearchNumberRange/schema.json +192 -0
- package/dist/esm/formControls/Select/property.js +19 -54
- package/dist/esm/formControls/Select/schema.json +1019 -0
- package/dist/esm/formControls/SelectMultiple/property.js +18 -51
- package/dist/esm/formControls/SelectMultiple/schema.json +1017 -0
- package/dist/esm/formControls/SelectRelation/property.js +20 -80
- package/dist/esm/formControls/SelectRelation/schema.json +1100 -0
- package/dist/esm/formControls/Textarea/property.js +17 -79
- package/dist/esm/formControls/Textarea/schema.json +271 -0
- package/dist/esm/formControls/TimePicker/property.js +15 -18
- package/dist/esm/formControls/TimePicker/schema.json +220 -0
- package/dist/esm/formControls/TimeRange/property.js +18 -54
- package/dist/esm/formControls/TimeRange/schema.json +283 -0
- package/dist/esm/formControls/Tree/designer.js +2 -1
- package/dist/esm/formControls/Tree/property.js +47 -45
- package/dist/esm/formControls/Tree/schema.json +1920 -0
- package/dist/esm/formControls/VueFormItem/property.js +10 -11
- package/dist/esm/formControls/VueFormItem/schema.json +178 -0
- package/dist/esm/formControls/VuePage/property.js +11 -12
- package/dist/esm/formControls/VuePage/schema.json +178 -0
- package/dist/esm/formControls/WPS/designer.js +9 -9
- package/dist/esm/formControls/WPS/property.js +17 -25
- package/dist/esm/formControls/WPS/schema.json +254 -0
- package/dist/esm/formControls/index.js +1 -0
- package/dist/esm/framework.js +215 -163
- package/dist/esm/layoutControls/ActionBar/designer.js +2 -2
- package/dist/esm/layoutControls/ActionBar/property.js +9 -11
- package/dist/esm/layoutControls/ActionBar/runtime.js +2 -2
- package/dist/esm/layoutControls/ActionBar/schema.json +69 -0
- package/dist/esm/layoutControls/AdvancedContainer/property.js +5 -1
- package/dist/esm/layoutControls/AdvancedContainer/schema.json +114 -0
- package/dist/esm/layoutControls/CardGroup/property.js +16 -48
- package/dist/esm/layoutControls/CardGroup/schema.json +145 -0
- package/dist/esm/layoutControls/Col/property.js +8 -7
- package/dist/esm/layoutControls/Col/schema.json +47 -0
- package/dist/esm/layoutControls/Collapse/designer.js +2 -2
- package/dist/esm/layoutControls/Collapse/property.js +9 -20
- package/dist/esm/layoutControls/Collapse/schema.json +52 -0
- package/dist/esm/layoutControls/CollapsePane/property.js +7 -7
- package/dist/esm/layoutControls/CollapsePane/schema.json +37 -0
- package/dist/esm/layoutControls/DataView/property.js +17 -18
- package/dist/esm/layoutControls/DataView/schema.json +996 -0
- package/dist/esm/layoutControls/Grid/property.js +76 -2
- package/dist/esm/layoutControls/Grid/schema.json +32 -0
- package/dist/esm/layoutControls/GridLayoutContainer/property.js +8 -8
- package/dist/esm/layoutControls/GridLayoutContainer/schema.json +42 -0
- package/dist/esm/layoutControls/GridRow/property.js +4 -1
- package/dist/esm/layoutControls/GridRow/schema.json +88 -0
- package/dist/esm/layoutControls/GridTableColumn/property.js +16 -23
- package/dist/esm/layoutControls/GridTableColumn/schema.json +886 -0
- package/dist/esm/layoutControls/ListView/property.js +27 -105
- package/dist/esm/layoutControls/ListView/schema.json +3183 -0
- package/dist/esm/layoutControls/Page/property.js +8 -8
- package/dist/esm/layoutControls/Page/schema.json +71 -0
- package/dist/esm/layoutControls/Position/property.js +10 -9
- package/dist/esm/layoutControls/Position/schema.json +52 -0
- package/dist/esm/layoutControls/PositioningContainer/property.js +5 -1
- package/dist/esm/layoutControls/PositioningContainer/schema.json +32 -0
- package/dist/esm/layoutControls/Row/designer.js +3 -12
- package/dist/esm/layoutControls/Row/property.js +10 -11
- package/dist/esm/layoutControls/Row/schema.json +88 -0
- package/dist/esm/layoutControls/Step/designer.js +4 -3
- package/dist/esm/layoutControls/Step/property.js +17 -60
- package/dist/esm/layoutControls/Step/schema.json +174 -0
- package/dist/esm/layoutControls/StepPane/property.js +14 -36
- package/dist/esm/layoutControls/StepPane/schema.json +100 -0
- package/dist/esm/layoutControls/SubTableColumn/property.js +11 -25
- package/dist/esm/layoutControls/SubTableColumn/schema.json +117 -0
- package/dist/esm/layoutControls/SubTableRow/property.js +4 -1
- package/dist/esm/layoutControls/SubTableRow/schema.json +32 -0
- package/dist/esm/layoutControls/Tab/designer.js +2 -2
- package/dist/esm/layoutControls/Tab/property.js +11 -27
- package/dist/esm/layoutControls/Tab/schema.json +85 -0
- package/dist/esm/layoutControls/TabPane/property.js +6 -3
- package/dist/esm/layoutControls/TabPane/schema.json +32 -0
- package/dist/esm/layoutControls/TableLayout/designer.js +6 -1
- package/dist/esm/layoutControls/TableLayout/property.js +21 -39
- package/dist/esm/layoutControls/TableLayout/schema.json +299 -0
- package/dist/esm/layoutControls/TableLayoutCol/property.js +16 -29
- package/dist/esm/layoutControls/TableLayoutCol/schema.json +169 -0
- package/dist/esm/layoutControls/TableLayoutRow/property.js +7 -5
- package/dist/esm/layoutControls/TableLayoutRow/schema.json +50 -0
- package/dist/esm/layoutControls/TableLayoutWrapper/property.js +9 -10
- package/dist/esm/layoutControls/TableLayoutWrapper/schema.json +57 -0
- package/dist/esm/layoutControls/Toolbox/property.js +4 -1
- package/dist/esm/layoutControls/Toolbox/schema.json +32 -0
- package/dist/esm/listControls/GridTable/designer.js +12 -4
- package/dist/esm/listControls/GridTable/property.js +11 -22
- package/dist/esm/listControls/GridTable/schema.json +93 -0
- package/dist/esm/listControls/SubTable/property.js +42 -190
- package/dist/esm/listControls/SubTable/schema.json +1114 -0
- package/dist/esm/searchControls/SimpleSearch/property.js +19 -72
- package/dist/esm/searchControls/SimpleSearch/runtime.js +2 -2
- package/dist/esm/searchControls/SimpleSearch/schema.json +321 -0
- package/dist/esm/wrapControls/GridLayoutWrap/designer.js +8 -8
- package/dist/esm/wrapControls/GridLayoutWrap/property.js +7 -3
- package/dist/esm/wrapControls/GridLayoutWrap/runtime.js +8 -8
- package/dist/esm/wrapControls/GridLayoutWrap/schema.json +37 -0
- package/dist/index.umd.js +1 -1
- package/dist/types/baseControls/BatchDeleteButton/property.d.ts +57 -3
- package/dist/types/baseControls/BatchPrintListButton/property.d.ts +21 -3
- package/dist/types/baseControls/BatchPrintRecordListButton/property.d.ts +9 -3
- package/dist/types/baseControls/BatchSubmissionListButton/property.d.ts +29 -9
- package/dist/types/baseControls/Button/property.d.ts +30 -14
- package/dist/types/baseControls/Comment/property.d.ts +21 -3
- package/dist/types/baseControls/CreateFormListButton/property.d.ts +21 -3
- package/dist/types/baseControls/Dashboard/property.d.ts +53 -3
- package/dist/types/baseControls/Divider/property.d.ts +71 -4
- package/dist/types/baseControls/ExportListButton/property.d.ts +21 -3
- package/dist/types/baseControls/ExportRecordListButton/property.d.ts +9 -3
- package/dist/types/baseControls/FormSelectButton/property.d.ts +33 -3
- package/dist/types/baseControls/ImportRecordListButton/property.d.ts +21 -3
- package/dist/types/baseControls/InvoiceCheckButton/property.d.ts +47 -3
- package/dist/types/baseControls/Link/property.d.ts +69 -3
- package/dist/types/baseControls/ListSelectButton/property.d.ts +40 -8
- package/dist/types/baseControls/ListViewSelect/property.d.ts +21 -3
- package/dist/types/baseControls/OperationButton/property.d.ts +97 -3
- package/dist/types/baseControls/Pagination/property.d.ts +9 -3
- package/dist/types/baseControls/ReferenceList/property.d.ts +39 -3
- package/dist/types/baseControls/SubmissionRecordListButton/property.d.ts +9 -3
- package/dist/types/baseControls/Text/property.d.ts +68 -8
- package/dist/types/baseControls/TextOcrButton/property.d.ts +51 -3
- package/dist/types/baseControls/Title/property.d.ts +33 -3
- package/dist/types/baseControls/index.d.ts +24 -0
- package/dist/types/columnControls/ApprovalStatusColumn/property.d.ts +15 -10
- package/dist/types/columnControls/ArrayColumn/property.d.ts +21 -10
- package/dist/types/columnControls/AutoNumberColumn/property.d.ts +18 -8
- package/dist/types/columnControls/CustomColumn/property.d.ts +21 -3
- package/dist/types/columnControls/DecimalColumn/property.d.ts +27 -10
- package/dist/types/columnControls/DepartmentColumn/property.d.ts +9 -6
- package/dist/types/columnControls/EmployeeColumn/property.d.ts +9 -5
- package/dist/types/columnControls/FileColumn/property.d.ts +13 -4
- package/dist/types/columnControls/GroupColumn/designer.d.ts +1 -1
- package/dist/types/columnControls/GroupColumn/property.d.ts +7 -5
- package/dist/types/columnControls/ImageColumn/property.d.ts +7 -4
- package/dist/types/columnControls/LocationColumn/property.d.ts +14 -4
- package/dist/types/columnControls/OperationColumn/property.d.ts +12 -4
- package/dist/types/columnControls/OrderColumn/property.d.ts +9 -3
- package/dist/types/columnControls/PeopleColumn/property.d.ts +7 -4
- package/dist/types/columnControls/TextColumn/property.d.ts +22 -10
- package/dist/types/columnControls/TimescopeColumn/property.d.ts +23 -6
- package/dist/types/columnControls/TimestampColumn/property.d.ts +23 -6
- package/dist/types/columnControls/VarcharColumn/property.d.ts +32 -9
- package/dist/types/columnControls/index.d.ts +18 -0
- package/dist/types/formControls/Address/property.d.ts +17 -4
- package/dist/types/formControls/Amount/property.d.ts +51 -17
- package/dist/types/formControls/Attachment/property.d.ts +93 -8
- package/dist/types/formControls/AutoNumber/property.d.ts +11 -3
- package/dist/types/formControls/Calc/property.d.ts +37 -15
- package/dist/types/formControls/Cascader/property.d.ts +38 -7
- package/dist/types/formControls/Checkbox/property.d.ts +119 -7
- package/dist/types/formControls/Counter/designer.d.ts +15 -0
- package/dist/types/formControls/Counter/index.d.ts +12 -0
- package/dist/types/formControls/Counter/property.d.ts +76 -0
- package/dist/types/formControls/Counter/runtime.d.ts +12 -0
- package/dist/types/formControls/DatePicker/property.d.ts +73 -3
- package/dist/types/formControls/DateRange/property.d.ts +37 -12
- package/dist/types/formControls/Department/property.d.ts +50 -15
- package/dist/types/formControls/Department2/property.d.ts +95 -19
- package/dist/types/formControls/ElectronicSignature/property.d.ts +53 -3
- package/dist/types/formControls/Employee/property.d.ts +53 -6
- package/dist/types/formControls/Employee2/property.d.ts +102 -6
- package/dist/types/formControls/Image/property.d.ts +25 -3
- package/dist/types/formControls/Input/property.d.ts +13 -7
- package/dist/types/formControls/Number/property.d.ts +46 -21
- package/dist/types/formControls/OrganizationSelection/property.d.ts +98 -19
- package/dist/types/formControls/Radio/property.d.ts +85 -6
- package/dist/types/formControls/RichText/property.d.ts +53 -9
- package/dist/types/formControls/Score/property.d.ts +52 -8
- package/dist/types/formControls/SearchDateRange/property.d.ts +75 -3
- package/dist/types/formControls/SearchInput/property.d.ts +9 -3
- package/dist/types/formControls/SearchNumberRange/property.d.ts +39 -3
- package/dist/types/formControls/Select/property.d.ts +70 -8
- package/dist/types/formControls/SelectMultiple/property.d.ts +65 -9
- package/dist/types/formControls/SelectRelation/property.d.ts +59 -10
- package/dist/types/formControls/Textarea/property.d.ts +26 -10
- package/dist/types/formControls/TimePicker/property.d.ts +37 -3
- package/dist/types/formControls/TimeRange/property.d.ts +39 -9
- package/dist/types/formControls/Tree/property.d.ts +148 -3
- package/dist/types/formControls/VueFormItem/property.d.ts +33 -3
- package/dist/types/formControls/VuePage/property.d.ts +33 -3
- package/dist/types/formControls/WPS/property.d.ts +77 -3
- package/dist/types/formControls/index.d.ts +36 -0
- package/dist/types/framework.d.ts +144 -0
- package/dist/types/layoutControls/ActionBar/property.d.ts +27 -3
- package/dist/types/layoutControls/AdvancedContainer/property.d.ts +21 -2
- package/dist/types/layoutControls/CardGroup/property.d.ts +46 -12
- package/dist/types/layoutControls/Col/property.d.ts +27 -3
- package/dist/types/layoutControls/Collapse/property.d.ts +17 -3
- package/dist/types/layoutControls/CollapsePane/property.d.ts +12 -4
- package/dist/types/layoutControls/DataView/property.d.ts +52 -3
- package/dist/types/layoutControls/Grid/property.d.ts +12 -2
- package/dist/types/layoutControls/GridLayoutContainer/property.d.ts +21 -3
- package/dist/types/layoutControls/GridRow/property.d.ts +9 -3
- package/dist/types/layoutControls/GridTableColumn/property.d.ts +81 -3
- package/dist/types/layoutControls/ListView/property.d.ts +66 -11
- package/dist/types/layoutControls/Page/property.d.ts +38 -6
- package/dist/types/layoutControls/Position/property.d.ts +33 -2
- package/dist/types/layoutControls/PositioningContainer/property.d.ts +9 -2
- package/dist/types/layoutControls/Row/property.d.ts +33 -3
- package/dist/types/layoutControls/Step/property.d.ts +42 -12
- package/dist/types/layoutControls/StepPane/property.d.ts +57 -3
- package/dist/types/layoutControls/SubTableColumn/property.d.ts +34 -11
- package/dist/types/layoutControls/SubTableRow/property.d.ts +9 -3
- package/dist/types/layoutControls/Tab/property.d.ts +23 -7
- package/dist/types/layoutControls/TabPane/property.d.ts +15 -3
- package/dist/types/layoutControls/TableLayout/property.d.ts +100 -3
- package/dist/types/layoutControls/TableLayoutCol/property.d.ts +71 -5
- package/dist/types/layoutControls/TableLayoutRow/property.d.ts +21 -3
- package/dist/types/layoutControls/TableLayoutWrapper/property.d.ts +27 -3
- package/dist/types/layoutControls/Toolbox/property.d.ts +9 -3
- package/dist/types/layoutControls/index.d.ts +27 -0
- package/dist/types/listControls/GridTable/property.d.ts +40 -3
- package/dist/types/listControls/SubTable/property.d.ts +122 -47
- package/dist/types/listControls/index.d.ts +2 -0
- package/dist/types/searchControls/SimpleSearch/property.d.ts +28 -7
- package/dist/types/searchControls/index.d.ts +1 -0
- package/dist/types/type.d.ts +2 -1
- package/dist/types/wrapControls/GridLayoutWrap/property.d.ts +15 -2
- package/dist/types/wrapControls/index.d.ts +1 -0
- package/package.json +5 -5
|
@@ -70,9 +70,13 @@ function _is_native_reflect_construct() {
|
|
|
70
70
|
return !!result;
|
|
71
71
|
})();
|
|
72
72
|
}
|
|
73
|
-
|
|
73
|
+
/**
|
|
74
|
+
* name: rok_time_range
|
|
75
|
+
* description: 时间区间组件,用于录入开始和结束时间。适合班次安排、会议时段等场景,支持时间格式、默认区间、范围限制和国际化配置。
|
|
76
|
+
*/ import { BaseControlProperty, BaseControlPropertyRuntimeRules, RangeDataBind, RangeDateValue } from '@byteluck-fe/model-driven-core';
|
|
74
77
|
import TimeRangeControl from './designer';
|
|
75
78
|
import { LimitTime } from '../../framework';
|
|
79
|
+
import { TimeType } from '@byteluck-fe/model-driven-shared';
|
|
76
80
|
var TimeRangePropertyRuntimeRules = /*#__PURE__*/ function(BaseControlPropertyRuntimeRules) {
|
|
77
81
|
"use strict";
|
|
78
82
|
_inherits(TimeRangePropertyRuntimeRules, BaseControlPropertyRuntimeRules);
|
|
@@ -106,70 +110,30 @@ var TimeRangePropertyRuntimeRules = /*#__PURE__*/ function(BaseControlPropertyRu
|
|
|
106
110
|
}
|
|
107
111
|
return TimeRangePropertyRuntimeRules;
|
|
108
112
|
}(BaseControlPropertyRuntimeRules);
|
|
109
|
-
|
|
110
|
-
* TimeRange 时间区间
|
|
111
|
-
* @public
|
|
112
|
-
*/ var TimeRangeProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
113
|
+
var TimeRangeProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
113
114
|
"use strict";
|
|
114
115
|
_inherits(TimeRangeProperty, BaseControlProperty);
|
|
115
116
|
function TimeRangeProperty(props) {
|
|
116
117
|
_class_call_check(this, TimeRangeProperty);
|
|
117
118
|
var _this;
|
|
119
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8;
|
|
118
120
|
var _props_limitTimeList;
|
|
119
121
|
_this = _call_super(this, TimeRangeProperty, [
|
|
120
122
|
props
|
|
121
|
-
]),
|
|
122
|
-
* 数据绑定项
|
|
123
|
-
*/ _define_property(_this, "dataBind", void 0), /**
|
|
124
|
-
* 开始时间
|
|
125
|
-
* @public
|
|
126
|
-
* @defaultValue ''
|
|
127
|
-
*/ _define_property(_this, "rangeMin", void 0), /**
|
|
128
|
-
* 结束时间
|
|
129
|
-
* @public
|
|
130
|
-
* @defaultValue ''
|
|
131
|
-
*/ _define_property(_this, "rangeMax", void 0), /**
|
|
132
|
-
* 时间区间开始的提示文字
|
|
133
|
-
* @defaultValue ''
|
|
134
|
-
* @public
|
|
135
|
-
*/ _define_property(_this, "placeholderStart", void 0), /**
|
|
136
|
-
* 时间区结束的提示文字
|
|
137
|
-
* @defaultValue ''
|
|
138
|
-
* @public
|
|
139
|
-
*/ _define_property(_this, "placeholderEnd", void 0), /**
|
|
140
|
-
* 时间格式化字符串
|
|
141
|
-
* @defaultValue ''
|
|
142
|
-
* @public
|
|
143
|
-
*/ _define_property(_this, "format", void 0), /**
|
|
144
|
-
* 默认值
|
|
145
|
-
* @defaultValue ''
|
|
146
|
-
* @public
|
|
147
|
-
*/ _define_property(_this, "defaultValue", void 0), /**
|
|
148
|
-
* 时间限制范围
|
|
149
|
-
* @defaultValue []
|
|
150
|
-
* @public
|
|
151
|
-
*/ _define_property(_this, "limitTimeList", void 0), _define_property(_this, "isInternational", void 0 //是否国际化
|
|
152
|
-
);
|
|
123
|
+
]), _define_property(_this, "timeType", void 0), _define_property(_this, "dataBind", void 0), _define_property(_this, "rangeMin", void 0), _define_property(_this, "rangeMax", void 0), _define_property(_this, "placeholderStart", void 0), _define_property(_this, "placeholderEnd", void 0), _define_property(_this, "format", void 0), _define_property(_this, "defaultValue", void 0), _define_property(_this, "limitTimeList", void 0), _define_property(_this, "isInternational", void 0);
|
|
153
124
|
_this.dataBind = new RangeDataBind(props === null || props === void 0 ? void 0 : props.dataBind);
|
|
154
125
|
_this.defaultValue = new RangeDateValue(props === null || props === void 0 ? void 0 : props.defaultValue);
|
|
155
|
-
|
|
156
|
-
_this.format = (
|
|
157
|
-
|
|
158
|
-
_this.
|
|
159
|
-
|
|
160
|
-
_this.
|
|
161
|
-
|
|
162
|
-
_this.
|
|
163
|
-
var _props_placeholderEnd;
|
|
164
|
-
_this.placeholderEnd = (_props_placeholderEnd = props === null || props === void 0 ? void 0 : props.placeholderEnd) !== null && _props_placeholderEnd !== void 0 ? _props_placeholderEnd : '结束时间';
|
|
165
|
-
var _props_caption;
|
|
166
|
-
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : TimeRangeControl.controlName;
|
|
167
|
-
var _props_limitTimeList_map;
|
|
168
|
-
_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) {
|
|
126
|
+
_this.timeType = (_ref = props === null || props === void 0 ? void 0 : props.timeType) !== null && _ref !== void 0 ? _ref : TimeType.HOURSEC;
|
|
127
|
+
_this.format = (_ref1 = props === null || props === void 0 ? void 0 : props.format) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
128
|
+
_this.rangeMin = (_ref2 = props === null || props === void 0 ? void 0 : props.rangeMin) !== null && _ref2 !== void 0 ? _ref2 : '';
|
|
129
|
+
_this.rangeMax = (_ref3 = props === null || props === void 0 ? void 0 : props.rangeMax) !== null && _ref3 !== void 0 ? _ref3 : '';
|
|
130
|
+
_this.placeholderStart = (_ref4 = props === null || props === void 0 ? void 0 : props.placeholderStart) !== null && _ref4 !== void 0 ? _ref4 : '开始时间';
|
|
131
|
+
_this.placeholderEnd = (_ref5 = props === null || props === void 0 ? void 0 : props.placeholderEnd) !== null && _ref5 !== void 0 ? _ref5 : '结束时间';
|
|
132
|
+
_this.caption = (_ref6 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref6 !== void 0 ? _ref6 : TimeRangeControl.controlName;
|
|
133
|
+
_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) {
|
|
169
134
|
return new LimitTime(item);
|
|
170
|
-
})) !== null &&
|
|
171
|
-
|
|
172
|
-
_this.isInternational = (_props_isInternational = props === null || props === void 0 ? void 0 : props.isInternational) !== null && _props_isInternational !== void 0 ? _props_isInternational : false;
|
|
135
|
+
})) !== null && _ref7 !== void 0 ? _ref7 : [];
|
|
136
|
+
_this.isInternational = (_ref8 = props === null || props === void 0 ? void 0 : props.isInternational) !== null && _ref8 !== void 0 ? _ref8 : false;
|
|
173
137
|
return _this;
|
|
174
138
|
}
|
|
175
139
|
return TimeRangeProperty;
|
|
@@ -0,0 +1,283 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "rok_time_range",
|
|
3
|
+
"description": "时间区间组件,用于录入开始和结束时间。适合班次安排、会议时段等场景,支持时间格式、默认区间、范围限制和国际化配置。",
|
|
4
|
+
"parameters": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"isHide": {
|
|
8
|
+
"type": "boolean",
|
|
9
|
+
"description": "是否隐藏",
|
|
10
|
+
"default": false
|
|
11
|
+
},
|
|
12
|
+
"caption": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"description": "标题",
|
|
15
|
+
"default": ""
|
|
16
|
+
},
|
|
17
|
+
"defaultState": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"enum": [
|
|
20
|
+
"default",
|
|
21
|
+
"readonly"
|
|
22
|
+
],
|
|
23
|
+
"description": "默认状态",
|
|
24
|
+
"default": "default",
|
|
25
|
+
"enumDescription": [
|
|
26
|
+
"default",
|
|
27
|
+
"readonly"
|
|
28
|
+
]
|
|
29
|
+
},
|
|
30
|
+
"captionSize": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"description": "标题大小",
|
|
33
|
+
"default": ""
|
|
34
|
+
},
|
|
35
|
+
"captionColor": {
|
|
36
|
+
"type": "string",
|
|
37
|
+
"description": "标题颜色",
|
|
38
|
+
"default": ""
|
|
39
|
+
},
|
|
40
|
+
"isCaptionItalic": {
|
|
41
|
+
"type": "boolean",
|
|
42
|
+
"description": "标题斜体",
|
|
43
|
+
"default": false
|
|
44
|
+
},
|
|
45
|
+
"isHideCaption": {
|
|
46
|
+
"type": "boolean",
|
|
47
|
+
"description": "隐藏标题",
|
|
48
|
+
"default": false
|
|
49
|
+
},
|
|
50
|
+
"isShowCaptionTip": {
|
|
51
|
+
"type": "boolean",
|
|
52
|
+
"description": "显示气泡提示",
|
|
53
|
+
"default": false
|
|
54
|
+
},
|
|
55
|
+
"captionTip": {
|
|
56
|
+
"type": "string",
|
|
57
|
+
"description": "气泡提示语",
|
|
58
|
+
"default": ""
|
|
59
|
+
},
|
|
60
|
+
"labelPosition": {
|
|
61
|
+
"type": "string",
|
|
62
|
+
"enum": [
|
|
63
|
+
"top",
|
|
64
|
+
"left"
|
|
65
|
+
],
|
|
66
|
+
"description": "标题布局",
|
|
67
|
+
"default": "",
|
|
68
|
+
"enumDescription": [
|
|
69
|
+
"top",
|
|
70
|
+
"left"
|
|
71
|
+
]
|
|
72
|
+
},
|
|
73
|
+
"dataBind": {
|
|
74
|
+
"type": "object",
|
|
75
|
+
"properties": {
|
|
76
|
+
"min": {
|
|
77
|
+
"type": "object",
|
|
78
|
+
"properties": {
|
|
79
|
+
"dataCode": {
|
|
80
|
+
"type": "string",
|
|
81
|
+
"description": "数据模型编码",
|
|
82
|
+
"default": ""
|
|
83
|
+
},
|
|
84
|
+
"fieldCode": {
|
|
85
|
+
"type": "string",
|
|
86
|
+
"description": "字段编码",
|
|
87
|
+
"default": ""
|
|
88
|
+
},
|
|
89
|
+
"fieldType": {
|
|
90
|
+
"type": "string",
|
|
91
|
+
"description": "字段类型",
|
|
92
|
+
"default": ""
|
|
93
|
+
},
|
|
94
|
+
"aliasCode": {
|
|
95
|
+
"type": "string",
|
|
96
|
+
"description": "表别名"
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
"description": "开始日期字段绑定项"
|
|
100
|
+
},
|
|
101
|
+
"max": {
|
|
102
|
+
"type": "object",
|
|
103
|
+
"properties": {
|
|
104
|
+
"dataCode": {
|
|
105
|
+
"type": "string",
|
|
106
|
+
"description": "数据模型编码",
|
|
107
|
+
"default": ""
|
|
108
|
+
},
|
|
109
|
+
"fieldCode": {
|
|
110
|
+
"type": "string",
|
|
111
|
+
"description": "字段编码",
|
|
112
|
+
"default": ""
|
|
113
|
+
},
|
|
114
|
+
"fieldType": {
|
|
115
|
+
"type": "string",
|
|
116
|
+
"description": "字段类型",
|
|
117
|
+
"default": ""
|
|
118
|
+
},
|
|
119
|
+
"aliasCode": {
|
|
120
|
+
"type": "string",
|
|
121
|
+
"description": "表别名"
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
"description": "结束日期字段绑定项"
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
"additionalProperties": {
|
|
128
|
+
"type": "object",
|
|
129
|
+
"properties": {
|
|
130
|
+
"dataCode": {
|
|
131
|
+
"type": "string",
|
|
132
|
+
"description": "数据模型编码",
|
|
133
|
+
"default": ""
|
|
134
|
+
},
|
|
135
|
+
"fieldCode": {
|
|
136
|
+
"type": "string",
|
|
137
|
+
"description": "字段编码",
|
|
138
|
+
"default": ""
|
|
139
|
+
},
|
|
140
|
+
"fieldType": {
|
|
141
|
+
"type": "string",
|
|
142
|
+
"description": "字段类型",
|
|
143
|
+
"default": ""
|
|
144
|
+
},
|
|
145
|
+
"aliasCode": {
|
|
146
|
+
"type": "string",
|
|
147
|
+
"description": "表别名"
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
"description": "数据绑定项",
|
|
152
|
+
"default": "new RangeDataBind()"
|
|
153
|
+
},
|
|
154
|
+
"defaultValue": {
|
|
155
|
+
"type": "object",
|
|
156
|
+
"properties": {
|
|
157
|
+
"min": {
|
|
158
|
+
"type": "string",
|
|
159
|
+
"description": "开始日期值",
|
|
160
|
+
"default": ""
|
|
161
|
+
},
|
|
162
|
+
"max": {
|
|
163
|
+
"type": "string",
|
|
164
|
+
"description": "结束日期值",
|
|
165
|
+
"default": ""
|
|
166
|
+
}
|
|
167
|
+
},
|
|
168
|
+
"description": "默认值",
|
|
169
|
+
"default": "new RangeDateValue()"
|
|
170
|
+
},
|
|
171
|
+
"placeholder": {
|
|
172
|
+
"type": "string",
|
|
173
|
+
"description": "提示文字",
|
|
174
|
+
"default": ""
|
|
175
|
+
},
|
|
176
|
+
"required": {
|
|
177
|
+
"type": "boolean",
|
|
178
|
+
"description": "必填",
|
|
179
|
+
"default": false
|
|
180
|
+
},
|
|
181
|
+
"requiredMessage": {
|
|
182
|
+
"type": "string",
|
|
183
|
+
"description": "必填提示文案",
|
|
184
|
+
"default": ""
|
|
185
|
+
},
|
|
186
|
+
"timeType": {
|
|
187
|
+
"type": "string",
|
|
188
|
+
"enum": [
|
|
189
|
+
"hoursec",
|
|
190
|
+
"hourmin",
|
|
191
|
+
"custom"
|
|
192
|
+
],
|
|
193
|
+
"description": "时间展示类型;",
|
|
194
|
+
"default": "hoursec",
|
|
195
|
+
"enumDescription": [
|
|
196
|
+
"时分秒",
|
|
197
|
+
"时分",
|
|
198
|
+
"自定义"
|
|
199
|
+
]
|
|
200
|
+
},
|
|
201
|
+
"rangeMin": {
|
|
202
|
+
"type": [
|
|
203
|
+
"integer",
|
|
204
|
+
"string"
|
|
205
|
+
],
|
|
206
|
+
"description": "开始时间",
|
|
207
|
+
"default": ""
|
|
208
|
+
},
|
|
209
|
+
"rangeMax": {
|
|
210
|
+
"type": [
|
|
211
|
+
"integer",
|
|
212
|
+
"string"
|
|
213
|
+
],
|
|
214
|
+
"description": "结束时间",
|
|
215
|
+
"default": ""
|
|
216
|
+
},
|
|
217
|
+
"placeholderStart": {
|
|
218
|
+
"type": "string",
|
|
219
|
+
"description": "时间区间开始的提示文字",
|
|
220
|
+
"default": "开始时间"
|
|
221
|
+
},
|
|
222
|
+
"placeholderEnd": {
|
|
223
|
+
"type": "string",
|
|
224
|
+
"description": "时间区结束的提示文字",
|
|
225
|
+
"default": "结束时间"
|
|
226
|
+
},
|
|
227
|
+
"format": {
|
|
228
|
+
"type": "string",
|
|
229
|
+
"description": "时间格式化字符串",
|
|
230
|
+
"default": ""
|
|
231
|
+
},
|
|
232
|
+
"limitTimeList": {
|
|
233
|
+
"type": "array",
|
|
234
|
+
"items": {
|
|
235
|
+
"type": "object",
|
|
236
|
+
"properties": {
|
|
237
|
+
"limitType": {
|
|
238
|
+
"type": "string",
|
|
239
|
+
"enum": [
|
|
240
|
+
"hour",
|
|
241
|
+
"minute",
|
|
242
|
+
"second"
|
|
243
|
+
],
|
|
244
|
+
"description": "",
|
|
245
|
+
"enumDescription": [
|
|
246
|
+
"hour",
|
|
247
|
+
"minute",
|
|
248
|
+
"second"
|
|
249
|
+
]
|
|
250
|
+
},
|
|
251
|
+
"id": {
|
|
252
|
+
"type": "string"
|
|
253
|
+
},
|
|
254
|
+
"value": {
|
|
255
|
+
"anyOf": [
|
|
256
|
+
{
|
|
257
|
+
"type": "string"
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
"type": "integer"
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"type": "array",
|
|
264
|
+
"items": {
|
|
265
|
+
"type": "string"
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
]
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
},
|
|
272
|
+
"description": "时间限制范围",
|
|
273
|
+
"default": []
|
|
274
|
+
},
|
|
275
|
+
"isInternational": {
|
|
276
|
+
"type": "boolean",
|
|
277
|
+
"description": "是否国际化",
|
|
278
|
+
"default": false
|
|
279
|
+
}
|
|
280
|
+
},
|
|
281
|
+
"required": []
|
|
282
|
+
}
|
|
283
|
+
}
|
|
@@ -141,7 +141,8 @@ var TreeControl = /*#__PURE__*/ function(DesignerFormControl) {
|
|
|
141
141
|
}(DesignerFormControl);
|
|
142
142
|
_define_property(TreeControl, "controlEventKeys", [
|
|
143
143
|
'on_change',
|
|
144
|
-
'on_click'
|
|
144
|
+
'on_click',
|
|
145
|
+
'on_tree_search'
|
|
145
146
|
]);
|
|
146
147
|
_define_property(TreeControl, "controlFieldType", FieldTypes.ARRAY);
|
|
147
148
|
_define_property(TreeControl, "setting", [
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* name: rok_tree
|
|
3
|
+
* description: 树形选择组件,用于从树状数据中选择一个或多个节点。适合分类目录、组织树、区域树等场景,支持搜索、层级可选、默认折叠、根节点配置和多级填充。
|
|
4
|
+
*/ function _assert_this_initialized(self) {
|
|
2
5
|
if (self === void 0) {
|
|
3
6
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4
7
|
}
|
|
@@ -73,6 +76,27 @@ function _is_native_reflect_construct() {
|
|
|
73
76
|
import TreeControl from './designer';
|
|
74
77
|
import { BaseControlProperty, BaseControlPropertyRules, BaseControlPropertyRuntimeRules, MultistageFillingItem, TreeDataSourceBind, initSuperDataSourceRules } from '@byteluck-fe/model-driven-core';
|
|
75
78
|
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
79
|
+
export var DataQueryTypeEnum = /*#__PURE__*/ function(DataQueryTypeEnum) {
|
|
80
|
+
DataQueryTypeEnum[DataQueryTypeEnum["EQ"] = 0] = "EQ";
|
|
81
|
+
DataQueryTypeEnum[DataQueryTypeEnum["GT"] = 1] = "GT";
|
|
82
|
+
DataQueryTypeEnum[DataQueryTypeEnum["LT"] = 2] = "LT";
|
|
83
|
+
DataQueryTypeEnum[DataQueryTypeEnum["IN"] = 3] = "IN";
|
|
84
|
+
DataQueryTypeEnum[DataQueryTypeEnum["LIKE"] = 4] = "LIKE";
|
|
85
|
+
DataQueryTypeEnum[DataQueryTypeEnum["RANGE"] = 5] = "RANGE";
|
|
86
|
+
DataQueryTypeEnum[DataQueryTypeEnum["GE"] = 6] = "GE";
|
|
87
|
+
DataQueryTypeEnum[DataQueryTypeEnum["LE"] = 7] = "LE";
|
|
88
|
+
DataQueryTypeEnum[DataQueryTypeEnum["CONTAINS_ONE"] = 8] = "CONTAINS_ONE";
|
|
89
|
+
DataQueryTypeEnum[DataQueryTypeEnum["CONCAT_LIKE"] = 9] = "CONCAT_LIKE";
|
|
90
|
+
DataQueryTypeEnum[DataQueryTypeEnum["CONTAINS_IN_WITH_SUB_DEPT"] = 10] = "CONTAINS_IN_WITH_SUB_DEPT";
|
|
91
|
+
DataQueryTypeEnum[DataQueryTypeEnum["NOT_EQ"] = 11] = "NOT_EQ";
|
|
92
|
+
DataQueryTypeEnum[DataQueryTypeEnum["CONCAT_NOT_EQ"] = 12] = "CONCAT_NOT_EQ";
|
|
93
|
+
DataQueryTypeEnum[DataQueryTypeEnum["IS_NULL"] = 13] = "IS_NULL";
|
|
94
|
+
DataQueryTypeEnum[DataQueryTypeEnum["IS_NOT_NULL"] = 14] = "IS_NOT_NULL";
|
|
95
|
+
DataQueryTypeEnum[DataQueryTypeEnum["EQ_FIELD"] = 15] = "EQ_FIELD";
|
|
96
|
+
DataQueryTypeEnum[DataQueryTypeEnum["IS_NULL_OR_EQ_FIELD"] = 16] = "IS_NULL_OR_EQ_FIELD";
|
|
97
|
+
DataQueryTypeEnum[DataQueryTypeEnum["NOT_EQ_FIELD"] = 17] = "NOT_EQ_FIELD";
|
|
98
|
+
return DataQueryTypeEnum;
|
|
99
|
+
}({});
|
|
76
100
|
var TreePropertyRules = /*#__PURE__*/ function(BaseControlPropertyRules) {
|
|
77
101
|
"use strict";
|
|
78
102
|
_inherits(TreePropertyRules, BaseControlPropertyRules);
|
|
@@ -144,58 +168,36 @@ var TreeProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
144
168
|
function TreeProperty(props) {
|
|
145
169
|
_class_call_check(this, TreeProperty);
|
|
146
170
|
var _this;
|
|
171
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11, _ref12, _ref13, _ref14, _ref15, _ref16, _ref17, _ref18;
|
|
147
172
|
var _props_multistageFilling;
|
|
148
173
|
_this = _call_super(this, TreeProperty, [
|
|
149
174
|
props
|
|
150
|
-
]), _define_property(_this, "placeholder", void 0), _define_property(_this, "multiple", void 0), _define_property(_this, "canSearch", void 0), _define_property(_this, "levelType", void 0), _define_property(_this, "optionalLevel", void 0), _define_property(_this, "containsSubNode", void 0), _define_property(_this, "defaultDisplay", void 0
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
);
|
|
157
|
-
|
|
158
|
-
_this.
|
|
159
|
-
|
|
160
|
-
_this.
|
|
161
|
-
|
|
162
|
-
_this.
|
|
163
|
-
|
|
164
|
-
_this.canSearch = (_props_canSearch = props === null || props === void 0 ? void 0 : props.canSearch) !== null && _props_canSearch !== void 0 ? _props_canSearch : true;
|
|
165
|
-
var _props_levelType;
|
|
166
|
-
_this.levelType = (_props_levelType = props === null || props === void 0 ? void 0 : props.levelType) !== null && _props_levelType !== void 0 ? _props_levelType : 'all';
|
|
167
|
-
var _props_optionalLevel;
|
|
168
|
-
_this.optionalLevel = (_props_optionalLevel = props === null || props === void 0 ? void 0 : props.optionalLevel) !== null && _props_optionalLevel !== void 0 ? _props_optionalLevel : 1;
|
|
169
|
-
var _props_containsSubNode;
|
|
170
|
-
_this.containsSubNode = (_props_containsSubNode = props === null || props === void 0 ? void 0 : props.containsSubNode) !== null && _props_containsSubNode !== void 0 ? _props_containsSubNode : false;
|
|
171
|
-
var _props_isShowFilterItem;
|
|
172
|
-
_this.isShowFilterItem = (_props_isShowFilterItem = props === null || props === void 0 ? void 0 : props.isShowFilterItem) !== null && _props_isShowFilterItem !== void 0 ? _props_isShowFilterItem : false;
|
|
173
|
-
var _props_isShowIncludeSub;
|
|
174
|
-
_this.isShowIncludeSub = (_props_isShowIncludeSub = props === null || props === void 0 ? void 0 : props.isShowIncludeSub) !== null && _props_isShowIncludeSub !== void 0 ? _props_isShowIncludeSub : false;
|
|
175
|
-
var _props_isDefaultCheckSub;
|
|
176
|
-
_this.isDefaultCheckSub = (_props_isDefaultCheckSub = props === null || props === void 0 ? void 0 : props.isDefaultCheckSub) !== null && _props_isDefaultCheckSub !== void 0 ? _props_isDefaultCheckSub : false;
|
|
177
|
-
var _props_defaultCollapse;
|
|
178
|
-
_this.defaultCollapse = (_props_defaultCollapse = props === null || props === void 0 ? void 0 : props.defaultCollapse) !== null && _props_defaultCollapse !== void 0 ? _props_defaultCollapse : 'all';
|
|
179
|
-
var _props_defaultCollapseLevel;
|
|
180
|
-
_this.defaultCollapseLevel = (_props_defaultCollapseLevel = props === null || props === void 0 ? void 0 : props.defaultCollapseLevel) !== null && _props_defaultCollapseLevel !== void 0 ? _props_defaultCollapseLevel : 1;
|
|
181
|
-
var _props_datasourceBind;
|
|
182
|
-
_this.datasourceBind = new TreeDataSourceBind((_props_datasourceBind = props === null || props === void 0 ? void 0 : props.datasourceBind) !== null && _props_datasourceBind !== void 0 ? _props_datasourceBind : {
|
|
175
|
+
]), _define_property(_this, "placeholder", void 0), _define_property(_this, "multiple", void 0), _define_property(_this, "canSearch", void 0), _define_property(_this, "levelType", void 0), _define_property(_this, "optionalLevel", void 0), _define_property(_this, "containsSubNode", void 0), _define_property(_this, "defaultDisplay", void 0), _define_property(_this, "isShowIncludeSub", void 0), _define_property(_this, "isDefaultCheckSub", void 0), _define_property(_this, "isShowFilterItem", void 0), _define_property(_this, "defaultCollapse", void 0), _define_property(_this, "defaultCollapseLevel", void 0), _define_property(_this, "optionConfig", 'datasource'), _define_property(_this, "datasourceBind", void 0), _define_property(_this, "filterItemDatasourceBind", void 0), _define_property(_this, "multistageFilling", void 0), _define_property(_this, "defaultValue", void 0), _define_property(_this, "openMultistageFilling", void 0), _define_property(_this, "treeQuery", void 0);
|
|
176
|
+
_this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : TreeControl.controlName;
|
|
177
|
+
_this.placeholder = (_ref1 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _ref1 !== void 0 ? _ref1 : getLocaleText('CMD.pleaseSelect', null, '请选择');
|
|
178
|
+
_this.multiple = (_ref2 = props === null || props === void 0 ? void 0 : props.multiple) !== null && _ref2 !== void 0 ? _ref2 : false;
|
|
179
|
+
_this.canSearch = (_ref3 = props === null || props === void 0 ? void 0 : props.canSearch) !== null && _ref3 !== void 0 ? _ref3 : true;
|
|
180
|
+
_this.levelType = (_ref4 = props === null || props === void 0 ? void 0 : props.levelType) !== null && _ref4 !== void 0 ? _ref4 : 'all';
|
|
181
|
+
_this.optionalLevel = (_ref5 = props === null || props === void 0 ? void 0 : props.optionalLevel) !== null && _ref5 !== void 0 ? _ref5 : 1;
|
|
182
|
+
_this.containsSubNode = (_ref6 = props === null || props === void 0 ? void 0 : props.containsSubNode) !== null && _ref6 !== void 0 ? _ref6 : false;
|
|
183
|
+
_this.isShowFilterItem = (_ref7 = props === null || props === void 0 ? void 0 : props.isShowFilterItem) !== null && _ref7 !== void 0 ? _ref7 : false;
|
|
184
|
+
_this.isShowIncludeSub = (_ref8 = props === null || props === void 0 ? void 0 : props.isShowIncludeSub) !== null && _ref8 !== void 0 ? _ref8 : false;
|
|
185
|
+
_this.isDefaultCheckSub = (_ref9 = props === null || props === void 0 ? void 0 : props.isDefaultCheckSub) !== null && _ref9 !== void 0 ? _ref9 : false;
|
|
186
|
+
_this.defaultCollapse = (_ref10 = props === null || props === void 0 ? void 0 : props.defaultCollapse) !== null && _ref10 !== void 0 ? _ref10 : 'all';
|
|
187
|
+
_this.defaultCollapseLevel = (_ref11 = props === null || props === void 0 ? void 0 : props.defaultCollapseLevel) !== null && _ref11 !== void 0 ? _ref11 : 1;
|
|
188
|
+
_this.datasourceBind = new TreeDataSourceBind((_ref12 = props === null || props === void 0 ? void 0 : props.datasourceBind) !== null && _ref12 !== void 0 ? _ref12 : {
|
|
183
189
|
attributes: TreeControl.controlCustomAttributes
|
|
184
190
|
});
|
|
185
|
-
|
|
186
|
-
_this.filterItemDatasourceBind = new TreeDataSourceBind((_props_filterItemDatasourceBind = props === null || props === void 0 ? void 0 : props.filterItemDatasourceBind) !== null && _props_filterItemDatasourceBind !== void 0 ? _props_filterItemDatasourceBind : {
|
|
191
|
+
_this.filterItemDatasourceBind = new TreeDataSourceBind((_ref13 = props === null || props === void 0 ? void 0 : props.filterItemDatasourceBind) !== null && _ref13 !== void 0 ? _ref13 : {
|
|
187
192
|
attributes: TreeControl.controlCustomAttributes
|
|
188
193
|
});
|
|
189
|
-
|
|
190
|
-
_this.
|
|
191
|
-
|
|
192
|
-
_this.defaultDisplay = (_props_defaultDisplay = props === null || props === void 0 ? void 0 : props.defaultDisplay) !== null && _props_defaultDisplay !== void 0 ? _props_defaultDisplay : false;
|
|
193
|
-
var _props_multistageFilling_map;
|
|
194
|
-
_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) {
|
|
194
|
+
_this.openMultistageFilling = (_ref14 = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _ref14 !== void 0 ? _ref14 : false;
|
|
195
|
+
_this.defaultDisplay = (_ref15 = props === null || props === void 0 ? void 0 : props.defaultDisplay) !== null && _ref15 !== void 0 ? _ref15 : false;
|
|
196
|
+
_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) {
|
|
195
197
|
return new MultistageFillingItem(item);
|
|
196
|
-
})) !== null &&
|
|
197
|
-
|
|
198
|
-
_this.
|
|
198
|
+
})) !== null && _ref16 !== void 0 ? _ref16 : [];
|
|
199
|
+
_this.defaultValue = (_ref17 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref17 !== void 0 ? _ref17 : [];
|
|
200
|
+
_this.treeQuery = (_ref18 = props === null || props === void 0 ? void 0 : props.treeQuery) !== null && _ref18 !== void 0 ? _ref18 : [];
|
|
199
201
|
return _this;
|
|
200
202
|
}
|
|
201
203
|
return TreeProperty;
|