@riil-frontend/component-topology 4.0.0-beta.3 → 4.0.0-beta.32
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/1.js +2 -2
- package/build/2.js +1 -1
- package/build/index.css +1 -1
- package/build/index.js +21 -21
- 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/.DS_Store +0 -0
- package/demo-mock/basic/mdc/v1/api/cmdb/.DS_Store +0 -0
- 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/utils.js +33 -33
- package/es/components/Drawer/Drawer.js +60 -0
- package/es/components/Drawer/index.js +1 -59
- 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 +15 -18
- 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/AlarmListItem.js +31 -1
- 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/hooks/useAlarmList.js +34 -0
- package/es/core/components/AlarmListPanel/index.js +27 -24
- package/es/core/components/AlarmListPanel/index.module.scss +142 -112
- package/es/core/components/DisplaySettingDrawer/DisplaySetting.js +5 -5
- 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 +4 -4
- package/es/core/components/DisplaySettingDrawer/NodeTip.js +4 -4
- package/es/core/components/DisplaySettingDrawer/ResourceDisplay/BasicConfig.js +7 -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/DisplaySettingDrawer/tagtip/CustomSettingDrawer/CustomSetting.js +25 -0
- package/es/core/components/DisplaySettingDrawer/tagtip/CustomSettingDrawer/CustomSettingDrawer.js +8 -0
- 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/ClusterGroupRelateData/ClusterGroupRelateData.js +8 -2
- package/es/core/editor/components/settings/propertyViews/group/DataTab/GroupNodeList.js +7 -5
- package/es/core/editor/components/settings/propertyViews/group/DataTab/hoooks/useGroupRelateResource.js +13 -12
- 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 +4 -7
- package/es/core/editor/components/settings/propertyViews/multipleElements/BatchSetNodeIcon.js +21 -0
- package/es/core/editor/components/settings/propertyViews/multipleElements/MultipleElementPropertyView.js +7 -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 +81 -67
- package/es/core/models/EdgeGroup.js +5 -5
- package/es/core/models/PluginManager.js +2 -2
- package/es/core/models/TopoApp.js +58 -53
- package/es/core/models/TopoGraphView.js +11 -11
- package/es/core/models/TopoViewer.js +2 -2
- package/es/core/models/attributeFormatter/index.js +9 -33
- package/es/core/models/cache/{CiTyeCache.js → CiTypeCache.js} +5 -3
- 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 +132 -0
- package/es/core/models/tagstips/utils.js +44 -0
- package/es/core/services/alarm.js +4 -4
- package/es/core/services/background.js +13 -13
- package/es/core/services/overview.js +43 -18
- package/es/core/services/topo.js +30 -0
- 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/ResourceDetail.js +33 -13
- 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/BaseInfo.js +5 -84
- package/es/core/viewer/components/plugins/ResourceDetail/components/ResourceOverview/BaseInfoBlock.js +13 -3
- 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 +238 -291
- package/es/core/viewer/components/plugins/ResourceDetail/components/ResourceOverview/ResourceOverviewMetric.js +8 -5
- package/es/core/viewer/components/plugins/ResourceDetail/components/ResourceOverview/SingleResourceStrategyLink.js +3 -2
- package/es/core/viewer/components/plugins/ResourceDetail/components/ResourceOverview/components/Configurator/index.js +41 -27
- package/es/core/viewer/components/plugins/ResourceDetail/components/ResourceOverview/components/Configurator/index.scss +91 -87
- 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 -135
- 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/BasicTools.js +5 -2
- 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 +8 -6
- 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 +63 -4
- package/es/hooks/useEventData.js +20 -0
- package/es/hooks/useGraphAlarmDisplay.js +34 -6
- package/es/hooks/useManageStatus.js +5 -5
- package/es/hooks/usePolling.js +6 -6
- package/es/hooks/useResourceConfig.js +28 -35
- package/es/hooks/useSelection.js +4 -6
- package/es/hooks/useTopoEdit.js +177 -122
- 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 +14 -10
- 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 +32 -32
- package/es/models/topoView.js +2 -2
- package/es/models/viewer/lock.js +2 -2
- package/es/style.js +1 -0
- 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 +4 -3
- package/es/topoCenter/components/Topology.js +4 -0
- 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 +4 -4
- 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 +23 -0
- package/es/topoCenter/components/viewer/displaySetting/LinkTagCommonRidioGroup.module.scss +23 -0
- package/es/topoCenter/components/viewer/displaySetting/LinkTagV2.js +88 -0
- package/es/topoCenter/getTopoData.js +24 -25
- package/es/topoCenter/hooks/editor/useDeleteEdges.js +5 -5
- package/es/topoCenter/hooks/editor/useGroupSortResources.js +16 -0
- package/es/topoCenter/hooks/useLinkDynamicStyle.js +8 -4
- 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 +8 -15
- 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/SortResourcesUtil.js +3 -3
- package/es/topoCenter/utils/exportData.js +13 -7
- package/es/topoCenter/utils/linPermissionUtil.js +7 -7
- package/es/topoCenter/utils/resourcePermissionUtil.js +14 -14
- package/es/utils/ResourceConfigUtil.js +9 -10
- package/es/utils/clusterUtil.js +16 -9
- package/es/utils/format.js +9 -9
- package/es/utils/htElementDataUtil.js +22 -1
- package/es/utils/htElementUtils.js +72 -35
- package/es/utils/resourceElementUtil.js +2 -2
- package/es/utils/template.js +4 -4
- package/es/utils/topoData.js +70 -62
- 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/utils.js +33 -33
- package/lib/components/Drawer/Drawer.js +73 -0
- package/lib/components/Drawer/index.js +2 -64
- 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 +15 -18
- 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/AlarmListItem.js +31 -1
- 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/hooks/useAlarmList.js +40 -0
- package/lib/core/components/AlarmListPanel/index.js +30 -24
- package/lib/core/components/AlarmListPanel/index.module.scss +142 -112
- package/lib/core/components/DisplaySettingDrawer/DisplaySetting.js +5 -5
- 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 +4 -4
- package/lib/core/components/DisplaySettingDrawer/NodeTip.js +4 -4
- package/lib/core/components/DisplaySettingDrawer/ResourceDisplay/BasicConfig.js +8 -4
- 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/DisplaySettingDrawer/tagtip/CustomSettingDrawer/CustomSetting.js +39 -0
- package/lib/core/components/DisplaySettingDrawer/tagtip/CustomSettingDrawer/CustomSettingDrawer.js +17 -0
- 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/ClusterGroupRelateData/ClusterGroupRelateData.js +8 -2
- package/lib/core/editor/components/settings/propertyViews/group/DataTab/GroupNodeList.js +7 -5
- package/lib/core/editor/components/settings/propertyViews/group/DataTab/hoooks/useGroupRelateResource.js +13 -13
- 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 +4 -7
- package/lib/core/editor/components/settings/propertyViews/multipleElements/BatchSetNodeIcon.js +31 -0
- package/lib/core/editor/components/settings/propertyViews/multipleElements/MultipleElementPropertyView.js +8 -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 +81 -67
- package/lib/core/models/EdgeGroup.js +5 -5
- package/lib/core/models/PluginManager.js +2 -2
- package/lib/core/models/TopoApp.js +56 -51
- package/lib/core/models/TopoGraphView.js +11 -11
- package/lib/core/models/TopoViewer.js +2 -2
- package/lib/core/models/attributeFormatter/index.js +9 -33
- package/lib/core/models/cache/{CiTyeCache.js → CiTypeCache.js} +5 -3
- 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 +142 -0
- package/lib/core/models/tagstips/utils.js +59 -0
- package/lib/core/services/alarm.js +4 -4
- package/lib/core/services/background.js +13 -13
- package/lib/core/services/overview.js +44 -18
- package/lib/core/services/topo.js +40 -0
- 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/ResourceDetail.js +33 -13
- 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/BaseInfo.js +4 -84
- package/lib/core/viewer/components/plugins/ResourceDetail/components/ResourceOverview/BaseInfoBlock.js +13 -3
- 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 +237 -291
- package/lib/core/viewer/components/plugins/ResourceDetail/components/ResourceOverview/ResourceOverviewMetric.js +8 -5
- package/lib/core/viewer/components/plugins/ResourceDetail/components/ResourceOverview/SingleResourceStrategyLink.js +3 -2
- package/lib/core/viewer/components/plugins/ResourceDetail/components/ResourceOverview/components/Configurator/index.js +42 -27
- package/lib/core/viewer/components/plugins/ResourceDetail/components/ResourceOverview/components/Configurator/index.scss +91 -87
- 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 -135
- 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/BasicTools.js +6 -2
- 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 +8 -6
- 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 +65 -4
- package/lib/hooks/useEventData.js +28 -0
- package/lib/hooks/useGraphAlarmDisplay.js +34 -6
- package/lib/hooks/useManageStatus.js +5 -5
- package/lib/hooks/usePolling.js +6 -6
- package/lib/hooks/useResourceConfig.js +28 -34
- package/lib/hooks/useSelection.js +3 -7
- package/lib/hooks/useTopoEdit.js +181 -121
- 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 +14 -10
- 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 +31 -32
- package/lib/models/topoView.js +2 -2
- package/lib/models/viewer/lock.js +2 -2
- package/lib/style.js +1 -0
- 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 +5 -3
- package/lib/topoCenter/components/Topology.js +5 -0
- 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 +3 -3
- 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 +34 -0
- package/lib/topoCenter/components/viewer/displaySetting/LinkTagCommonRidioGroup.module.scss +23 -0
- package/lib/topoCenter/components/viewer/displaySetting/LinkTagV2.js +104 -0
- package/lib/topoCenter/getTopoData.js +24 -25
- package/lib/topoCenter/hooks/editor/useDeleteEdges.js +5 -5
- package/lib/topoCenter/hooks/editor/useGroupSortResources.js +21 -0
- package/lib/topoCenter/hooks/useLinkDynamicStyle.js +7 -4
- 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 +8 -16
- 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/SortResourcesUtil.js +3 -3
- package/lib/topoCenter/utils/exportData.js +14 -7
- package/lib/topoCenter/utils/linPermissionUtil.js +7 -7
- package/lib/topoCenter/utils/resourcePermissionUtil.js +14 -14
- package/lib/utils/ResourceConfigUtil.js +9 -9
- package/lib/utils/clusterUtil.js +18 -9
- package/lib/utils/format.js +9 -9
- package/lib/utils/htElementDataUtil.js +38 -1
- package/lib/utils/htElementUtils.js +76 -35
- package/lib/utils/resourceElementUtil.js +2 -2
- package/lib/utils/template.js +4 -4
- package/lib/utils/topoData.js +74 -63
- package/lib/utils/topoPermissionUtil.js +2 -2
- package/lib/utils/tree.js +20 -20
- package/package.json +3 -3
- 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/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
|