@riil-frontend/component-topology 2.5.5 → 2.7.0
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/build/1.js +2 -2
- package/build/2.js +1 -1
- package/build/index.css +2 -3
- package/build/index.js +32 -32
- package/es/components/BatchAttrMetric/setting.js +2 -2
- package/es/components/FormTable/index.js +1 -1
- package/es/components/IndexSettingDrawer/IndexList.js +2 -2
- package/es/components/Link/hook.js +1 -1
- package/es/components/Link/index.js +1 -1
- package/es/components/MultiResourceDrawer/Dynamic.js +1 -1
- package/es/components/MultiResourceDrawer/index.js +1 -1
- package/es/components/ResourceList/ResourceSelect.js +3 -3
- package/es/core/components/TopoView/Topo404.js +1 -1
- package/es/core/components/TopoView/TopoContent.js +1 -1
- package/es/core/components/TopoView/TopoNoPermission.js +1 -1
- package/es/core/components/TopoView/topoView.js +1 -1
- package/es/core/editor/components/LinkDynamicStyleSettingDrawer/index.js +1 -1
- package/es/core/editor/components/ResourceViewAttributeSetting/Setting.js +1 -1
- package/es/core/editor/components/iconManage/UploadIconDialog.js +1 -1
- package/es/core/editor/components/settings/common/NodeSizeInput/NodeSizeInput.js +2 -2
- package/es/core/editor/components/settings/common/text/TextStyle.js +6 -0
- package/es/core/editor/components/settings/text/TextPropertyView.js +11 -1
- package/es/core/models/TopoApp.js +3 -3
- package/es/core/models/attrAndMetric.js +1 -1
- package/es/core/models/cache/CiTyeCache.js +1 -1
- package/es/core/models/cache/DictCache.js +1 -1
- package/es/core/models/common/Alarm.js +2 -2
- package/es/core/models/plugins/resourceWebControllUrl.js +2 -2
- package/es/core/models/utils/linkUtils.js +1 -1
- package/es/core/utils/showMessage.js +1 -1
- package/es/core/viewer/components/plugins/ResourceDetail/topoDrawer.js +2 -2
- package/es/hooks/useAlarm.js +1 -1
- package/es/hooks/useContainerLinkTopo.js +1 -1
- package/es/hooks/usePolling.js +1 -1
- package/es/hooks/useTopoEdit.js +2 -2
- package/es/models/ciModel.js +1 -1
- package/es/models/iconManage.js +2 -2
- package/es/models/linkDynamicStyle.js +1 -1
- package/es/models/linkManager.js +2 -2
- package/es/models/resourceWebControllUrlSetting.js +2 -2
- package/es/models/topoAlarm.js +1 -2
- package/es/models/topoBizMod.js +4 -4
- package/es/models/topoCreateMod.js +2 -2
- package/es/models/topoEdit.js +2 -2
- package/es/models/topoGraphView.js +2 -2
- package/es/models/topoMod.js +3 -3
- package/es/models/topoView.js +2 -2
- package/es/topoCenter/components/Topology.js +1 -1
- package/es/topoCenter/getTopoData.js +1 -1
- package/es/topoCenter/store/functionAuth.js +3 -3
- package/es/topoCenter/store/topoCenter.js +2 -2
- package/es/topoCenter/store/topoTreeMod.js +2 -2
- package/es/utils/format.js +1 -1
- package/es/utils/topoData.js +1 -1
- package/es/utils/tree.js +0 -1
- package/lib/components/BatchAttrMetric/setting.js +2 -2
- package/lib/components/FormTable/index.js +1 -1
- package/lib/components/IndexSettingDrawer/IndexList.js +2 -2
- package/lib/components/Link/hook.js +1 -1
- package/lib/components/Link/index.js +1 -1
- package/lib/components/MultiResourceDrawer/Dynamic.js +1 -1
- package/lib/components/MultiResourceDrawer/index.js +1 -1
- package/lib/components/ResourceList/ResourceSelect.js +3 -3
- package/lib/core/components/TopoView/Topo404.js +1 -1
- package/lib/core/components/TopoView/TopoContent.js +1 -1
- package/lib/core/components/TopoView/TopoNoPermission.js +1 -1
- package/lib/core/components/TopoView/topoView.js +1 -1
- package/lib/core/editor/components/LinkDynamicStyleSettingDrawer/index.js +1 -1
- package/lib/core/editor/components/ResourceViewAttributeSetting/Setting.js +1 -1
- package/lib/core/editor/components/iconManage/UploadIconDialog.js +1 -1
- package/lib/core/editor/components/settings/common/NodeSizeInput/NodeSizeInput.js +2 -2
- package/lib/core/editor/components/settings/common/text/TextStyle.js +6 -0
- package/lib/core/editor/components/settings/text/TextPropertyView.js +12 -1
- package/lib/core/models/TopoApp.js +4 -4
- package/lib/core/models/attrAndMetric.js +1 -1
- package/lib/core/models/cache/CiTyeCache.js +1 -1
- package/lib/core/models/cache/DictCache.js +1 -1
- package/lib/core/models/common/Alarm.js +2 -2
- package/lib/core/models/plugins/resourceWebControllUrl.js +2 -2
- package/lib/core/models/utils/linkUtils.js +1 -1
- package/lib/core/utils/showMessage.js +1 -1
- package/lib/core/viewer/components/plugins/ResourceDetail/topoDrawer.js +2 -2
- package/lib/hooks/useAlarm.js +1 -1
- package/lib/hooks/useContainerLinkTopo.js +1 -1
- package/lib/hooks/usePolling.js +1 -1
- package/lib/hooks/useTopoEdit.js +2 -2
- package/lib/models/ciModel.js +1 -1
- package/lib/models/iconManage.js +2 -2
- package/lib/models/linkDynamicStyle.js +1 -1
- package/lib/models/linkManager.js +2 -2
- package/lib/models/resourceWebControllUrlSetting.js +2 -2
- package/lib/models/topoAlarm.js +1 -3
- package/lib/models/topoBizMod.js +4 -4
- package/lib/models/topoCreateMod.js +2 -2
- package/lib/models/topoEdit.js +2 -2
- package/lib/models/topoGraphView.js +2 -2
- package/lib/models/topoMod.js +3 -3
- package/lib/models/topoView.js +2 -2
- package/lib/topoCenter/components/Topology.js +1 -1
- package/lib/topoCenter/getTopoData.js +1 -1
- package/lib/topoCenter/store/functionAuth.js +3 -3
- package/lib/topoCenter/store/topoCenter.js +2 -2
- package/lib/topoCenter/store/topoTreeMod.js +2 -2
- package/lib/utils/format.js +1 -1
- package/lib/utils/topoData.js +1 -1
- package/lib/utils/tree.js +0 -1
- package/package.json +22 -21
- package/es/common/components/ResourceTable/ResourceTable.d.ts +0 -2
- package/es/common/plugins/useSelectionPlugin.d.ts +0 -23
- package/es/components/BatchAttrMetric/constant.d.ts +0 -30
- package/es/components/BatchAttrMetric/index.d.ts +0 -5
- package/es/components/BatchAttrMetric/setting.d.ts +0 -6
- package/es/components/BatchAttrMetric/utils.d.ts +0 -35
- package/es/components/Drawer/index.d.ts +0 -2
- package/es/components/FormTable/index.d.ts +0 -2
- package/es/components/IndexSettingDrawer/CiList.d.ts +0 -2
- package/es/components/IndexSettingDrawer/CiListItem.d.ts +0 -2
- package/es/components/IndexSettingDrawer/IndexList.d.ts +0 -2
- package/es/components/IndexSettingDrawer/index.d.ts +0 -2
- package/es/components/Link/form.d.ts +0 -2
- package/es/components/Link/hook.d.ts +0 -26
- package/es/components/Link/index.d.ts +0 -6
- package/es/components/Link/setting.d.ts +0 -8
- package/es/components/MultiResourceDrawer/Content.d.ts +0 -2
- package/es/components/MultiResourceDrawer/Dynamic.d.ts +0 -2
- package/es/components/MultiResourceDrawer/ResourceCard/index.d.ts +0 -2
- package/es/components/MultiResourceDrawer/ResourceSelect.d.ts +0 -2
- package/es/components/MultiResourceDrawer/Static.d.ts +0 -2
- package/es/components/MultiResourceDrawer/index.d.ts +0 -2
- package/es/components/ResourceList/ResourceSelect.d.ts +0 -2
- package/es/components/ResourceList/ResourceSelectConnect.d.ts +0 -2
- package/es/components/ResourceList/index.d.ts +0 -1
- package/es/components/ResourceSelect/DefaultResourceSelectDrawer.d.ts +0 -1
- package/es/components/ResourceSelect/ResourceSelectDrawer.d.ts +0 -1
- package/es/components/SingleResourceDrawer/index.d.ts +0 -2
- package/es/components/TemplateButton/Icon.d.ts +0 -2
- package/es/components/TemplateButton/assets/index.d.ts +0 -8
- package/es/components/TemplateButton/index.d.ts +0 -2
- package/es/components/TemplateGroup/index.d.ts +0 -2
- package/es/components/TemplateSelect/index.d.ts +0 -2
- package/es/constants/ResDetailContants.d.ts +0 -1
- package/es/constants/constant.d.ts +0 -36
- package/es/constants/defaultCiTypeIcon.d.ts +0 -8
- package/es/contextmenu/createMenuCommands.d.ts +0 -5
- package/es/core/common/contextmenu/mergeContextmenu.d.ts +0 -1
- package/es/core/common/icons/defaultIcons.d.ts +0 -84
- package/es/core/components/TopoApp.d.ts +0 -1
- package/es/core/components/TopoAppProvider.d.ts +0 -1
- package/es/core/components/TopoAppView.d.ts +0 -14
- package/es/core/components/TopoView/Topo.d.ts +0 -5
- package/es/core/components/TopoView/Topo404.d.ts +0 -1
- package/es/core/components/TopoView/TopoContent.d.ts +0 -5
- package/es/core/components/TopoView/TopoNoPermission.d.ts +0 -1
- package/es/core/components/TopoView/topoView.d.ts +0 -19
- package/es/core/components/buildProvider.d.ts +0 -1
- package/es/core/components/titlebar/TitleBar.d.ts +0 -9
- package/es/core/components/titlebar/index.d.ts +0 -1
- package/es/core/components/titlebar/widgets/TitleWidget.d.ts +0 -1
- package/es/core/editor/LinkDynamicStyleConfig.d.ts +0 -5
- package/es/core/editor/components/EditorPlugin.d.ts +0 -1
- package/es/core/editor/components/LinkDynamicStyleSettingDrawer/RuleSetting.d.ts +0 -1
- package/es/core/editor/components/LinkDynamicStyleSettingDrawer/index.d.ts +0 -1
- package/es/core/editor/components/LinkDynamicStyleSettingDrawer/rule/ColorPicker.d.ts +0 -6
- package/es/core/editor/components/LinkDynamicStyleSettingDrawer/rule/Rule.d.ts +0 -1
- package/es/core/editor/components/LinkDynamicStyleSettingDrawer/rule/RuleCondition.d.ts +0 -1
- package/es/core/editor/components/LinkDynamicStyleSettingDrawer/rule/RuleStyle.d.ts +0 -1
- package/es/core/editor/components/ResourceViewAttributeSetting/ResourceViewAttributeSettingPlugin.d.ts +0 -4
- package/es/core/editor/components/ResourceViewAttributeSetting/Setting.d.ts +0 -5
- package/es/core/editor/components/iconManage/IconManage.d.ts +0 -1
- package/es/core/editor/components/iconManage/RenameDialog.d.ts +0 -1
- package/es/core/editor/components/iconManage/UploadIconDialog.d.ts +0 -30
- package/es/core/editor/components/iconManage/UploadIconDialogWrapper.d.ts +0 -1
- package/es/core/editor/components/iconManage/utils/svgToShape.d.ts +0 -1
- package/es/core/editor/components/settings/Settings.d.ts +0 -1
- package/es/core/editor/components/settings/SettingsForm.d.ts +0 -1
- package/es/core/editor/components/settings/Style.d.ts +0 -1
- package/es/core/editor/components/settings/common/LayoutSettings.d.ts +0 -2
- package/es/core/editor/components/settings/common/LineType.d.ts +0 -1
- package/es/core/editor/components/settings/common/NodeAlignType.d.ts +0 -1
- package/es/core/editor/components/settings/common/NodeSizeInput/NodeSizeInput.d.ts +0 -12
- package/es/core/editor/components/settings/common/NodeSizeInput/NodeSizeNumberPicker.d.ts +0 -7
- package/es/core/editor/components/settings/common/tab/TabView.d.ts +0 -1
- package/es/core/editor/components/settings/common/text/FontStyleCheckbox.d.ts +0 -1
- package/es/core/editor/components/settings/common/text/TextStyle.d.ts +0 -1
- package/es/core/editor/components/settings/common/text/fontStyleUtil.d.ts +0 -19
- package/es/core/editor/components/settings/group/GroupNodeList/GroupNodeList.d.ts +0 -1
- package/es/core/editor/components/settings/group/GroupNodeList/ResourceList.d.ts +0 -2
- package/es/core/editor/components/settings/group/GroupNodeList/ResourceSelectButton.d.ts +0 -1
- package/es/core/editor/components/settings/group/GroupNodeList/icon.d.ts +0 -87
- package/es/core/editor/components/settings/layer/LayerSettingsForm.d.ts +0 -1
- package/es/core/editor/components/settings/link/LinkPropertyView.d.ts +0 -1
- package/es/core/editor/components/settings/node/NodeIconSelect.d.ts +0 -1
- package/es/core/editor/components/settings/node/NodeIconSelectTest.d.ts +0 -1
- package/es/core/editor/components/settings/node/NodePropertyView.d.ts +0 -1
- package/es/core/editor/components/settings/node/NodeRelateResourceButton.d.ts +0 -4
- package/es/core/editor/components/settings/node/TopoTreeSelect.d.ts +0 -1
- package/es/core/editor/components/settings/text/TextPropertyView.d.ts +0 -1
- package/es/core/editor/components/settings/useSettingRuntimeState.d.ts +0 -5
- package/es/core/editor/components/settings/view/BatchSetNodeSize.d.ts +0 -1
- package/es/core/editor/components/settings/view/ViewPropertyView.d.ts +0 -1
- package/es/core/editor/components/titlebar/TopoEditorTitleBar.d.ts +0 -1
- package/es/core/editor/components/titlebar/widgets/SaveButton.d.ts +0 -1
- package/es/core/editor/contextmenu/buildContextmenu.d.ts +0 -6
- package/es/core/index.d.ts +0 -1
- package/es/core/models/AttributeMetricDisplay.d.ts +0 -8
- package/es/core/models/TopoGraphView.d.ts +0 -42
- package/es/core/models/TopoViewer.d.ts +0 -9
- package/es/core/models/attrAndMetric.d.ts +0 -1
- package/es/core/models/cache/CiTyeCache.d.ts +0 -12
- package/es/core/models/cache/DictCache.d.ts +0 -11
- package/es/core/models/common/Alarm.d.ts +0 -52
- package/es/core/models/common/ContextMenu.d.ts +0 -8
- package/es/core/models/createTopoApp.d.ts +0 -13
- package/es/core/models/plugins/resourceWebControllUrl.d.ts +0 -11
- package/es/core/models/utils/getRelationDetailByIds.d.ts +0 -1
- package/es/core/models/utils/linkUtils.d.ts +0 -3
- package/es/core/store/coreModels.d.ts +0 -18
- package/es/core/store/createStore.d.ts +0 -1
- package/es/core/test/Test.d.ts +0 -9
- package/es/core/utils/resourceUtil.d.ts +0 -5
- package/es/core/utils/showMessage.d.ts +0 -1
- package/es/core/viewer/components/plugins/ResourceDetail/ResourceDetailDrawerPlugin.d.ts +0 -1
- package/es/core/viewer/components/plugins/ResourceDetail/topoDrawer.d.ts +0 -2
- package/es/core/viewer/components/plugins/ResourceWebControllUrlSettingDialog.d.ts +0 -1
- package/es/core/viewer/components/plugins/ViewerPlugin.d.ts +0 -1
- package/es/core/viewer/components/titlebar/TopoViewerTitleBar.d.ts +0 -1
- package/es/core/viewer/components/titlebar/ViewerTools.d.ts +0 -1
- package/es/core/viewer/components/titlebar/widgets/EditButton.d.ts +0 -4
- package/es/core/viewer/components/titlebar/widgets/SearchWidget.d.ts +0 -8
- package/es/core/viewer/contextmenu/buildContextmenu.d.ts +0 -42
- package/es/core/viewer/contextmenu/buildLinkContextmenu.d.ts +0 -9
- package/es/core/viewer/contextmenu/buildNodeContextmenu.d.ts +0 -24
- package/es/core/viewer/contextmenu/buildViewContextmenu.d.ts +0 -7
- package/es/createTopo.d.ts +0 -2
- package/es/getStoreModels.d.ts +0 -35
- package/es/hooks/useAlarm.d.ts +0 -1
- package/es/hooks/useContainerLinkTopo.d.ts +0 -8
- package/es/hooks/usePolling.d.ts +0 -9
- package/es/hooks/useSelection.d.ts +0 -9
- package/es/hooks/useTopoEdit.d.ts +0 -83
- package/es/index.d.ts +0 -3
- package/es/mock/mock.d.ts +0 -187
- package/es/models/ciModel.d.ts +0 -15
- package/es/models/iconManage.d.ts +0 -39
- package/es/models/linkDynamicStyle.d.ts +0 -47
- package/es/models/linkDynamicStyleConfig.d.ts +0 -37
- package/es/models/linkManager.d.ts +0 -11
- package/es/models/resourceWebControllUrlSetting.d.ts +0 -13
- package/es/models/topoAlarm.d.ts +0 -15
- package/es/models/topoBizMod.d.ts +0 -42
- package/es/models/topoCreateMod.d.ts +0 -108
- package/es/models/topoEdit.d.ts +0 -13
- package/es/models/topoGraphView.d.ts +0 -11
- package/es/models/topoMod.d.ts +0 -86
- package/es/models/topoView.d.ts +0 -11
- package/es/topoCenter/components/Topology.d.ts +0 -1
- package/es/topoCenter/createTopo.d.ts +0 -3
- package/es/topoCenter/getTopoData.d.ts +0 -1
- package/es/topoCenter/index.d.ts +0 -3
- package/es/topoCenter/models/TopoCenter.d.ts +0 -11
- package/es/topoCenter/store/functionAuth.d.ts +0 -20
- package/es/topoCenter/store/topoCenter.d.ts +0 -32
- package/es/topoCenter/store/topoTreeMod.d.ts +0 -83
- package/es/topoCenter/viewer/components/TitleBar.d.ts +0 -1
- package/es/topoCenter/viewer/components/TopologyViewer.d.ts +0 -1
- package/es/topoCenter/viewer/createTopoViewer.d.ts +0 -3
- package/es/topoCenter/viewer/index.d.ts +0 -2
- package/es/utils/ciType.d.ts +0 -1
- package/es/utils/format.d.ts +0 -28
- package/es/utils/htElementDataUtil.d.ts +0 -5
- package/es/utils/htElementUtils.d.ts +0 -5
- package/es/utils/listToTree.d.ts +0 -1
- package/es/utils/resourceElementUtil.d.ts +0 -1
- package/es/utils/template.d.ts +0 -50
- package/es/utils/topoData.d.ts +0 -54
- package/es/utils/topoIconUtil.d.ts +0 -6
- package/es/utils/topoMocks.d.ts +0 -172
- package/es/utils/topoPermissionUtil.d.ts +0 -9
- package/es/utils/tree.d.ts +0 -15
- package/lib/common/components/ResourceTable/ResourceTable.d.ts +0 -2
- package/lib/common/plugins/useSelectionPlugin.d.ts +0 -23
- package/lib/components/BatchAttrMetric/constant.d.ts +0 -30
- package/lib/components/BatchAttrMetric/index.d.ts +0 -5
- package/lib/components/BatchAttrMetric/setting.d.ts +0 -6
- package/lib/components/BatchAttrMetric/utils.d.ts +0 -35
- package/lib/components/Drawer/index.d.ts +0 -2
- package/lib/components/FormTable/index.d.ts +0 -2
- package/lib/components/IndexSettingDrawer/CiList.d.ts +0 -2
- package/lib/components/IndexSettingDrawer/CiListItem.d.ts +0 -2
- package/lib/components/IndexSettingDrawer/IndexList.d.ts +0 -2
- package/lib/components/IndexSettingDrawer/index.d.ts +0 -2
- package/lib/components/Link/form.d.ts +0 -2
- package/lib/components/Link/hook.d.ts +0 -26
- package/lib/components/Link/index.d.ts +0 -6
- package/lib/components/Link/setting.d.ts +0 -8
- package/lib/components/MultiResourceDrawer/Content.d.ts +0 -2
- package/lib/components/MultiResourceDrawer/Dynamic.d.ts +0 -2
- package/lib/components/MultiResourceDrawer/ResourceCard/index.d.ts +0 -2
- package/lib/components/MultiResourceDrawer/ResourceSelect.d.ts +0 -2
- package/lib/components/MultiResourceDrawer/Static.d.ts +0 -2
- package/lib/components/MultiResourceDrawer/index.d.ts +0 -2
- package/lib/components/ResourceList/ResourceSelect.d.ts +0 -2
- package/lib/components/ResourceList/ResourceSelectConnect.d.ts +0 -2
- package/lib/components/ResourceList/index.d.ts +0 -1
- package/lib/components/ResourceSelect/DefaultResourceSelectDrawer.d.ts +0 -1
- package/lib/components/ResourceSelect/ResourceSelectDrawer.d.ts +0 -1
- package/lib/components/SingleResourceDrawer/index.d.ts +0 -2
- package/lib/components/TemplateButton/Icon.d.ts +0 -2
- package/lib/components/TemplateButton/assets/index.d.ts +0 -8
- package/lib/components/TemplateButton/index.d.ts +0 -2
- package/lib/components/TemplateGroup/index.d.ts +0 -2
- package/lib/components/TemplateSelect/index.d.ts +0 -2
- package/lib/constants/ResDetailContants.d.ts +0 -1
- package/lib/constants/constant.d.ts +0 -36
- package/lib/constants/defaultCiTypeIcon.d.ts +0 -8
- package/lib/contextmenu/createMenuCommands.d.ts +0 -5
- package/lib/core/common/contextmenu/mergeContextmenu.d.ts +0 -1
- package/lib/core/common/icons/defaultIcons.d.ts +0 -84
- package/lib/core/components/TopoApp.d.ts +0 -1
- package/lib/core/components/TopoAppProvider.d.ts +0 -1
- package/lib/core/components/TopoAppView.d.ts +0 -14
- package/lib/core/components/TopoView/Topo.d.ts +0 -5
- package/lib/core/components/TopoView/Topo404.d.ts +0 -1
- package/lib/core/components/TopoView/TopoContent.d.ts +0 -5
- package/lib/core/components/TopoView/TopoNoPermission.d.ts +0 -1
- package/lib/core/components/TopoView/topoView.d.ts +0 -19
- package/lib/core/components/buildProvider.d.ts +0 -1
- package/lib/core/components/titlebar/TitleBar.d.ts +0 -9
- package/lib/core/components/titlebar/index.d.ts +0 -1
- package/lib/core/components/titlebar/widgets/TitleWidget.d.ts +0 -1
- package/lib/core/editor/LinkDynamicStyleConfig.d.ts +0 -5
- package/lib/core/editor/components/EditorPlugin.d.ts +0 -1
- package/lib/core/editor/components/LinkDynamicStyleSettingDrawer/RuleSetting.d.ts +0 -1
- package/lib/core/editor/components/LinkDynamicStyleSettingDrawer/index.d.ts +0 -1
- package/lib/core/editor/components/LinkDynamicStyleSettingDrawer/rule/ColorPicker.d.ts +0 -6
- package/lib/core/editor/components/LinkDynamicStyleSettingDrawer/rule/Rule.d.ts +0 -1
- package/lib/core/editor/components/LinkDynamicStyleSettingDrawer/rule/RuleCondition.d.ts +0 -1
- package/lib/core/editor/components/LinkDynamicStyleSettingDrawer/rule/RuleStyle.d.ts +0 -1
- package/lib/core/editor/components/ResourceViewAttributeSetting/ResourceViewAttributeSettingPlugin.d.ts +0 -4
- package/lib/core/editor/components/ResourceViewAttributeSetting/Setting.d.ts +0 -5
- package/lib/core/editor/components/iconManage/IconManage.d.ts +0 -1
- package/lib/core/editor/components/iconManage/RenameDialog.d.ts +0 -1
- package/lib/core/editor/components/iconManage/UploadIconDialog.d.ts +0 -30
- package/lib/core/editor/components/iconManage/UploadIconDialogWrapper.d.ts +0 -1
- package/lib/core/editor/components/iconManage/utils/svgToShape.d.ts +0 -1
- package/lib/core/editor/components/settings/Settings.d.ts +0 -1
- package/lib/core/editor/components/settings/SettingsForm.d.ts +0 -1
- package/lib/core/editor/components/settings/Style.d.ts +0 -1
- package/lib/core/editor/components/settings/common/LayoutSettings.d.ts +0 -2
- package/lib/core/editor/components/settings/common/LineType.d.ts +0 -1
- package/lib/core/editor/components/settings/common/NodeAlignType.d.ts +0 -1
- package/lib/core/editor/components/settings/common/NodeSizeInput/NodeSizeInput.d.ts +0 -12
- package/lib/core/editor/components/settings/common/NodeSizeInput/NodeSizeNumberPicker.d.ts +0 -7
- package/lib/core/editor/components/settings/common/tab/TabView.d.ts +0 -1
- package/lib/core/editor/components/settings/common/text/FontStyleCheckbox.d.ts +0 -1
- package/lib/core/editor/components/settings/common/text/TextStyle.d.ts +0 -1
- package/lib/core/editor/components/settings/common/text/fontStyleUtil.d.ts +0 -19
- package/lib/core/editor/components/settings/group/GroupNodeList/GroupNodeList.d.ts +0 -1
- package/lib/core/editor/components/settings/group/GroupNodeList/ResourceList.d.ts +0 -2
- package/lib/core/editor/components/settings/group/GroupNodeList/ResourceSelectButton.d.ts +0 -1
- package/lib/core/editor/components/settings/group/GroupNodeList/icon.d.ts +0 -87
- package/lib/core/editor/components/settings/layer/LayerSettingsForm.d.ts +0 -1
- package/lib/core/editor/components/settings/link/LinkPropertyView.d.ts +0 -1
- package/lib/core/editor/components/settings/node/NodeIconSelect.d.ts +0 -1
- package/lib/core/editor/components/settings/node/NodeIconSelectTest.d.ts +0 -1
- package/lib/core/editor/components/settings/node/NodePropertyView.d.ts +0 -1
- package/lib/core/editor/components/settings/node/NodeRelateResourceButton.d.ts +0 -4
- package/lib/core/editor/components/settings/node/TopoTreeSelect.d.ts +0 -1
- package/lib/core/editor/components/settings/text/TextPropertyView.d.ts +0 -1
- package/lib/core/editor/components/settings/useSettingRuntimeState.d.ts +0 -5
- package/lib/core/editor/components/settings/view/BatchSetNodeSize.d.ts +0 -1
- package/lib/core/editor/components/settings/view/ViewPropertyView.d.ts +0 -1
- package/lib/core/editor/components/titlebar/TopoEditorTitleBar.d.ts +0 -1
- package/lib/core/editor/components/titlebar/widgets/SaveButton.d.ts +0 -1
- package/lib/core/editor/contextmenu/buildContextmenu.d.ts +0 -6
- package/lib/core/index.d.ts +0 -1
- package/lib/core/models/AttributeMetricDisplay.d.ts +0 -8
- package/lib/core/models/TopoGraphView.d.ts +0 -42
- package/lib/core/models/TopoViewer.d.ts +0 -9
- package/lib/core/models/attrAndMetric.d.ts +0 -1
- package/lib/core/models/cache/CiTyeCache.d.ts +0 -12
- package/lib/core/models/cache/DictCache.d.ts +0 -11
- package/lib/core/models/common/Alarm.d.ts +0 -52
- package/lib/core/models/common/ContextMenu.d.ts +0 -8
- package/lib/core/models/createTopoApp.d.ts +0 -13
- package/lib/core/models/plugins/resourceWebControllUrl.d.ts +0 -11
- package/lib/core/models/utils/getRelationDetailByIds.d.ts +0 -1
- package/lib/core/models/utils/linkUtils.d.ts +0 -3
- package/lib/core/store/coreModels.d.ts +0 -18
- package/lib/core/store/createStore.d.ts +0 -1
- package/lib/core/test/Test.d.ts +0 -9
- package/lib/core/utils/resourceUtil.d.ts +0 -5
- package/lib/core/utils/showMessage.d.ts +0 -1
- package/lib/core/viewer/components/plugins/ResourceDetail/ResourceDetailDrawerPlugin.d.ts +0 -1
- package/lib/core/viewer/components/plugins/ResourceDetail/topoDrawer.d.ts +0 -2
- package/lib/core/viewer/components/plugins/ResourceWebControllUrlSettingDialog.d.ts +0 -1
- package/lib/core/viewer/components/plugins/ViewerPlugin.d.ts +0 -1
- package/lib/core/viewer/components/titlebar/TopoViewerTitleBar.d.ts +0 -1
- package/lib/core/viewer/components/titlebar/ViewerTools.d.ts +0 -1
- package/lib/core/viewer/components/titlebar/widgets/EditButton.d.ts +0 -4
- package/lib/core/viewer/components/titlebar/widgets/SearchWidget.d.ts +0 -8
- package/lib/core/viewer/contextmenu/buildContextmenu.d.ts +0 -42
- package/lib/core/viewer/contextmenu/buildLinkContextmenu.d.ts +0 -9
- package/lib/core/viewer/contextmenu/buildNodeContextmenu.d.ts +0 -24
- package/lib/core/viewer/contextmenu/buildViewContextmenu.d.ts +0 -7
- package/lib/createTopo.d.ts +0 -2
- package/lib/getStoreModels.d.ts +0 -35
- package/lib/hooks/useAlarm.d.ts +0 -1
- package/lib/hooks/useContainerLinkTopo.d.ts +0 -8
- package/lib/hooks/usePolling.d.ts +0 -9
- package/lib/hooks/useSelection.d.ts +0 -9
- package/lib/hooks/useTopoEdit.d.ts +0 -83
- package/lib/index.d.ts +0 -3
- package/lib/mock/mock.d.ts +0 -187
- package/lib/models/ciModel.d.ts +0 -15
- package/lib/models/iconManage.d.ts +0 -39
- package/lib/models/linkDynamicStyle.d.ts +0 -47
- package/lib/models/linkDynamicStyleConfig.d.ts +0 -37
- package/lib/models/linkManager.d.ts +0 -11
- package/lib/models/resourceWebControllUrlSetting.d.ts +0 -13
- package/lib/models/topoAlarm.d.ts +0 -15
- package/lib/models/topoBizMod.d.ts +0 -42
- package/lib/models/topoCreateMod.d.ts +0 -108
- package/lib/models/topoEdit.d.ts +0 -13
- package/lib/models/topoGraphView.d.ts +0 -11
- package/lib/models/topoMod.d.ts +0 -86
- package/lib/models/topoView.d.ts +0 -11
- package/lib/topoCenter/components/Topology.d.ts +0 -1
- package/lib/topoCenter/createTopo.d.ts +0 -3
- package/lib/topoCenter/getTopoData.d.ts +0 -1
- package/lib/topoCenter/index.d.ts +0 -3
- package/lib/topoCenter/models/TopoCenter.d.ts +0 -11
- package/lib/topoCenter/store/functionAuth.d.ts +0 -20
- package/lib/topoCenter/store/topoCenter.d.ts +0 -32
- package/lib/topoCenter/store/topoTreeMod.d.ts +0 -83
- package/lib/topoCenter/viewer/components/TitleBar.d.ts +0 -1
- package/lib/topoCenter/viewer/components/TopologyViewer.d.ts +0 -1
- package/lib/topoCenter/viewer/createTopoViewer.d.ts +0 -3
- package/lib/topoCenter/viewer/index.d.ts +0 -2
- package/lib/utils/ciType.d.ts +0 -1
- package/lib/utils/format.d.ts +0 -28
- package/lib/utils/htElementDataUtil.d.ts +0 -5
- package/lib/utils/htElementUtils.d.ts +0 -5
- package/lib/utils/listToTree.d.ts +0 -1
- package/lib/utils/resourceElementUtil.d.ts +0 -1
- package/lib/utils/template.d.ts +0 -50
- package/lib/utils/topoData.d.ts +0 -54
- package/lib/utils/topoIconUtil.d.ts +0 -6
- package/lib/utils/topoMocks.d.ts +0 -172
- package/lib/utils/topoPermissionUtil.d.ts +0 -9
- package/lib/utils/tree.d.ts +0 -15
package/es/getStoreModels.d.ts
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
declare namespace _default {
|
|
2
|
-
export { topoMod };
|
|
3
|
-
export { iconManage };
|
|
4
|
-
export { ciModel };
|
|
5
|
-
export { functionAuth };
|
|
6
|
-
export { linkManager };
|
|
7
|
-
export { linkDynamicStyle };
|
|
8
|
-
export { linkDynamicStyleConfig };
|
|
9
|
-
export { resourceWebControllUrlSetting };
|
|
10
|
-
export { topoBizMod };
|
|
11
|
-
export { topoCenter };
|
|
12
|
-
export { topoCreateMod };
|
|
13
|
-
export { topoEdit };
|
|
14
|
-
export { topoTreeMod };
|
|
15
|
-
export { topoView };
|
|
16
|
-
export { topoGraphView };
|
|
17
|
-
export { topoAlarm };
|
|
18
|
-
}
|
|
19
|
-
export default _default;
|
|
20
|
-
import topoMod from "./models/topoMod";
|
|
21
|
-
import iconManage from "./models/iconManage";
|
|
22
|
-
import ciModel from "./models/ciModel";
|
|
23
|
-
import functionAuth from "./topoCenter/store/functionAuth";
|
|
24
|
-
import linkManager from "./models/linkManager";
|
|
25
|
-
import linkDynamicStyle from "./models/linkDynamicStyle";
|
|
26
|
-
import linkDynamicStyleConfig from "./models/linkDynamicStyleConfig";
|
|
27
|
-
import resourceWebControllUrlSetting from "./models/resourceWebControllUrlSetting";
|
|
28
|
-
import topoBizMod from "./models/topoBizMod";
|
|
29
|
-
import topoCenter from "./topoCenter/store/topoCenter";
|
|
30
|
-
import topoCreateMod from "./models/topoCreateMod";
|
|
31
|
-
import topoEdit from "./models/topoEdit";
|
|
32
|
-
import topoTreeMod from "./topoCenter/store/topoTreeMod";
|
|
33
|
-
import topoView from "./models/topoView";
|
|
34
|
-
import topoGraphView from "./models/topoGraphView";
|
|
35
|
-
import topoAlarm from "./models/topoAlarm";
|
package/es/hooks/useAlarm.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function useAlarm(options: any): void;
|
package/es/hooks/usePolling.d.ts
DELETED
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
export default useTopoEdit;
|
|
2
|
-
declare function useTopoEdit(params: any): {
|
|
3
|
-
/**
|
|
4
|
-
* 拓扑结构加载中状态
|
|
5
|
-
*/
|
|
6
|
-
topoLoading: any;
|
|
7
|
-
/**
|
|
8
|
-
* 资源绑定(单选)抽屉显示状态
|
|
9
|
-
*/
|
|
10
|
-
showSingleResDrawer: boolean;
|
|
11
|
-
/**
|
|
12
|
-
* 资源绑定(单选)已选择资源
|
|
13
|
-
*/
|
|
14
|
-
initialSingleRes: any;
|
|
15
|
-
/**
|
|
16
|
-
* 资源绑定(多选)抽屉显示状态
|
|
17
|
-
*/
|
|
18
|
-
showComboResDrawer: boolean;
|
|
19
|
-
/**
|
|
20
|
-
* 资源绑定(多选)已选择资源(动态+固定)
|
|
21
|
-
*/
|
|
22
|
-
initialComboRes: any;
|
|
23
|
-
/**
|
|
24
|
-
* 当前资源对应的拓扑结构(点+线+容器)
|
|
25
|
-
*/
|
|
26
|
-
topo: any;
|
|
27
|
-
/**
|
|
28
|
-
* 拓扑图全局已选固定资源
|
|
29
|
-
*/
|
|
30
|
-
resSelections: any;
|
|
31
|
-
/**
|
|
32
|
-
* 进入编辑模式回调
|
|
33
|
-
*/
|
|
34
|
-
onEnterEdit: () => Promise<void>;
|
|
35
|
-
/**
|
|
36
|
-
* 退出编辑模式回调
|
|
37
|
-
*/
|
|
38
|
-
onExitEdit: () => void;
|
|
39
|
-
/**
|
|
40
|
-
* 发起业务数据(资源、链路)绑定回调
|
|
41
|
-
*/
|
|
42
|
-
onBindData: (eventData: any) => void;
|
|
43
|
-
/**
|
|
44
|
-
* 增加资源到视图
|
|
45
|
-
*/
|
|
46
|
-
addResourceToView: () => void;
|
|
47
|
-
/**
|
|
48
|
-
* 关联/重新关联资源
|
|
49
|
-
*/
|
|
50
|
-
bindNodeResource: (node: any) => void;
|
|
51
|
-
/**
|
|
52
|
-
* 增加资源到容器
|
|
53
|
-
*/
|
|
54
|
-
addResourceToGroup: (group: any) => void;
|
|
55
|
-
/**
|
|
56
|
-
* 资源绑定(单选)保存选择
|
|
57
|
-
*/
|
|
58
|
-
onSaveSingleRes: (resource: any) => boolean;
|
|
59
|
-
/**
|
|
60
|
-
* 关闭资源绑定(单选)抽屉
|
|
61
|
-
*/
|
|
62
|
-
onCloseSigleResDrawer: () => void;
|
|
63
|
-
/**
|
|
64
|
-
* 资源绑定(多选)保存选择
|
|
65
|
-
*/
|
|
66
|
-
onSaveComboRes: (data: any) => any;
|
|
67
|
-
/**
|
|
68
|
-
* 关闭资源绑定(多选)抽屉
|
|
69
|
-
*/
|
|
70
|
-
onCloseComboResDrawer: () => void;
|
|
71
|
-
/**
|
|
72
|
-
* 拓扑图元素(节点、连线、容器)删除回调
|
|
73
|
-
*/
|
|
74
|
-
onDeleteElement: (data: any) => void;
|
|
75
|
-
/**
|
|
76
|
-
* 拓扑图保存回调
|
|
77
|
-
*/
|
|
78
|
-
onSaveTopo: (data: any) => Promise<void>;
|
|
79
|
-
/**
|
|
80
|
-
* 从关联资源切换关联拓扑图事件
|
|
81
|
-
*/
|
|
82
|
-
onTopoRelatedImage: (eventData: any) => void;
|
|
83
|
-
};
|
package/es/index.d.ts
DELETED
package/es/mock/mock.d.ts
DELETED
|
@@ -1,187 +0,0 @@
|
|
|
1
|
-
export namespace topoData {
|
|
2
|
-
export namespace config {
|
|
3
|
-
export const id: string;
|
|
4
|
-
export const name: string;
|
|
5
|
-
export const topoType: string;
|
|
6
|
-
export const layout: string;
|
|
7
|
-
}
|
|
8
|
-
export const layouts: {
|
|
9
|
-
index: number;
|
|
10
|
-
name: string;
|
|
11
|
-
}[];
|
|
12
|
-
export const nodes: ({
|
|
13
|
-
id: string;
|
|
14
|
-
type: string;
|
|
15
|
-
name: string;
|
|
16
|
-
layout: number;
|
|
17
|
-
groupId: number;
|
|
18
|
-
attribute: {
|
|
19
|
-
ciType: string;
|
|
20
|
-
ciName: string;
|
|
21
|
-
};
|
|
22
|
-
width?: undefined;
|
|
23
|
-
height?: undefined;
|
|
24
|
-
x?: undefined;
|
|
25
|
-
y?: undefined;
|
|
26
|
-
} | {
|
|
27
|
-
id: string;
|
|
28
|
-
type: string;
|
|
29
|
-
name: string;
|
|
30
|
-
groupId: number;
|
|
31
|
-
attribute: {
|
|
32
|
-
ciType: string;
|
|
33
|
-
ciName: string;
|
|
34
|
-
};
|
|
35
|
-
layout?: undefined;
|
|
36
|
-
width?: undefined;
|
|
37
|
-
height?: undefined;
|
|
38
|
-
x?: undefined;
|
|
39
|
-
y?: undefined;
|
|
40
|
-
} | {
|
|
41
|
-
id: string;
|
|
42
|
-
type: string;
|
|
43
|
-
name: string;
|
|
44
|
-
groupId: number;
|
|
45
|
-
width: number;
|
|
46
|
-
height: number;
|
|
47
|
-
x: number;
|
|
48
|
-
y: number;
|
|
49
|
-
attribute: {
|
|
50
|
-
ciType: string;
|
|
51
|
-
ciName: string;
|
|
52
|
-
};
|
|
53
|
-
layout?: undefined;
|
|
54
|
-
})[];
|
|
55
|
-
export const links: {
|
|
56
|
-
id: string;
|
|
57
|
-
source: string;
|
|
58
|
-
target: string;
|
|
59
|
-
attribute: {
|
|
60
|
-
reltype: string;
|
|
61
|
-
};
|
|
62
|
-
}[];
|
|
63
|
-
export const serialize: string;
|
|
64
|
-
}
|
|
65
|
-
export namespace topoCiInfo {
|
|
66
|
-
export const data: {
|
|
67
|
-
code: string;
|
|
68
|
-
name: string;
|
|
69
|
-
icon: string;
|
|
70
|
-
id: string;
|
|
71
|
-
extend: string;
|
|
72
|
-
domain: string;
|
|
73
|
-
parent: any;
|
|
74
|
-
enable: boolean;
|
|
75
|
-
source: string;
|
|
76
|
-
displayName: string;
|
|
77
|
-
vendor: string;
|
|
78
|
-
version: string;
|
|
79
|
-
category: string;
|
|
80
|
-
type: any;
|
|
81
|
-
attributes: ({
|
|
82
|
-
code: string;
|
|
83
|
-
dataRange: string;
|
|
84
|
-
dataLength: string;
|
|
85
|
-
defaultValue: string;
|
|
86
|
-
dataType: string;
|
|
87
|
-
description: string;
|
|
88
|
-
source: string;
|
|
89
|
-
type: string;
|
|
90
|
-
metricCode: string;
|
|
91
|
-
required: string;
|
|
92
|
-
unit: string;
|
|
93
|
-
userVisible: string;
|
|
94
|
-
name: string;
|
|
95
|
-
changeValue: string;
|
|
96
|
-
modifiable: string;
|
|
97
|
-
dataSource: string;
|
|
98
|
-
initValue: string;
|
|
99
|
-
extendable: string;
|
|
100
|
-
templateCode?: undefined;
|
|
101
|
-
ifPublic?: undefined;
|
|
102
|
-
} | {
|
|
103
|
-
code: string;
|
|
104
|
-
dataRange: string;
|
|
105
|
-
dataLength: string;
|
|
106
|
-
defaultValue: string;
|
|
107
|
-
dataType: string;
|
|
108
|
-
description: string;
|
|
109
|
-
source: string;
|
|
110
|
-
type: string;
|
|
111
|
-
metricCode: string;
|
|
112
|
-
required: string;
|
|
113
|
-
unit: string;
|
|
114
|
-
userVisible: string;
|
|
115
|
-
name: string;
|
|
116
|
-
changeValue: string;
|
|
117
|
-
modifiable: string;
|
|
118
|
-
dataSource: string;
|
|
119
|
-
initValue: string;
|
|
120
|
-
templateCode: string;
|
|
121
|
-
extendable: string;
|
|
122
|
-
ifPublic?: undefined;
|
|
123
|
-
} | {
|
|
124
|
-
code: string;
|
|
125
|
-
dataRange: string;
|
|
126
|
-
dataLength: string;
|
|
127
|
-
defaultValue: string;
|
|
128
|
-
dataType: string;
|
|
129
|
-
description: string;
|
|
130
|
-
source: string;
|
|
131
|
-
type: string;
|
|
132
|
-
metricCode: string;
|
|
133
|
-
required: string;
|
|
134
|
-
unit: string;
|
|
135
|
-
userVisible: string;
|
|
136
|
-
name: string;
|
|
137
|
-
changeValue: string;
|
|
138
|
-
modifiable: string;
|
|
139
|
-
dataSource: string;
|
|
140
|
-
initValue: string;
|
|
141
|
-
extendable: string;
|
|
142
|
-
ifPublic: string;
|
|
143
|
-
templateCode?: undefined;
|
|
144
|
-
})[];
|
|
145
|
-
metrics: {
|
|
146
|
-
code: string;
|
|
147
|
-
name: string;
|
|
148
|
-
metricType: string;
|
|
149
|
-
dataType: string;
|
|
150
|
-
unit: string;
|
|
151
|
-
category: string;
|
|
152
|
-
attributes: {};
|
|
153
|
-
}[];
|
|
154
|
-
}[];
|
|
155
|
-
}
|
|
156
|
-
export namespace topoAM {
|
|
157
|
-
const data_1: {
|
|
158
|
-
attributes: {
|
|
159
|
-
minMacAddress: string;
|
|
160
|
-
serialNum: string;
|
|
161
|
-
ipv6Address: string;
|
|
162
|
-
displayName: string;
|
|
163
|
-
ipAddress: string;
|
|
164
|
-
assetState: string;
|
|
165
|
-
ipAddressList: string;
|
|
166
|
-
macAddress: string;
|
|
167
|
-
poeSupported: boolean;
|
|
168
|
-
systemOID: string;
|
|
169
|
-
name: string;
|
|
170
|
-
company: string;
|
|
171
|
-
connection: {
|
|
172
|
-
SNMP: {
|
|
173
|
-
id: string;
|
|
174
|
-
params: string;
|
|
175
|
-
};
|
|
176
|
-
};
|
|
177
|
-
model: string;
|
|
178
|
-
distanceToOutlet: number;
|
|
179
|
-
maxMacAddress: string;
|
|
180
|
-
};
|
|
181
|
-
id: string;
|
|
182
|
-
operation: string;
|
|
183
|
-
typeCode: string;
|
|
184
|
-
manageStatus: number;
|
|
185
|
-
}[];
|
|
186
|
-
export { data_1 as data };
|
|
187
|
-
}
|
package/es/models/ciModel.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
declare namespace _default {
|
|
2
|
-
export namespace state {
|
|
3
|
-
export const typeDicts: any;
|
|
4
|
-
export const currentCi: any;
|
|
5
|
-
}
|
|
6
|
-
export namespace reducers {
|
|
7
|
-
export function update(prevState: any, payload: any): any;
|
|
8
|
-
export function update(prevState: any, payload: any): any;
|
|
9
|
-
}
|
|
10
|
-
export function effects(dispatch: any): {
|
|
11
|
-
getTypeDicts(): Promise<void>;
|
|
12
|
-
getCiMeta(ciCode: any, rootState: any): Promise<void>;
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
export default _default;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
export default function _default(engine: any): {
|
|
2
|
-
state: {
|
|
3
|
-
icons: {
|
|
4
|
-
node: any[];
|
|
5
|
-
container: any[];
|
|
6
|
-
};
|
|
7
|
-
visible: boolean;
|
|
8
|
-
type: any;
|
|
9
|
-
rename: {
|
|
10
|
-
visible: boolean;
|
|
11
|
-
icon: any;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
reducers: {
|
|
15
|
-
update(prevState: any, payload: any): any;
|
|
16
|
-
};
|
|
17
|
-
effects: (dispatch: any) => {
|
|
18
|
-
open({ type }: {
|
|
19
|
-
type: any;
|
|
20
|
-
}, rootState: any): void;
|
|
21
|
-
close(payload: any, rootState: any): void;
|
|
22
|
-
loadIcons(payload: any, rootState: any): Promise<void>;
|
|
23
|
-
getIcons(): Promise<{
|
|
24
|
-
node: any[];
|
|
25
|
-
container: any[];
|
|
26
|
-
}>;
|
|
27
|
-
/**
|
|
28
|
-
* @param payload {{type: string, data: []}}
|
|
29
|
-
*/
|
|
30
|
-
uploadSuccess(payload: {
|
|
31
|
-
type: string;
|
|
32
|
-
data: [];
|
|
33
|
-
}, rootState: any): void;
|
|
34
|
-
deleteIcon(id: any, rootState: any): void;
|
|
35
|
-
openRenameDialog(icon: any, rootState: any): void;
|
|
36
|
-
closeRenameDialog(payload: any, rootState: any): void;
|
|
37
|
-
renameIcon(payload: any, rootState: any): Promise<void>;
|
|
38
|
-
};
|
|
39
|
-
};
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
export default function _default(engine: any): {
|
|
2
|
-
state: {
|
|
3
|
-
/**
|
|
4
|
-
* 格式见 https://shimo.im/docs/VKt3HCKHYgJ9kvGP#anchor-75ld
|
|
5
|
-
* @type {{networkLink: {}, networkAggLink: {}}}
|
|
6
|
-
*/
|
|
7
|
-
config: {
|
|
8
|
-
networkLink: {};
|
|
9
|
-
networkAggLink: {};
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
reducers: {
|
|
13
|
-
setConfig(prevState: any, payload: any): any;
|
|
14
|
-
update(prevState: any, payload: any): any;
|
|
15
|
-
/**
|
|
16
|
-
* 更新链路的配置
|
|
17
|
-
*
|
|
18
|
-
* @param prevState
|
|
19
|
-
* @param payload {{type: string, config: object}}
|
|
20
|
-
*/
|
|
21
|
-
updateLinkConfig(prevState: any, payload: {
|
|
22
|
-
type: string;
|
|
23
|
-
config: object;
|
|
24
|
-
}): any;
|
|
25
|
-
};
|
|
26
|
-
effects: (dispatch: any) => {
|
|
27
|
-
getConfig(payload: any, rootState: any): Promise<any>;
|
|
28
|
-
/**
|
|
29
|
-
* 获取链路需要查询的属性/指标
|
|
30
|
-
*
|
|
31
|
-
* @return {Promise<*>}
|
|
32
|
-
*/
|
|
33
|
-
getFields(payload: any, rootState: any): Promise<any>;
|
|
34
|
-
/**
|
|
35
|
-
* 执行动态样式显示.
|
|
36
|
-
*
|
|
37
|
-
* 样式优先级:告警>开启自定义>动态(如果命中)>默认(未命中动态)。
|
|
38
|
-
* 不包含有告警的链路。
|
|
39
|
-
* 链路开启动态未命中规则时,使用默认样式。值为null,ht设置为默认
|
|
40
|
-
*
|
|
41
|
-
* @param payload
|
|
42
|
-
* @param rootState
|
|
43
|
-
* @returns {Promise<void>}
|
|
44
|
-
*/
|
|
45
|
-
execute(payload: any, rootState: any): Promise<void>;
|
|
46
|
-
};
|
|
47
|
-
};
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
declare namespace _default {
|
|
2
|
-
export namespace state {
|
|
3
|
-
export const drawerVisible: boolean;
|
|
4
|
-
export const currentLinkType: any;
|
|
5
|
-
export const currentLinkConfig: any;
|
|
6
|
-
}
|
|
7
|
-
export namespace reducers {
|
|
8
|
-
export function update(prevState: any, payload: any): any;
|
|
9
|
-
export function update(prevState: any, payload: any): any;
|
|
10
|
-
export function addRule(prevState: any, payload: any): any;
|
|
11
|
-
export function addRule(prevState: any, payload: any): any;
|
|
12
|
-
export function deleteRule(prevState: any, index: any): any;
|
|
13
|
-
export function deleteRule(prevState: any, index: any): any;
|
|
14
|
-
export function updateRuleByIndex(prevState: any, { index, rule }: {
|
|
15
|
-
index: any;
|
|
16
|
-
rule: any;
|
|
17
|
-
}): any;
|
|
18
|
-
export function updateRuleByIndex(prevState: any, { index, rule }: {
|
|
19
|
-
index: any;
|
|
20
|
-
rule: any;
|
|
21
|
-
}): any;
|
|
22
|
-
export function updateRules(prevState: any, rules: any): any;
|
|
23
|
-
export function updateRules(prevState: any, rules: any): any;
|
|
24
|
-
}
|
|
25
|
-
export function effects(dispatch: any): {
|
|
26
|
-
/**
|
|
27
|
-
* 打开配置
|
|
28
|
-
*
|
|
29
|
-
* @param payload {type}
|
|
30
|
-
* @param rootState
|
|
31
|
-
*/
|
|
32
|
-
open(payload: any, rootState: any): void;
|
|
33
|
-
close(): void;
|
|
34
|
-
saveLinkConfig(payload: any, rootState: any): Promise<void>;
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
export default _default;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
declare namespace _default {
|
|
2
|
-
export namespace state {
|
|
3
|
-
export const visible: boolean;
|
|
4
|
-
export const url: any;
|
|
5
|
-
export const saving: boolean;
|
|
6
|
-
}
|
|
7
|
-
export namespace reducers {
|
|
8
|
-
export function update(prevState: any, payload: any): any;
|
|
9
|
-
export function update(prevState: any, payload: any): any;
|
|
10
|
-
}
|
|
11
|
-
export function effects(dispatch: any): {};
|
|
12
|
-
}
|
|
13
|
-
export default _default;
|
package/es/models/topoAlarm.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
declare namespace _default {
|
|
2
|
-
export namespace state {
|
|
3
|
-
export const currentTopoId: any;
|
|
4
|
-
export const alarmOpening: boolean;
|
|
5
|
-
export const alarmIsOpened: boolean;
|
|
6
|
-
}
|
|
7
|
-
export namespace reducers {
|
|
8
|
-
export function update(prevState: any, payload: any): any;
|
|
9
|
-
export function update(prevState: any, payload: any): any;
|
|
10
|
-
}
|
|
11
|
-
export function effects(dispatch: any): {
|
|
12
|
-
init(payload: any, rootState: any): Promise<void>;
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
export default _default;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
export default function _default(engine: any): {
|
|
2
|
-
state: {
|
|
3
|
-
defaultSet: any;
|
|
4
|
-
resAndMetrics: {};
|
|
5
|
-
metricDoc: {};
|
|
6
|
-
attrDoc: {};
|
|
7
|
-
allCiSet: {};
|
|
8
|
-
ciSetDoc: {};
|
|
9
|
-
pollingSwitch: boolean;
|
|
10
|
-
alarmDoc: {};
|
|
11
|
-
alarmRecord: any[];
|
|
12
|
-
setConfig: any;
|
|
13
|
-
/**
|
|
14
|
-
* 资源和链路的属性、指标,格式见:https://shimo.im/docs/VKt3HCKHYgJ9kvGP#anchor-PFq4
|
|
15
|
-
* @type {[{id, attributes:[], metrics: []}]}
|
|
16
|
-
*/
|
|
17
|
-
attrsAndMetrics: [{
|
|
18
|
-
id;
|
|
19
|
-
attributes: [];
|
|
20
|
-
metrics: [];
|
|
21
|
-
}];
|
|
22
|
-
};
|
|
23
|
-
reducers: {
|
|
24
|
-
update(prevState: any, payload: any): any;
|
|
25
|
-
};
|
|
26
|
-
effects: (dispatch: any) => {
|
|
27
|
-
combBatchCiInfo(conditions: any, state: any): Promise<{}>;
|
|
28
|
-
getCiInfo(conditions: any, state: any): Promise<void>;
|
|
29
|
-
getMetricsByIds(conditions: any, state: any): Promise<any>;
|
|
30
|
-
getCiArrByIds(conditions: any, state: any): Promise<any>;
|
|
31
|
-
getCiBizByIds(conditions: any, state: any): Promise<{
|
|
32
|
-
metricResult: any[];
|
|
33
|
-
arrResult: any;
|
|
34
|
-
}>;
|
|
35
|
-
combAlarmData(conditions: any, state: any): Promise<any>;
|
|
36
|
-
/**
|
|
37
|
-
* 设置属性和指标
|
|
38
|
-
* @param attrsAndMetrics
|
|
39
|
-
*/
|
|
40
|
-
setAttrsAndMetrics(attrsAndMetrics: any): void;
|
|
41
|
-
};
|
|
42
|
-
};
|
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
export default function _default(topoApp: any): {
|
|
2
|
-
state: {
|
|
3
|
-
name: string;
|
|
4
|
-
layout: {
|
|
5
|
-
id: string;
|
|
6
|
-
};
|
|
7
|
-
resources: {
|
|
8
|
-
dynamic: {
|
|
9
|
-
selected: boolean;
|
|
10
|
-
condition: string;
|
|
11
|
-
data: {
|
|
12
|
-
relation: string;
|
|
13
|
-
children: {
|
|
14
|
-
key: number;
|
|
15
|
-
type: {
|
|
16
|
-
rootCi: string;
|
|
17
|
-
};
|
|
18
|
-
}[];
|
|
19
|
-
}[];
|
|
20
|
-
};
|
|
21
|
-
static: {
|
|
22
|
-
selected: boolean;
|
|
23
|
-
data: any[];
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
expanded: boolean;
|
|
27
|
-
resList: any[];
|
|
28
|
-
template: string;
|
|
29
|
-
topo: any[];
|
|
30
|
-
elements: {
|
|
31
|
-
nodes: any[];
|
|
32
|
-
links: any[];
|
|
33
|
-
groups: any[];
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
reducers: {
|
|
37
|
-
reset(): {
|
|
38
|
-
name: string;
|
|
39
|
-
layout: {
|
|
40
|
-
id: string;
|
|
41
|
-
};
|
|
42
|
-
resources: {
|
|
43
|
-
dynamic: {
|
|
44
|
-
selected: boolean;
|
|
45
|
-
condition: string;
|
|
46
|
-
data: {
|
|
47
|
-
relation: string;
|
|
48
|
-
children: {
|
|
49
|
-
key: number;
|
|
50
|
-
type: {
|
|
51
|
-
rootCi: string;
|
|
52
|
-
};
|
|
53
|
-
}[];
|
|
54
|
-
}[];
|
|
55
|
-
};
|
|
56
|
-
static: {
|
|
57
|
-
selected: boolean;
|
|
58
|
-
data: any[];
|
|
59
|
-
};
|
|
60
|
-
};
|
|
61
|
-
expanded: boolean;
|
|
62
|
-
resList: any[];
|
|
63
|
-
template: string;
|
|
64
|
-
topo: any[];
|
|
65
|
-
elements: {
|
|
66
|
-
nodes: any[];
|
|
67
|
-
links: any[];
|
|
68
|
-
groups: any[];
|
|
69
|
-
};
|
|
70
|
-
};
|
|
71
|
-
update(prevState: any, payload: any): any;
|
|
72
|
-
updateTopo(prevState: any, topo: any): any;
|
|
73
|
-
updateTpl(prevState: any, template?: string): any;
|
|
74
|
-
updateLayout(prevState: any, layout: any): any;
|
|
75
|
-
/**
|
|
76
|
-
* 更新视图的资源配置
|
|
77
|
-
* @param prevState
|
|
78
|
-
* @param resources
|
|
79
|
-
*/
|
|
80
|
-
updateViewResources(prevState: any, resources: any): any;
|
|
81
|
-
updateResources(prevState: any, resources: any): any;
|
|
82
|
-
updateResList(prevState: any, list: any): any;
|
|
83
|
-
updateGroup(prevState: any, payload: any): void;
|
|
84
|
-
updateGroupResList(prevState: any, payload: any): void;
|
|
85
|
-
addGroup(prevState: any, group: any): any;
|
|
86
|
-
deleteGroup(prevState: any, index: any): any;
|
|
87
|
-
/**
|
|
88
|
-
* 更新指定索引分组的资源配置
|
|
89
|
-
* @param prevState
|
|
90
|
-
* @param index
|
|
91
|
-
* @param resources
|
|
92
|
-
*/
|
|
93
|
-
updateGroupResourcesByIndex(prevState: any, { index, resources }: {
|
|
94
|
-
index: any;
|
|
95
|
-
resources: any;
|
|
96
|
-
}): any;
|
|
97
|
-
};
|
|
98
|
-
effects: (dispatch: any) => {
|
|
99
|
-
getResourceList(payload: any): Promise<void>;
|
|
100
|
-
getConditions(): Promise<void>;
|
|
101
|
-
fetchData(params: any, rootState: any): Promise<any[]>;
|
|
102
|
-
getTopoByConditions(params: any, state: any): Promise<any[]>;
|
|
103
|
-
saveTopo(data: any, state: any): Promise<void>;
|
|
104
|
-
addToBlockList(data: any): Promise<void>;
|
|
105
|
-
switchToEditMode(): void;
|
|
106
|
-
switchToViewMode(): void;
|
|
107
|
-
};
|
|
108
|
-
};
|
package/es/models/topoEdit.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
declare namespace _default {
|
|
2
|
-
export namespace state {
|
|
3
|
-
export const saving: boolean;
|
|
4
|
-
}
|
|
5
|
-
export namespace reducers {
|
|
6
|
-
export function update(prevState: any, payload: any): any;
|
|
7
|
-
export function update(prevState: any, payload: any): any;
|
|
8
|
-
}
|
|
9
|
-
export function effects(dispatch: any): {
|
|
10
|
-
init(payload: any, rootState: any): Promise<void>;
|
|
11
|
-
};
|
|
12
|
-
}
|
|
13
|
-
export default _default;
|