@teamix/pro 1.5.0-beta.1 → 1.6.0-beta.0
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +1 -1
- package/dist/pro.css +1 -1
- package/dist/pro.js +77100 -67703
- package/dist/pro.min.css +1 -1
- package/dist/pro.min.js +1 -1
- package/dist/pro.min.js.LICENSE.txt +13 -6
- package/es/actions/base.js +8 -21
- package/es/actions/dialog-component.js +3 -13
- package/es/actions/dialog-form.js +41 -79
- package/es/actions/dialog-info.js +1 -5
- package/es/actions/dialog.js +57 -96
- package/es/actions/index.js +94 -161
- package/es/actions/link.js +3 -6
- package/es/actions/request.js +12 -28
- package/es/actions/utils.js +1 -9
- package/es/card/card-container.js +11 -9
- package/es/card/divider.js +2 -9
- package/es/card/index.js +70 -98
- package/es/card/selectable.js +6 -17
- package/es/card/tab.js +3 -14
- package/es/card/utils.js +0 -2
- package/es/form/Components/Editable/index.js +17 -56
- package/es/form/Components/FormGroup/index.js +11 -25
- package/es/form/Components/LightFilter/index.js +22 -33
- package/es/form/Components/ProField/index.js +4 -18
- package/es/form/Components/ProField/mapDateFormat.js +2 -28
- package/es/form/Components/Text/index.js +4 -15
- package/es/form/Filter/AdvancedFilter.js +16 -29
- package/es/form/Filter/Layout.js +11 -24
- package/es/form/Filter/LightFilter.js +17 -24
- package/es/form/Filter/SimpleFilter.js +12 -23
- package/es/form/Filter/index.js +113 -161
- package/es/form/Filter/index2.js +22 -34
- package/es/form/Filter/layout.scss +1 -1
- package/es/form/Filter/useBindUrl.js +18 -43
- package/es/form/Filter/useSpecialProps.js +8 -12
- package/es/form/ProForm/addCascadeEffect.js +203 -0
- package/es/form/ProForm/customComponent.js +0 -5
- package/es/form/ProForm/index.js +33 -38
- package/es/form/ProForm/useAutoLayout.js +21 -38
- package/es/form/ProForm/useAutoSubmit.js +3 -9
- package/es/form/ProForm/useFieldRequest.js +0 -5
- package/es/form/ProForm/useFormDisplayValues.js +12 -27
- package/es/form/ProForm/useInitialRequest.js +0 -5
- package/es/form/SchemaForm/adapterComponent.js +1 -3
- package/es/form/SchemaForm/adapterDecorator.js +1 -8
- package/es/form/SchemaForm/adapterType.js +1 -2
- package/es/form/SchemaForm/index.js +82 -105
- package/es/form/SchemaForm/initializeArrayCards.js +0 -6
- package/es/form/SchemaForm/initializeArrayCollapse.js +0 -6
- package/es/form/SchemaForm/initializeArrayItems.js +2 -9
- package/es/form/SchemaForm/initializeArrayTable.js +21 -34
- package/es/form/SchemaForm/initializeDataSource.js +2 -6
- package/es/form/SchemaForm/initializeFormButton.js +14 -29
- package/es/form/SchemaForm/initializeFormCollapse.js +8 -18
- package/es/form/SchemaForm/initializeFormGroup.js +10 -20
- package/es/form/SchemaForm/initializeFormStep.js +11 -23
- package/es/form/SchemaForm/initializeFormTab.js +10 -20
- package/es/form/SchemaForm/initializeReactions.js +9 -32
- package/es/form/SchemaForm/initializeRequest.js +2 -16
- package/es/form/SchemaForm/initializeRules.js +4 -22
- package/es/form/SchemaForm/initializeSelectTable.js +8 -33
- package/es/form/SchemaForm/reactions.js +19 -29
- package/es/form/index.js +4 -9
- package/es/form/utils.js +15 -48
- package/es/form/warning.js +3 -6
- package/es/index-without-icon.js +4 -3
- package/es/index.js +8 -7
- package/es/info/components/InfoGroup/index.js +23 -36
- package/es/info/components/InfoValueItem/index.js +85 -126
- package/es/info/components/ProInfoItem/index.js +13 -20
- package/es/info/components/baseInfo/index.js +14 -23
- package/es/info/components/headerInfo/index.js +8 -20
- package/es/info/components/tableInfo/index.js +22 -50
- package/es/info/index.js +59 -82
- package/es/info/utils/index.js +3 -11
- package/es/layout/index.js +2 -0
- package/es/nocode/configurators/common.js +5 -6
- package/es/nocode/configurators/index.js +1 -3
- package/es/nocode/index.js +7 -5
- package/es/nocode/pages/editor.js +5 -9
- package/es/nocode/pages/index.js +6 -3
- package/es/nocode/pages/playground.js +21 -40
- package/es/nocode/pages/renderer.js +13 -48
- package/es/nocode/playground.js +12 -27
- package/es/page-header/index.js +54 -80
- package/es/sidebar/components/sidebar-container/index.js +59 -71
- package/es/sidebar/components/sidebar-container/index.scss +21 -14
- package/es/sidebar/components/tree/index.js +107 -127
- package/es/sidebar/components/tree-node/components/HoverTooltip/index.js +13 -29
- package/es/sidebar/components/tree-node/components/IconAction/index.js +12 -36
- package/es/sidebar/components/tree-node/components/IconSwitch/index.js +12 -24
- package/es/sidebar/components/tree-node/index.js +55 -84
- package/es/sidebar/index.js +73 -87
- package/es/sidebar/utils/action-ref.js +2 -7
- package/es/sidebar/utils/index.js +59 -108
- package/es/table/components/Filter/index.js +41 -72
- package/es/table/components/Layout/index.js +34 -49
- package/es/table/components/Pagination/index.js +35 -66
- package/es/table/components/QuickAction/index.js +6 -13
- package/es/table/components/ToolBar/DensityIcon.js +24 -31
- package/es/table/components/ToolBar/FilterColumnIcon.js +47 -91
- package/es/table/components/ToolBar/FullScreenIcon.js +7 -61
- package/es/table/components/ToolBar/Fullscreen.js +15 -25
- package/es/table/components/ToolBar/RefreshIcon.js +4 -5
- package/es/table/components/ToolBar/index.js +88 -25
- package/es/table/components/ToolBar/index.scss +22 -2
- package/es/table/index.js +242 -356
- package/es/table/utils/columnRender.js +52 -87
- package/es/table/utils/genProColumnToColumn.js +3 -13
- package/es/table/utils/index.js +18 -45
- package/es/table/utils/pureColumnRender.js +26 -50
- package/es/table/utils/pureGenProColumnToColumn.js +2 -10
- package/es/table/utils/useTableSelection.js +6 -33
- package/es/templates/List/index.js +6 -15
- package/es/templates/index.js +2 -1
- package/es/timeline/ProTimeLineItem/index.js +30 -66
- package/es/timeline/index.js +11 -25
- package/es/utils/message.js +3 -10
- package/lib/actions/base.js +8 -24
- package/lib/actions/confirm.js +0 -5
- package/lib/actions/danger-confirm.js +0 -5
- package/lib/actions/danger-pop-confirm.js +0 -4
- package/lib/actions/dialog-component.js +3 -19
- package/lib/actions/dialog-form.js +41 -92
- package/lib/actions/dialog-info.js +1 -10
- package/lib/actions/dialog-table.js +0 -5
- package/lib/actions/dialog.js +56 -112
- package/lib/actions/drawer-form.js +0 -3
- package/lib/actions/drawer-info.js +0 -3
- package/lib/actions/drawer-table.js +0 -3
- package/lib/actions/drawer.js +0 -4
- package/lib/actions/error.js +0 -5
- package/lib/actions/index.js +93 -191
- package/lib/actions/link.js +3 -11
- package/lib/actions/notice.js +0 -5
- package/lib/actions/pop-confirm.js +0 -5
- package/lib/actions/request.js +10 -33
- package/lib/actions/utils.js +1 -9
- package/lib/card/card-container.js +6 -13
- package/lib/card/divider.js +2 -11
- package/lib/card/index.js +68 -124
- package/lib/card/selectable.js +6 -24
- package/lib/card/tab.js +3 -18
- package/lib/card/utils.js +0 -6
- package/lib/field/index.js +0 -6
- package/lib/form/Components/Editable/index.js +16 -66
- package/lib/form/Components/FormGroup/index.js +11 -31
- package/lib/form/Components/LightFilter/index.js +22 -45
- package/lib/form/Components/ProField/index.js +4 -25
- package/lib/form/Components/ProField/mapDateFormat.js +2 -32
- package/lib/form/Components/Text/index.js +4 -20
- package/lib/form/Filter/AdvancedFilter.js +16 -37
- package/lib/form/Filter/Layout.js +11 -33
- package/lib/form/Filter/LightFilter.js +17 -32
- package/lib/form/Filter/SimpleFilter.js +10 -29
- package/lib/form/Filter/index.js +112 -181
- package/lib/form/Filter/index2.js +22 -44
- package/lib/form/Filter/layout.scss +1 -1
- package/lib/form/Filter/useBindUrl.js +18 -47
- package/lib/form/Filter/useSpecialProps.js +6 -13
- package/lib/form/ProForm/addCascadeEffect.js +210 -0
- package/lib/form/ProForm/customComponent.js +0 -8
- package/lib/form/ProForm/index.js +33 -60
- package/lib/form/ProForm/useAutoLayout.js +21 -41
- package/lib/form/ProForm/useAutoSubmit.js +3 -11
- package/lib/form/ProForm/useFieldRequest.js +0 -8
- package/lib/form/ProForm/useFormDisplayValues.js +12 -33
- package/lib/form/ProForm/useInitialRequest.js +0 -6
- package/lib/form/SchemaForm/adapterComponent.js +1 -6
- package/lib/form/SchemaForm/adapterDecorator.js +0 -12
- package/lib/form/SchemaForm/adapterType.js +1 -5
- package/lib/form/SchemaForm/index.js +82 -135
- package/lib/form/SchemaForm/initializeArrayCards.js +0 -7
- package/lib/form/SchemaForm/initializeArrayCollapse.js +0 -7
- package/lib/form/SchemaForm/initializeArrayItems.js +2 -10
- package/lib/form/SchemaForm/initializeArrayTable.js +21 -34
- package/lib/form/SchemaForm/initializeDataSource.js +2 -8
- package/lib/form/SchemaForm/initializeFormButton.js +14 -30
- package/lib/form/SchemaForm/initializeFormCollapse.js +8 -18
- package/lib/form/SchemaForm/initializeFormGroup.js +10 -20
- package/lib/form/SchemaForm/initializeFormStep.js +11 -23
- package/lib/form/SchemaForm/initializeFormTab.js +10 -20
- package/lib/form/SchemaForm/initializeReactions.js +9 -36
- package/lib/form/SchemaForm/initializeRequest.js +2 -18
- package/lib/form/SchemaForm/initializeRules.js +4 -24
- package/lib/form/SchemaForm/initializeSelectTable.js +7 -36
- package/lib/form/SchemaForm/reactions.js +17 -32
- package/lib/form/docs/ActionResponse.js +0 -5
- package/lib/form/index.js +0 -25
- package/lib/form/typing.js +1 -5
- package/lib/form/utils.js +14 -60
- package/lib/form/warning.js +3 -7
- package/lib/hooks/index.js +0 -5
- package/lib/index-without-icon.js +2 -36
- package/lib/index.js +2 -39
- package/lib/info/components/InfoGroup/index.js +23 -46
- package/lib/info/components/InfoValueItem/index.js +85 -141
- package/lib/info/components/ProInfoItem/index.js +14 -29
- package/lib/info/components/baseInfo/index.js +15 -36
- package/lib/info/components/headerInfo/index.js +8 -31
- package/lib/info/components/tableInfo/index.js +22 -62
- package/lib/info/index.js +59 -97
- package/lib/info/typing.js +1 -5
- package/lib/info/utils/index.js +3 -19
- package/lib/info/utils/utils.js +0 -1
- package/lib/nocode/configurators/PageHeader.js +0 -2
- package/lib/nocode/configurators/ProTable.js +0 -2
- package/lib/nocode/configurators/common.js +5 -10
- package/lib/nocode/configurators/index.js +1 -10
- package/lib/nocode/configurators/map.js +0 -5
- package/lib/nocode/index.js +0 -11
- package/lib/nocode/pages/editor.js +5 -19
- package/lib/nocode/pages/index.js +2 -9
- package/lib/nocode/pages/playground.js +21 -57
- package/lib/nocode/pages/renderer.js +13 -59
- package/lib/nocode/playground.js +12 -39
- package/lib/page-container/index.js +0 -6
- package/lib/page-header/index.js +53 -93
- package/lib/sidebar/components/sidebar-container/index.js +59 -83
- package/lib/sidebar/components/sidebar-container/index.scss +21 -14
- package/lib/sidebar/components/tree/index.js +107 -141
- package/lib/sidebar/components/tree-node/components/HoverTooltip/index.js +13 -37
- package/lib/sidebar/components/tree-node/components/IconAction/index.js +12 -47
- package/lib/sidebar/components/tree-node/components/IconSwitch/index.js +12 -34
- package/lib/sidebar/components/tree-node/index.js +55 -100
- package/lib/sidebar/index.js +73 -103
- package/lib/sidebar/typing.js +1 -5
- package/lib/sidebar/utils/action-ref.js +2 -8
- package/lib/sidebar/utils/index.js +59 -116
- package/lib/skeleton/index.js +0 -6
- package/lib/table/components/EmptyContent/index.js +0 -6
- package/lib/table/components/Filter/index.js +41 -82
- package/lib/table/components/Layout/index.js +35 -63
- package/lib/table/components/Pagination/index.js +35 -76
- package/lib/table/components/QuickAction/index.js +6 -17
- package/lib/table/components/ToolBar/DensityIcon.js +24 -42
- package/lib/table/components/ToolBar/FilterColumnIcon.js +47 -103
- package/lib/table/components/ToolBar/FullScreenIcon.js +10 -73
- package/lib/table/components/ToolBar/Fullscreen.js +15 -32
- package/lib/table/components/ToolBar/RefreshIcon.js +5 -12
- package/lib/table/components/ToolBar/index.js +91 -34
- package/lib/table/components/ToolBar/index.scss +22 -2
- package/lib/table/index.js +243 -380
- package/lib/table/typing.js +1 -5
- package/lib/table/utils/columnRender.js +51 -100
- package/lib/table/utils/genProColumnToColumn.js +3 -18
- package/lib/table/utils/getTableProps.js +0 -2
- package/lib/table/utils/getTableSortIcons.js +0 -5
- package/lib/table/utils/index.js +16 -53
- package/lib/table/utils/pureColumnRender.js +26 -61
- package/lib/table/utils/pureGenProColumnToColumn.js +2 -11
- package/lib/table/utils/useTableSelection.js +6 -35
- package/lib/templates/Detail/index.js +0 -5
- package/lib/templates/Form/index.js +0 -5
- package/lib/templates/List/index.js +6 -25
- package/lib/templates/index.js +0 -6
- package/lib/timeline/ProTimeLineItem/index.js +30 -77
- package/lib/timeline/index.js +11 -36
- package/lib/timeline/typing.js +1 -5
- package/lib/utils/index.js +0 -6
- package/lib/utils/message.js +3 -15
- package/package.json +5 -6
- package/es/actions/base.d.ts +0 -24
- package/es/actions/confirm.d.ts +0 -7
- package/es/actions/danger-confirm.d.ts +0 -7
- package/es/actions/danger-pop-confirm.d.ts +0 -5
- package/es/actions/dialog-component.d.ts +0 -10
- package/es/actions/dialog-form.d.ts +0 -29
- package/es/actions/dialog-info.d.ts +0 -9
- package/es/actions/dialog-table.d.ts +0 -9
- package/es/actions/dialog.d.ts +0 -40
- package/es/actions/drawer-form.d.ts +0 -6
- package/es/actions/drawer-info.d.ts +0 -6
- package/es/actions/drawer-table.d.ts +0 -6
- package/es/actions/drawer.d.ts +0 -6
- package/es/actions/error.d.ts +0 -7
- package/es/actions/index.d.ts +0 -107
- package/es/actions/link.d.ts +0 -8
- package/es/actions/notice.d.ts +0 -7
- package/es/actions/pop-confirm.d.ts +0 -9
- package/es/actions/request.d.ts +0 -9
- package/es/actions/utils.d.ts +0 -1
- package/es/card/card-container.d.ts +0 -18
- package/es/card/divider.d.ts +0 -6
- package/es/card/index.d.ts +0 -109
- package/es/card/selectable.d.ts +0 -13
- package/es/card/tab.d.ts +0 -6
- package/es/card/utils.d.ts +0 -9
- package/es/field/index.d.ts +0 -3
- package/es/form/Components/Editable/index.d.ts +0 -20
- package/es/form/Components/FormGroup/index.d.ts +0 -13
- package/es/form/Components/LightFilter/componentMap.d.ts +0 -3
- package/es/form/Components/LightFilter/index.d.ts +0 -17
- package/es/form/Components/ProField/index.d.ts +0 -2
- package/es/form/Components/ProField/mapDateFormat.d.ts +0 -3
- package/es/form/Components/Text/index.d.ts +0 -7
- package/es/form/Filter/AdvancedFilter.d.ts +0 -7
- package/es/form/Filter/Layout.d.ts +0 -5
- package/es/form/Filter/LightFilter.d.ts +0 -7
- package/es/form/Filter/SimpleFilter.d.ts +0 -7
- package/es/form/Filter/index.d.ts +0 -9
- package/es/form/Filter/index2.d.ts +0 -13
- package/es/form/Filter/useBindUrl.d.ts +0 -2
- package/es/form/Filter/useSpecialProps.d.ts +0 -6
- package/es/form/ProForm/customComponent.d.ts +0 -3
- package/es/form/ProForm/index.d.ts +0 -5
- package/es/form/ProForm/useAutoLayout.d.ts +0 -9
- package/es/form/ProForm/useAutoSubmit.d.ts +0 -6
- package/es/form/ProForm/useFieldRequest.d.ts +0 -5
- package/es/form/ProForm/useFormDisplayValues.d.ts +0 -4
- package/es/form/ProForm/useInitialRequest.d.ts +0 -6
- package/es/form/SchemaForm/adapterComponent.d.ts +0 -5
- package/es/form/SchemaForm/adapterDecorator.d.ts +0 -6
- package/es/form/SchemaForm/adapterType.d.ts +0 -5
- package/es/form/SchemaForm/index.d.ts +0 -4
- package/es/form/SchemaForm/initializeArrayCards.d.ts +0 -3
- package/es/form/SchemaForm/initializeArrayCollapse.d.ts +0 -3
- package/es/form/SchemaForm/initializeArrayItems.d.ts +0 -3
- package/es/form/SchemaForm/initializeArrayTable.d.ts +0 -3
- package/es/form/SchemaForm/initializeDataSource.d.ts +0 -15
- package/es/form/SchemaForm/initializeFormButton.d.ts +0 -3
- package/es/form/SchemaForm/initializeFormCollapse.d.ts +0 -3
- package/es/form/SchemaForm/initializeFormGroup.d.ts +0 -3
- package/es/form/SchemaForm/initializeFormStep.d.ts +0 -5
- package/es/form/SchemaForm/initializeFormTab.d.ts +0 -3
- package/es/form/SchemaForm/initializeReactions.d.ts +0 -2
- package/es/form/SchemaForm/initializeRequest.d.ts +0 -11
- package/es/form/SchemaForm/initializeRules.d.ts +0 -11
- package/es/form/SchemaForm/initializeSelectTable.d.ts +0 -3
- package/es/form/SchemaForm/reactions.d.ts +0 -6
- package/es/form/docs/ActionResponse.d.ts +0 -7
- package/es/form/fieldTypeMap.d.ts +0 -7
- package/es/form/index.d.ts +0 -125
- package/es/form/locales/validate.d.ts +0 -159
- package/es/form/schemaNameMap.d.ts +0 -5
- package/es/form/typing.d.ts +0 -172
- package/es/form/utils.d.ts +0 -55
- package/es/form/warning.d.ts +0 -3
- package/es/hooks/index.d.ts +0 -2
- package/es/index-without-icon.d.ts +0 -32
- package/es/index.d.ts +0 -32
- package/es/info/components/InfoGroup/index.d.ts +0 -5
- package/es/info/components/InfoValueItem/index.d.ts +0 -5
- package/es/info/components/ProInfoItem/index.d.ts +0 -5
- package/es/info/components/baseInfo/index.d.ts +0 -8
- package/es/info/components/headerInfo/index.d.ts +0 -8
- package/es/info/components/tableInfo/index.d.ts +0 -7
- package/es/info/index.d.ts +0 -10
- package/es/info/typing.d.ts +0 -218
- package/es/info/utils/index.d.ts +0 -20
- package/es/info/utils/layout.d.ts +0 -2
- package/es/info/utils/utils.d.ts +0 -1
- package/es/layout/index.d.ts +0 -2
- package/es/nocode/configurators/Card.d.ts +0 -3
- package/es/nocode/configurators/PageHeader.d.ts +0 -3
- package/es/nocode/configurators/ProTable.d.ts +0 -3
- package/es/nocode/configurators/common.d.ts +0 -280
- package/es/nocode/configurators/index.d.ts +0 -15
- package/es/nocode/configurators/map.d.ts +0 -2
- package/es/nocode/index.d.ts +0 -8
- package/es/nocode/pages/editor.d.ts +0 -12
- package/es/nocode/pages/index.d.ts +0 -14
- package/es/nocode/pages/playground.d.ts +0 -11
- package/es/nocode/pages/renderer.d.ts +0 -10
- package/es/nocode/playground.d.ts +0 -14
- package/es/page-container/index.d.ts +0 -3
- package/es/page-header/index.d.ts +0 -74
- package/es/sidebar/components/sidebar-container/index.d.ts +0 -5
- package/es/sidebar/components/tree/index.d.ts +0 -6
- package/es/sidebar/components/tree-node/components/HoverTooltip/index.d.ts +0 -15
- package/es/sidebar/components/tree-node/components/IconAction/index.d.ts +0 -12
- package/es/sidebar/components/tree-node/components/IconSwitch/index.d.ts +0 -23
- package/es/sidebar/components/tree-node/index.d.ts +0 -7
- package/es/sidebar/index.d.ts +0 -7
- package/es/sidebar/typing.d.ts +0 -137
- package/es/sidebar/utils/action-ref.d.ts +0 -3
- package/es/sidebar/utils/index.d.ts +0 -361
- package/es/skeleton/index.d.ts +0 -3
- package/es/table/components/EmptyContent/index.d.ts +0 -2
- package/es/table/components/Filter/index.d.ts +0 -9
- package/es/table/components/Layout/index.d.ts +0 -5
- package/es/table/components/Pagination/index.d.ts +0 -7
- package/es/table/components/QuickAction/index.d.ts +0 -10
- package/es/table/components/ToolBar/DensityIcon.d.ts +0 -4
- package/es/table/components/ToolBar/FilterColumnIcon.d.ts +0 -4
- package/es/table/components/ToolBar/FullScreenIcon.d.ts +0 -4
- package/es/table/components/ToolBar/Fullscreen.d.ts +0 -10
- package/es/table/components/ToolBar/RefreshIcon.d.ts +0 -4
- package/es/table/components/ToolBar/index.d.ts +0 -5
- package/es/table/index.d.ts +0 -5
- package/es/table/typing.d.ts +0 -299
- package/es/table/utils/columnRender.d.ts +0 -13
- package/es/table/utils/genProColumnToColumn.d.ts +0 -13
- package/es/table/utils/getTableProps.d.ts +0 -2
- package/es/table/utils/getTableSortIcons.d.ts +0 -3
- package/es/table/utils/index.d.ts +0 -19
- package/es/table/utils/pureColumnRender.d.ts +0 -9
- package/es/table/utils/pureGenProColumnToColumn.d.ts +0 -7
- package/es/table/utils/useTableSelection.d.ts +0 -3
- package/es/templates/Detail/index.d.ts +0 -2
- package/es/templates/Form/index.d.ts +0 -2
- package/es/templates/List/index.d.ts +0 -9
- package/es/templates/index.d.ts +0 -3
- package/es/timeline/ProTimeLineItem/index.d.ts +0 -5
- package/es/timeline/index.d.ts +0 -10
- package/es/timeline/typing.d.ts +0 -106
- package/es/utils/index.d.ts +0 -3
- package/es/utils/message.d.ts +0 -3
- package/lib/actions/base.d.ts +0 -24
- package/lib/actions/confirm.d.ts +0 -7
- package/lib/actions/danger-confirm.d.ts +0 -7
- package/lib/actions/danger-pop-confirm.d.ts +0 -5
- package/lib/actions/dialog-component.d.ts +0 -10
- package/lib/actions/dialog-form.d.ts +0 -29
- package/lib/actions/dialog-info.d.ts +0 -9
- package/lib/actions/dialog-table.d.ts +0 -9
- package/lib/actions/dialog.d.ts +0 -40
- package/lib/actions/drawer-form.d.ts +0 -6
- package/lib/actions/drawer-info.d.ts +0 -6
- package/lib/actions/drawer-table.d.ts +0 -6
- package/lib/actions/drawer.d.ts +0 -6
- package/lib/actions/error.d.ts +0 -7
- package/lib/actions/index.d.ts +0 -107
- package/lib/actions/link.d.ts +0 -8
- package/lib/actions/notice.d.ts +0 -7
- package/lib/actions/pop-confirm.d.ts +0 -9
- package/lib/actions/request.d.ts +0 -9
- package/lib/actions/utils.d.ts +0 -1
- package/lib/card/card-container.d.ts +0 -18
- package/lib/card/divider.d.ts +0 -6
- package/lib/card/index.d.ts +0 -109
- package/lib/card/selectable.d.ts +0 -13
- package/lib/card/tab.d.ts +0 -6
- package/lib/card/utils.d.ts +0 -9
- package/lib/field/index.d.ts +0 -3
- package/lib/form/Components/Editable/index.d.ts +0 -20
- package/lib/form/Components/FormGroup/index.d.ts +0 -13
- package/lib/form/Components/LightFilter/componentMap.d.ts +0 -3
- package/lib/form/Components/LightFilter/index.d.ts +0 -17
- package/lib/form/Components/ProField/index.d.ts +0 -2
- package/lib/form/Components/ProField/mapDateFormat.d.ts +0 -3
- package/lib/form/Components/Text/index.d.ts +0 -7
- package/lib/form/Filter/AdvancedFilter.d.ts +0 -7
- package/lib/form/Filter/Layout.d.ts +0 -5
- package/lib/form/Filter/LightFilter.d.ts +0 -7
- package/lib/form/Filter/SimpleFilter.d.ts +0 -7
- package/lib/form/Filter/index.d.ts +0 -9
- package/lib/form/Filter/index2.d.ts +0 -13
- package/lib/form/Filter/useBindUrl.d.ts +0 -2
- package/lib/form/Filter/useSpecialProps.d.ts +0 -6
- package/lib/form/ProForm/customComponent.d.ts +0 -3
- package/lib/form/ProForm/index.d.ts +0 -5
- package/lib/form/ProForm/useAutoLayout.d.ts +0 -9
- package/lib/form/ProForm/useAutoSubmit.d.ts +0 -6
- package/lib/form/ProForm/useFieldRequest.d.ts +0 -5
- package/lib/form/ProForm/useFormDisplayValues.d.ts +0 -4
- package/lib/form/ProForm/useInitialRequest.d.ts +0 -6
- package/lib/form/SchemaForm/adapterComponent.d.ts +0 -5
- package/lib/form/SchemaForm/adapterDecorator.d.ts +0 -6
- package/lib/form/SchemaForm/adapterType.d.ts +0 -5
- package/lib/form/SchemaForm/index.d.ts +0 -4
- package/lib/form/SchemaForm/initializeArrayCards.d.ts +0 -3
- package/lib/form/SchemaForm/initializeArrayCollapse.d.ts +0 -3
- package/lib/form/SchemaForm/initializeArrayItems.d.ts +0 -3
- package/lib/form/SchemaForm/initializeArrayTable.d.ts +0 -3
- package/lib/form/SchemaForm/initializeDataSource.d.ts +0 -15
- package/lib/form/SchemaForm/initializeFormButton.d.ts +0 -3
- package/lib/form/SchemaForm/initializeFormCollapse.d.ts +0 -3
- package/lib/form/SchemaForm/initializeFormGroup.d.ts +0 -3
- package/lib/form/SchemaForm/initializeFormStep.d.ts +0 -5
- package/lib/form/SchemaForm/initializeFormTab.d.ts +0 -3
- package/lib/form/SchemaForm/initializeReactions.d.ts +0 -2
- package/lib/form/SchemaForm/initializeRequest.d.ts +0 -11
- package/lib/form/SchemaForm/initializeRules.d.ts +0 -11
- package/lib/form/SchemaForm/initializeSelectTable.d.ts +0 -3
- package/lib/form/SchemaForm/reactions.d.ts +0 -6
- package/lib/form/docs/ActionResponse.d.ts +0 -7
- package/lib/form/fieldTypeMap.d.ts +0 -7
- package/lib/form/index.d.ts +0 -125
- package/lib/form/locales/validate.d.ts +0 -159
- package/lib/form/schemaNameMap.d.ts +0 -5
- package/lib/form/typing.d.ts +0 -172
- package/lib/form/utils.d.ts +0 -55
- package/lib/form/warning.d.ts +0 -3
- package/lib/hooks/index.d.ts +0 -2
- package/lib/index-without-icon.d.ts +0 -32
- package/lib/index.d.ts +0 -32
- package/lib/info/components/InfoGroup/index.d.ts +0 -5
- package/lib/info/components/InfoValueItem/index.d.ts +0 -5
- package/lib/info/components/ProInfoItem/index.d.ts +0 -5
- package/lib/info/components/baseInfo/index.d.ts +0 -8
- package/lib/info/components/headerInfo/index.d.ts +0 -8
- package/lib/info/components/tableInfo/index.d.ts +0 -7
- package/lib/info/index.d.ts +0 -10
- package/lib/info/typing.d.ts +0 -218
- package/lib/info/utils/index.d.ts +0 -20
- package/lib/info/utils/layout.d.ts +0 -2
- package/lib/info/utils/utils.d.ts +0 -1
- package/lib/layout/index.d.ts +0 -2
- package/lib/nocode/configurators/Card.d.ts +0 -3
- package/lib/nocode/configurators/PageHeader.d.ts +0 -3
- package/lib/nocode/configurators/ProTable.d.ts +0 -3
- package/lib/nocode/configurators/common.d.ts +0 -280
- package/lib/nocode/configurators/index.d.ts +0 -15
- package/lib/nocode/configurators/map.d.ts +0 -2
- package/lib/nocode/index.d.ts +0 -8
- package/lib/nocode/pages/editor.d.ts +0 -12
- package/lib/nocode/pages/index.d.ts +0 -14
- package/lib/nocode/pages/playground.d.ts +0 -11
- package/lib/nocode/pages/renderer.d.ts +0 -10
- package/lib/nocode/playground.d.ts +0 -14
- package/lib/page-container/index.d.ts +0 -3
- package/lib/page-header/index.d.ts +0 -74
- package/lib/sidebar/components/sidebar-container/index.d.ts +0 -5
- package/lib/sidebar/components/tree/index.d.ts +0 -6
- package/lib/sidebar/components/tree-node/components/HoverTooltip/index.d.ts +0 -15
- package/lib/sidebar/components/tree-node/components/IconAction/index.d.ts +0 -12
- package/lib/sidebar/components/tree-node/components/IconSwitch/index.d.ts +0 -23
- package/lib/sidebar/components/tree-node/index.d.ts +0 -7
- package/lib/sidebar/index.d.ts +0 -7
- package/lib/sidebar/typing.d.ts +0 -137
- package/lib/sidebar/utils/action-ref.d.ts +0 -3
- package/lib/sidebar/utils/index.d.ts +0 -361
- package/lib/skeleton/index.d.ts +0 -3
- package/lib/table/components/EmptyContent/index.d.ts +0 -2
- package/lib/table/components/Filter/index.d.ts +0 -9
- package/lib/table/components/Layout/index.d.ts +0 -5
- package/lib/table/components/Pagination/index.d.ts +0 -7
- package/lib/table/components/QuickAction/index.d.ts +0 -10
- package/lib/table/components/ToolBar/DensityIcon.d.ts +0 -4
- package/lib/table/components/ToolBar/FilterColumnIcon.d.ts +0 -4
- package/lib/table/components/ToolBar/FullScreenIcon.d.ts +0 -4
- package/lib/table/components/ToolBar/Fullscreen.d.ts +0 -10
- package/lib/table/components/ToolBar/RefreshIcon.d.ts +0 -4
- package/lib/table/components/ToolBar/index.d.ts +0 -5
- package/lib/table/index.d.ts +0 -5
- package/lib/table/typing.d.ts +0 -299
- package/lib/table/utils/columnRender.d.ts +0 -13
- package/lib/table/utils/genProColumnToColumn.d.ts +0 -13
- package/lib/table/utils/getTableProps.d.ts +0 -2
- package/lib/table/utils/getTableSortIcons.d.ts +0 -3
- package/lib/table/utils/index.d.ts +0 -19
- package/lib/table/utils/pureColumnRender.d.ts +0 -9
- package/lib/table/utils/pureGenProColumnToColumn.d.ts +0 -7
- package/lib/table/utils/useTableSelection.d.ts +0 -3
- package/lib/templates/Detail/index.d.ts +0 -2
- package/lib/templates/Form/index.d.ts +0 -2
- package/lib/templates/List/index.d.ts +0 -9
- package/lib/templates/index.d.ts +0 -3
- package/lib/timeline/ProTimeLineItem/index.d.ts +0 -5
- package/lib/timeline/index.d.ts +0 -10
- package/lib/timeline/typing.d.ts +0 -106
- package/lib/utils/index.d.ts +0 -3
- package/lib/utils/message.d.ts +0 -3
@@ -1,74 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { ItemProps } from '@alicloudfe/components/types/breadcrumb';
|
3
|
-
import { LinkPath } from '@teamix/utils';
|
4
|
-
import { CapsuleTabType, ProTagItem } from '../field';
|
5
|
-
import { ProActionGroupProps } from '../actions';
|
6
|
-
import { ProInfoProps } from '../info';
|
7
|
-
import './index.scss';
|
8
|
-
export interface ProPageHeaderBreadcrumbItem extends ItemProps {
|
9
|
-
/**
|
10
|
-
* @deprecated 建议使用 children 代替
|
11
|
-
*/
|
12
|
-
text?: string;
|
13
|
-
}
|
14
|
-
export declare type ProPageHeaderTagItem = ProTagItem;
|
15
|
-
declare type Color = 'blue' | 'green' | 'orange' | 'red' | 'yellow' | string;
|
16
|
-
export declare type ProPageHeaderDataItem = {
|
17
|
-
title: string;
|
18
|
-
num: number;
|
19
|
-
color?: Color;
|
20
|
-
} & React.HTMLAttributes<HTMLElement>;
|
21
|
-
export declare type ProPageHeaderProps = {
|
22
|
-
/** 标题 */
|
23
|
-
title?: React.ReactNode;
|
24
|
-
/** 标题说明 */
|
25
|
-
titleTooltip?: React.ReactNode;
|
26
|
-
/** 描述 */
|
27
|
-
description?: React.ReactNode;
|
28
|
-
/** 图标 */
|
29
|
-
icon?: React.ReactNode;
|
30
|
-
/** 图标颜色 */
|
31
|
-
iconColor?: Color;
|
32
|
-
/** 图标背景类型 */
|
33
|
-
iconBackgroundType?: 'circle' | 'square';
|
34
|
-
/** 图标背景色 */
|
35
|
-
iconBackgroundColor?: Color;
|
36
|
-
/** 返回按钮配置 */
|
37
|
-
goback?: boolean | LinkPath | ((e: React.MouseEvent) => void);
|
38
|
-
/** 背景图 */
|
39
|
-
image?: string;
|
40
|
-
/** 加载中 */
|
41
|
-
loading?: boolean;
|
42
|
-
/** 面包屑配置 */
|
43
|
-
breadcrumb?: ProPageHeaderBreadcrumbItem[];
|
44
|
-
/** 额外信息区配置 */
|
45
|
-
extra?: ProActionGroupProps | React.ReactNode;
|
46
|
-
/** 操作区配置 */
|
47
|
-
operation?: ProActionGroupProps | React.ReactNode;
|
48
|
-
/** 标签组 */
|
49
|
-
tags?: ProPageHeaderTagItem[];
|
50
|
-
/** 数据概览项 */
|
51
|
-
data?: ProPageHeaderDataItem[];
|
52
|
-
/** 底部详情 */
|
53
|
-
info?: ProInfoProps | React.ReactNode;
|
54
|
-
/** 切换 tabs */
|
55
|
-
tabs?: CapsuleTabType;
|
56
|
-
} & Omit<React.HTMLAttributes<HTMLElement>, 'title'>;
|
57
|
-
declare const ProPageHeader: React.FC<ProPageHeaderProps>;
|
58
|
-
export default ProPageHeader;
|
59
|
-
/**
|
60
|
-
* @deprecated 建议使用 ProPageHeaderBreadcrumbItem 代替
|
61
|
-
*/
|
62
|
-
export declare type BreadcrumbItem = ProPageHeaderBreadcrumbItem;
|
63
|
-
/**
|
64
|
-
* @deprecated 建议使用 ProPageHeaderTagItem 代替
|
65
|
-
*/
|
66
|
-
export declare type TagItem = ProPageHeaderTagItem;
|
67
|
-
/**
|
68
|
-
* @deprecated 建议使用 ProPageHeaderDataItem 代替
|
69
|
-
*/
|
70
|
-
export declare type DataItem = ProPageHeaderDataItem;
|
71
|
-
/**
|
72
|
-
* @deprecated 建议使用 ProPageHeaderProps 代替
|
73
|
-
*/
|
74
|
-
export declare type PageHeaderProps = ProPageHeaderProps;
|
@@ -1,15 +0,0 @@
|
|
1
|
-
import { TooltipProps } from '@alicloudfe/components/types/balloon';
|
2
|
-
import React from 'react';
|
3
|
-
import './index.scss';
|
4
|
-
export declare type ProHoverTooltipProps = {
|
5
|
-
/** 触发器 */
|
6
|
-
trigger?: React.ReactNode;
|
7
|
-
/** 显示隐藏 */
|
8
|
-
visible?: boolean;
|
9
|
-
/** tooltip */
|
10
|
-
tooltip?: React.ReactNode;
|
11
|
-
/** tooltip 配置 */
|
12
|
-
tooltipProps?: TooltipProps;
|
13
|
-
} & React.HTMLAttributes<HTMLElement>;
|
14
|
-
declare const ProHoverTooltip: React.FC<ProHoverTooltipProps>;
|
15
|
-
export default ProHoverTooltip;
|
@@ -1,12 +0,0 @@
|
|
1
|
-
import { ProActionConfig } from '../../../../..';
|
2
|
-
import React from 'react';
|
3
|
-
import './index.scss';
|
4
|
-
export declare type ProIconActionProps = {
|
5
|
-
trigger: React.ReactNode;
|
6
|
-
icon: React.ReactNode;
|
7
|
-
action: ProActionConfig;
|
8
|
-
visible?: boolean;
|
9
|
-
tooltip?: React.ReactNode;
|
10
|
-
};
|
11
|
-
declare const ProIconAction: React.FC<ProIconActionProps>;
|
12
|
-
export default ProIconAction;
|
@@ -1,23 +0,0 @@
|
|
1
|
-
import { TooltipProps } from '@alicloudfe/components/types/balloon';
|
2
|
-
import React from 'react';
|
3
|
-
import './index.scss';
|
4
|
-
export declare type ProIconSwitch = {
|
5
|
-
/** 默认状态 */
|
6
|
-
visible?: boolean;
|
7
|
-
/** tooltip 显示隐藏 */
|
8
|
-
tooltipVisible?: boolean;
|
9
|
-
/** 未激活状态下的icon */
|
10
|
-
icon?: React.ReactNode;
|
11
|
-
/** 激活状态下的 icon */
|
12
|
-
activeIcon?: React.ReactNode;
|
13
|
-
/** tooltip */
|
14
|
-
tooltip?: React.ReactNode;
|
15
|
-
/** cancelTooltip */
|
16
|
-
cancelTooltip?: React.ReactNode;
|
17
|
-
/** tooltip 配置 */
|
18
|
-
tooltipProps?: TooltipProps;
|
19
|
-
/** 状态改变的回调 */
|
20
|
-
onChange?: (state: boolean) => void;
|
21
|
-
};
|
22
|
-
declare const ProIconSwitch: React.FC<ProIconSwitch>;
|
23
|
-
export default ProIconSwitch;
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { ProSidebarDataSource, ProSidebarDataSourceItem } from '../../typing';
|
3
|
-
import { ProSidebarProps } from '../..';
|
4
|
-
declare const ProSideBarTreeNode: React.FC<ProSidebarDataSourceItem>;
|
5
|
-
export declare function renderTreeNode(data: ProSidebarDataSource): JSX.Element[];
|
6
|
-
export declare function renderTreeNodeDependenceValue(data: ProSidebarDataSource, onBeforeRenderNodeEvent: ProSidebarProps['onBeforeRenderNodeEvent'], checkedKeys: any[], selectedKeys: any[], allData?: ProSidebarDataSource): JSX.Element[];
|
7
|
-
export default ProSideBarTreeNode;
|
package/es/sidebar/index.d.ts
DELETED
package/es/sidebar/typing.d.ts
DELETED
@@ -1,137 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import { MessageProps } from '@alifd/next/types/message';
|
3
|
-
import { NodeProps, TreeProps } from '@alifd/next/types/tree';
|
4
|
-
import { CommonRequestConfig } from '@teamix/utils';
|
5
|
-
import { ProTagItem } from '../field';
|
6
|
-
import { ProActionConfig, ProCardProps, ProFieldProps, ProFieldRenderProps, ProFieldType } from '..';
|
7
|
-
/** ProSidebar 定义 */
|
8
|
-
export declare type ProSidebarProps = {
|
9
|
-
/** 数据源 */
|
10
|
-
dataSource?: ProSidebarDataSource;
|
11
|
-
/** 点击的节点 */
|
12
|
-
selectedKeys?: TreeProps['selectedKeys'];
|
13
|
-
/** 选中的节点 */
|
14
|
-
checkedKeys?: TreeProps['checkedKeys'];
|
15
|
-
/** 节点点击回调 */
|
16
|
-
onSelect?: TreeProps['onSelect'];
|
17
|
-
/** 节点选中回调 */
|
18
|
-
onCheck?: TreeProps['onCheck'];
|
19
|
-
/** 树配置 */
|
20
|
-
treeProps?: TreeProps;
|
21
|
-
/** 卡片配置 */
|
22
|
-
cardProps?: ProCardProps;
|
23
|
-
/** 显示数量 */
|
24
|
-
showExtraNumber?: boolean;
|
25
|
-
/** actionRef */
|
26
|
-
actionRef?: React.MutableRefObject<ProSidebarActionType | undefined>;
|
27
|
-
/** 渲染树节点之前的回调 dataSource 变动时调用 */
|
28
|
-
beforeRenderNode?: (item: ProSidebarDataSourceItem, level: number, dataSource: ProSidebarDataSource) => ProSidebarDataSourceItem;
|
29
|
-
/** 监听渲染树节点之前的事件 当节点状态改变、dataSource 变动时调用 */
|
30
|
-
onBeforeRenderNodeEvent?: (item: ProSidebarDataSourceItem, checkedKeys: TreeProps['checkedKeys'], selectedKeys: TreeProps['selectedKeys'], dataSource: ProSidebarDataSource) => ProSidebarDataSourceItem;
|
31
|
-
} & Omit<React.HTMLAttributes<HTMLElement>, 'onSelect'> & Omit<ProSidebarContainerProps, 'onSelect'> & ProSidebarRequestProps;
|
32
|
-
/** 数据源定义 */
|
33
|
-
export declare type ProSidebarDataSource = ProSidebarDataSourceItem[];
|
34
|
-
export declare type ProSidebarDataSourceItem = {
|
35
|
-
/** 展示值 */
|
36
|
-
label?: string;
|
37
|
-
/** 绑定值 */
|
38
|
-
value?: any;
|
39
|
-
/** 标签 */
|
40
|
-
tag?: ProTagItem;
|
41
|
-
/** 右侧操作、状态区 */
|
42
|
-
extra?: ProSidebarExtraProps;
|
43
|
-
/** 子项 */
|
44
|
-
children?: ProSidebarDataSourceItem[];
|
45
|
-
/** label 类型 对应 ProFieldType */
|
46
|
-
valueType?: ProFieldType;
|
47
|
-
/** 渲染 label 的 render 对应 ProFieldRenderProps */
|
48
|
-
render?: ProFieldRenderProps;
|
49
|
-
/** ProField 的其他配置项 */
|
50
|
-
fieldProps?: ProFieldProps;
|
51
|
-
/** TreeNode 的其他配置项 */
|
52
|
-
treeNodeProps?: ProFieldProps;
|
53
|
-
} & NodeProps;
|
54
|
-
/** 单项 extra 配置项 */
|
55
|
-
export declare type ProSidebarExtraProps = React.ReactNode | (ProSidebarExtraPropsItem | React.ReactNode)[];
|
56
|
-
export declare type ProSidebarExtraPropsItem = {
|
57
|
-
/** 相应功能项 */
|
58
|
-
type: 'action' | 'iconSwitch' | 'iconAction' | 'custom';
|
59
|
-
/** action 相应配置 */
|
60
|
-
action: ProActionConfig;
|
61
|
-
/** 相应配置 */
|
62
|
-
props: any;
|
63
|
-
/** 是否 hover 显示 */
|
64
|
-
hover?: boolean;
|
65
|
-
/** 自定义渲染 仅在 custom 有效 */
|
66
|
-
trigger?: any;
|
67
|
-
};
|
68
|
-
/** sidebar 容器定义 */
|
69
|
-
export declare type ProSidebarContainerProps = {
|
70
|
-
children?: React.ReactNode;
|
71
|
-
/** 搜索输入提示 */
|
72
|
-
searchPlaceholder?: string;
|
73
|
-
/** 搜索输入其他参数 ProField 参数 */
|
74
|
-
searchProps?: ProFieldProps;
|
75
|
-
/** 是否展示搜索框 */
|
76
|
-
showSearch?: boolean;
|
77
|
-
/** 自定义搜索 */
|
78
|
-
customSearch?: React.ReactNode;
|
79
|
-
/** 搜索框变化的回调函数 */
|
80
|
-
searchOnChange?: (value: any) => void;
|
81
|
-
/** 通知提示消息区域 */
|
82
|
-
message?: React.ReactNode;
|
83
|
-
/** 自定义消息通知区域 */
|
84
|
-
customMessage?: React.ReactNode;
|
85
|
-
/** 消息通知区域的其他参数 */
|
86
|
-
messageProps?: MessageProps;
|
87
|
-
/** 滚动区域 仅在使用 ProPageContainer 时有效 */
|
88
|
-
scrollArea?: 'all' | 'tree';
|
89
|
-
/** 是否显示展开全部 */
|
90
|
-
showExpandAll?: boolean;
|
91
|
-
/** 是否显示展开层级 */
|
92
|
-
showExpandLevel?: boolean;
|
93
|
-
/** 展开全部变化回调 */
|
94
|
-
onExpandAllChange?: (state: boolean) => void;
|
95
|
-
/** 展开层级变化回调 */
|
96
|
-
onExpandLevelChange?: (state: number) => void;
|
97
|
-
/** 展开层级 层级 */
|
98
|
-
expandLevel?: number;
|
99
|
-
/** 列表 or tree */
|
100
|
-
isTree?: boolean;
|
101
|
-
} & ProCardProps;
|
102
|
-
/** ProSidebarTree 内容定义 */
|
103
|
-
export declare type ProSidebarTreeProps = {
|
104
|
-
dataSource?: ProSidebarDataSource;
|
105
|
-
/** 搜索过滤关键词 */
|
106
|
-
searchKey?: string;
|
107
|
-
/** 显示数量 */
|
108
|
-
showExtraNumber?: ProSidebarProps['showExtraNumber'];
|
109
|
-
/** actionRef */
|
110
|
-
actionRef: React.MutableRefObject<ProSidebarActionType | undefined>;
|
111
|
-
/** 渲染树节点之前的回调 */
|
112
|
-
onBeforeRenderNodeEvent?: ProSidebarProps['onBeforeRenderNodeEvent'];
|
113
|
-
/** 渲染树节点之前的回调 dataSource 变动时调用 */
|
114
|
-
beforeRenderNode?: ProSidebarProps['beforeRenderNode'];
|
115
|
-
/** 展开全部 */
|
116
|
-
expandAll?: boolean;
|
117
|
-
/** 展开节点层级 */
|
118
|
-
expandLevel?: number;
|
119
|
-
/** dataSource 变化的回调 */
|
120
|
-
onDataSourceChange?: (dataSource: ProSidebarDataSource) => void;
|
121
|
-
} & TreeProps;
|
122
|
-
/** ProSidebarTreeNode 内容定义 */
|
123
|
-
export declare type ProSidebarTreeNodeProps = {
|
124
|
-
dataSource?: ProSidebarDataSource;
|
125
|
-
};
|
126
|
-
/** ProSidebar ActionRef 定义 */
|
127
|
-
export declare type ProSidebarActionType = {
|
128
|
-
/** 设置树节点 */
|
129
|
-
setTreeNode?: (treeNode: ProSidebarDataSourceItem) => void;
|
130
|
-
/** 刷新 */
|
131
|
-
refresh?: () => void;
|
132
|
-
};
|
133
|
-
/** ProSidebar 请求相关定义 */
|
134
|
-
export declare type ProSidebarRequestProps = {
|
135
|
-
/** 请求地址 */
|
136
|
-
url?: string;
|
137
|
-
} & Omit<CommonRequestConfig, 'url'>;
|