@riil-frontend/component-topology 4.0.0-beta.32 → 4.0.0-beta.35
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/README.md +14 -14
- package/build/index.js +11 -11
- package/demo/1/345/237/272/346/234/254/usage.md +11 -11
- package/demo/1/345/237/272/346/234/254//345/210/207/346/215/242/345/233/276/346/240/207.md +11 -11
- package/demo/1/345/237/272/346/234/254//345/221/212/350/255/246/346/216/250/351/200/201.md +15 -15
- package/demo/1/345/237/272/346/234/254//345/256/232/345/210/266/345/214/226/350/265/204/346/272/220/346/246/202/350/247/210.md +11 -11
- package/demo/1/345/237/272/346/234/254//346/230/276/347/244/272/346/250/241/345/274/217/345/217/263/351/224/256/350/217/234/345/215/225.md +16 -16
- package/demo/1/345/237/272/346/234/254//350/207/252/345/256/232/344/271/211/345/233/276/346/240/207.md +13 -13
- package/demo/1/345/237/272/346/234/254//350/207/252/345/256/232/344/271/211/346/240/207/346/263/250/345/222/214/346/202/254/346/265/256/346/241/206.md +11 -11
- package/demo/2/347/274/226/350/276/221/346/250/241/345/274/217//345/210/206/345/261/202/344/277/256/346/224/271/346/225/260/346/215/256.md +11 -11
- package/demo/2/347/274/226/350/276/221/346/250/241/345/274/217//345/210/206/345/261/202/346/267/273/345/212/240/350/265/204/346/272/220.md +11 -11
- package/demo/2/347/274/226/350/276/221/346/250/241/345/274/217//345/261/236/346/200/247/351/235/242/346/235/277.md +11 -11
- package/demo/2/347/274/226/350/276/221/346/250/241/345/274/217//346/226/260/345/273/272/350/277/233/345/205/245/347/274/226/350/276/221/346/250/241/345/274/217.md +11 -11
- package/demo/2/347/274/226/350/276/221/346/250/241/345/274/217//346/233/277/346/215/242/350/212/202/347/202/271.md +14 -14
- package/demo/2/347/274/226/350/276/221/346/250/241/345/274/217//347/246/201/347/224/250/345/205/263/350/201/224/350/265/204/346/272/220.md +17 -17
- package/demo/2/347/274/226/350/276/221/346/250/241/345/274/217//347/274/226/350/276/221/346/250/241/345/274/217/345/217/263/351/224/256/350/217/234/345/215/225.md +16 -16
- package/demo/2/347/274/226/350/276/221/346/250/241/345/274/217//350/207/252/345/256/232/344/271/211/345/210/206/345/261/202/346/267/273/345/212/240/350/265/204/346/272/220.md +11 -11
- package/demo/3/346/213/223/346/211/221/344/270/255/345/277/203/js/TopoFull.jsx +74 -74
- package/demo/3/346/213/223/346/211/221/344/270/255/345/277/203/js/TopoViewer.jsx +97 -97
- package/demo/3/346/213/223/346/211/221/344/270/255/345/277/203/js/mock/authorization/v1/api/authority/check/checkFuncAuthentication +13 -13
- package/demo/3/346/213/223/346/211/221/344/270/255/345/277/203/js/mock/authorization/v1/api/authority/check/checkFuncAuthentication.json +13 -13
- package/demo/3/346/213/223/346/211/221/344/270/255/345/277/203/js/mock/model/v1/api/getAllDict +1028 -1028
- package/demo/3/346/213/223/346/211/221/344/270/255/345/277/203/js/mock/topo/v1/api/attributes/once +2595 -2595
- package/demo/3/346/213/223/346/211/221/344/270/255/345/277/203/js/mock/topo/v1/api/attributes/once.json +2595 -2595
- package/demo/3/346/213/223/346/211/221/344/270/255/345/277/203/js/mock/topo/v1/api/attributes/polling +2292 -2292
- package/demo/3/346/213/223/346/211/221/344/270/255/345/277/203/js/mock/topo/v1/api/attributes/polling.json +2292 -2292
- package/demo/3/346/213/223/346/211/221/344/270/255/345/277/203/js/mock/topo/v1/api/menu +47 -47
- package/demo/3/346/213/223/346/211/221/344/270/255/345/277/203/js/mock/topo/v1/api/menu.json +47 -47
- package/demo/3/346/213/223/346/211/221/344/270/255/345/277/203/js/mock/topo/v1/api/structure/both/2 +618 -618
- package/demo/3/346/213/223/346/211/221/344/270/255/345/277/203/js/mock/topo/v1/api/structure/both/2.json +617 -617
- package/demo/3/346/213/223/346/211/221/344/270/255/345/277/203/js/mock/topo/v1/api/structure/both/4 +617 -617
- package/demo/3/346/213/223/346/211/221/344/270/255/345/277/203/js/mock/topo/v1/api/structure/relationList +191 -191
- package/demo/3/346/213/223/346/211/221/344/270/255/345/277/203/js/mock/topo/v1/api/structure/relationList.json +191 -191
- package/demo/3/346/213/223/346/211/221/344/270/255/345/277/203/js/request.js +7 -7
- package/demo/3/346/213/223/346/211/221/344/270/255/345/277/203//345/256/214/346/225/264/346/250/241/345/274/217.md +10 -10
- package/demo/3/346/213/223/346/211/221/344/270/255/345/277/203//346/230/276/347/244/272/346/250/241/345/274/217.md +10 -10
- package/demo/4/344/270/232/345/212/241/347/233/221/346/216/247/346/213/223/346/211/221//345/206/205/347/275/256/345/221/212/350/255/246/345/210/227/350/241/250.md +13 -13
- package/demo/4/344/270/232/345/212/241/347/233/221/346/216/247/346/213/223/346/211/221//345/272/224/347/224/250/351/203/250/347/275/262/346/213/223/346/211/221.md +11 -11
- package/demo/4/344/270/232/345/212/241/347/233/221/346/216/247/346/213/223/346/211/221//346/225/260/346/215/256/346/265/201/346/213/223/346/211/221.md +18 -18
- package/demo/5/345/205/266/344/273/226/347/273/204/344/273/266//345/233/276/346/240/207/351/200/211/346/213/251.md +31 -31
- package/demo/5/345/205/266/344/273/226/347/273/204/344/273/266//346/240/221/345/270/203/345/261/200/346/226/271/345/220/221.md +12 -12
- package/demo/5/345/205/266/344/273/226/347/273/204/344/273/266//350/265/204/346/272/220/346/246/202/350/247/210/347/273/204/344/273/266.md +9 -9
- package/demo/5/345/205/266/344/273/226/347/273/204/344/273/266//351/200/211/346/213/251/350/265/204/346/272/220/347/273/204/344/273/266.md +12 -12
- package/demo/API//345/210/233/345/273/272/346/213/223/346/211/221/346/250/241/345/236/213.md +42 -42
- package/demo/API//345/270/203/345/261/200.md +16 -16
- package/demo/API//346/250/241/345/236/213.md +110 -110
- package/demo/API//347/273/204/344/273/266.md +66 -66
- package/demo/CHANGELOG/CHANGELOG.md +49 -49
- package/demo//346/240/207/346/263/250/345/222/214/346/202/254/346/265/256/346/241/206//350/207/252/345/256/232/344/271/211/345/261/236/346/200/247/345/222/214/346/214/207/346/240/207.md +16 -16
- package/demo-mock/1.json +1 -1
- package/demo-mock/basic/cmdb/v1/api/authority/ci/commonQuery +739 -739
- package/demo-mock/basic/mdc/v1/api/cmdb/authority/commonQueryCiData +739 -739
- package/demo-mock/basic/mdc/v1/api/model-dict/list +508 -508
- package/demo-mock/basic/model/v1/api/getAllDict +1028 -1028
- package/demo-mock/basic/model/v1/api/modelTree +3888 -3888
- package/demo-mock/basic/topo/v1/api/attributes/once +10294 -10294
- package/demo-mock/basic/topo/v1/api/attributes/once.json +10294 -10294
- package/demo-mock/basic/topo/v1/api/attributes/polling +2293 -2293
- package/demo-mock/basic/topo/v1/api/attributes/polling.json +2293 -2293
- package/demo-mock/basic/topo/v1/api/menu +47 -47
- package/demo-mock/basic/topo/v1/api/menu.json +47 -47
- package/demo-mock/basic/topo/v1/api/structure/both/1 +2 -2
- package/demo-mock/basic/topo/v1/api/structure/both/2 +2 -2
- package/demo-mock/basic/topo/v1/api/structure/both/3 +2 -2
- package/demo-mock/basic/topo/v1/api/structure/byCondition/2 +1 -1
- package/demo-mock/basic/topo/v1/api/structure/relationList +1 -1
- package/es/common/components/ColorPicker/ColorPicker.module.scss +15 -15
- package/es/common/components/ColorPicker/ColorPicker.scss +11 -11
- package/es/common/components/ResourceTable/ResourceTable.module.scss +7 -7
- package/es/common/plugins/useSelectionPlugin.js +3 -3
- package/es/components/BatchAttrMetric/index.js +7 -7
- package/es/components/BatchAttrMetric/index.module.scss +76 -76
- package/es/components/BatchAttrMetric/setting.js +45 -7
- package/es/components/BatchAttrMetric/utils.js +33 -33
- package/es/components/Drawer/index.module.scss +41 -41
- package/es/components/FullheightTab/FullheightTab.module.scss +19 -19
- package/es/components/IndexSettingDrawer/index.module.scss +44 -44
- package/es/components/LayoutDirectionSelect/Item.module.scss +8 -8
- package/es/components/LayoutDirectionSelect/LayoutDirectionSelect.module.scss +5 -5
- package/es/components/LayoutSelect/LayoutSelect.module.scss +4 -4
- package/es/components/LayoutSelect/README.md +1 -1
- package/es/components/MultiResourceDrawer/Content.js +3 -3
- package/es/components/MultiResourceDrawer/ResourceCard/index.module.scss +14 -14
- package/es/components/MultiResourceDrawer/index.module.scss +3 -3
- package/es/components/ResourceList/ResourceSelect.module.scss +7 -7
- package/es/components/ResourceSelect/ResourceSelectDrawer.js +6 -6
- package/es/components/ResourceSelect/ResourceSelectDrawer.module.scss +13 -13
- package/es/components/ResourceSelectDrawer/ResourceSelectDrawer.js +6 -6
- package/es/components/ResourceSelectDrawer/ResourceSelectDrawer.module.scss +5 -5
- package/es/components/SingleResourceDrawer/SingleResourceDrawer.js +5 -5
- package/es/components/TagImageSelect/index.module.scss +7 -7
- package/es/components/TagSelect/index.scss +28 -28
- package/es/components/TemplateButton/assets/topo_layout_circular.svg +9 -9
- package/es/components/TemplateButton/assets/topo_layout_hierarchical.svg +9 -9
- package/es/components/TemplateButton/assets/topo_layout_toward.svg +15 -15
- package/es/components/TemplateButton/index.module.scss +53 -53
- package/es/components/collapse/Panel.js +14 -14
- package/es/components/collapse/Panel.module.scss +11 -11
- package/es/components/index.module.scss +31 -31
- package/es/constants/ResourceInfoDisplay.js +14 -14
- package/es/contextmenu/createMenuCommands.js +5 -5
- package/es/core/common/icons/icon.js +11 -11
- package/es/core/common/text.module.scss +5 -5
- package/es/core/components/AlarmListPanel/components/index.module.scss +7 -7
- package/es/core/components/AlarmListPanel/constants/uicbb.js +5 -5
- package/es/core/components/AlarmListPanel/index.module.scss +141 -141
- package/es/core/components/DisplaySettingDrawer/DisplaySetting.js +5 -5
- package/es/core/components/DisplaySettingDrawer/EdgeFlow.js +4 -6
- package/es/core/components/DisplaySettingDrawer/EdgeFlowDirection.js +3 -6
- package/es/core/components/DisplaySettingDrawer/LinkTag.js +4 -4
- package/es/core/components/DisplaySettingDrawer/LinkTip.js +4 -4
- package/es/core/components/DisplaySettingDrawer/NodeTag.js +7 -9
- package/es/core/components/DisplaySettingDrawer/NodeTip.js +7 -8
- package/es/core/components/DisplaySettingDrawer/ResourceDisplay/BasicConfig.js +3 -4
- package/es/core/components/DisplaySettingDrawer/ResourceDisplay/CommonCheckboxGroup.module.scss +22 -22
- package/es/core/components/DisplaySettingDrawer/ResourceDisplay/useElementTagTipConfig.js +2 -2
- package/es/core/components/ResourceViewAttributeSetting/Setting.js +4 -4
- package/es/core/components/TopoView/TopoView.module.scss +27 -27
- package/es/core/components/TopoView/topoView.js +5 -5
- package/es/core/components/titlebar/TitleBar.module.scss +37 -37
- package/es/core/createTopoApp.js +4 -4
- package/es/core/editor/components/BackgroundView/UploadDialog/index.js +2 -2
- package/es/core/editor/components/BackgroundView/UploadDialog/index.module.scss +8 -8
- package/es/core/editor/components/BackgroundView/index.module.scss +94 -94
- package/es/core/editor/components/CustomIconPlugin/UploadIconDialog.js +2 -2
- package/es/core/editor/components/CustomIconPlugin/UploadIconDialog.module.scss +3 -3
- package/es/core/editor/components/CustomIconPlugin/UploadIconDialog.scss +6 -6
- package/es/core/editor/components/GroupAddResourceDrawerPlugin/index.js +2 -2
- package/es/core/editor/components/settings/README.md +2 -2
- package/es/core/editor/components/settings/Settings.module.scss +80 -80
- package/es/core/editor/components/settings/common/AlignSetting/AlignSetting.module.scss +36 -36
- package/es/core/editor/components/settings/common/GroupNodeList/CollapseFullheight.module.scss +20 -20
- package/es/core/editor/components/settings/common/GroupNodeList/ResourceList.module.scss +49 -49
- package/es/core/editor/components/settings/common/LayoutSettings.module.scss +66 -66
- package/es/core/editor/components/settings/common/LineType/LineType.module.scss +33 -33
- package/es/core/editor/components/settings/common/NodeSizeInput/NodeSizeInput.js +4 -4
- package/es/core/editor/components/settings/common/SizeInput/NodeSizeInput.js +4 -4
- package/es/core/editor/components/settings/common/SizeInput/NodeSizeInput.module.scss +5 -5
- package/es/core/editor/components/settings/common/SizeInput/NodeSizeNumberPicker.js +5 -5
- package/es/core/editor/components/settings/common/SizeInput/img/icon_/350/247/243/351/224/201.svg +15 -15
- package/es/core/editor/components/settings/common/SizeInput/img/icon_/351/224/201.svg +14 -14
- package/es/core/editor/components/settings/common/tab/TabView.module.scss +29 -29
- package/es/core/editor/components/settings/common/text/FontStyleCheckbox.module.scss +31 -31
- 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/propertyViews/edge/EdgePropertyView.js +2 -2
- package/es/core/editor/components/settings/propertyViews/group/DataTab/GroupNodeList.js +3 -3
- package/es/core/editor/components/settings/propertyViews/group/GroupPropertyView.module.scss +3 -3
- package/es/core/editor/components/settings/propertyViews/group/SettingTab/GroupExpandStatus.js +6 -6
- package/es/core/editor/components/settings/propertyViews/layer/DataTab/NodeList.js +2 -2
- package/es/core/editor/components/settings/propertyViews/multipleElements/MultipleElementPropertyView.js +2 -2
- package/es/core/editor/components/settings/propertyViews/node/NodePropertyView.module.scss +3 -3
- package/es/core/editor/components/settings/propertyViews/node/data/BindResourceDrawer.js +5 -5
- package/es/core/editor/components/settings/propertyViews/node/data/NodeRelateResourceButton.js +2 -2
- package/es/core/editor/components/settings/propertyViews/view/GlobalEdgeToggle.js +5 -5
- package/es/core/editor/components/settings/propertyViews/view/GlobalLayout.js +2 -2
- package/es/core/editor/components/settings/propertyViews/view/GlobalTootipSetting.js +4 -4
- package/es/core/hooks/useRouterAdapter.js +3 -3
- package/es/core/models/Alarm.js +33 -33
- package/es/core/models/AttributeMetricDisplay.js +57 -57
- package/es/core/models/EdgeGroup.js +5 -5
- package/es/core/models/PluginManager.js +2 -2
- package/es/core/models/TopoApp.js +47 -47
- package/es/core/models/TopoGraphView.js +11 -11
- package/es/core/models/TopoViewer.js +2 -2
- package/es/core/models/attributeFormatter/index.js +7 -7
- package/es/core/models/cache/CiTypeCache.js +2 -2
- package/es/core/models/cache/DictCache.js +2 -2
- package/es/core/models/graph/Background.js +2 -2
- package/es/core/models/tagstips/ElementTagTipConfig.js +4 -4
- package/es/core/models/tagstips/utils.js +4 -4
- package/es/core/models/utils/linkUtils.js +3 -1
- package/es/core/services/alarm.js +4 -4
- package/es/core/services/background.js +13 -13
- package/es/core/services/overview.js +20 -20
- package/es/core/utils/backgroundUtil.js +10 -10
- package/es/core/utils/edgeUtil.js +4 -4
- package/es/core/utils/imageUtil.js +3 -3
- package/es/core/utils/resourceUtil.js +3 -3
- package/es/core/utils/saveSerialize.js +4 -4
- package/es/core/viewer/components/plugins/ResourceDetail/components/ClusterMemberTable.js +2 -2
- package/es/core/viewer/components/plugins/ResourceDetail/components/ClusterMemberTable.module.scss +9 -9
- package/es/core/viewer/components/plugins/ResourceDetail/components/ResourceOverview/BlockBox.module.scss +29 -29
- package/es/core/viewer/components/plugins/ResourceDetail/components/ResourceOverview/ResourceOverview.js +2 -2
- package/es/core/viewer/components/plugins/ResourceDetail/components/ResourceOverview/components/Configurator/index.js +47 -32
- package/es/core/viewer/components/plugins/ResourceDetail/components/ResourceOverview/components/Configurator/index.scss +91 -91
- package/es/core/viewer/components/plugins/ResourceDetail/components/ResourceOverview/hooks/useMetricModels.js +3 -3
- package/es/core/viewer/components/plugins/ResourceDetail/components/ResourceOverview/index.module.scss +141 -141
- package/es/core/viewer/components/plugins/ResourceDetail/index.module.scss +36 -36
- package/es/core/viewer/components/plugins/ResourceWebControllUrlSettingDialog.module.scss +11 -11
- package/es/core/viewer/components/titlebar/widgets/AlarmListShowButton.js +4 -4
- package/es/core/viewer/components/titlebar/widgets/EditButton.js +2 -2
- package/es/core/viewer/components/titlebar/widgets/NodesDragSwitch.js +4 -4
- package/es/core/viewer/components/titlebar/widgets/SettingButton.js +4 -4
- package/es/core/viewer/components/titlebar/widgets/SettingButtonWidget.js +4 -4
- package/es/hooks/useAlarm.js +4 -4
- package/es/hooks/useGraphAlarmDisplay.js +4 -4
- package/es/hooks/useManageStatus.js +5 -5
- package/es/hooks/usePolling.js +6 -6
- package/es/hooks/useResourceConfig.js +22 -22
- package/es/hooks/useSelection.js +2 -2
- package/es/hooks/useTopoEdit.js +84 -84
- package/es/index.scss +4 -4
- package/es/models/background.js +7 -7
- package/es/models/customIcon.js +6 -6
- package/es/models/displayConfig.js +8 -8
- package/es/models/resourceWebControllUrlSetting.js +2 -2
- package/es/models/selection.js +2 -2
- package/es/models/topoAlarm.js +7 -7
- package/es/models/topoBaseInfoOverview.js +2 -2
- package/es/models/topoBizMod.js +6 -6
- package/es/models/topoConfig.js +11 -11
- package/es/models/topoEdit.js +2 -2
- package/es/models/topoGraphView.js +2 -2
- package/es/models/topoMod.js +27 -26
- package/es/models/topoView.js +2 -2
- package/es/models/viewer/lock.js +2 -2
- package/es/topoCenter/components/Link/hook.js +19 -19
- package/es/topoCenter/components/Link/index copy.js +3 -3
- package/es/topoCenter/components/Link/index.js +3 -3
- package/es/topoCenter/components/Link/index.module.scss +86 -86
- package/es/topoCenter/components/TopoView.js +2 -2
- package/es/topoCenter/components/editor/LinkDynamicStyleSettingDrawer/RuleSetting.module.scss +3 -3
- package/es/topoCenter/components/editor/LinkDynamicStyleSettingDrawer/rule/Rule.module.scss +36 -36
- package/es/topoCenter/components/editor/LinkDynamicStyleSettingDrawer/rule/RuleCondition.module.scss +5 -5
- package/es/topoCenter/components/editor/LinkDynamicStyleSettingDrawer/rule/RuleCondition.scss +10 -10
- package/es/topoCenter/components/editor/LinkDynamicStyleSettingDrawer/rule/RuleStyle.module.scss +3 -3
- package/es/topoCenter/components/editor/plugins/LayerConfigPlugin.js +4 -4
- package/es/topoCenter/components/editor/propertyViews/LayerRelatedResourceList.js +2 -2
- package/es/topoCenter/components/editor/propertyViews/edge/addLinkDrawer/components/index.module.scss +34 -34
- package/es/topoCenter/components/editor/propertyViews/edge/addLinkDrawer/index.module.scss +12 -12
- package/es/topoCenter/components/editor/propertyViews/edge/addLinkDrawer/server.js +20 -20
- package/es/topoCenter/components/editor/propertyViews/edge/link/LinkInfoPreview.module.scss +65 -65
- package/es/topoCenter/components/viewer/displaySetting/LinkTagCommonRidioGroup.js +1 -0
- package/es/topoCenter/components/viewer/displaySetting/LinkTagCommonRidioGroup.module.scss +22 -22
- package/es/topoCenter/components/viewer/displaySetting/LinkTagV2.js +5 -6
- package/es/topoCenter/hooks/editor/useDeleteEdges.js +5 -5
- package/es/topoCenter/hooks/useLinkDynamicStyle.js +5 -5
- package/es/topoCenter/hooks/viewer/useEdgeFlow.js +4 -4
- package/es/topoCenter/hooks/viewer/useRelateTopo.js +12 -12
- package/es/topoCenter/models/LinkDynamicStyleExecutor.js +5 -5
- package/es/topoCenter/models/LinkTagsTipsBuilder.js +6 -6
- package/es/topoCenter/models/TopoCenter.js +6 -6
- package/es/topoCenter/services/link.js +20 -20
- package/es/topoCenter/store/functionAuth.js +2 -2
- package/es/topoCenter/store/linkDynamicStyle.js +30 -30
- package/es/topoCenter/store/linkDynamicStyleConfig.js +5 -5
- package/es/topoCenter/store/linkManager.js +2 -2
- package/es/topoCenter/store/topoCenter.js +11 -11
- package/es/topoCenter/store/topoLinkMod.js +2 -2
- package/es/topoCenter/store/topoTreeMod.js +14 -14
- package/es/topoCenter/utils/linPermissionUtil.js +7 -7
- package/es/topoCenter/utils/resourcePermissionUtil.js +14 -14
- package/es/utils/ResourceConfigUtil.js +5 -5
- package/es/utils/clusterUtil.js +7 -7
- package/es/utils/format.js +9 -9
- package/es/utils/htElementUtils.js +42 -42
- package/es/utils/resourceElementUtil.js +2 -2
- package/es/utils/template.js +4 -4
- package/es/utils/topoData.js +44 -44
- package/es/utils/topoPermissionUtil.js +2 -2
- package/es/utils/tree.js +20 -20
- package/lib/common/components/ColorPicker/ColorPicker.module.scss +15 -15
- package/lib/common/components/ColorPicker/ColorPicker.scss +11 -11
- package/lib/common/components/ResourceTable/ResourceTable.module.scss +7 -7
- package/lib/common/plugins/useSelectionPlugin.js +3 -3
- package/lib/components/BatchAttrMetric/index.js +7 -7
- package/lib/components/BatchAttrMetric/index.module.scss +76 -76
- package/lib/components/BatchAttrMetric/setting.js +45 -6
- package/lib/components/BatchAttrMetric/utils.js +33 -33
- package/lib/components/Drawer/index.module.scss +41 -41
- package/lib/components/FullheightTab/FullheightTab.module.scss +19 -19
- package/lib/components/IndexSettingDrawer/index.module.scss +44 -44
- package/lib/components/LayoutDirectionSelect/Item.module.scss +8 -8
- package/lib/components/LayoutDirectionSelect/LayoutDirectionSelect.module.scss +5 -5
- package/lib/components/LayoutSelect/LayoutSelect.module.scss +4 -4
- package/lib/components/LayoutSelect/README.md +1 -1
- package/lib/components/MultiResourceDrawer/Content.js +3 -3
- package/lib/components/MultiResourceDrawer/ResourceCard/index.module.scss +14 -14
- package/lib/components/MultiResourceDrawer/index.module.scss +3 -3
- package/lib/components/ResourceList/ResourceSelect.module.scss +7 -7
- package/lib/components/ResourceSelect/ResourceSelectDrawer.js +6 -6
- package/lib/components/ResourceSelect/ResourceSelectDrawer.module.scss +13 -13
- package/lib/components/ResourceSelectDrawer/ResourceSelectDrawer.js +6 -6
- package/lib/components/ResourceSelectDrawer/ResourceSelectDrawer.module.scss +5 -5
- package/lib/components/SingleResourceDrawer/SingleResourceDrawer.js +5 -5
- package/lib/components/TagImageSelect/index.module.scss +7 -7
- package/lib/components/TagSelect/index.scss +28 -28
- package/lib/components/TemplateButton/assets/topo_layout_circular.svg +9 -9
- package/lib/components/TemplateButton/assets/topo_layout_hierarchical.svg +9 -9
- package/lib/components/TemplateButton/assets/topo_layout_toward.svg +15 -15
- package/lib/components/TemplateButton/index.module.scss +53 -53
- package/lib/components/collapse/Panel.js +14 -14
- package/lib/components/collapse/Panel.module.scss +11 -11
- package/lib/components/index.module.scss +31 -31
- package/lib/constants/ResourceInfoDisplay.js +14 -14
- package/lib/contextmenu/createMenuCommands.js +5 -5
- package/lib/core/common/icons/icon.js +11 -11
- package/lib/core/common/text.module.scss +5 -5
- package/lib/core/components/AlarmListPanel/components/index.module.scss +7 -7
- package/lib/core/components/AlarmListPanel/constants/uicbb.js +5 -5
- package/lib/core/components/AlarmListPanel/index.module.scss +141 -141
- package/lib/core/components/DisplaySettingDrawer/DisplaySetting.js +5 -5
- package/lib/core/components/DisplaySettingDrawer/EdgeFlow.js +4 -6
- package/lib/core/components/DisplaySettingDrawer/EdgeFlowDirection.js +3 -6
- package/lib/core/components/DisplaySettingDrawer/LinkTag.js +4 -4
- package/lib/core/components/DisplaySettingDrawer/LinkTip.js +4 -4
- package/lib/core/components/DisplaySettingDrawer/NodeTag.js +7 -10
- package/lib/core/components/DisplaySettingDrawer/NodeTip.js +7 -9
- package/lib/core/components/DisplaySettingDrawer/ResourceDisplay/BasicConfig.js +3 -5
- package/lib/core/components/DisplaySettingDrawer/ResourceDisplay/CommonCheckboxGroup.module.scss +22 -22
- package/lib/core/components/DisplaySettingDrawer/ResourceDisplay/useElementTagTipConfig.js +2 -2
- package/lib/core/components/ResourceViewAttributeSetting/Setting.js +4 -4
- package/lib/core/components/TopoView/TopoView.module.scss +27 -27
- package/lib/core/components/TopoView/topoView.js +5 -5
- package/lib/core/components/titlebar/TitleBar.module.scss +37 -37
- package/lib/core/createTopoApp.js +4 -4
- package/lib/core/editor/components/BackgroundView/UploadDialog/index.js +2 -2
- package/lib/core/editor/components/BackgroundView/UploadDialog/index.module.scss +8 -8
- package/lib/core/editor/components/BackgroundView/index.module.scss +94 -94
- package/lib/core/editor/components/CustomIconPlugin/UploadIconDialog.js +2 -2
- package/lib/core/editor/components/CustomIconPlugin/UploadIconDialog.module.scss +3 -3
- package/lib/core/editor/components/CustomIconPlugin/UploadIconDialog.scss +6 -6
- package/lib/core/editor/components/GroupAddResourceDrawerPlugin/index.js +2 -2
- package/lib/core/editor/components/settings/README.md +2 -2
- package/lib/core/editor/components/settings/Settings.module.scss +80 -80
- package/lib/core/editor/components/settings/common/AlignSetting/AlignSetting.module.scss +36 -36
- package/lib/core/editor/components/settings/common/GroupNodeList/CollapseFullheight.module.scss +20 -20
- package/lib/core/editor/components/settings/common/GroupNodeList/ResourceList.module.scss +49 -49
- package/lib/core/editor/components/settings/common/LayoutSettings.module.scss +66 -66
- package/lib/core/editor/components/settings/common/LineType/LineType.module.scss +33 -33
- package/lib/core/editor/components/settings/common/NodeSizeInput/NodeSizeInput.js +4 -4
- package/lib/core/editor/components/settings/common/SizeInput/NodeSizeInput.js +4 -4
- package/lib/core/editor/components/settings/common/SizeInput/NodeSizeInput.module.scss +5 -5
- package/lib/core/editor/components/settings/common/SizeInput/NodeSizeNumberPicker.js +5 -5
- package/lib/core/editor/components/settings/common/SizeInput/img/icon_/350/247/243/351/224/201.svg +15 -15
- package/lib/core/editor/components/settings/common/SizeInput/img/icon_/351/224/201.svg +14 -14
- package/lib/core/editor/components/settings/common/tab/TabView.module.scss +29 -29
- package/lib/core/editor/components/settings/common/text/FontStyleCheckbox.module.scss +31 -31
- 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/propertyViews/edge/EdgePropertyView.js +2 -2
- package/lib/core/editor/components/settings/propertyViews/group/DataTab/GroupNodeList.js +3 -3
- package/lib/core/editor/components/settings/propertyViews/group/GroupPropertyView.module.scss +3 -3
- package/lib/core/editor/components/settings/propertyViews/group/SettingTab/GroupExpandStatus.js +6 -6
- package/lib/core/editor/components/settings/propertyViews/layer/DataTab/NodeList.js +2 -2
- package/lib/core/editor/components/settings/propertyViews/multipleElements/MultipleElementPropertyView.js +2 -2
- package/lib/core/editor/components/settings/propertyViews/node/NodePropertyView.module.scss +3 -3
- package/lib/core/editor/components/settings/propertyViews/node/data/BindResourceDrawer.js +5 -5
- package/lib/core/editor/components/settings/propertyViews/node/data/NodeRelateResourceButton.js +2 -2
- package/lib/core/editor/components/settings/propertyViews/view/GlobalEdgeToggle.js +5 -5
- package/lib/core/editor/components/settings/propertyViews/view/GlobalLayout.js +2 -2
- package/lib/core/editor/components/settings/propertyViews/view/GlobalTootipSetting.js +4 -4
- package/lib/core/hooks/useRouterAdapter.js +3 -3
- package/lib/core/models/Alarm.js +33 -33
- package/lib/core/models/AttributeMetricDisplay.js +57 -57
- package/lib/core/models/EdgeGroup.js +5 -5
- package/lib/core/models/PluginManager.js +2 -2
- package/lib/core/models/TopoApp.js +47 -47
- package/lib/core/models/TopoGraphView.js +11 -11
- package/lib/core/models/TopoViewer.js +2 -2
- package/lib/core/models/attributeFormatter/index.js +7 -7
- package/lib/core/models/cache/CiTypeCache.js +2 -2
- package/lib/core/models/cache/DictCache.js +2 -2
- package/lib/core/models/graph/Background.js +2 -2
- package/lib/core/models/tagstips/ElementTagTipConfig.js +4 -4
- package/lib/core/models/tagstips/utils.js +4 -4
- package/lib/core/models/utils/linkUtils.js +3 -1
- package/lib/core/services/alarm.js +4 -4
- package/lib/core/services/background.js +13 -13
- package/lib/core/services/overview.js +20 -20
- package/lib/core/utils/backgroundUtil.js +10 -10
- package/lib/core/utils/edgeUtil.js +4 -4
- package/lib/core/utils/imageUtil.js +3 -3
- package/lib/core/utils/resourceUtil.js +3 -3
- package/lib/core/utils/saveSerialize.js +4 -4
- package/lib/core/viewer/components/plugins/ResourceDetail/components/ClusterMemberTable.js +2 -2
- package/lib/core/viewer/components/plugins/ResourceDetail/components/ClusterMemberTable.module.scss +9 -9
- package/lib/core/viewer/components/plugins/ResourceDetail/components/ResourceOverview/BlockBox.module.scss +29 -29
- package/lib/core/viewer/components/plugins/ResourceDetail/components/ResourceOverview/ResourceOverview.js +2 -2
- package/lib/core/viewer/components/plugins/ResourceDetail/components/ResourceOverview/components/Configurator/index.js +47 -32
- package/lib/core/viewer/components/plugins/ResourceDetail/components/ResourceOverview/components/Configurator/index.scss +91 -91
- package/lib/core/viewer/components/plugins/ResourceDetail/components/ResourceOverview/hooks/useMetricModels.js +3 -3
- package/lib/core/viewer/components/plugins/ResourceDetail/components/ResourceOverview/index.module.scss +141 -141
- package/lib/core/viewer/components/plugins/ResourceDetail/index.module.scss +36 -36
- package/lib/core/viewer/components/plugins/ResourceWebControllUrlSettingDialog.module.scss +11 -11
- package/lib/core/viewer/components/titlebar/widgets/AlarmListShowButton.js +4 -4
- package/lib/core/viewer/components/titlebar/widgets/EditButton.js +2 -2
- package/lib/core/viewer/components/titlebar/widgets/NodesDragSwitch.js +4 -4
- package/lib/core/viewer/components/titlebar/widgets/SettingButton.js +4 -4
- package/lib/core/viewer/components/titlebar/widgets/SettingButtonWidget.js +4 -4
- package/lib/hooks/useAlarm.js +4 -4
- package/lib/hooks/useGraphAlarmDisplay.js +4 -4
- package/lib/hooks/useManageStatus.js +5 -5
- package/lib/hooks/usePolling.js +6 -6
- package/lib/hooks/useResourceConfig.js +22 -22
- package/lib/hooks/useSelection.js +2 -2
- package/lib/hooks/useTopoEdit.js +84 -84
- package/lib/index.scss +4 -4
- package/lib/models/background.js +7 -7
- package/lib/models/customIcon.js +6 -6
- package/lib/models/displayConfig.js +8 -8
- package/lib/models/resourceWebControllUrlSetting.js +2 -2
- package/lib/models/selection.js +2 -2
- package/lib/models/topoAlarm.js +7 -7
- package/lib/models/topoBaseInfoOverview.js +2 -2
- package/lib/models/topoBizMod.js +6 -6
- package/lib/models/topoConfig.js +11 -11
- package/lib/models/topoEdit.js +2 -2
- package/lib/models/topoGraphView.js +2 -2
- package/lib/models/topoMod.js +27 -26
- package/lib/models/topoView.js +2 -2
- package/lib/models/viewer/lock.js +2 -2
- package/lib/topoCenter/components/Link/hook.js +19 -19
- package/lib/topoCenter/components/Link/index copy.js +3 -3
- package/lib/topoCenter/components/Link/index.js +3 -3
- package/lib/topoCenter/components/Link/index.module.scss +86 -86
- package/lib/topoCenter/components/TopoView.js +2 -2
- package/lib/topoCenter/components/editor/LinkDynamicStyleSettingDrawer/RuleSetting.module.scss +3 -3
- package/lib/topoCenter/components/editor/LinkDynamicStyleSettingDrawer/rule/Rule.module.scss +36 -36
- package/lib/topoCenter/components/editor/LinkDynamicStyleSettingDrawer/rule/RuleCondition.module.scss +5 -5
- package/lib/topoCenter/components/editor/LinkDynamicStyleSettingDrawer/rule/RuleCondition.scss +10 -10
- package/lib/topoCenter/components/editor/LinkDynamicStyleSettingDrawer/rule/RuleStyle.module.scss +3 -3
- package/lib/topoCenter/components/editor/plugins/LayerConfigPlugin.js +4 -4
- package/lib/topoCenter/components/editor/propertyViews/LayerRelatedResourceList.js +2 -2
- package/lib/topoCenter/components/editor/propertyViews/edge/addLinkDrawer/components/index.module.scss +34 -34
- package/lib/topoCenter/components/editor/propertyViews/edge/addLinkDrawer/index.module.scss +12 -12
- package/lib/topoCenter/components/editor/propertyViews/edge/addLinkDrawer/server.js +20 -20
- package/lib/topoCenter/components/editor/propertyViews/edge/link/LinkInfoPreview.module.scss +65 -65
- package/lib/topoCenter/components/viewer/displaySetting/LinkTagCommonRidioGroup.js +1 -0
- package/lib/topoCenter/components/viewer/displaySetting/LinkTagCommonRidioGroup.module.scss +22 -22
- package/lib/topoCenter/components/viewer/displaySetting/LinkTagV2.js +5 -7
- package/lib/topoCenter/hooks/editor/useDeleteEdges.js +5 -5
- package/lib/topoCenter/hooks/useLinkDynamicStyle.js +5 -5
- package/lib/topoCenter/hooks/viewer/useEdgeFlow.js +4 -4
- package/lib/topoCenter/hooks/viewer/useRelateTopo.js +12 -12
- package/lib/topoCenter/models/LinkDynamicStyleExecutor.js +5 -5
- package/lib/topoCenter/models/LinkTagsTipsBuilder.js +6 -6
- package/lib/topoCenter/models/TopoCenter.js +6 -6
- package/lib/topoCenter/services/link.js +20 -20
- package/lib/topoCenter/store/functionAuth.js +2 -2
- package/lib/topoCenter/store/linkDynamicStyle.js +30 -30
- package/lib/topoCenter/store/linkDynamicStyleConfig.js +5 -5
- package/lib/topoCenter/store/linkManager.js +2 -2
- package/lib/topoCenter/store/topoCenter.js +11 -11
- package/lib/topoCenter/store/topoLinkMod.js +2 -2
- package/lib/topoCenter/store/topoTreeMod.js +14 -14
- package/lib/topoCenter/utils/linPermissionUtil.js +7 -7
- package/lib/topoCenter/utils/resourcePermissionUtil.js +14 -14
- package/lib/utils/ResourceConfigUtil.js +5 -5
- package/lib/utils/clusterUtil.js +7 -7
- package/lib/utils/format.js +9 -9
- package/lib/utils/htElementUtils.js +42 -42
- package/lib/utils/resourceElementUtil.js +2 -2
- package/lib/utils/template.js +4 -4
- package/lib/utils/topoData.js +44 -44
- package/lib/utils/topoPermissionUtil.js +2 -2
- package/lib/utils/tree.js +20 -20
- package/package.json +2 -2
- package/public/icons/c_b_firewall.svg +318 -318
- package/public/icons/c_b_hub.svg +88 -88
- package/public/icons/c_b_server.svg +52 -52
- package/demo-mock/basic/mdc/v1/api/.DS_Store +0 -0
- package/demo-mock/basic/mdc/v1/api/cmdb/.DS_Store +0 -0
package/README.md
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
# Topology 拓扑
|
|
2
|
-
|
|
3
|
-
- 图形基础能力
|
|
4
|
-
- 内置告警、指标推送和配置,可自定义实现
|
|
5
|
-
-
|
|
6
|
-
|
|
7
|
-
### 安装
|
|
8
|
-
|
|
9
|
-
```sh
|
|
10
|
-
npm i @riil-frontend/component-topology --S
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
## 开发
|
|
14
|
-
|
|
1
|
+
# Topology 拓扑
|
|
2
|
+
|
|
3
|
+
- 图形基础能力
|
|
4
|
+
- 内置告警、指标推送和配置,可自定义实现
|
|
5
|
+
-
|
|
6
|
+
|
|
7
|
+
### 安装
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
npm i @riil-frontend/component-topology --S
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## 开发
|
|
14
|
+
|
|
15
15
|
- https://appworks.site/materials/guide/component.html#%E7%BB%84%E4%BB%B6%E5%B7%A5%E7%A8%8B%E9%85%8D%E7%BD%AE
|