@riil-frontend/component-topology 2.5.7 → 2.7.2
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/NodeSizeInput/img/icon_/350/247/243/351/224/201.svg +15 -15
- package/es/core/editor/components/settings/common/NodeSizeInput/img/icon_/351/224/201.svg +14 -14
- package/es/core/editor/components/settings/common/text/img/bold.svg +11 -11
- package/es/core/editor/components/settings/common/text/img/italics.svg +9 -9
- package/es/core/editor/components/settings/common/text/img/underline.svg +11 -11
- package/es/core/editor/components/settings/text/TextPropertyView.js +9 -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 +53 -94
- 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/style.js +1 -0
- 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/NodeSizeInput/img/icon_/350/247/243/351/224/201.svg +15 -15
- package/lib/core/editor/components/settings/common/NodeSizeInput/img/icon_/351/224/201.svg +14 -14
- package/lib/core/editor/components/settings/common/text/img/bold.svg +11 -11
- package/lib/core/editor/components/settings/common/text/img/italics.svg +9 -9
- package/lib/core/editor/components/settings/common/text/img/underline.svg +11 -11
- package/lib/core/editor/components/settings/text/TextPropertyView.js +9 -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 +53 -94
- 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/style.js +1 -0
- 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
|
@@ -6,9 +6,9 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
6
6
|
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
|
|
7
7
|
var _excluded = ["defaultSet", "dataType"];
|
|
8
8
|
import React, { useState } from 'react';
|
|
9
|
-
import rlog from '@riil-frontend/component-topology-utils/es/
|
|
9
|
+
import rlog from '@riil-frontend/component-topology-utils/es/rlog';
|
|
10
10
|
import ActionTree from '@riil-frontend/component-action-tree';
|
|
11
|
-
import NoDataPage from '@riil-frontend/component-topology-
|
|
11
|
+
import NoDataPage from '@riil-frontend/component-topology-common/es/components/NoDataPage';
|
|
12
12
|
import TableLayout from '@riil-frontend/component-table-layout';
|
|
13
13
|
import RiilHooks from '@riil-frontend/hooks';
|
|
14
14
|
import * as utils from "./utils";
|
|
@@ -8,7 +8,7 @@ import Pagination from '@riil-frontend/component-pager';
|
|
|
8
8
|
import MoreButtonsMenu from '@riil-frontend/component-more-buttons-menu';
|
|
9
9
|
import TableFilterTags from '@riil-frontend/component-table-filter-tags';
|
|
10
10
|
import TableLayout from '@riil-frontend/component-table-layout';
|
|
11
|
-
import NoDataPage from '@riil-frontend/component-topology-
|
|
11
|
+
import NoDataPage from '@riil-frontend/component-topology-common/es/components/NoDataPage';
|
|
12
12
|
|
|
13
13
|
var FormTable = function FormTable(props) {
|
|
14
14
|
var _tableProps$filterPar;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import _Table from "@alifd/next/lib/table";
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import React, { useMemo, useState } from 'react';
|
|
4
|
-
import NoDataPage from '@riil-frontend/component-topology-
|
|
5
|
-
import { getTitleCell } from '@riil-frontend/component-topology-
|
|
4
|
+
import NoDataPage from '@riil-frontend/component-topology-common/es/components/NoDataPage';
|
|
5
|
+
import { getTitleCell } from '@riil-frontend/component-topology-common/es/utils/table'; // import styles from './index.module.scss';
|
|
6
6
|
|
|
7
7
|
var TYPES_NAME = {
|
|
8
8
|
attributes: '属性',
|
|
@@ -5,7 +5,7 @@ var _excluded = ["run"];
|
|
|
5
5
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
6
6
|
import { useEffect, useState } from 'react';
|
|
7
7
|
import { useRequest } from 'ahooks';
|
|
8
|
-
import * as cmdbService from '@riil-frontend/component-topology-
|
|
8
|
+
import * as cmdbService from '@riil-frontend/component-topology-common/es/services/cmdb';
|
|
9
9
|
import { isAvailableArray } from '@riil-frontend/utils';
|
|
10
10
|
|
|
11
11
|
function queryCiWithComponents(ids) {
|
|
@@ -4,7 +4,7 @@ import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
|
4
4
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
5
5
|
import React, { forwardRef, useCallback, useEffect, useImperativeHandle, useState } from 'react';
|
|
6
6
|
import { useBoolean } from 'ahooks';
|
|
7
|
-
import rlog from '@riil-frontend/component-topology-utils/es/
|
|
7
|
+
import rlog from '@riil-frontend/component-topology-utils/es/rlog';
|
|
8
8
|
import { TopoEvent } from '@riil-frontend/component-topology-graph';
|
|
9
9
|
import styles from "./index.module.scss";
|
|
10
10
|
import LinkSetting from "./setting";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { getRequest } from '@riil-frontend/component-topology-
|
|
2
|
+
import { getRequest } from '@riil-frontend/component-topology-common/es/utils/request';
|
|
3
3
|
import ResSearch from '@riil-frontend/component-res-advanced-search';
|
|
4
4
|
import ResourceCard from "./ResourceCard";
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { useRef } from 'react';
|
|
2
|
-
import rlog from '@riil-frontend/component-topology-utils/es/
|
|
2
|
+
import rlog from '@riil-frontend/component-topology-utils/es/rlog';
|
|
3
3
|
import Drawer from "../Drawer";
|
|
4
4
|
import Content from "./Content";
|
|
5
5
|
import ResourceSelect from "./ResourceSelect"; // import styles from './index.module.scss';
|
|
@@ -6,9 +6,9 @@ import useNextFormTable from '@ahooksjs/next-form-table';
|
|
|
6
6
|
import useFilterPlugin from '@ahooksjs/use-filter-plugin';
|
|
7
7
|
import useSortablePlugin from '@ahooksjs/use-sortable-plugin';
|
|
8
8
|
import useSelectionPlugin from "../../common/plugins/useSelectionPlugin";
|
|
9
|
-
import { fetchCommonQuery } from '@riil-frontend/component-topology-
|
|
10
|
-
import { getTitleCell } from '@riil-frontend/component-topology-
|
|
11
|
-
import { DICT } from '@riil-frontend/component-topology-
|
|
9
|
+
import { fetchCommonQuery } from '@riil-frontend/component-topology-common/es/services/cmdb';
|
|
10
|
+
import { getTitleCell } from '@riil-frontend/component-topology-common/es/utils/table';
|
|
11
|
+
import { DICT } from '@riil-frontend/component-topology-common/es/utils/storage';
|
|
12
12
|
import { formatDataForTable, getIp } from "../../utils/format";
|
|
13
13
|
import RiilTable from "../FormTable";
|
|
14
14
|
import styles from "./ResourceSelect.module.scss";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { useState, useEffect, useRef, useCallback } from 'react';
|
|
2
|
-
import NodataPage from '@riil-frontend/component-topology-
|
|
2
|
+
import NodataPage from '@riil-frontend/component-topology-common/es/components/NoDataPage/index';
|
|
3
3
|
import styles from "../../../components/index.module.scss";
|
|
4
4
|
export default function Topo404(props) {
|
|
5
5
|
return /*#__PURE__*/React.createElement(NodataPage, {
|
|
@@ -3,7 +3,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
3
3
|
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
|
|
4
4
|
var _excluded = ["engine", "topo", "topoState", "titleBar", "onEnterEdit"];
|
|
5
5
|
import React, { useState, useEffect, useRef, useCallback } from 'react';
|
|
6
|
-
import NodataPage from '@riil-frontend/component-topology-
|
|
6
|
+
import NodataPage from '@riil-frontend/component-topology-common/es/components/NoDataPage/index';
|
|
7
7
|
import TopoView from "./topoView";
|
|
8
8
|
import topoPermissonUtil from "../../../utils/topoPermissionUtil";
|
|
9
9
|
import Topo404 from "./Topo404";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { useState, useEffect, useRef, useCallback } from 'react';
|
|
2
|
-
import NodataPage from '@riil-frontend/component-topology-
|
|
2
|
+
import NodataPage from '@riil-frontend/component-topology-common/es/components/NoDataPage/index';
|
|
3
3
|
import styles from "../../../components/index.module.scss";
|
|
4
4
|
export default function TopoNoPermission(props) {
|
|
5
5
|
return /*#__PURE__*/React.createElement(NodataPage, {
|
|
@@ -2,7 +2,7 @@ import React, { useState, useEffect, useRef, useCallback } from 'react';
|
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import classnames from 'classnames';
|
|
4
4
|
import TopoContainer, { TopoEvent } from '@riil-frontend/component-topology-graph';
|
|
5
|
-
import rlog from '@riil-frontend/component-topology-utils/es/
|
|
5
|
+
import rlog from '@riil-frontend/component-topology-utils/es/rlog';
|
|
6
6
|
import useTopoEdit from "../../../hooks/useTopoEdit";
|
|
7
7
|
import usePolling from "../../../hooks/usePolling";
|
|
8
8
|
import useAlarm from "../../../hooks/useAlarm";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { useEffect, useRef } from 'react';
|
|
2
|
-
import rlog from '@riil-frontend/component-topology-utils/es/
|
|
2
|
+
import rlog from '@riil-frontend/component-topology-utils/es/rlog';
|
|
3
3
|
import RuleSetting from "./RuleSetting";
|
|
4
4
|
import Drawer from "../../../../components/Drawer";
|
|
5
5
|
export default function LinkDynamicStyleSettingDrawer(props) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import React, { useState, useEffect, useRef, useCallback, useImperativeHandle, forwardRef } from 'react';
|
|
3
3
|
import { TopoEvent } from '@riil-frontend/component-topology-graph';
|
|
4
|
-
import rlog from '@riil-frontend/component-topology-utils/es/
|
|
4
|
+
import rlog from '@riil-frontend/component-topology-utils/es/rlog';
|
|
5
5
|
import BatchAttrMetricDrawer from "../../../../components/BatchAttrMetric";
|
|
6
6
|
import { updateAllCiDoc, updateCiDoc } from "../../../../utils/topoData";
|
|
7
7
|
/**
|
|
@@ -5,7 +5,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
5
5
|
import _Message from "@alifd/next/lib/message";
|
|
6
6
|
import _inheritsLoose from "@babel/runtime/helpers/inheritsLoose";
|
|
7
7
|
import React from 'react';
|
|
8
|
-
import topoServer from '@riil-frontend/component-topology-
|
|
8
|
+
import topoServer from '@riil-frontend/component-topology-common/es/services/topo/index';
|
|
9
9
|
import _ from 'lodash';
|
|
10
10
|
import _svgToShape from "./utils/svgToShape";
|
|
11
11
|
import styles from "./UploadIconDialog.module.scss";
|
|
@@ -5,7 +5,7 @@ import React, { useState } from 'react';
|
|
|
5
5
|
import PropTypes from 'prop-types';
|
|
6
6
|
import NodeSizeNumberPicker from "./NodeSizeNumberPicker";
|
|
7
7
|
import styles from "./NodeSizeInput.module.scss";
|
|
8
|
-
import rlog from "@riil-frontend/component-topology-utils/es/
|
|
8
|
+
import rlog from "@riil-frontend/component-topology-utils/es/rlog";
|
|
9
9
|
var FormItem = _Form.Item;
|
|
10
10
|
var Row = _Grid.Row,
|
|
11
11
|
Col = _Grid.Col;
|
|
@@ -101,7 +101,7 @@ function NodeSizeInput(props) {
|
|
|
101
101
|
};
|
|
102
102
|
|
|
103
103
|
function parseValue(val) {
|
|
104
|
-
return val ?
|
|
104
|
+
return val ? Math.round(val) : val;
|
|
105
105
|
}
|
|
106
106
|
|
|
107
107
|
return /*#__PURE__*/React.createElement(_Form, {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<svg width="16px" height="16px" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
-
<!-- Generator: Sketch 63.1 (92452) - https://sketch.com -->
|
|
4
|
-
<title>topo/source/Icon/解锁</title>
|
|
5
|
-
<desc>Created with Sketch.</desc>
|
|
6
|
-
<g id="topo/source/Icon/解锁" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
7
|
-
<g id="Icon-HTSCIT_lianjieduankai" fill-rule="nonzero">
|
|
8
|
-
<g id="编组">
|
|
9
|
-
<rect id="矩形" fill="#000000" opacity="0" x="0" y="0" width="16" height="16"></rect>
|
|
10
|
-
<path d="M12.16836,11.80814 L4.69432,4.33403 L5.41203,3.61632 L12.88607,11.09043 L12.16836,11.80814 Z M6.20072,10.5109 L5.48301,9.79326 L6.9976,8.27867 L7.71531,8.99638 L6.20072,10.5109 Z" id="形状" fill="#4D6277"></path>
|
|
11
|
-
<polygon id="路径" fill="#4D6277" points="9.79536 5.48126 10.51307 6.19897 8.99848 7.71363 8.28077 6.99592"></polygon>
|
|
12
|
-
<path d="M9.729,3.303 L12.704,6.271 L10.128,8.847 L10.842,9.554 L13.775,6.621 L14.132,6.264 L13.775,5.907 L10.086,2.225 L9.729,1.868 L9.379,2.225 L6.439,5.158 L7.16,5.872 L9.729,3.303 Z M6.264,12.711 L3.296,9.743 L5.879,7.16 L5.158,6.439 L2.225,9.372 L1.868,9.729 L2.225,10.086 L5.914,13.775 L6.271,14.132 L6.621,13.775 L9.561,10.842 L8.847,10.128 L6.264,12.711 Z" id="形状" fill="#4D6277"></path>
|
|
13
|
-
</g>
|
|
14
|
-
</g>
|
|
15
|
-
</g>
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="16px" height="16px" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<!-- Generator: Sketch 63.1 (92452) - https://sketch.com -->
|
|
4
|
+
<title>topo/source/Icon/解锁</title>
|
|
5
|
+
<desc>Created with Sketch.</desc>
|
|
6
|
+
<g id="topo/source/Icon/解锁" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
7
|
+
<g id="Icon-HTSCIT_lianjieduankai" fill-rule="nonzero">
|
|
8
|
+
<g id="编组">
|
|
9
|
+
<rect id="矩形" fill="#000000" opacity="0" x="0" y="0" width="16" height="16"></rect>
|
|
10
|
+
<path d="M12.16836,11.80814 L4.69432,4.33403 L5.41203,3.61632 L12.88607,11.09043 L12.16836,11.80814 Z M6.20072,10.5109 L5.48301,9.79326 L6.9976,8.27867 L7.71531,8.99638 L6.20072,10.5109 Z" id="形状" fill="#4D6277"></path>
|
|
11
|
+
<polygon id="路径" fill="#4D6277" points="9.79536 5.48126 10.51307 6.19897 8.99848 7.71363 8.28077 6.99592"></polygon>
|
|
12
|
+
<path d="M9.729,3.303 L12.704,6.271 L10.128,8.847 L10.842,9.554 L13.775,6.621 L14.132,6.264 L13.775,5.907 L10.086,2.225 L9.729,1.868 L9.379,2.225 L6.439,5.158 L7.16,5.872 L9.729,3.303 Z M6.264,12.711 L3.296,9.743 L5.879,7.16 L5.158,6.439 L2.225,9.372 L1.868,9.729 L2.225,10.086 L5.914,13.775 L6.271,14.132 L6.621,13.775 L9.561,10.842 L8.847,10.128 L6.264,12.711 Z" id="形状" fill="#4D6277"></path>
|
|
13
|
+
</g>
|
|
14
|
+
</g>
|
|
15
|
+
</g>
|
|
16
16
|
</svg>
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<svg width="16px" height="16px" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
-
<!-- Generator: Sketch 63.1 (92452) - https://sketch.com -->
|
|
4
|
-
<title>topo/source/Icon/锁</title>
|
|
5
|
-
<desc>Created with Sketch.</desc>
|
|
6
|
-
<g id="topo/source/Icon/锁" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
7
|
-
<g id="Icon-HTSCIT_lianjie" fill-rule="nonzero">
|
|
8
|
-
<g id="编组">
|
|
9
|
-
<rect id="矩形" fill="#000000" opacity="0" x="0" y="0" width="16" height="16"></rect>
|
|
10
|
-
<path d="M6.264,12.711 L3.296,9.743 L5.879,7.16 L5.158,6.439 L2.225,9.372 L1.868,9.729 L2.225,10.086 L5.914,13.775 L6.271,14.132 L6.621,13.775 L9.561,10.842 L8.847,10.128 L6.264,12.711 Z M9.729,3.303 L12.704,6.271 L10.128,8.847 L10.842,9.554 L13.775,6.621 L14.132,6.264 L13.775,5.907 L10.086,2.225 L9.729,1.868 L9.379,2.225 L6.439,5.158 L7.16,5.872 L9.729,3.303 Z" id="形状" fill="#4D6277"></path>
|
|
11
|
-
<polygon id="路径" fill="#4D6277" points="10.51846 6.20114 6.20226 10.51727 5.48462 9.79956 9.80075 5.48336"></polygon>
|
|
12
|
-
</g>
|
|
13
|
-
</g>
|
|
14
|
-
</g>
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="16px" height="16px" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<!-- Generator: Sketch 63.1 (92452) - https://sketch.com -->
|
|
4
|
+
<title>topo/source/Icon/锁</title>
|
|
5
|
+
<desc>Created with Sketch.</desc>
|
|
6
|
+
<g id="topo/source/Icon/锁" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
7
|
+
<g id="Icon-HTSCIT_lianjie" fill-rule="nonzero">
|
|
8
|
+
<g id="编组">
|
|
9
|
+
<rect id="矩形" fill="#000000" opacity="0" x="0" y="0" width="16" height="16"></rect>
|
|
10
|
+
<path d="M6.264,12.711 L3.296,9.743 L5.879,7.16 L5.158,6.439 L2.225,9.372 L1.868,9.729 L2.225,10.086 L5.914,13.775 L6.271,14.132 L6.621,13.775 L9.561,10.842 L8.847,10.128 L6.264,12.711 Z M9.729,3.303 L12.704,6.271 L10.128,8.847 L10.842,9.554 L13.775,6.621 L14.132,6.264 L13.775,5.907 L10.086,2.225 L9.729,1.868 L9.379,2.225 L6.439,5.158 L7.16,5.872 L9.729,3.303 Z" id="形状" fill="#4D6277"></path>
|
|
11
|
+
<polygon id="路径" fill="#4D6277" points="10.51846 6.20114 6.20226 10.51727 5.48462 9.79956 9.80075 5.48336"></polygon>
|
|
12
|
+
</g>
|
|
13
|
+
</g>
|
|
14
|
+
</g>
|
|
15
15
|
</svg>
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<svg width="16px" height="16px" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
-
<!-- Generator: Sketch 63.1 (92452) - https://sketch.com -->
|
|
4
|
-
<title>topo/source/Icon/bold</title>
|
|
5
|
-
<desc>Created with Sketch.</desc>
|
|
6
|
-
<g id="topo/source/Icon/bold" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
7
|
-
<rect id="矩形" fill="#000000" fill-rule="nonzero" opacity="0" x="0" y="0" width="16" height="16"></rect>
|
|
8
|
-
<g id="Icon-zitijiacu" transform="translate(4.000000, 3.000000)" fill="#4D6277" fill-rule="nonzero">
|
|
9
|
-
<path d="M7.01125,5.739125 C6.75175,5.339375 6.368875,5.0735 5.863,4.941875 L5.863,4.916375 C6.131125,4.788875 6.3565,4.646375 6.539125,4.488875 C6.722125,4.34 6.862375,4.1825 6.96025,4.01675 C7.1515,3.668 7.243,3.302375 7.234375,2.9195 C7.234375,2.171 7.002625,1.569125 6.539125,1.113875 C6.07975,0.663125 5.39275,0.433625 4.4785,0.425 L0.52225,0.425 L0.52225,9.7265 L4.79125,9.7265 C5.522875,9.7265 6.133,9.482 6.622375,8.992625 C7.115875,8.524625 7.36675,7.889 7.375,7.085375 C7.375,6.6005 7.253875,6.151625 7.01125,5.739125 Z M2.035,1.681625 L4.319125,1.681625 C4.833625,1.69025 5.212375,1.8155 5.454625,2.058125 C5.701375,2.317625 5.82475,2.6345 5.82475,3.00875 C5.82475,3.383 5.701375,3.6935 5.454625,3.94025 C5.212375,4.208 4.833625,4.34225 4.319125,4.34225 L2.035,4.34225 L2.035,1.681625 Z M5.601625,7.965875 C5.359375,8.24225 4.9765,8.38475 4.453375,8.393375 L2.035,8.393375 L2.035,5.59925 L4.453,5.59925 C4.976125,5.6075 5.359,5.745875 5.60125,6.014 C5.8435,6.28625 5.965,6.613625 5.965,6.9965 C5.965,7.370375 5.843875,7.693625 5.601625,7.965875 L5.601625,7.965875 Z" id="形状"></path>
|
|
10
|
-
</g>
|
|
11
|
-
</g>
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="16px" height="16px" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<!-- Generator: Sketch 63.1 (92452) - https://sketch.com -->
|
|
4
|
+
<title>topo/source/Icon/bold</title>
|
|
5
|
+
<desc>Created with Sketch.</desc>
|
|
6
|
+
<g id="topo/source/Icon/bold" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
7
|
+
<rect id="矩形" fill="#000000" fill-rule="nonzero" opacity="0" x="0" y="0" width="16" height="16"></rect>
|
|
8
|
+
<g id="Icon-zitijiacu" transform="translate(4.000000, 3.000000)" fill="#4D6277" fill-rule="nonzero">
|
|
9
|
+
<path d="M7.01125,5.739125 C6.75175,5.339375 6.368875,5.0735 5.863,4.941875 L5.863,4.916375 C6.131125,4.788875 6.3565,4.646375 6.539125,4.488875 C6.722125,4.34 6.862375,4.1825 6.96025,4.01675 C7.1515,3.668 7.243,3.302375 7.234375,2.9195 C7.234375,2.171 7.002625,1.569125 6.539125,1.113875 C6.07975,0.663125 5.39275,0.433625 4.4785,0.425 L0.52225,0.425 L0.52225,9.7265 L4.79125,9.7265 C5.522875,9.7265 6.133,9.482 6.622375,8.992625 C7.115875,8.524625 7.36675,7.889 7.375,7.085375 C7.375,6.6005 7.253875,6.151625 7.01125,5.739125 Z M2.035,1.681625 L4.319125,1.681625 C4.833625,1.69025 5.212375,1.8155 5.454625,2.058125 C5.701375,2.317625 5.82475,2.6345 5.82475,3.00875 C5.82475,3.383 5.701375,3.6935 5.454625,3.94025 C5.212375,4.208 4.833625,4.34225 4.319125,4.34225 L2.035,4.34225 L2.035,1.681625 Z M5.601625,7.965875 C5.359375,8.24225 4.9765,8.38475 4.453375,8.393375 L2.035,8.393375 L2.035,5.59925 L4.453,5.59925 C4.976125,5.6075 5.359,5.745875 5.60125,6.014 C5.8435,6.28625 5.965,6.613625 5.965,6.9965 C5.965,7.370375 5.843875,7.693625 5.601625,7.965875 L5.601625,7.965875 Z" id="形状"></path>
|
|
10
|
+
</g>
|
|
11
|
+
</g>
|
|
12
12
|
</svg>
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<svg width="16px" height="16px" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
-
<!-- Generator: Sketch 63.1 (92452) - https://sketch.com -->
|
|
4
|
-
<title>topo/source/Icon/italics</title>
|
|
5
|
-
<desc>Created with Sketch.</desc>
|
|
6
|
-
<g id="topo/source/Icon/italics" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
7
|
-
<rect id="矩形" fill="#000000" fill-rule="nonzero" opacity="0" x="2" y="2" width="12" height="12"></rect>
|
|
8
|
-
<polygon id="路径" fill="#4D6277" fill-rule="nonzero" points="8.77666667 4.29166666 7.19333333 12.2083333 8.77666667 12.2083333 8.77666667 13 4.02666667 13 4.02666667 12.2083333 5.60999999 12.2083333 7.19333333 4.29166666 5.60999999 4.29166666 5.60999999 3.5 10.36 3.5 10.36 4.29166666"></polygon>
|
|
9
|
-
</g>
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="16px" height="16px" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<!-- Generator: Sketch 63.1 (92452) - https://sketch.com -->
|
|
4
|
+
<title>topo/source/Icon/italics</title>
|
|
5
|
+
<desc>Created with Sketch.</desc>
|
|
6
|
+
<g id="topo/source/Icon/italics" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
7
|
+
<rect id="矩形" fill="#000000" fill-rule="nonzero" opacity="0" x="2" y="2" width="12" height="12"></rect>
|
|
8
|
+
<polygon id="路径" fill="#4D6277" fill-rule="nonzero" points="8.77666667 4.29166666 7.19333333 12.2083333 8.77666667 12.2083333 8.77666667 13 4.02666667 13 4.02666667 12.2083333 5.60999999 12.2083333 7.19333333 4.29166666 5.60999999 4.29166666 5.60999999 3.5 10.36 3.5 10.36 4.29166666"></polygon>
|
|
9
|
+
</g>
|
|
10
10
|
</svg>
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<svg width="16px" height="16px" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
-
<!-- Generator: Sketch 63.1 (92452) - https://sketch.com -->
|
|
4
|
-
<title>topo/source/Icon/underline</title>
|
|
5
|
-
<desc>Created with Sketch.</desc>
|
|
6
|
-
<g id="topo/source/Icon/underline" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
7
|
-
<rect id="矩形" fill="#000000" fill-rule="nonzero" opacity="0" x="0" y="0" width="16" height="16"></rect>
|
|
8
|
-
<g id="Icon-zitixiahuaxian" transform="translate(3.000000, 3.000000)" fill="#4D6277" fill-rule="nonzero">
|
|
9
|
-
<path d="M5,8.507375 C7.01929112,8.507375 8.65625,6.87041612 8.65625,4.851125 L8.65625,0.05 L7.34375,0.05 L7.34375,4.851125 C7.34375,6.14554238 6.29441738,7.194875 5,7.194875 C3.70558262,7.194875 2.65625,6.14554238 2.65625,4.851125 L2.65625,0.05 L1.34375,0.05 L1.34375,4.851125 C1.34375,6.87041612 2.98070888,8.507375 5,8.507375 Z M9.125,9.380375 L0.875,9.380375 C0.667893219,9.380375 0.5,9.54826822 0.5,9.755375 C0.5,9.96248178 0.667893219,10.130375 0.875,10.130375 L9.125,10.130375 C9.33210678,10.130375 9.5,9.96248178 9.5,9.755375 C9.5,9.54826822 9.33210678,9.380375 9.125,9.380375 Z" id="形状"></path>
|
|
10
|
-
</g>
|
|
11
|
-
</g>
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="16px" height="16px" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<!-- Generator: Sketch 63.1 (92452) - https://sketch.com -->
|
|
4
|
+
<title>topo/source/Icon/underline</title>
|
|
5
|
+
<desc>Created with Sketch.</desc>
|
|
6
|
+
<g id="topo/source/Icon/underline" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
7
|
+
<rect id="矩形" fill="#000000" fill-rule="nonzero" opacity="0" x="0" y="0" width="16" height="16"></rect>
|
|
8
|
+
<g id="Icon-zitixiahuaxian" transform="translate(3.000000, 3.000000)" fill="#4D6277" fill-rule="nonzero">
|
|
9
|
+
<path d="M5,8.507375 C7.01929112,8.507375 8.65625,6.87041612 8.65625,4.851125 L8.65625,0.05 L7.34375,0.05 L7.34375,4.851125 C7.34375,6.14554238 6.29441738,7.194875 5,7.194875 C3.70558262,7.194875 2.65625,6.14554238 2.65625,4.851125 L2.65625,0.05 L1.34375,0.05 L1.34375,4.851125 C1.34375,6.87041612 2.98070888,8.507375 5,8.507375 Z M9.125,9.380375 L0.875,9.380375 C0.667893219,9.380375 0.5,9.54826822 0.5,9.755375 C0.5,9.96248178 0.667893219,10.130375 0.875,10.130375 L9.125,10.130375 C9.33210678,10.130375 9.5,9.96248178 9.5,9.755375 C9.5,9.54826822 9.33210678,9.380375 9.125,9.380375 Z" id="形状"></path>
|
|
10
|
+
</g>
|
|
11
|
+
</g>
|
|
12
12
|
</svg>
|
|
@@ -7,9 +7,11 @@ import React, { useEffect } from 'react';
|
|
|
7
7
|
import TextStyle from "../common/text/TextStyle";
|
|
8
8
|
import fontStyleUtil from "../common/text/fontStyleUtil";
|
|
9
9
|
var CollapsePanel = _Collapse.Panel;
|
|
10
|
+
var DEFAULT_TEXT_VALUE = '文本输入';
|
|
10
11
|
|
|
11
12
|
function parseValues(values) {
|
|
12
13
|
return _extends({}, values, {
|
|
14
|
+
'styleMap.text': values['styleMap.text'] === DEFAULT_TEXT_VALUE ? '' : values['styleMap.text'],
|
|
13
15
|
'styleMap.textObj': {
|
|
14
16
|
color: values.styleMap['text.color'],
|
|
15
17
|
underline: values.styleMap['text.decoration'] === 'underline',
|
|
@@ -45,6 +47,12 @@ export default function TextPropertyView(props) {
|
|
|
45
47
|
}
|
|
46
48
|
|
|
47
49
|
if (values[name] !== value) {
|
|
50
|
+
if (name === 'styleMap.text' && !value) {
|
|
51
|
+
_onChange(name, DEFAULT_TEXT_VALUE, newValues);
|
|
52
|
+
|
|
53
|
+
return;
|
|
54
|
+
}
|
|
55
|
+
|
|
48
56
|
_onChange(name, value, newValues);
|
|
49
57
|
}
|
|
50
58
|
}
|
|
@@ -79,7 +87,7 @@ export default function TextPropertyView(props) {
|
|
|
79
87
|
minRows: 4,
|
|
80
88
|
maxRows: 4
|
|
81
89
|
},
|
|
82
|
-
placeholder: "\u8F93\u5165
|
|
90
|
+
placeholder: "\u6587\u672C\u8F93\u5165"
|
|
83
91
|
})), /*#__PURE__*/React.createElement(_Form.Item, null, /*#__PURE__*/React.createElement(TextStyle, {
|
|
84
92
|
name: "styleMap.textObj"
|
|
85
93
|
})))))));
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
4
|
-
import topoService from '@riil-frontend/component-topology-
|
|
5
|
-
import { setRequest } from '@riil-frontend/component-topology-
|
|
6
|
-
import rlog from '@riil-frontend/component-topology-utils/es/
|
|
4
|
+
import topoService from '@riil-frontend/component-topology-common/es/services/topo';
|
|
5
|
+
import { setRequest } from '@riil-frontend/component-topology-common';
|
|
6
|
+
import rlog from '@riil-frontend/component-topology-utils/es/rlog';
|
|
7
7
|
import CiTyeCache from "./cache/CiTyeCache";
|
|
8
8
|
import Alarm from "./common/Alarm";
|
|
9
9
|
import TopoGraphView from "./TopoGraphView";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import rlog from "@riil-frontend/component-topology-utils/es/
|
|
1
|
+
import rlog from "@riil-frontend/component-topology-utils/es/rlog";
|
|
2
2
|
import { findItem } from "../../utils/topoData";
|
|
3
3
|
import { TopoEvent } from "@riil-frontend/component-topology-graph";
|
|
4
4
|
import { metricValueFormat } from "@riil-frontend/utils";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
2
2
|
import _createClass from "@babel/runtime/helpers/createClass";
|
|
3
3
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
4
|
-
import topoService from '@riil-frontend/component-topology-
|
|
4
|
+
import topoService from '@riil-frontend/component-topology-common/es/services/topo';
|
|
5
5
|
/**
|
|
6
6
|
* Ci类型属性、指标缓存
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
2
2
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
3
3
|
import { dictFormat } from '@riil-frontend/utils';
|
|
4
|
-
import * as modelService from '@riil-frontend/component-topology-
|
|
4
|
+
import * as modelService from '@riil-frontend/component-topology-common/es/services/model';
|
|
5
5
|
/**
|
|
6
6
|
* 数据字典缓存
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
2
2
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
3
|
-
import topoService from '@riil-frontend/component-topology-
|
|
4
|
-
import rlog from '@riil-frontend/component-topology-utils/es/
|
|
3
|
+
import topoService from '@riil-frontend/component-topology-common/es/services/topo';
|
|
4
|
+
import rlog from '@riil-frontend/component-topology-utils/es/rlog';
|
|
5
5
|
|
|
6
6
|
var Alarm = /*#__PURE__*/function () {
|
|
7
7
|
function Alarm() {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import _Message from "@alifd/next/lib/message";
|
|
2
2
|
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
3
3
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
4
|
-
import topoService from '@riil-frontend/component-topology-
|
|
5
|
-
import rlog from '@riil-frontend/component-topology-utils/es/
|
|
4
|
+
import topoService from '@riil-frontend/component-topology-common/es/services/topo';
|
|
5
|
+
import rlog from '@riil-frontend/component-topology-utils/es/rlog';
|
|
6
6
|
export default function (topo) {
|
|
7
7
|
var resourceUrlMap = {};
|
|
8
8
|
var currentId = null;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
4
|
-
import topoService from '@riil-frontend/component-topology-
|
|
4
|
+
import topoService from '@riil-frontend/component-topology-common/es/services/topo';
|
|
5
5
|
import { findItem } from "../../../utils/topoData";
|
|
6
6
|
export function mergeLinksData(links, relationDetails) {
|
|
7
7
|
return links.map(function (link) {
|
|
@@ -4,8 +4,8 @@ import _Button from "@alifd/next/lib/button";
|
|
|
4
4
|
import _extends from "@babel/runtime/helpers/extends";
|
|
5
5
|
import React, { useState, useEffect } from 'react';
|
|
6
6
|
import { Link } from 'react-router-dom';
|
|
7
|
-
import AlarmSimple from '@riil-frontend/component-topology-
|
|
8
|
-
import ResMetricsChartPool from '@riil-frontend/component-topology-
|
|
7
|
+
import AlarmSimple from '@riil-frontend/component-topology-common/es/components/AlarmSimple/index';
|
|
8
|
+
import ResMetricsChartPool from '@riil-frontend/component-topology-common/es/components/ResMetricsChartPool/index';
|
|
9
9
|
import styles from "./index.module.scss";
|
|
10
10
|
/**
|
|
11
11
|
* 前台资源详情路由地址
|
package/es/hooks/useAlarm.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
2
2
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
3
3
|
import { useEffect } from 'react';
|
|
4
|
-
import rlog from '@riil-frontend/component-topology-utils/es/
|
|
4
|
+
import rlog from '@riil-frontend/component-topology-utils/es/rlog';
|
|
5
5
|
import { EE } from '@riil-frontend/component-riil-event-emitter';
|
|
6
6
|
import { isAvailableArray } from '@riil-frontend/utils';
|
|
7
7
|
export default function useAlarm(options) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TopoEvent } from '@riil-frontend/component-topology-graph';
|
|
2
|
-
import rlog from '@riil-frontend/component-topology-utils/es/
|
|
2
|
+
import rlog from '@riil-frontend/component-topology-utils/es/rlog';
|
|
3
3
|
import { loopTreeFun } from "../utils/tree";
|
|
4
4
|
/**
|
|
5
5
|
* 关联拓扑
|
package/es/hooks/usePolling.js
CHANGED
|
@@ -3,7 +3,7 @@ import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
|
3
3
|
import { useState, useEffect, useMemo } from 'react';
|
|
4
4
|
import { useRequest } from 'ahooks';
|
|
5
5
|
import _ from 'lodash';
|
|
6
|
-
import rlog from '@riil-frontend/component-topology-utils/es/
|
|
6
|
+
import rlog from '@riil-frontend/component-topology-utils/es/rlog';
|
|
7
7
|
import { TopoEvent } from '@riil-frontend/component-topology-graph';
|
|
8
8
|
import { metricValueFormat } from '@riil-frontend/utils';
|
|
9
9
|
import { findItem } from "../utils/topoData";
|
package/es/hooks/useTopoEdit.js
CHANGED
|
@@ -6,8 +6,8 @@ import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
|
6
6
|
import { useCallback, useEffect, useMemo, useState } from 'react';
|
|
7
7
|
import { useUpdateEffect, useDynamicList } from 'ahooks';
|
|
8
8
|
import { isAvailableArray, isNull } from '@riil-frontend/utils';
|
|
9
|
-
import rlog from '@riil-frontend/component-topology-utils/es/
|
|
10
|
-
import * as cmdbService from '@riil-frontend/component-topology-
|
|
9
|
+
import rlog from '@riil-frontend/component-topology-utils/es/rlog';
|
|
10
|
+
import * as cmdbService from '@riil-frontend/component-topology-common/es/services/cmdb';
|
|
11
11
|
import { TopoEvent } from '@riil-frontend/component-topology-graph';
|
|
12
12
|
import { filterNode, filterGroupById, filterGroupByTag, formatTreeDataSelect } from "../utils/format";
|
|
13
13
|
import { DEFAULT_GROUP } from "../utils/template";
|
package/es/models/ciModel.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
4
|
-
import { queryAllModel, getCiMetric, getCi } from '@riil-frontend/component-topology-
|
|
4
|
+
import { queryAllModel, getCiMetric, getCi } from '@riil-frontend/component-topology-common/es/services/model';
|
|
5
5
|
import { getAllCiTypes } from "../utils/ciType";
|
|
6
6
|
export default {
|
|
7
7
|
state: {
|
package/es/models/iconManage.js
CHANGED
|
@@ -7,8 +7,8 @@ import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
|
7
7
|
/**
|
|
8
8
|
* 图标管理 Model
|
|
9
9
|
*/
|
|
10
|
-
import rlog from '@riil-frontend/component-topology-utils/es/
|
|
11
|
-
import topoService from '@riil-frontend/component-topology-
|
|
10
|
+
import rlog from '@riil-frontend/component-topology-utils/es/rlog';
|
|
11
|
+
import topoService from '@riil-frontend/component-topology-common/es/services/topo';
|
|
12
12
|
import { buildIcons } from "../utils/topoIconUtil";
|
|
13
13
|
export default function (engine) {
|
|
14
14
|
return {
|
|
@@ -6,7 +6,7 @@ import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
|
6
6
|
* 动态设置链路样式 Model
|
|
7
7
|
*/
|
|
8
8
|
import _ from 'lodash';
|
|
9
|
-
import rlog from '@riil-frontend/component-topology-utils/es/
|
|
9
|
+
import rlog from '@riil-frontend/component-topology-utils/es/rlog';
|
|
10
10
|
var defaultConfig = {
|
|
11
11
|
networkLink: {
|
|
12
12
|
// 网络链路
|
package/es/models/linkManager.js
CHANGED
|
@@ -5,8 +5,8 @@ import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
|
5
5
|
/**
|
|
6
6
|
* 链路新增、编辑 Model
|
|
7
7
|
*/
|
|
8
|
-
import rlog from '@riil-frontend/component-topology-utils/es/
|
|
9
|
-
import topoService from '@riil-frontend/component-topology-
|
|
8
|
+
import rlog from '@riil-frontend/component-topology-utils/es/rlog';
|
|
9
|
+
import topoService from '@riil-frontend/component-topology-common/es/services/topo';
|
|
10
10
|
export default function (topoApp) {
|
|
11
11
|
return {
|
|
12
12
|
// 定义 model 的初始 state
|
|
@@ -3,8 +3,8 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
3
3
|
/**
|
|
4
4
|
* 资源web控制台url配置 Model
|
|
5
5
|
*/
|
|
6
|
-
import rlog from '@riil-frontend/component-topology-utils/es/
|
|
7
|
-
import topoService from '@riil-frontend/component-topology-
|
|
6
|
+
import rlog from '@riil-frontend/component-topology-utils/es/rlog';
|
|
7
|
+
import topoService from '@riil-frontend/component-topology-common/es/services/topo';
|
|
8
8
|
export default {
|
|
9
9
|
// 定义 model 的初始 state
|
|
10
10
|
state: {
|
package/es/models/topoAlarm.js
CHANGED
|
@@ -5,8 +5,7 @@ import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
|
5
5
|
/**
|
|
6
6
|
* 告警
|
|
7
7
|
*/
|
|
8
|
-
import
|
|
9
|
-
import topoService from '@riil-frontend/component-topology-utils/es/services/topo';
|
|
8
|
+
import topoService from '@riil-frontend/component-topology-common/es/services/topo';
|
|
10
9
|
export default {
|
|
11
10
|
// 定义 model 的初始 state
|
|
12
11
|
state: {
|
package/es/models/topoBizMod.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
4
|
-
import topoServer from '@riil-frontend/component-topology-
|
|
5
|
-
import { getLatestMetrics } from '@riil-frontend/component-topology-
|
|
6
|
-
import { getCiMeta } from '@riil-frontend/component-topology-
|
|
7
|
-
import rlog from '@riil-frontend/component-topology-utils/es/
|
|
4
|
+
import topoServer from '@riil-frontend/component-topology-common/es/services/topo';
|
|
5
|
+
import { getLatestMetrics } from '@riil-frontend/component-topology-common/es/services/metric';
|
|
6
|
+
import { getCiMeta } from '@riil-frontend/component-topology-common/es/services/model';
|
|
7
|
+
import rlog from '@riil-frontend/component-topology-utils/es/rlog';
|
|
8
8
|
import _ from 'lodash';
|
|
9
9
|
import { findItem, findItemIndex, sortList } from "../utils/topoData";
|
|
10
10
|
export default function (engine) {
|