@riil-frontend/component-topology 2.5.6 → 2.7.1

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 (463) hide show
  1. package/build/1.js +2 -2
  2. package/build/2.js +1 -1
  3. package/build/index.css +2 -3
  4. package/build/index.js +32 -32
  5. package/es/components/BatchAttrMetric/setting.js +2 -2
  6. package/es/components/FormTable/index.js +1 -1
  7. package/es/components/IndexSettingDrawer/IndexList.js +2 -2
  8. package/es/components/Link/hook.js +1 -1
  9. package/es/components/Link/index.js +1 -1
  10. package/es/components/MultiResourceDrawer/Dynamic.js +1 -1
  11. package/es/components/MultiResourceDrawer/index.js +1 -1
  12. package/es/components/ResourceList/ResourceSelect.js +3 -3
  13. package/es/core/components/TopoView/Topo404.js +1 -1
  14. package/es/core/components/TopoView/TopoContent.js +1 -1
  15. package/es/core/components/TopoView/TopoNoPermission.js +1 -1
  16. package/es/core/components/TopoView/topoView.js +1 -1
  17. package/es/core/editor/components/LinkDynamicStyleSettingDrawer/index.js +1 -1
  18. package/es/core/editor/components/ResourceViewAttributeSetting/Setting.js +1 -1
  19. package/es/core/editor/components/iconManage/UploadIconDialog.js +1 -1
  20. package/es/core/editor/components/settings/common/NodeSizeInput/NodeSizeInput.js +2 -2
  21. package/es/core/editor/components/settings/common/NodeSizeInput/img/icon_/350/247/243/351/224/201.svg +15 -15
  22. package/es/core/editor/components/settings/common/NodeSizeInput/img/icon_/351/224/201.svg +14 -14
  23. package/es/core/editor/components/settings/common/text/TextStyle.js +6 -0
  24. package/es/core/editor/components/settings/common/text/img/bold.svg +11 -11
  25. package/es/core/editor/components/settings/common/text/img/italics.svg +9 -9
  26. package/es/core/editor/components/settings/common/text/img/underline.svg +11 -11
  27. package/es/core/editor/components/settings/text/TextPropertyView.js +19 -15
  28. package/es/core/models/TopoApp.js +3 -3
  29. package/es/core/models/attrAndMetric.js +1 -1
  30. package/es/core/models/cache/CiTyeCache.js +1 -1
  31. package/es/core/models/cache/DictCache.js +1 -1
  32. package/es/core/models/common/Alarm.js +2 -2
  33. package/es/core/models/plugins/resourceWebControllUrl.js +2 -2
  34. package/es/core/models/utils/linkUtils.js +1 -1
  35. package/es/core/utils/showMessage.js +1 -1
  36. package/es/core/viewer/components/plugins/ResourceDetail/topoDrawer.js +2 -2
  37. package/es/hooks/useAlarm.js +1 -1
  38. package/es/hooks/useContainerLinkTopo.js +1 -1
  39. package/es/hooks/usePolling.js +1 -1
  40. package/es/hooks/useTopoEdit.js +2 -2
  41. package/es/models/ciModel.js +1 -1
  42. package/es/models/iconManage.js +2 -2
  43. package/es/models/linkDynamicStyle.js +1 -1
  44. package/es/models/linkManager.js +2 -2
  45. package/es/models/resourceWebControllUrlSetting.js +2 -2
  46. package/es/models/topoAlarm.js +1 -2
  47. package/es/models/topoBizMod.js +4 -4
  48. package/es/models/topoCreateMod.js +2 -2
  49. package/es/models/topoEdit.js +2 -2
  50. package/es/models/topoGraphView.js +2 -2
  51. package/es/models/topoMod.js +3 -3
  52. package/es/models/topoView.js +2 -2
  53. package/es/style.js +1 -0
  54. package/es/topoCenter/components/Topology.js +1 -1
  55. package/es/topoCenter/getTopoData.js +1 -1
  56. package/es/topoCenter/store/functionAuth.js +3 -3
  57. package/es/topoCenter/store/topoCenter.js +2 -2
  58. package/es/topoCenter/store/topoTreeMod.js +2 -2
  59. package/es/utils/format.js +1 -1
  60. package/es/utils/topoData.js +1 -1
  61. package/es/utils/tree.js +0 -1
  62. package/lib/components/BatchAttrMetric/setting.js +2 -2
  63. package/lib/components/FormTable/index.js +1 -1
  64. package/lib/components/IndexSettingDrawer/IndexList.js +2 -2
  65. package/lib/components/Link/hook.js +1 -1
  66. package/lib/components/Link/index.js +1 -1
  67. package/lib/components/MultiResourceDrawer/Dynamic.js +1 -1
  68. package/lib/components/MultiResourceDrawer/index.js +1 -1
  69. package/lib/components/ResourceList/ResourceSelect.js +3 -3
  70. package/lib/core/components/TopoView/Topo404.js +1 -1
  71. package/lib/core/components/TopoView/TopoContent.js +1 -1
  72. package/lib/core/components/TopoView/TopoNoPermission.js +1 -1
  73. package/lib/core/components/TopoView/topoView.js +1 -1
  74. package/lib/core/editor/components/LinkDynamicStyleSettingDrawer/index.js +1 -1
  75. package/lib/core/editor/components/ResourceViewAttributeSetting/Setting.js +1 -1
  76. package/lib/core/editor/components/iconManage/UploadIconDialog.js +1 -1
  77. package/lib/core/editor/components/settings/common/NodeSizeInput/NodeSizeInput.js +2 -2
  78. package/lib/core/editor/components/settings/common/NodeSizeInput/img/icon_/350/247/243/351/224/201.svg +15 -15
  79. package/lib/core/editor/components/settings/common/NodeSizeInput/img/icon_/351/224/201.svg +14 -14
  80. package/lib/core/editor/components/settings/common/text/TextStyle.js +6 -0
  81. package/lib/core/editor/components/settings/common/text/img/bold.svg +11 -11
  82. package/lib/core/editor/components/settings/common/text/img/italics.svg +9 -9
  83. package/lib/core/editor/components/settings/common/text/img/underline.svg +11 -11
  84. package/lib/core/editor/components/settings/text/TextPropertyView.js +19 -15
  85. package/lib/core/models/TopoApp.js +4 -4
  86. package/lib/core/models/attrAndMetric.js +1 -1
  87. package/lib/core/models/cache/CiTyeCache.js +1 -1
  88. package/lib/core/models/cache/DictCache.js +1 -1
  89. package/lib/core/models/common/Alarm.js +2 -2
  90. package/lib/core/models/plugins/resourceWebControllUrl.js +2 -2
  91. package/lib/core/models/utils/linkUtils.js +1 -1
  92. package/lib/core/utils/showMessage.js +1 -1
  93. package/lib/core/viewer/components/plugins/ResourceDetail/topoDrawer.js +2 -2
  94. package/lib/hooks/useAlarm.js +1 -1
  95. package/lib/hooks/useContainerLinkTopo.js +1 -1
  96. package/lib/hooks/usePolling.js +1 -1
  97. package/lib/hooks/useTopoEdit.js +2 -2
  98. package/lib/models/ciModel.js +1 -1
  99. package/lib/models/iconManage.js +2 -2
  100. package/lib/models/linkDynamicStyle.js +1 -1
  101. package/lib/models/linkManager.js +2 -2
  102. package/lib/models/resourceWebControllUrlSetting.js +2 -2
  103. package/lib/models/topoAlarm.js +1 -3
  104. package/lib/models/topoBizMod.js +4 -4
  105. package/lib/models/topoCreateMod.js +2 -2
  106. package/lib/models/topoEdit.js +2 -2
  107. package/lib/models/topoGraphView.js +2 -2
  108. package/lib/models/topoMod.js +3 -3
  109. package/lib/models/topoView.js +2 -2
  110. package/lib/style.js +1 -0
  111. package/lib/topoCenter/components/Topology.js +1 -1
  112. package/lib/topoCenter/getTopoData.js +1 -1
  113. package/lib/topoCenter/store/functionAuth.js +3 -3
  114. package/lib/topoCenter/store/topoCenter.js +2 -2
  115. package/lib/topoCenter/store/topoTreeMod.js +2 -2
  116. package/lib/utils/format.js +1 -1
  117. package/lib/utils/topoData.js +1 -1
  118. package/lib/utils/tree.js +0 -1
  119. package/package.json +22 -21
  120. package/es/common/components/ResourceTable/ResourceTable.d.ts +0 -2
  121. package/es/common/plugins/useSelectionPlugin.d.ts +0 -23
  122. package/es/components/BatchAttrMetric/constant.d.ts +0 -30
  123. package/es/components/BatchAttrMetric/index.d.ts +0 -5
  124. package/es/components/BatchAttrMetric/setting.d.ts +0 -6
  125. package/es/components/BatchAttrMetric/utils.d.ts +0 -35
  126. package/es/components/Drawer/index.d.ts +0 -2
  127. package/es/components/FormTable/index.d.ts +0 -2
  128. package/es/components/IndexSettingDrawer/CiList.d.ts +0 -2
  129. package/es/components/IndexSettingDrawer/CiListItem.d.ts +0 -2
  130. package/es/components/IndexSettingDrawer/IndexList.d.ts +0 -2
  131. package/es/components/IndexSettingDrawer/index.d.ts +0 -2
  132. package/es/components/Link/form.d.ts +0 -2
  133. package/es/components/Link/hook.d.ts +0 -26
  134. package/es/components/Link/index.d.ts +0 -6
  135. package/es/components/Link/setting.d.ts +0 -8
  136. package/es/components/MultiResourceDrawer/Content.d.ts +0 -2
  137. package/es/components/MultiResourceDrawer/Dynamic.d.ts +0 -2
  138. package/es/components/MultiResourceDrawer/ResourceCard/index.d.ts +0 -2
  139. package/es/components/MultiResourceDrawer/ResourceSelect.d.ts +0 -2
  140. package/es/components/MultiResourceDrawer/Static.d.ts +0 -2
  141. package/es/components/MultiResourceDrawer/index.d.ts +0 -2
  142. package/es/components/ResourceList/ResourceSelect.d.ts +0 -2
  143. package/es/components/ResourceList/ResourceSelectConnect.d.ts +0 -2
  144. package/es/components/ResourceList/index.d.ts +0 -1
  145. package/es/components/ResourceSelect/DefaultResourceSelectDrawer.d.ts +0 -1
  146. package/es/components/ResourceSelect/ResourceSelectDrawer.d.ts +0 -1
  147. package/es/components/SingleResourceDrawer/index.d.ts +0 -2
  148. package/es/components/TemplateButton/Icon.d.ts +0 -2
  149. package/es/components/TemplateButton/assets/index.d.ts +0 -8
  150. package/es/components/TemplateButton/index.d.ts +0 -2
  151. package/es/components/TemplateGroup/index.d.ts +0 -2
  152. package/es/components/TemplateSelect/index.d.ts +0 -2
  153. package/es/constants/ResDetailContants.d.ts +0 -1
  154. package/es/constants/constant.d.ts +0 -36
  155. package/es/constants/defaultCiTypeIcon.d.ts +0 -8
  156. package/es/contextmenu/createMenuCommands.d.ts +0 -5
  157. package/es/core/common/contextmenu/mergeContextmenu.d.ts +0 -1
  158. package/es/core/common/icons/defaultIcons.d.ts +0 -84
  159. package/es/core/components/TopoApp.d.ts +0 -1
  160. package/es/core/components/TopoAppProvider.d.ts +0 -1
  161. package/es/core/components/TopoAppView.d.ts +0 -14
  162. package/es/core/components/TopoView/Topo.d.ts +0 -5
  163. package/es/core/components/TopoView/Topo404.d.ts +0 -1
  164. package/es/core/components/TopoView/TopoContent.d.ts +0 -5
  165. package/es/core/components/TopoView/TopoNoPermission.d.ts +0 -1
  166. package/es/core/components/TopoView/topoView.d.ts +0 -19
  167. package/es/core/components/buildProvider.d.ts +0 -1
  168. package/es/core/components/titlebar/TitleBar.d.ts +0 -9
  169. package/es/core/components/titlebar/index.d.ts +0 -1
  170. package/es/core/components/titlebar/widgets/TitleWidget.d.ts +0 -1
  171. package/es/core/editor/LinkDynamicStyleConfig.d.ts +0 -5
  172. package/es/core/editor/components/EditorPlugin.d.ts +0 -1
  173. package/es/core/editor/components/LinkDynamicStyleSettingDrawer/RuleSetting.d.ts +0 -1
  174. package/es/core/editor/components/LinkDynamicStyleSettingDrawer/index.d.ts +0 -1
  175. package/es/core/editor/components/LinkDynamicStyleSettingDrawer/rule/ColorPicker.d.ts +0 -6
  176. package/es/core/editor/components/LinkDynamicStyleSettingDrawer/rule/Rule.d.ts +0 -1
  177. package/es/core/editor/components/LinkDynamicStyleSettingDrawer/rule/RuleCondition.d.ts +0 -1
  178. package/es/core/editor/components/LinkDynamicStyleSettingDrawer/rule/RuleStyle.d.ts +0 -1
  179. package/es/core/editor/components/ResourceViewAttributeSetting/ResourceViewAttributeSettingPlugin.d.ts +0 -4
  180. package/es/core/editor/components/ResourceViewAttributeSetting/Setting.d.ts +0 -5
  181. package/es/core/editor/components/iconManage/IconManage.d.ts +0 -1
  182. package/es/core/editor/components/iconManage/RenameDialog.d.ts +0 -1
  183. package/es/core/editor/components/iconManage/UploadIconDialog.d.ts +0 -30
  184. package/es/core/editor/components/iconManage/UploadIconDialogWrapper.d.ts +0 -1
  185. package/es/core/editor/components/iconManage/utils/svgToShape.d.ts +0 -1
  186. package/es/core/editor/components/settings/Settings.d.ts +0 -1
  187. package/es/core/editor/components/settings/SettingsForm.d.ts +0 -1
  188. package/es/core/editor/components/settings/Style.d.ts +0 -1
  189. package/es/core/editor/components/settings/common/LayoutSettings.d.ts +0 -2
  190. package/es/core/editor/components/settings/common/LineType.d.ts +0 -1
  191. package/es/core/editor/components/settings/common/NodeAlignType.d.ts +0 -1
  192. package/es/core/editor/components/settings/common/NodeSizeInput/NodeSizeInput.d.ts +0 -12
  193. package/es/core/editor/components/settings/common/NodeSizeInput/NodeSizeNumberPicker.d.ts +0 -7
  194. package/es/core/editor/components/settings/common/tab/TabView.d.ts +0 -1
  195. package/es/core/editor/components/settings/common/text/FontStyleCheckbox.d.ts +0 -1
  196. package/es/core/editor/components/settings/common/text/TextStyle.d.ts +0 -1
  197. package/es/core/editor/components/settings/common/text/fontStyleUtil.d.ts +0 -19
  198. package/es/core/editor/components/settings/group/GroupNodeList/GroupNodeList.d.ts +0 -1
  199. package/es/core/editor/components/settings/group/GroupNodeList/ResourceList.d.ts +0 -2
  200. package/es/core/editor/components/settings/group/GroupNodeList/ResourceSelectButton.d.ts +0 -1
  201. package/es/core/editor/components/settings/group/GroupNodeList/icon.d.ts +0 -87
  202. package/es/core/editor/components/settings/layer/LayerSettingsForm.d.ts +0 -1
  203. package/es/core/editor/components/settings/link/LinkPropertyView.d.ts +0 -1
  204. package/es/core/editor/components/settings/node/NodeIconSelect.d.ts +0 -1
  205. package/es/core/editor/components/settings/node/NodeIconSelectTest.d.ts +0 -1
  206. package/es/core/editor/components/settings/node/NodePropertyView.d.ts +0 -1
  207. package/es/core/editor/components/settings/node/NodeRelateResourceButton.d.ts +0 -4
  208. package/es/core/editor/components/settings/node/TopoTreeSelect.d.ts +0 -1
  209. package/es/core/editor/components/settings/text/TextPropertyView.d.ts +0 -1
  210. package/es/core/editor/components/settings/useSettingRuntimeState.d.ts +0 -5
  211. package/es/core/editor/components/settings/view/BatchSetNodeSize.d.ts +0 -1
  212. package/es/core/editor/components/settings/view/ViewPropertyView.d.ts +0 -1
  213. package/es/core/editor/components/titlebar/TopoEditorTitleBar.d.ts +0 -1
  214. package/es/core/editor/components/titlebar/widgets/SaveButton.d.ts +0 -1
  215. package/es/core/editor/contextmenu/buildContextmenu.d.ts +0 -6
  216. package/es/core/index.d.ts +0 -1
  217. package/es/core/models/AttributeMetricDisplay.d.ts +0 -8
  218. package/es/core/models/TopoGraphView.d.ts +0 -42
  219. package/es/core/models/TopoViewer.d.ts +0 -9
  220. package/es/core/models/attrAndMetric.d.ts +0 -1
  221. package/es/core/models/cache/CiTyeCache.d.ts +0 -12
  222. package/es/core/models/cache/DictCache.d.ts +0 -11
  223. package/es/core/models/common/Alarm.d.ts +0 -52
  224. package/es/core/models/common/ContextMenu.d.ts +0 -8
  225. package/es/core/models/createTopoApp.d.ts +0 -13
  226. package/es/core/models/plugins/resourceWebControllUrl.d.ts +0 -11
  227. package/es/core/models/utils/getRelationDetailByIds.d.ts +0 -1
  228. package/es/core/models/utils/linkUtils.d.ts +0 -3
  229. package/es/core/store/coreModels.d.ts +0 -18
  230. package/es/core/store/createStore.d.ts +0 -1
  231. package/es/core/test/Test.d.ts +0 -9
  232. package/es/core/utils/resourceUtil.d.ts +0 -5
  233. package/es/core/utils/showMessage.d.ts +0 -1
  234. package/es/core/viewer/components/plugins/ResourceDetail/ResourceDetailDrawerPlugin.d.ts +0 -1
  235. package/es/core/viewer/components/plugins/ResourceDetail/topoDrawer.d.ts +0 -2
  236. package/es/core/viewer/components/plugins/ResourceWebControllUrlSettingDialog.d.ts +0 -1
  237. package/es/core/viewer/components/plugins/ViewerPlugin.d.ts +0 -1
  238. package/es/core/viewer/components/titlebar/TopoViewerTitleBar.d.ts +0 -1
  239. package/es/core/viewer/components/titlebar/ViewerTools.d.ts +0 -1
  240. package/es/core/viewer/components/titlebar/widgets/EditButton.d.ts +0 -4
  241. package/es/core/viewer/components/titlebar/widgets/SearchWidget.d.ts +0 -8
  242. package/es/core/viewer/contextmenu/buildContextmenu.d.ts +0 -42
  243. package/es/core/viewer/contextmenu/buildLinkContextmenu.d.ts +0 -9
  244. package/es/core/viewer/contextmenu/buildNodeContextmenu.d.ts +0 -24
  245. package/es/core/viewer/contextmenu/buildViewContextmenu.d.ts +0 -7
  246. package/es/createTopo.d.ts +0 -2
  247. package/es/getStoreModels.d.ts +0 -35
  248. package/es/hooks/useAlarm.d.ts +0 -1
  249. package/es/hooks/useContainerLinkTopo.d.ts +0 -8
  250. package/es/hooks/usePolling.d.ts +0 -9
  251. package/es/hooks/useSelection.d.ts +0 -9
  252. package/es/hooks/useTopoEdit.d.ts +0 -83
  253. package/es/index.d.ts +0 -3
  254. package/es/mock/mock.d.ts +0 -187
  255. package/es/models/ciModel.d.ts +0 -15
  256. package/es/models/iconManage.d.ts +0 -39
  257. package/es/models/linkDynamicStyle.d.ts +0 -47
  258. package/es/models/linkDynamicStyleConfig.d.ts +0 -37
  259. package/es/models/linkManager.d.ts +0 -11
  260. package/es/models/resourceWebControllUrlSetting.d.ts +0 -13
  261. package/es/models/topoAlarm.d.ts +0 -15
  262. package/es/models/topoBizMod.d.ts +0 -42
  263. package/es/models/topoCreateMod.d.ts +0 -108
  264. package/es/models/topoEdit.d.ts +0 -13
  265. package/es/models/topoGraphView.d.ts +0 -11
  266. package/es/models/topoMod.d.ts +0 -86
  267. package/es/models/topoView.d.ts +0 -11
  268. package/es/topoCenter/components/Topology.d.ts +0 -1
  269. package/es/topoCenter/createTopo.d.ts +0 -3
  270. package/es/topoCenter/getTopoData.d.ts +0 -1
  271. package/es/topoCenter/index.d.ts +0 -3
  272. package/es/topoCenter/models/TopoCenter.d.ts +0 -11
  273. package/es/topoCenter/store/functionAuth.d.ts +0 -20
  274. package/es/topoCenter/store/topoCenter.d.ts +0 -32
  275. package/es/topoCenter/store/topoTreeMod.d.ts +0 -83
  276. package/es/topoCenter/viewer/components/TitleBar.d.ts +0 -1
  277. package/es/topoCenter/viewer/components/TopologyViewer.d.ts +0 -1
  278. package/es/topoCenter/viewer/createTopoViewer.d.ts +0 -3
  279. package/es/topoCenter/viewer/index.d.ts +0 -2
  280. package/es/utils/ciType.d.ts +0 -1
  281. package/es/utils/format.d.ts +0 -28
  282. package/es/utils/htElementDataUtil.d.ts +0 -5
  283. package/es/utils/htElementUtils.d.ts +0 -5
  284. package/es/utils/listToTree.d.ts +0 -1
  285. package/es/utils/resourceElementUtil.d.ts +0 -1
  286. package/es/utils/template.d.ts +0 -50
  287. package/es/utils/topoData.d.ts +0 -54
  288. package/es/utils/topoIconUtil.d.ts +0 -6
  289. package/es/utils/topoMocks.d.ts +0 -172
  290. package/es/utils/topoPermissionUtil.d.ts +0 -9
  291. package/es/utils/tree.d.ts +0 -15
  292. package/lib/common/components/ResourceTable/ResourceTable.d.ts +0 -2
  293. package/lib/common/plugins/useSelectionPlugin.d.ts +0 -23
  294. package/lib/components/BatchAttrMetric/constant.d.ts +0 -30
  295. package/lib/components/BatchAttrMetric/index.d.ts +0 -5
  296. package/lib/components/BatchAttrMetric/setting.d.ts +0 -6
  297. package/lib/components/BatchAttrMetric/utils.d.ts +0 -35
  298. package/lib/components/Drawer/index.d.ts +0 -2
  299. package/lib/components/FormTable/index.d.ts +0 -2
  300. package/lib/components/IndexSettingDrawer/CiList.d.ts +0 -2
  301. package/lib/components/IndexSettingDrawer/CiListItem.d.ts +0 -2
  302. package/lib/components/IndexSettingDrawer/IndexList.d.ts +0 -2
  303. package/lib/components/IndexSettingDrawer/index.d.ts +0 -2
  304. package/lib/components/Link/form.d.ts +0 -2
  305. package/lib/components/Link/hook.d.ts +0 -26
  306. package/lib/components/Link/index.d.ts +0 -6
  307. package/lib/components/Link/setting.d.ts +0 -8
  308. package/lib/components/MultiResourceDrawer/Content.d.ts +0 -2
  309. package/lib/components/MultiResourceDrawer/Dynamic.d.ts +0 -2
  310. package/lib/components/MultiResourceDrawer/ResourceCard/index.d.ts +0 -2
  311. package/lib/components/MultiResourceDrawer/ResourceSelect.d.ts +0 -2
  312. package/lib/components/MultiResourceDrawer/Static.d.ts +0 -2
  313. package/lib/components/MultiResourceDrawer/index.d.ts +0 -2
  314. package/lib/components/ResourceList/ResourceSelect.d.ts +0 -2
  315. package/lib/components/ResourceList/ResourceSelectConnect.d.ts +0 -2
  316. package/lib/components/ResourceList/index.d.ts +0 -1
  317. package/lib/components/ResourceSelect/DefaultResourceSelectDrawer.d.ts +0 -1
  318. package/lib/components/ResourceSelect/ResourceSelectDrawer.d.ts +0 -1
  319. package/lib/components/SingleResourceDrawer/index.d.ts +0 -2
  320. package/lib/components/TemplateButton/Icon.d.ts +0 -2
  321. package/lib/components/TemplateButton/assets/index.d.ts +0 -8
  322. package/lib/components/TemplateButton/index.d.ts +0 -2
  323. package/lib/components/TemplateGroup/index.d.ts +0 -2
  324. package/lib/components/TemplateSelect/index.d.ts +0 -2
  325. package/lib/constants/ResDetailContants.d.ts +0 -1
  326. package/lib/constants/constant.d.ts +0 -36
  327. package/lib/constants/defaultCiTypeIcon.d.ts +0 -8
  328. package/lib/contextmenu/createMenuCommands.d.ts +0 -5
  329. package/lib/core/common/contextmenu/mergeContextmenu.d.ts +0 -1
  330. package/lib/core/common/icons/defaultIcons.d.ts +0 -84
  331. package/lib/core/components/TopoApp.d.ts +0 -1
  332. package/lib/core/components/TopoAppProvider.d.ts +0 -1
  333. package/lib/core/components/TopoAppView.d.ts +0 -14
  334. package/lib/core/components/TopoView/Topo.d.ts +0 -5
  335. package/lib/core/components/TopoView/Topo404.d.ts +0 -1
  336. package/lib/core/components/TopoView/TopoContent.d.ts +0 -5
  337. package/lib/core/components/TopoView/TopoNoPermission.d.ts +0 -1
  338. package/lib/core/components/TopoView/topoView.d.ts +0 -19
  339. package/lib/core/components/buildProvider.d.ts +0 -1
  340. package/lib/core/components/titlebar/TitleBar.d.ts +0 -9
  341. package/lib/core/components/titlebar/index.d.ts +0 -1
  342. package/lib/core/components/titlebar/widgets/TitleWidget.d.ts +0 -1
  343. package/lib/core/editor/LinkDynamicStyleConfig.d.ts +0 -5
  344. package/lib/core/editor/components/EditorPlugin.d.ts +0 -1
  345. package/lib/core/editor/components/LinkDynamicStyleSettingDrawer/RuleSetting.d.ts +0 -1
  346. package/lib/core/editor/components/LinkDynamicStyleSettingDrawer/index.d.ts +0 -1
  347. package/lib/core/editor/components/LinkDynamicStyleSettingDrawer/rule/ColorPicker.d.ts +0 -6
  348. package/lib/core/editor/components/LinkDynamicStyleSettingDrawer/rule/Rule.d.ts +0 -1
  349. package/lib/core/editor/components/LinkDynamicStyleSettingDrawer/rule/RuleCondition.d.ts +0 -1
  350. package/lib/core/editor/components/LinkDynamicStyleSettingDrawer/rule/RuleStyle.d.ts +0 -1
  351. package/lib/core/editor/components/ResourceViewAttributeSetting/ResourceViewAttributeSettingPlugin.d.ts +0 -4
  352. package/lib/core/editor/components/ResourceViewAttributeSetting/Setting.d.ts +0 -5
  353. package/lib/core/editor/components/iconManage/IconManage.d.ts +0 -1
  354. package/lib/core/editor/components/iconManage/RenameDialog.d.ts +0 -1
  355. package/lib/core/editor/components/iconManage/UploadIconDialog.d.ts +0 -30
  356. package/lib/core/editor/components/iconManage/UploadIconDialogWrapper.d.ts +0 -1
  357. package/lib/core/editor/components/iconManage/utils/svgToShape.d.ts +0 -1
  358. package/lib/core/editor/components/settings/Settings.d.ts +0 -1
  359. package/lib/core/editor/components/settings/SettingsForm.d.ts +0 -1
  360. package/lib/core/editor/components/settings/Style.d.ts +0 -1
  361. package/lib/core/editor/components/settings/common/LayoutSettings.d.ts +0 -2
  362. package/lib/core/editor/components/settings/common/LineType.d.ts +0 -1
  363. package/lib/core/editor/components/settings/common/NodeAlignType.d.ts +0 -1
  364. package/lib/core/editor/components/settings/common/NodeSizeInput/NodeSizeInput.d.ts +0 -12
  365. package/lib/core/editor/components/settings/common/NodeSizeInput/NodeSizeNumberPicker.d.ts +0 -7
  366. package/lib/core/editor/components/settings/common/tab/TabView.d.ts +0 -1
  367. package/lib/core/editor/components/settings/common/text/FontStyleCheckbox.d.ts +0 -1
  368. package/lib/core/editor/components/settings/common/text/TextStyle.d.ts +0 -1
  369. package/lib/core/editor/components/settings/common/text/fontStyleUtil.d.ts +0 -19
  370. package/lib/core/editor/components/settings/group/GroupNodeList/GroupNodeList.d.ts +0 -1
  371. package/lib/core/editor/components/settings/group/GroupNodeList/ResourceList.d.ts +0 -2
  372. package/lib/core/editor/components/settings/group/GroupNodeList/ResourceSelectButton.d.ts +0 -1
  373. package/lib/core/editor/components/settings/group/GroupNodeList/icon.d.ts +0 -87
  374. package/lib/core/editor/components/settings/layer/LayerSettingsForm.d.ts +0 -1
  375. package/lib/core/editor/components/settings/link/LinkPropertyView.d.ts +0 -1
  376. package/lib/core/editor/components/settings/node/NodeIconSelect.d.ts +0 -1
  377. package/lib/core/editor/components/settings/node/NodeIconSelectTest.d.ts +0 -1
  378. package/lib/core/editor/components/settings/node/NodePropertyView.d.ts +0 -1
  379. package/lib/core/editor/components/settings/node/NodeRelateResourceButton.d.ts +0 -4
  380. package/lib/core/editor/components/settings/node/TopoTreeSelect.d.ts +0 -1
  381. package/lib/core/editor/components/settings/text/TextPropertyView.d.ts +0 -1
  382. package/lib/core/editor/components/settings/useSettingRuntimeState.d.ts +0 -5
  383. package/lib/core/editor/components/settings/view/BatchSetNodeSize.d.ts +0 -1
  384. package/lib/core/editor/components/settings/view/ViewPropertyView.d.ts +0 -1
  385. package/lib/core/editor/components/titlebar/TopoEditorTitleBar.d.ts +0 -1
  386. package/lib/core/editor/components/titlebar/widgets/SaveButton.d.ts +0 -1
  387. package/lib/core/editor/contextmenu/buildContextmenu.d.ts +0 -6
  388. package/lib/core/index.d.ts +0 -1
  389. package/lib/core/models/AttributeMetricDisplay.d.ts +0 -8
  390. package/lib/core/models/TopoGraphView.d.ts +0 -42
  391. package/lib/core/models/TopoViewer.d.ts +0 -9
  392. package/lib/core/models/attrAndMetric.d.ts +0 -1
  393. package/lib/core/models/cache/CiTyeCache.d.ts +0 -12
  394. package/lib/core/models/cache/DictCache.d.ts +0 -11
  395. package/lib/core/models/common/Alarm.d.ts +0 -52
  396. package/lib/core/models/common/ContextMenu.d.ts +0 -8
  397. package/lib/core/models/createTopoApp.d.ts +0 -13
  398. package/lib/core/models/plugins/resourceWebControllUrl.d.ts +0 -11
  399. package/lib/core/models/utils/getRelationDetailByIds.d.ts +0 -1
  400. package/lib/core/models/utils/linkUtils.d.ts +0 -3
  401. package/lib/core/store/coreModels.d.ts +0 -18
  402. package/lib/core/store/createStore.d.ts +0 -1
  403. package/lib/core/test/Test.d.ts +0 -9
  404. package/lib/core/utils/resourceUtil.d.ts +0 -5
  405. package/lib/core/utils/showMessage.d.ts +0 -1
  406. package/lib/core/viewer/components/plugins/ResourceDetail/ResourceDetailDrawerPlugin.d.ts +0 -1
  407. package/lib/core/viewer/components/plugins/ResourceDetail/topoDrawer.d.ts +0 -2
  408. package/lib/core/viewer/components/plugins/ResourceWebControllUrlSettingDialog.d.ts +0 -1
  409. package/lib/core/viewer/components/plugins/ViewerPlugin.d.ts +0 -1
  410. package/lib/core/viewer/components/titlebar/TopoViewerTitleBar.d.ts +0 -1
  411. package/lib/core/viewer/components/titlebar/ViewerTools.d.ts +0 -1
  412. package/lib/core/viewer/components/titlebar/widgets/EditButton.d.ts +0 -4
  413. package/lib/core/viewer/components/titlebar/widgets/SearchWidget.d.ts +0 -8
  414. package/lib/core/viewer/contextmenu/buildContextmenu.d.ts +0 -42
  415. package/lib/core/viewer/contextmenu/buildLinkContextmenu.d.ts +0 -9
  416. package/lib/core/viewer/contextmenu/buildNodeContextmenu.d.ts +0 -24
  417. package/lib/core/viewer/contextmenu/buildViewContextmenu.d.ts +0 -7
  418. package/lib/createTopo.d.ts +0 -2
  419. package/lib/getStoreModels.d.ts +0 -35
  420. package/lib/hooks/useAlarm.d.ts +0 -1
  421. package/lib/hooks/useContainerLinkTopo.d.ts +0 -8
  422. package/lib/hooks/usePolling.d.ts +0 -9
  423. package/lib/hooks/useSelection.d.ts +0 -9
  424. package/lib/hooks/useTopoEdit.d.ts +0 -83
  425. package/lib/index.d.ts +0 -3
  426. package/lib/mock/mock.d.ts +0 -187
  427. package/lib/models/ciModel.d.ts +0 -15
  428. package/lib/models/iconManage.d.ts +0 -39
  429. package/lib/models/linkDynamicStyle.d.ts +0 -47
  430. package/lib/models/linkDynamicStyleConfig.d.ts +0 -37
  431. package/lib/models/linkManager.d.ts +0 -11
  432. package/lib/models/resourceWebControllUrlSetting.d.ts +0 -13
  433. package/lib/models/topoAlarm.d.ts +0 -15
  434. package/lib/models/topoBizMod.d.ts +0 -42
  435. package/lib/models/topoCreateMod.d.ts +0 -108
  436. package/lib/models/topoEdit.d.ts +0 -13
  437. package/lib/models/topoGraphView.d.ts +0 -11
  438. package/lib/models/topoMod.d.ts +0 -86
  439. package/lib/models/topoView.d.ts +0 -11
  440. package/lib/topoCenter/components/Topology.d.ts +0 -1
  441. package/lib/topoCenter/createTopo.d.ts +0 -3
  442. package/lib/topoCenter/getTopoData.d.ts +0 -1
  443. package/lib/topoCenter/index.d.ts +0 -3
  444. package/lib/topoCenter/models/TopoCenter.d.ts +0 -11
  445. package/lib/topoCenter/store/functionAuth.d.ts +0 -20
  446. package/lib/topoCenter/store/topoCenter.d.ts +0 -32
  447. package/lib/topoCenter/store/topoTreeMod.d.ts +0 -83
  448. package/lib/topoCenter/viewer/components/TitleBar.d.ts +0 -1
  449. package/lib/topoCenter/viewer/components/TopologyViewer.d.ts +0 -1
  450. package/lib/topoCenter/viewer/createTopoViewer.d.ts +0 -3
  451. package/lib/topoCenter/viewer/index.d.ts +0 -2
  452. package/lib/utils/ciType.d.ts +0 -1
  453. package/lib/utils/format.d.ts +0 -28
  454. package/lib/utils/htElementDataUtil.d.ts +0 -5
  455. package/lib/utils/htElementUtils.d.ts +0 -5
  456. package/lib/utils/listToTree.d.ts +0 -1
  457. package/lib/utils/resourceElementUtil.d.ts +0 -1
  458. package/lib/utils/template.d.ts +0 -50
  459. package/lib/utils/topoData.d.ts +0 -54
  460. package/lib/utils/topoIconUtil.d.ts +0 -6
  461. package/lib/utils/topoMocks.d.ts +0 -172
  462. package/lib/utils/topoPermissionUtil.d.ts +0 -9
  463. package/lib/utils/tree.d.ts +0 -15
@@ -1,4 +0,0 @@
1
- /**
2
- * @return {React.ReactNode | null}
3
- */
4
- export default function NodeRelateResourceButton(props: any): any | null;
@@ -1 +0,0 @@
1
- export default function TopoTreeSelect(props: any): JSX.Element;
@@ -1 +0,0 @@
1
- export default function TextPropertyView(props: any): JSX.Element;
@@ -1,5 +0,0 @@
1
- export default function _default(): {
2
- state: {};
3
- getAttr: (name: any) => any;
4
- setAttr: (name: any, value: any) => void;
5
- };
@@ -1 +0,0 @@
1
- export default function BatchSetNodeSize(props: any): JSX.Element;
@@ -1 +0,0 @@
1
- export default function ViewPropertyView(props: any): JSX.Element;
@@ -1 +0,0 @@
1
- export default function TopoEditorTitleBar(props: any): JSX.Element;
@@ -1 +0,0 @@
1
- export default function SaveButton(props: any): JSX.Element;
@@ -1,6 +0,0 @@
1
- export default function buildContextmenu(topoApp: any): {
2
- node: {
3
- enable: boolean;
4
- items: any[];
5
- };
6
- };
@@ -1 +0,0 @@
1
- export * from "./models/createTopoApp";
@@ -1,8 +0,0 @@
1
- export default class AttributeMetricDisplay {
2
- constructor(topo: any);
3
- config: any;
4
- topo: any;
5
- setConfig(config: any): void;
6
- getConfig(): any;
7
- getConfigByCiType(ciType: any): void;
8
- }
@@ -1,42 +0,0 @@
1
- /**
2
- * 拓扑视图,查看和编辑公共部分。
3
- *
4
- * 包含元素操作相关,不同类型拓扑图结构不同,后续支持多种实现
5
- */
6
- export default class TopoGraphView {
7
- store: any;
8
- /**
9
- * @type TopoClient
10
- */
11
- topoClient: TopoClient;
12
- init(): void;
13
- contextMenu: ContextMenu;
14
- resourceWebControllUrl: {
15
- initData: (nodes: any) => Promise<void>;
16
- afterTopoDataLoaded: (topoData: any) => Promise<void>;
17
- getResourceUrl: (id: any) => any;
18
- setting: {
19
- getCurrentId: () => any;
20
- openSettingDialog: (id: any) => void;
21
- closeSettingDialog: () => void;
22
- saveResourceWebUrl: (id: any, url: any) => Promise<void>;
23
- };
24
- };
25
- /**
26
- * 缩放平移整个拓扑以展示所有的图元
27
- * @param {Boolean} [anim] 是否使用动画
28
- * @param {Number} [padding] 缩放后图元区域与拓扑边缘的距离,默认为20
29
- * @param {Boolean} [notZoomIn] 是否将最小缩放值限定为1
30
- */
31
- fitContent(anim?: boolean, padding?: number, notZoomIn?: boolean): void;
32
- switchToViewMode(): Promise<void>;
33
- switchToEditMode(): Promise<void>;
34
- getNodes(): any;
35
- loadAlarm(alarms: any): void;
36
- replaceNode(id: any, newNode: any): void;
37
- onCreatedView(topoClient: any): void;
38
- afterTopoDataLoaded(topoData: any): Promise<void>;
39
- setStore(s: any): void;
40
- }
41
- import TopoClient from "@riil-frontend/component-topology-graph/es/models/TopoClient";
42
- import ContextMenu from "./common/ContextMenu";
@@ -1,9 +0,0 @@
1
- /**
2
- * 拓扑查看
3
- */
4
- export default class TopoViewer {
5
- constructor(props: any);
6
- view: any;
7
- initialized: boolean;
8
- init(props: any): void;
9
- }
@@ -1 +0,0 @@
1
- export function updateAttrsAndMetrics(options: any): void;
@@ -1,12 +0,0 @@
1
- declare var _default: CiTyeCache;
2
- export default _default;
3
- /**
4
- * Ci类型属性、指标缓存
5
- */
6
- declare class CiTyeCache {
7
- cache: {};
8
- getCiTypeMap(ciTypeIds: any): Promise<{}>;
9
- load(ciTypeIds: any): Promise<{}>;
10
- getCiType(ciTypeId: any): any;
11
- get ciTypes(): {};
12
- }
@@ -1,11 +0,0 @@
1
- declare var _default: DictCache;
2
- export default _default;
3
- /**
4
- * 数据字典缓存
5
- */
6
- declare class DictCache {
7
- dists: any;
8
- dictObject: any;
9
- init(): Promise<void>;
10
- getDictObject(): any;
11
- }
@@ -1,52 +0,0 @@
1
- export default class Alarm {
2
- topoApp: any;
3
- currentTopoId: any;
4
- alarmSwitch: boolean;
5
- init(topoApp: any): void;
6
- isEnabled(): boolean;
7
- /**
8
- * 打开告警推送通道。
9
- *
10
- * 场景:首次进入页面、切换拓扑图打开新拓扑图告警、从编辑模式进入显示模式
11
- */
12
- open(): Promise<void>;
13
- /**
14
- * 关闭告警。
15
- *
16
- * 场景:切换拓扑图时关闭原拓扑图告警、关闭页面、删除拓扑图、进入编辑模式
17
- */
18
- close(): void;
19
- getAlarms(): void;
20
- /**
21
- * 处理告警推送事件
22
- */
23
- handleAlarmEvent(): void;
24
- /**
25
- * 增加告警
26
- */
27
- addAlarms(): void;
28
- /**
29
- * 移除告警
30
- */
31
- removeAlarms(): void;
32
- /**
33
- * 打开告警推送。
34
- *
35
- * 场景:首次进入页面、切换拓扑图打开新拓扑图告警、从编辑模式进入显示模式
36
- */
37
- openTopoAlarm(id: any): Promise<void>;
38
- /**
39
- * 关闭告警推送。
40
- *
41
- * 场景:切换拓扑图时关闭原拓扑图告警、关闭页面、删除拓扑图、进入编辑模式
42
- */
43
- closeTopoAlarm(id: any): Promise<void>;
44
- /**
45
- * 当资源变化时,需要刷新。
46
- */
47
- restart(): Promise<void>;
48
- setAlarms(alarmList: any): void;
49
- getState(): any;
50
- useState(): any;
51
- updateState(state: any): any;
52
- }
@@ -1,8 +0,0 @@
1
- export default class ContextMenu {
2
- menuMap: {};
3
- registerCommand(id: any, command: any): void;
4
- registerCommands(commands: any): void;
5
- getCommand(id: any): any;
6
- containsCommand(id: any): boolean;
7
- executeCommand(id: any, data: any): void;
8
- }
@@ -1,13 +0,0 @@
1
- /**
2
- *
3
- * @param options
4
- * @return {TopoApp}
5
- */
6
- export function createTopoApp(options: any): TopoApp;
7
- /**
8
- *
9
- * @param options
10
- * @return {TopoApp}
11
- */
12
- export function createTopology(options: any): TopoApp;
13
- import TopoApp from "./TopoApp";
@@ -1,11 +0,0 @@
1
- export default function _default(topo: any): {
2
- initData: (nodes: any) => Promise<void>;
3
- afterTopoDataLoaded: (topoData: any) => Promise<void>;
4
- getResourceUrl: (id: any) => any;
5
- setting: {
6
- getCurrentId: () => any;
7
- openSettingDialog: (id: any) => void;
8
- closeSettingDialog: () => void;
9
- saveResourceWebUrl: (id: any, url: any) => Promise<void>;
10
- };
11
- };
@@ -1 +0,0 @@
1
- export default function getRelationDetailByIds(ids: any): void;
@@ -1,3 +0,0 @@
1
- export function mergeLinksData(links: any, relationDetails: any): any;
2
- export function getLinksDetail(links: any): Promise<any>;
3
- export function buildTopoLinkData(): void;
@@ -1,18 +0,0 @@
1
- declare namespace _default {
2
- export { topoMod };
3
- export { iconManage };
4
- export { ciModel };
5
- export { functionAuth };
6
- export { linkDynamicStyle };
7
- export { linkDynamicStyleConfig };
8
- export { permissionSetting };
9
- export { resourceWebControllUrlSetting };
10
- export { topoBizMod };
11
- export { topoCenter };
12
- export { topoCreate };
13
- export { topoCreateMod };
14
- export { topoEdit };
15
- export { topoTreeMod };
16
- export { topoView };
17
- }
18
- export default _default;
@@ -1 +0,0 @@
1
- export default function _default(engine: any, extModels?: {}): import("@ice/store").PresetIcestore<import("@ice/store").Models, import("@ice/store").Action<any, any>>;
@@ -1,9 +0,0 @@
1
- export default class Test {
2
- constructor(topo: any);
3
- topo: any;
4
- init(): void;
5
- iconManage: {
6
- openUpload: (type: any) => void;
7
- };
8
- onReady(): void;
9
- }
@@ -1,5 +0,0 @@
1
- /**
2
- * 跳转监控策略页面
3
- * @param bizInfo
4
- */
5
- export function gotoMonitoringStrategyPage(bizInfo: any): void;
@@ -1 +0,0 @@
1
- export default function showMessage(type: any, title: any, content: any): void;
@@ -1 +0,0 @@
1
- export default function ResourceDetailDrawerPlugin(props: any): JSX.Element;
@@ -1,2 +0,0 @@
1
- export default TopoDrawer;
2
- declare function TopoDrawer(params: any): JSX.Element;
@@ -1 +0,0 @@
1
- export default function ResourceWebControllUrlSettingDialog(props: any): JSX.Element;
@@ -1 +0,0 @@
1
- export default function ViewerPlugin(props: any): JSX.Element;
@@ -1 +0,0 @@
1
- export default function TopoViewerTitleBar(props: any): JSX.Element;
@@ -1 +0,0 @@
1
- export default function ViewerTools(props: any): JSX.Element;
@@ -1,4 +0,0 @@
1
- /**
2
- * @return {any}
3
- */
4
- export default function EditButton(props: any): any;
@@ -1,8 +0,0 @@
1
- export default SearchWidget;
2
- declare function SearchWidget(props: any): JSX.Element;
3
- declare namespace SearchWidget {
4
- export namespace propTypes {
5
- export const topo: any;
6
- }
7
- export const defaultProps: {};
8
- }
@@ -1,42 +0,0 @@
1
- export default function buildContextmenu(topoApp: any): {
2
- bg: {
3
- enable: boolean;
4
- items: {
5
- label: string;
6
- id: string;
7
- }[];
8
- };
9
- node: {
10
- enable: boolean;
11
- items: ({
12
- label: string;
13
- id: string;
14
- icon: string;
15
- visible: (data: any) => boolean;
16
- items?: undefined;
17
- } | {
18
- label: string;
19
- icon: string;
20
- visible: (data: any) => boolean;
21
- items: ({
22
- label: string;
23
- id: string;
24
- disable: (data: any) => boolean;
25
- } | {
26
- label: string;
27
- id: string;
28
- disable?: undefined;
29
- })[];
30
- id?: undefined;
31
- })[];
32
- };
33
- link: {
34
- enable: boolean;
35
- items: {
36
- label: string;
37
- id: string;
38
- icon: string;
39
- visible: (data: any) => boolean;
40
- }[];
41
- };
42
- };
@@ -1,9 +0,0 @@
1
- export default function buildContextMenu(topoApp: any): {
2
- enable: boolean;
3
- items: {
4
- label: string;
5
- id: string;
6
- icon: string;
7
- visible: (data: any) => boolean;
8
- }[];
9
- };
@@ -1,24 +0,0 @@
1
- export default function buildNodeContextmenu(topoApp: any): {
2
- enable: boolean;
3
- items: ({
4
- label: string;
5
- id: string;
6
- icon: string;
7
- visible: (data: any) => boolean;
8
- items?: undefined;
9
- } | {
10
- label: string;
11
- icon: string;
12
- visible: (data: any) => boolean;
13
- items: ({
14
- label: string;
15
- id: string;
16
- disable: (data: any) => boolean;
17
- } | {
18
- label: string;
19
- id: string;
20
- disable?: undefined;
21
- })[];
22
- id?: undefined;
23
- })[];
24
- };
@@ -1,7 +0,0 @@
1
- export default function buildViewContextmenu(topo: any): {
2
- enable: boolean;
3
- items: {
4
- label: string;
5
- id: string;
6
- }[];
7
- };
@@ -1,2 +0,0 @@
1
- export function createTopo(options: any): import("./core/models/TopoApp").default;
2
- export default createTopo;
@@ -1,35 +0,0 @@
1
- declare namespace _default {
2
- export { topoMod };
3
- export { iconManage };
4
- export { ciModel };
5
- export { functionAuth };
6
- export { linkManager };
7
- export { linkDynamicStyle };
8
- export { linkDynamicStyleConfig };
9
- export { resourceWebControllUrlSetting };
10
- export { topoBizMod };
11
- export { topoCenter };
12
- export { topoCreateMod };
13
- export { topoEdit };
14
- export { topoTreeMod };
15
- export { topoView };
16
- export { topoGraphView };
17
- export { topoAlarm };
18
- }
19
- export default _default;
20
- import topoMod from "./models/topoMod";
21
- import iconManage from "./models/iconManage";
22
- import ciModel from "./models/ciModel";
23
- import functionAuth from "./topoCenter/store/functionAuth";
24
- import linkManager from "./models/linkManager";
25
- import linkDynamicStyle from "./models/linkDynamicStyle";
26
- import linkDynamicStyleConfig from "./models/linkDynamicStyleConfig";
27
- import resourceWebControllUrlSetting from "./models/resourceWebControllUrlSetting";
28
- import topoBizMod from "./models/topoBizMod";
29
- import topoCenter from "./topoCenter/store/topoCenter";
30
- import topoCreateMod from "./models/topoCreateMod";
31
- import topoEdit from "./models/topoEdit";
32
- import topoTreeMod from "./topoCenter/store/topoTreeMod";
33
- import topoView from "./models/topoView";
34
- import topoGraphView from "./models/topoGraphView";
35
- import topoAlarm from "./models/topoAlarm";
@@ -1 +0,0 @@
1
- export default function useAlarm(options: any): void;
@@ -1,8 +0,0 @@
1
- /**
2
- * 关联拓扑
3
- *
4
- * 双击容器打开关联拓扑图,双击缩略图返回原拓扑图
5
- */
6
- export default function useContainerLinkTopo(params: any): {
7
- onEvent: (event: any) => void;
8
- };
@@ -1,9 +0,0 @@
1
- export default usePolling;
2
- /**
3
- * 轮询获取指标hooks
4
- * @param {*} props
5
- */
6
- declare function usePolling(props: any): {
7
- startPoll: () => Promise<any>;
8
- stopPoll: import("@ahooksjs/use-request/lib/types").noop;
9
- };
@@ -1,9 +0,0 @@
1
- /**
2
- * Selection
3
- */
4
- export default function _default(props: any): {
5
- selection: any[];
6
- initSelection: () => void;
7
- clearSelection: (data: any) => void;
8
- updateSelection: (data: any) => void;
9
- };
@@ -1,83 +0,0 @@
1
- export default useTopoEdit;
2
- declare function useTopoEdit(params: any): {
3
- /**
4
- * 拓扑结构加载中状态
5
- */
6
- topoLoading: any;
7
- /**
8
- * 资源绑定(单选)抽屉显示状态
9
- */
10
- showSingleResDrawer: boolean;
11
- /**
12
- * 资源绑定(单选)已选择资源
13
- */
14
- initialSingleRes: any;
15
- /**
16
- * 资源绑定(多选)抽屉显示状态
17
- */
18
- showComboResDrawer: boolean;
19
- /**
20
- * 资源绑定(多选)已选择资源(动态+固定)
21
- */
22
- initialComboRes: any;
23
- /**
24
- * 当前资源对应的拓扑结构(点+线+容器)
25
- */
26
- topo: any;
27
- /**
28
- * 拓扑图全局已选固定资源
29
- */
30
- resSelections: any;
31
- /**
32
- * 进入编辑模式回调
33
- */
34
- onEnterEdit: () => Promise<void>;
35
- /**
36
- * 退出编辑模式回调
37
- */
38
- onExitEdit: () => void;
39
- /**
40
- * 发起业务数据(资源、链路)绑定回调
41
- */
42
- onBindData: (eventData: any) => void;
43
- /**
44
- * 增加资源到视图
45
- */
46
- addResourceToView: () => void;
47
- /**
48
- * 关联/重新关联资源
49
- */
50
- bindNodeResource: (node: any) => void;
51
- /**
52
- * 增加资源到容器
53
- */
54
- addResourceToGroup: (group: any) => void;
55
- /**
56
- * 资源绑定(单选)保存选择
57
- */
58
- onSaveSingleRes: (resource: any) => boolean;
59
- /**
60
- * 关闭资源绑定(单选)抽屉
61
- */
62
- onCloseSigleResDrawer: () => void;
63
- /**
64
- * 资源绑定(多选)保存选择
65
- */
66
- onSaveComboRes: (data: any) => any;
67
- /**
68
- * 关闭资源绑定(多选)抽屉
69
- */
70
- onCloseComboResDrawer: () => void;
71
- /**
72
- * 拓扑图元素(节点、连线、容器)删除回调
73
- */
74
- onDeleteElement: (data: any) => void;
75
- /**
76
- * 拓扑图保存回调
77
- */
78
- onSaveTopo: (data: any) => Promise<void>;
79
- /**
80
- * 从关联资源切换关联拓扑图事件
81
- */
82
- onTopoRelatedImage: (eventData: any) => void;
83
- };
package/lib/index.d.ts DELETED
@@ -1,3 +0,0 @@
1
- export * from "./createTopo";
2
- export * from "./core/components/titlebar";
3
- export { Topology };