@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.
Files changed (466) hide show
  1. package/README.md +14 -14
  2. package/build/index.js +11 -11
  3. package/demo/1/345/237/272/346/234/254/usage.md +11 -11
  4. package/demo/1/345/237/272/346/234/254//345/210/207/346/215/242/345/233/276/346/240/207.md +11 -11
  5. package/demo/1/345/237/272/346/234/254//345/221/212/350/255/246/346/216/250/351/200/201.md +15 -15
  6. 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
  7. 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
  8. 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
  9. 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
  10. 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
  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
  12. 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
  13. 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
  14. 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
  15. 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
  16. 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
  17. 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
  18. package/demo/3/346/213/223/346/211/221/344/270/255/345/277/203/js/TopoFull.jsx +74 -74
  19. package/demo/3/346/213/223/346/211/221/344/270/255/345/277/203/js/TopoViewer.jsx +97 -97
  20. 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
  21. 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
  22. package/demo/3/346/213/223/346/211/221/344/270/255/345/277/203/js/mock/model/v1/api/getAllDict +1028 -1028
  23. package/demo/3/346/213/223/346/211/221/344/270/255/345/277/203/js/mock/topo/v1/api/attributes/once +2595 -2595
  24. 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
  25. package/demo/3/346/213/223/346/211/221/344/270/255/345/277/203/js/mock/topo/v1/api/attributes/polling +2292 -2292
  26. 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
  27. package/demo/3/346/213/223/346/211/221/344/270/255/345/277/203/js/mock/topo/v1/api/menu +47 -47
  28. package/demo/3/346/213/223/346/211/221/344/270/255/345/277/203/js/mock/topo/v1/api/menu.json +47 -47
  29. 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
  30. 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
  31. 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
  32. package/demo/3/346/213/223/346/211/221/344/270/255/345/277/203/js/mock/topo/v1/api/structure/relationList +191 -191
  33. 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
  34. package/demo/3/346/213/223/346/211/221/344/270/255/345/277/203/js/request.js +7 -7
  35. 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
  36. 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
  37. 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
  38. 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
  39. 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
  40. 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
  41. 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
  42. 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
  43. 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
  44. package/demo/API//345/210/233/345/273/272/346/213/223/346/211/221/346/250/241/345/236/213.md +42 -42
  45. package/demo/API//345/270/203/345/261/200.md +16 -16
  46. package/demo/API//346/250/241/345/236/213.md +110 -110
  47. package/demo/API//347/273/204/344/273/266.md +66 -66
  48. package/demo/CHANGELOG/CHANGELOG.md +49 -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
  50. package/demo-mock/1.json +1 -1
  51. package/demo-mock/basic/cmdb/v1/api/authority/ci/commonQuery +739 -739
  52. package/demo-mock/basic/mdc/v1/api/cmdb/authority/commonQueryCiData +739 -739
  53. package/demo-mock/basic/mdc/v1/api/model-dict/list +508 -508
  54. package/demo-mock/basic/model/v1/api/getAllDict +1028 -1028
  55. package/demo-mock/basic/model/v1/api/modelTree +3888 -3888
  56. package/demo-mock/basic/topo/v1/api/attributes/once +10294 -10294
  57. package/demo-mock/basic/topo/v1/api/attributes/once.json +10294 -10294
  58. package/demo-mock/basic/topo/v1/api/attributes/polling +2293 -2293
  59. package/demo-mock/basic/topo/v1/api/attributes/polling.json +2293 -2293
  60. package/demo-mock/basic/topo/v1/api/menu +47 -47
  61. package/demo-mock/basic/topo/v1/api/menu.json +47 -47
  62. package/demo-mock/basic/topo/v1/api/structure/both/1 +2 -2
  63. package/demo-mock/basic/topo/v1/api/structure/both/2 +2 -2
  64. package/demo-mock/basic/topo/v1/api/structure/both/3 +2 -2
  65. package/demo-mock/basic/topo/v1/api/structure/byCondition/2 +1 -1
  66. package/demo-mock/basic/topo/v1/api/structure/relationList +1 -1
  67. package/es/common/components/ColorPicker/ColorPicker.module.scss +15 -15
  68. package/es/common/components/ColorPicker/ColorPicker.scss +11 -11
  69. package/es/common/components/ResourceTable/ResourceTable.module.scss +7 -7
  70. package/es/common/plugins/useSelectionPlugin.js +3 -3
  71. package/es/components/BatchAttrMetric/index.js +7 -7
  72. package/es/components/BatchAttrMetric/index.module.scss +76 -76
  73. package/es/components/BatchAttrMetric/setting.js +45 -7
  74. package/es/components/BatchAttrMetric/utils.js +33 -33
  75. package/es/components/Drawer/index.module.scss +41 -41
  76. package/es/components/FullheightTab/FullheightTab.module.scss +19 -19
  77. package/es/components/IndexSettingDrawer/index.module.scss +44 -44
  78. package/es/components/LayoutDirectionSelect/Item.module.scss +8 -8
  79. package/es/components/LayoutDirectionSelect/LayoutDirectionSelect.module.scss +5 -5
  80. package/es/components/LayoutSelect/LayoutSelect.module.scss +4 -4
  81. package/es/components/LayoutSelect/README.md +1 -1
  82. package/es/components/MultiResourceDrawer/Content.js +3 -3
  83. package/es/components/MultiResourceDrawer/ResourceCard/index.module.scss +14 -14
  84. package/es/components/MultiResourceDrawer/index.module.scss +3 -3
  85. package/es/components/ResourceList/ResourceSelect.module.scss +7 -7
  86. package/es/components/ResourceSelect/ResourceSelectDrawer.js +6 -6
  87. package/es/components/ResourceSelect/ResourceSelectDrawer.module.scss +13 -13
  88. package/es/components/ResourceSelectDrawer/ResourceSelectDrawer.js +6 -6
  89. package/es/components/ResourceSelectDrawer/ResourceSelectDrawer.module.scss +5 -5
  90. package/es/components/SingleResourceDrawer/SingleResourceDrawer.js +5 -5
  91. package/es/components/TagImageSelect/index.module.scss +7 -7
  92. package/es/components/TagSelect/index.scss +28 -28
  93. package/es/components/TemplateButton/assets/topo_layout_circular.svg +9 -9
  94. package/es/components/TemplateButton/assets/topo_layout_hierarchical.svg +9 -9
  95. package/es/components/TemplateButton/assets/topo_layout_toward.svg +15 -15
  96. package/es/components/TemplateButton/index.module.scss +53 -53
  97. package/es/components/collapse/Panel.js +14 -14
  98. package/es/components/collapse/Panel.module.scss +11 -11
  99. package/es/components/index.module.scss +31 -31
  100. package/es/constants/ResourceInfoDisplay.js +14 -14
  101. package/es/contextmenu/createMenuCommands.js +5 -5
  102. package/es/core/common/icons/icon.js +11 -11
  103. package/es/core/common/text.module.scss +5 -5
  104. package/es/core/components/AlarmListPanel/components/index.module.scss +7 -7
  105. package/es/core/components/AlarmListPanel/constants/uicbb.js +5 -5
  106. package/es/core/components/AlarmListPanel/index.module.scss +141 -141
  107. package/es/core/components/DisplaySettingDrawer/DisplaySetting.js +5 -5
  108. package/es/core/components/DisplaySettingDrawer/EdgeFlow.js +4 -6
  109. package/es/core/components/DisplaySettingDrawer/EdgeFlowDirection.js +3 -6
  110. package/es/core/components/DisplaySettingDrawer/LinkTag.js +4 -4
  111. package/es/core/components/DisplaySettingDrawer/LinkTip.js +4 -4
  112. package/es/core/components/DisplaySettingDrawer/NodeTag.js +7 -9
  113. package/es/core/components/DisplaySettingDrawer/NodeTip.js +7 -8
  114. package/es/core/components/DisplaySettingDrawer/ResourceDisplay/BasicConfig.js +3 -4
  115. package/es/core/components/DisplaySettingDrawer/ResourceDisplay/CommonCheckboxGroup.module.scss +22 -22
  116. package/es/core/components/DisplaySettingDrawer/ResourceDisplay/useElementTagTipConfig.js +2 -2
  117. package/es/core/components/ResourceViewAttributeSetting/Setting.js +4 -4
  118. package/es/core/components/TopoView/TopoView.module.scss +27 -27
  119. package/es/core/components/TopoView/topoView.js +5 -5
  120. package/es/core/components/titlebar/TitleBar.module.scss +37 -37
  121. package/es/core/createTopoApp.js +4 -4
  122. package/es/core/editor/components/BackgroundView/UploadDialog/index.js +2 -2
  123. package/es/core/editor/components/BackgroundView/UploadDialog/index.module.scss +8 -8
  124. package/es/core/editor/components/BackgroundView/index.module.scss +94 -94
  125. package/es/core/editor/components/CustomIconPlugin/UploadIconDialog.js +2 -2
  126. package/es/core/editor/components/CustomIconPlugin/UploadIconDialog.module.scss +3 -3
  127. package/es/core/editor/components/CustomIconPlugin/UploadIconDialog.scss +6 -6
  128. package/es/core/editor/components/GroupAddResourceDrawerPlugin/index.js +2 -2
  129. package/es/core/editor/components/settings/README.md +2 -2
  130. package/es/core/editor/components/settings/Settings.module.scss +80 -80
  131. package/es/core/editor/components/settings/common/AlignSetting/AlignSetting.module.scss +36 -36
  132. package/es/core/editor/components/settings/common/GroupNodeList/CollapseFullheight.module.scss +20 -20
  133. package/es/core/editor/components/settings/common/GroupNodeList/ResourceList.module.scss +49 -49
  134. package/es/core/editor/components/settings/common/LayoutSettings.module.scss +66 -66
  135. package/es/core/editor/components/settings/common/LineType/LineType.module.scss +33 -33
  136. package/es/core/editor/components/settings/common/NodeSizeInput/NodeSizeInput.js +4 -4
  137. package/es/core/editor/components/settings/common/SizeInput/NodeSizeInput.js +4 -4
  138. package/es/core/editor/components/settings/common/SizeInput/NodeSizeInput.module.scss +5 -5
  139. package/es/core/editor/components/settings/common/SizeInput/NodeSizeNumberPicker.js +5 -5
  140. package/es/core/editor/components/settings/common/SizeInput/img/icon_/350/247/243/351/224/201.svg +15 -15
  141. package/es/core/editor/components/settings/common/SizeInput/img/icon_/351/224/201.svg +14 -14
  142. package/es/core/editor/components/settings/common/tab/TabView.module.scss +29 -29
  143. package/es/core/editor/components/settings/common/text/FontStyleCheckbox.module.scss +31 -31
  144. package/es/core/editor/components/settings/common/text/img/bold.svg +11 -11
  145. package/es/core/editor/components/settings/common/text/img/italics.svg +9 -9
  146. package/es/core/editor/components/settings/common/text/img/underline.svg +11 -11
  147. package/es/core/editor/components/settings/propertyViews/edge/EdgePropertyView.js +2 -2
  148. package/es/core/editor/components/settings/propertyViews/group/DataTab/GroupNodeList.js +3 -3
  149. package/es/core/editor/components/settings/propertyViews/group/GroupPropertyView.module.scss +3 -3
  150. package/es/core/editor/components/settings/propertyViews/group/SettingTab/GroupExpandStatus.js +6 -6
  151. package/es/core/editor/components/settings/propertyViews/layer/DataTab/NodeList.js +2 -2
  152. package/es/core/editor/components/settings/propertyViews/multipleElements/MultipleElementPropertyView.js +2 -2
  153. package/es/core/editor/components/settings/propertyViews/node/NodePropertyView.module.scss +3 -3
  154. package/es/core/editor/components/settings/propertyViews/node/data/BindResourceDrawer.js +5 -5
  155. package/es/core/editor/components/settings/propertyViews/node/data/NodeRelateResourceButton.js +2 -2
  156. package/es/core/editor/components/settings/propertyViews/view/GlobalEdgeToggle.js +5 -5
  157. package/es/core/editor/components/settings/propertyViews/view/GlobalLayout.js +2 -2
  158. package/es/core/editor/components/settings/propertyViews/view/GlobalTootipSetting.js +4 -4
  159. package/es/core/hooks/useRouterAdapter.js +3 -3
  160. package/es/core/models/Alarm.js +33 -33
  161. package/es/core/models/AttributeMetricDisplay.js +57 -57
  162. package/es/core/models/EdgeGroup.js +5 -5
  163. package/es/core/models/PluginManager.js +2 -2
  164. package/es/core/models/TopoApp.js +47 -47
  165. package/es/core/models/TopoGraphView.js +11 -11
  166. package/es/core/models/TopoViewer.js +2 -2
  167. package/es/core/models/attributeFormatter/index.js +7 -7
  168. package/es/core/models/cache/CiTypeCache.js +2 -2
  169. package/es/core/models/cache/DictCache.js +2 -2
  170. package/es/core/models/graph/Background.js +2 -2
  171. package/es/core/models/tagstips/ElementTagTipConfig.js +4 -4
  172. package/es/core/models/tagstips/utils.js +4 -4
  173. package/es/core/models/utils/linkUtils.js +3 -1
  174. package/es/core/services/alarm.js +4 -4
  175. package/es/core/services/background.js +13 -13
  176. package/es/core/services/overview.js +20 -20
  177. package/es/core/utils/backgroundUtil.js +10 -10
  178. package/es/core/utils/edgeUtil.js +4 -4
  179. package/es/core/utils/imageUtil.js +3 -3
  180. package/es/core/utils/resourceUtil.js +3 -3
  181. package/es/core/utils/saveSerialize.js +4 -4
  182. package/es/core/viewer/components/plugins/ResourceDetail/components/ClusterMemberTable.js +2 -2
  183. package/es/core/viewer/components/plugins/ResourceDetail/components/ClusterMemberTable.module.scss +9 -9
  184. package/es/core/viewer/components/plugins/ResourceDetail/components/ResourceOverview/BlockBox.module.scss +29 -29
  185. package/es/core/viewer/components/plugins/ResourceDetail/components/ResourceOverview/ResourceOverview.js +2 -2
  186. package/es/core/viewer/components/plugins/ResourceDetail/components/ResourceOverview/components/Configurator/index.js +47 -32
  187. package/es/core/viewer/components/plugins/ResourceDetail/components/ResourceOverview/components/Configurator/index.scss +91 -91
  188. package/es/core/viewer/components/plugins/ResourceDetail/components/ResourceOverview/hooks/useMetricModels.js +3 -3
  189. package/es/core/viewer/components/plugins/ResourceDetail/components/ResourceOverview/index.module.scss +141 -141
  190. package/es/core/viewer/components/plugins/ResourceDetail/index.module.scss +36 -36
  191. package/es/core/viewer/components/plugins/ResourceWebControllUrlSettingDialog.module.scss +11 -11
  192. package/es/core/viewer/components/titlebar/widgets/AlarmListShowButton.js +4 -4
  193. package/es/core/viewer/components/titlebar/widgets/EditButton.js +2 -2
  194. package/es/core/viewer/components/titlebar/widgets/NodesDragSwitch.js +4 -4
  195. package/es/core/viewer/components/titlebar/widgets/SettingButton.js +4 -4
  196. package/es/core/viewer/components/titlebar/widgets/SettingButtonWidget.js +4 -4
  197. package/es/hooks/useAlarm.js +4 -4
  198. package/es/hooks/useGraphAlarmDisplay.js +4 -4
  199. package/es/hooks/useManageStatus.js +5 -5
  200. package/es/hooks/usePolling.js +6 -6
  201. package/es/hooks/useResourceConfig.js +22 -22
  202. package/es/hooks/useSelection.js +2 -2
  203. package/es/hooks/useTopoEdit.js +84 -84
  204. package/es/index.scss +4 -4
  205. package/es/models/background.js +7 -7
  206. package/es/models/customIcon.js +6 -6
  207. package/es/models/displayConfig.js +8 -8
  208. package/es/models/resourceWebControllUrlSetting.js +2 -2
  209. package/es/models/selection.js +2 -2
  210. package/es/models/topoAlarm.js +7 -7
  211. package/es/models/topoBaseInfoOverview.js +2 -2
  212. package/es/models/topoBizMod.js +6 -6
  213. package/es/models/topoConfig.js +11 -11
  214. package/es/models/topoEdit.js +2 -2
  215. package/es/models/topoGraphView.js +2 -2
  216. package/es/models/topoMod.js +27 -26
  217. package/es/models/topoView.js +2 -2
  218. package/es/models/viewer/lock.js +2 -2
  219. package/es/topoCenter/components/Link/hook.js +19 -19
  220. package/es/topoCenter/components/Link/index copy.js +3 -3
  221. package/es/topoCenter/components/Link/index.js +3 -3
  222. package/es/topoCenter/components/Link/index.module.scss +86 -86
  223. package/es/topoCenter/components/TopoView.js +2 -2
  224. package/es/topoCenter/components/editor/LinkDynamicStyleSettingDrawer/RuleSetting.module.scss +3 -3
  225. package/es/topoCenter/components/editor/LinkDynamicStyleSettingDrawer/rule/Rule.module.scss +36 -36
  226. package/es/topoCenter/components/editor/LinkDynamicStyleSettingDrawer/rule/RuleCondition.module.scss +5 -5
  227. package/es/topoCenter/components/editor/LinkDynamicStyleSettingDrawer/rule/RuleCondition.scss +10 -10
  228. package/es/topoCenter/components/editor/LinkDynamicStyleSettingDrawer/rule/RuleStyle.module.scss +3 -3
  229. package/es/topoCenter/components/editor/plugins/LayerConfigPlugin.js +4 -4
  230. package/es/topoCenter/components/editor/propertyViews/LayerRelatedResourceList.js +2 -2
  231. package/es/topoCenter/components/editor/propertyViews/edge/addLinkDrawer/components/index.module.scss +34 -34
  232. package/es/topoCenter/components/editor/propertyViews/edge/addLinkDrawer/index.module.scss +12 -12
  233. package/es/topoCenter/components/editor/propertyViews/edge/addLinkDrawer/server.js +20 -20
  234. package/es/topoCenter/components/editor/propertyViews/edge/link/LinkInfoPreview.module.scss +65 -65
  235. package/es/topoCenter/components/viewer/displaySetting/LinkTagCommonRidioGroup.js +1 -0
  236. package/es/topoCenter/components/viewer/displaySetting/LinkTagCommonRidioGroup.module.scss +22 -22
  237. package/es/topoCenter/components/viewer/displaySetting/LinkTagV2.js +5 -6
  238. package/es/topoCenter/hooks/editor/useDeleteEdges.js +5 -5
  239. package/es/topoCenter/hooks/useLinkDynamicStyle.js +5 -5
  240. package/es/topoCenter/hooks/viewer/useEdgeFlow.js +4 -4
  241. package/es/topoCenter/hooks/viewer/useRelateTopo.js +12 -12
  242. package/es/topoCenter/models/LinkDynamicStyleExecutor.js +5 -5
  243. package/es/topoCenter/models/LinkTagsTipsBuilder.js +6 -6
  244. package/es/topoCenter/models/TopoCenter.js +6 -6
  245. package/es/topoCenter/services/link.js +20 -20
  246. package/es/topoCenter/store/functionAuth.js +2 -2
  247. package/es/topoCenter/store/linkDynamicStyle.js +30 -30
  248. package/es/topoCenter/store/linkDynamicStyleConfig.js +5 -5
  249. package/es/topoCenter/store/linkManager.js +2 -2
  250. package/es/topoCenter/store/topoCenter.js +11 -11
  251. package/es/topoCenter/store/topoLinkMod.js +2 -2
  252. package/es/topoCenter/store/topoTreeMod.js +14 -14
  253. package/es/topoCenter/utils/linPermissionUtil.js +7 -7
  254. package/es/topoCenter/utils/resourcePermissionUtil.js +14 -14
  255. package/es/utils/ResourceConfigUtil.js +5 -5
  256. package/es/utils/clusterUtil.js +7 -7
  257. package/es/utils/format.js +9 -9
  258. package/es/utils/htElementUtils.js +42 -42
  259. package/es/utils/resourceElementUtil.js +2 -2
  260. package/es/utils/template.js +4 -4
  261. package/es/utils/topoData.js +44 -44
  262. package/es/utils/topoPermissionUtil.js +2 -2
  263. package/es/utils/tree.js +20 -20
  264. package/lib/common/components/ColorPicker/ColorPicker.module.scss +15 -15
  265. package/lib/common/components/ColorPicker/ColorPicker.scss +11 -11
  266. package/lib/common/components/ResourceTable/ResourceTable.module.scss +7 -7
  267. package/lib/common/plugins/useSelectionPlugin.js +3 -3
  268. package/lib/components/BatchAttrMetric/index.js +7 -7
  269. package/lib/components/BatchAttrMetric/index.module.scss +76 -76
  270. package/lib/components/BatchAttrMetric/setting.js +45 -6
  271. package/lib/components/BatchAttrMetric/utils.js +33 -33
  272. package/lib/components/Drawer/index.module.scss +41 -41
  273. package/lib/components/FullheightTab/FullheightTab.module.scss +19 -19
  274. package/lib/components/IndexSettingDrawer/index.module.scss +44 -44
  275. package/lib/components/LayoutDirectionSelect/Item.module.scss +8 -8
  276. package/lib/components/LayoutDirectionSelect/LayoutDirectionSelect.module.scss +5 -5
  277. package/lib/components/LayoutSelect/LayoutSelect.module.scss +4 -4
  278. package/lib/components/LayoutSelect/README.md +1 -1
  279. package/lib/components/MultiResourceDrawer/Content.js +3 -3
  280. package/lib/components/MultiResourceDrawer/ResourceCard/index.module.scss +14 -14
  281. package/lib/components/MultiResourceDrawer/index.module.scss +3 -3
  282. package/lib/components/ResourceList/ResourceSelect.module.scss +7 -7
  283. package/lib/components/ResourceSelect/ResourceSelectDrawer.js +6 -6
  284. package/lib/components/ResourceSelect/ResourceSelectDrawer.module.scss +13 -13
  285. package/lib/components/ResourceSelectDrawer/ResourceSelectDrawer.js +6 -6
  286. package/lib/components/ResourceSelectDrawer/ResourceSelectDrawer.module.scss +5 -5
  287. package/lib/components/SingleResourceDrawer/SingleResourceDrawer.js +5 -5
  288. package/lib/components/TagImageSelect/index.module.scss +7 -7
  289. package/lib/components/TagSelect/index.scss +28 -28
  290. package/lib/components/TemplateButton/assets/topo_layout_circular.svg +9 -9
  291. package/lib/components/TemplateButton/assets/topo_layout_hierarchical.svg +9 -9
  292. package/lib/components/TemplateButton/assets/topo_layout_toward.svg +15 -15
  293. package/lib/components/TemplateButton/index.module.scss +53 -53
  294. package/lib/components/collapse/Panel.js +14 -14
  295. package/lib/components/collapse/Panel.module.scss +11 -11
  296. package/lib/components/index.module.scss +31 -31
  297. package/lib/constants/ResourceInfoDisplay.js +14 -14
  298. package/lib/contextmenu/createMenuCommands.js +5 -5
  299. package/lib/core/common/icons/icon.js +11 -11
  300. package/lib/core/common/text.module.scss +5 -5
  301. package/lib/core/components/AlarmListPanel/components/index.module.scss +7 -7
  302. package/lib/core/components/AlarmListPanel/constants/uicbb.js +5 -5
  303. package/lib/core/components/AlarmListPanel/index.module.scss +141 -141
  304. package/lib/core/components/DisplaySettingDrawer/DisplaySetting.js +5 -5
  305. package/lib/core/components/DisplaySettingDrawer/EdgeFlow.js +4 -6
  306. package/lib/core/components/DisplaySettingDrawer/EdgeFlowDirection.js +3 -6
  307. package/lib/core/components/DisplaySettingDrawer/LinkTag.js +4 -4
  308. package/lib/core/components/DisplaySettingDrawer/LinkTip.js +4 -4
  309. package/lib/core/components/DisplaySettingDrawer/NodeTag.js +7 -10
  310. package/lib/core/components/DisplaySettingDrawer/NodeTip.js +7 -9
  311. package/lib/core/components/DisplaySettingDrawer/ResourceDisplay/BasicConfig.js +3 -5
  312. package/lib/core/components/DisplaySettingDrawer/ResourceDisplay/CommonCheckboxGroup.module.scss +22 -22
  313. package/lib/core/components/DisplaySettingDrawer/ResourceDisplay/useElementTagTipConfig.js +2 -2
  314. package/lib/core/components/ResourceViewAttributeSetting/Setting.js +4 -4
  315. package/lib/core/components/TopoView/TopoView.module.scss +27 -27
  316. package/lib/core/components/TopoView/topoView.js +5 -5
  317. package/lib/core/components/titlebar/TitleBar.module.scss +37 -37
  318. package/lib/core/createTopoApp.js +4 -4
  319. package/lib/core/editor/components/BackgroundView/UploadDialog/index.js +2 -2
  320. package/lib/core/editor/components/BackgroundView/UploadDialog/index.module.scss +8 -8
  321. package/lib/core/editor/components/BackgroundView/index.module.scss +94 -94
  322. package/lib/core/editor/components/CustomIconPlugin/UploadIconDialog.js +2 -2
  323. package/lib/core/editor/components/CustomIconPlugin/UploadIconDialog.module.scss +3 -3
  324. package/lib/core/editor/components/CustomIconPlugin/UploadIconDialog.scss +6 -6
  325. package/lib/core/editor/components/GroupAddResourceDrawerPlugin/index.js +2 -2
  326. package/lib/core/editor/components/settings/README.md +2 -2
  327. package/lib/core/editor/components/settings/Settings.module.scss +80 -80
  328. package/lib/core/editor/components/settings/common/AlignSetting/AlignSetting.module.scss +36 -36
  329. package/lib/core/editor/components/settings/common/GroupNodeList/CollapseFullheight.module.scss +20 -20
  330. package/lib/core/editor/components/settings/common/GroupNodeList/ResourceList.module.scss +49 -49
  331. package/lib/core/editor/components/settings/common/LayoutSettings.module.scss +66 -66
  332. package/lib/core/editor/components/settings/common/LineType/LineType.module.scss +33 -33
  333. package/lib/core/editor/components/settings/common/NodeSizeInput/NodeSizeInput.js +4 -4
  334. package/lib/core/editor/components/settings/common/SizeInput/NodeSizeInput.js +4 -4
  335. package/lib/core/editor/components/settings/common/SizeInput/NodeSizeInput.module.scss +5 -5
  336. package/lib/core/editor/components/settings/common/SizeInput/NodeSizeNumberPicker.js +5 -5
  337. package/lib/core/editor/components/settings/common/SizeInput/img/icon_/350/247/243/351/224/201.svg +15 -15
  338. package/lib/core/editor/components/settings/common/SizeInput/img/icon_/351/224/201.svg +14 -14
  339. package/lib/core/editor/components/settings/common/tab/TabView.module.scss +29 -29
  340. package/lib/core/editor/components/settings/common/text/FontStyleCheckbox.module.scss +31 -31
  341. package/lib/core/editor/components/settings/common/text/img/bold.svg +11 -11
  342. package/lib/core/editor/components/settings/common/text/img/italics.svg +9 -9
  343. package/lib/core/editor/components/settings/common/text/img/underline.svg +11 -11
  344. package/lib/core/editor/components/settings/propertyViews/edge/EdgePropertyView.js +2 -2
  345. package/lib/core/editor/components/settings/propertyViews/group/DataTab/GroupNodeList.js +3 -3
  346. package/lib/core/editor/components/settings/propertyViews/group/GroupPropertyView.module.scss +3 -3
  347. package/lib/core/editor/components/settings/propertyViews/group/SettingTab/GroupExpandStatus.js +6 -6
  348. package/lib/core/editor/components/settings/propertyViews/layer/DataTab/NodeList.js +2 -2
  349. package/lib/core/editor/components/settings/propertyViews/multipleElements/MultipleElementPropertyView.js +2 -2
  350. package/lib/core/editor/components/settings/propertyViews/node/NodePropertyView.module.scss +3 -3
  351. package/lib/core/editor/components/settings/propertyViews/node/data/BindResourceDrawer.js +5 -5
  352. package/lib/core/editor/components/settings/propertyViews/node/data/NodeRelateResourceButton.js +2 -2
  353. package/lib/core/editor/components/settings/propertyViews/view/GlobalEdgeToggle.js +5 -5
  354. package/lib/core/editor/components/settings/propertyViews/view/GlobalLayout.js +2 -2
  355. package/lib/core/editor/components/settings/propertyViews/view/GlobalTootipSetting.js +4 -4
  356. package/lib/core/hooks/useRouterAdapter.js +3 -3
  357. package/lib/core/models/Alarm.js +33 -33
  358. package/lib/core/models/AttributeMetricDisplay.js +57 -57
  359. package/lib/core/models/EdgeGroup.js +5 -5
  360. package/lib/core/models/PluginManager.js +2 -2
  361. package/lib/core/models/TopoApp.js +47 -47
  362. package/lib/core/models/TopoGraphView.js +11 -11
  363. package/lib/core/models/TopoViewer.js +2 -2
  364. package/lib/core/models/attributeFormatter/index.js +7 -7
  365. package/lib/core/models/cache/CiTypeCache.js +2 -2
  366. package/lib/core/models/cache/DictCache.js +2 -2
  367. package/lib/core/models/graph/Background.js +2 -2
  368. package/lib/core/models/tagstips/ElementTagTipConfig.js +4 -4
  369. package/lib/core/models/tagstips/utils.js +4 -4
  370. package/lib/core/models/utils/linkUtils.js +3 -1
  371. package/lib/core/services/alarm.js +4 -4
  372. package/lib/core/services/background.js +13 -13
  373. package/lib/core/services/overview.js +20 -20
  374. package/lib/core/utils/backgroundUtil.js +10 -10
  375. package/lib/core/utils/edgeUtil.js +4 -4
  376. package/lib/core/utils/imageUtil.js +3 -3
  377. package/lib/core/utils/resourceUtil.js +3 -3
  378. package/lib/core/utils/saveSerialize.js +4 -4
  379. package/lib/core/viewer/components/plugins/ResourceDetail/components/ClusterMemberTable.js +2 -2
  380. package/lib/core/viewer/components/plugins/ResourceDetail/components/ClusterMemberTable.module.scss +9 -9
  381. package/lib/core/viewer/components/plugins/ResourceDetail/components/ResourceOverview/BlockBox.module.scss +29 -29
  382. package/lib/core/viewer/components/plugins/ResourceDetail/components/ResourceOverview/ResourceOverview.js +2 -2
  383. package/lib/core/viewer/components/plugins/ResourceDetail/components/ResourceOverview/components/Configurator/index.js +47 -32
  384. package/lib/core/viewer/components/plugins/ResourceDetail/components/ResourceOverview/components/Configurator/index.scss +91 -91
  385. package/lib/core/viewer/components/plugins/ResourceDetail/components/ResourceOverview/hooks/useMetricModels.js +3 -3
  386. package/lib/core/viewer/components/plugins/ResourceDetail/components/ResourceOverview/index.module.scss +141 -141
  387. package/lib/core/viewer/components/plugins/ResourceDetail/index.module.scss +36 -36
  388. package/lib/core/viewer/components/plugins/ResourceWebControllUrlSettingDialog.module.scss +11 -11
  389. package/lib/core/viewer/components/titlebar/widgets/AlarmListShowButton.js +4 -4
  390. package/lib/core/viewer/components/titlebar/widgets/EditButton.js +2 -2
  391. package/lib/core/viewer/components/titlebar/widgets/NodesDragSwitch.js +4 -4
  392. package/lib/core/viewer/components/titlebar/widgets/SettingButton.js +4 -4
  393. package/lib/core/viewer/components/titlebar/widgets/SettingButtonWidget.js +4 -4
  394. package/lib/hooks/useAlarm.js +4 -4
  395. package/lib/hooks/useGraphAlarmDisplay.js +4 -4
  396. package/lib/hooks/useManageStatus.js +5 -5
  397. package/lib/hooks/usePolling.js +6 -6
  398. package/lib/hooks/useResourceConfig.js +22 -22
  399. package/lib/hooks/useSelection.js +2 -2
  400. package/lib/hooks/useTopoEdit.js +84 -84
  401. package/lib/index.scss +4 -4
  402. package/lib/models/background.js +7 -7
  403. package/lib/models/customIcon.js +6 -6
  404. package/lib/models/displayConfig.js +8 -8
  405. package/lib/models/resourceWebControllUrlSetting.js +2 -2
  406. package/lib/models/selection.js +2 -2
  407. package/lib/models/topoAlarm.js +7 -7
  408. package/lib/models/topoBaseInfoOverview.js +2 -2
  409. package/lib/models/topoBizMod.js +6 -6
  410. package/lib/models/topoConfig.js +11 -11
  411. package/lib/models/topoEdit.js +2 -2
  412. package/lib/models/topoGraphView.js +2 -2
  413. package/lib/models/topoMod.js +27 -26
  414. package/lib/models/topoView.js +2 -2
  415. package/lib/models/viewer/lock.js +2 -2
  416. package/lib/topoCenter/components/Link/hook.js +19 -19
  417. package/lib/topoCenter/components/Link/index copy.js +3 -3
  418. package/lib/topoCenter/components/Link/index.js +3 -3
  419. package/lib/topoCenter/components/Link/index.module.scss +86 -86
  420. package/lib/topoCenter/components/TopoView.js +2 -2
  421. package/lib/topoCenter/components/editor/LinkDynamicStyleSettingDrawer/RuleSetting.module.scss +3 -3
  422. package/lib/topoCenter/components/editor/LinkDynamicStyleSettingDrawer/rule/Rule.module.scss +36 -36
  423. package/lib/topoCenter/components/editor/LinkDynamicStyleSettingDrawer/rule/RuleCondition.module.scss +5 -5
  424. package/lib/topoCenter/components/editor/LinkDynamicStyleSettingDrawer/rule/RuleCondition.scss +10 -10
  425. package/lib/topoCenter/components/editor/LinkDynamicStyleSettingDrawer/rule/RuleStyle.module.scss +3 -3
  426. package/lib/topoCenter/components/editor/plugins/LayerConfigPlugin.js +4 -4
  427. package/lib/topoCenter/components/editor/propertyViews/LayerRelatedResourceList.js +2 -2
  428. package/lib/topoCenter/components/editor/propertyViews/edge/addLinkDrawer/components/index.module.scss +34 -34
  429. package/lib/topoCenter/components/editor/propertyViews/edge/addLinkDrawer/index.module.scss +12 -12
  430. package/lib/topoCenter/components/editor/propertyViews/edge/addLinkDrawer/server.js +20 -20
  431. package/lib/topoCenter/components/editor/propertyViews/edge/link/LinkInfoPreview.module.scss +65 -65
  432. package/lib/topoCenter/components/viewer/displaySetting/LinkTagCommonRidioGroup.js +1 -0
  433. package/lib/topoCenter/components/viewer/displaySetting/LinkTagCommonRidioGroup.module.scss +22 -22
  434. package/lib/topoCenter/components/viewer/displaySetting/LinkTagV2.js +5 -7
  435. package/lib/topoCenter/hooks/editor/useDeleteEdges.js +5 -5
  436. package/lib/topoCenter/hooks/useLinkDynamicStyle.js +5 -5
  437. package/lib/topoCenter/hooks/viewer/useEdgeFlow.js +4 -4
  438. package/lib/topoCenter/hooks/viewer/useRelateTopo.js +12 -12
  439. package/lib/topoCenter/models/LinkDynamicStyleExecutor.js +5 -5
  440. package/lib/topoCenter/models/LinkTagsTipsBuilder.js +6 -6
  441. package/lib/topoCenter/models/TopoCenter.js +6 -6
  442. package/lib/topoCenter/services/link.js +20 -20
  443. package/lib/topoCenter/store/functionAuth.js +2 -2
  444. package/lib/topoCenter/store/linkDynamicStyle.js +30 -30
  445. package/lib/topoCenter/store/linkDynamicStyleConfig.js +5 -5
  446. package/lib/topoCenter/store/linkManager.js +2 -2
  447. package/lib/topoCenter/store/topoCenter.js +11 -11
  448. package/lib/topoCenter/store/topoLinkMod.js +2 -2
  449. package/lib/topoCenter/store/topoTreeMod.js +14 -14
  450. package/lib/topoCenter/utils/linPermissionUtil.js +7 -7
  451. package/lib/topoCenter/utils/resourcePermissionUtil.js +14 -14
  452. package/lib/utils/ResourceConfigUtil.js +5 -5
  453. package/lib/utils/clusterUtil.js +7 -7
  454. package/lib/utils/format.js +9 -9
  455. package/lib/utils/htElementUtils.js +42 -42
  456. package/lib/utils/resourceElementUtil.js +2 -2
  457. package/lib/utils/template.js +4 -4
  458. package/lib/utils/topoData.js +44 -44
  459. package/lib/utils/topoPermissionUtil.js +2 -2
  460. package/lib/utils/tree.js +20 -20
  461. package/package.json +2 -2
  462. package/public/icons/c_b_firewall.svg +318 -318
  463. package/public/icons/c_b_hub.svg +88 -88
  464. package/public/icons/c_b_server.svg +52 -52
  465. package/demo-mock/basic/mdc/v1/api/.DS_Store +0 -0
  466. 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