@riil-frontend/component-topology 2.5.7 → 2.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/1.js +2 -2
- package/build/2.js +1 -1
- package/build/index.css +2 -3
- package/build/index.js +32 -32
- package/es/components/BatchAttrMetric/setting.js +2 -2
- package/es/components/FormTable/index.js +1 -1
- package/es/components/IndexSettingDrawer/IndexList.js +2 -2
- package/es/components/Link/hook.js +1 -1
- package/es/components/Link/index.js +1 -1
- package/es/components/MultiResourceDrawer/Dynamic.js +1 -1
- package/es/components/MultiResourceDrawer/index.js +1 -1
- package/es/components/ResourceList/ResourceSelect.js +3 -3
- package/es/core/components/TopoView/Topo404.js +1 -1
- package/es/core/components/TopoView/TopoContent.js +1 -1
- package/es/core/components/TopoView/TopoNoPermission.js +1 -1
- package/es/core/components/TopoView/topoView.js +1 -1
- package/es/core/editor/components/LinkDynamicStyleSettingDrawer/index.js +1 -1
- package/es/core/editor/components/ResourceViewAttributeSetting/Setting.js +1 -1
- package/es/core/editor/components/iconManage/UploadIconDialog.js +1 -1
- package/es/core/editor/components/settings/common/NodeSizeInput/NodeSizeInput.js +2 -2
- package/es/core/editor/components/settings/common/NodeSizeInput/img/icon_/350/247/243/351/224/201.svg +15 -15
- package/es/core/editor/components/settings/common/NodeSizeInput/img/icon_/351/224/201.svg +14 -14
- package/es/core/editor/components/settings/common/text/img/bold.svg +11 -11
- package/es/core/editor/components/settings/common/text/img/italics.svg +9 -9
- package/es/core/editor/components/settings/common/text/img/underline.svg +11 -11
- package/es/core/editor/components/settings/text/TextPropertyView.js +9 -1
- package/es/core/models/TopoApp.js +3 -3
- package/es/core/models/attrAndMetric.js +1 -1
- package/es/core/models/cache/CiTyeCache.js +1 -1
- package/es/core/models/cache/DictCache.js +1 -1
- package/es/core/models/common/Alarm.js +2 -2
- package/es/core/models/plugins/resourceWebControllUrl.js +2 -2
- package/es/core/models/utils/linkUtils.js +1 -1
- package/es/core/utils/showMessage.js +1 -1
- package/es/core/viewer/components/plugins/ResourceDetail/topoDrawer.js +2 -2
- package/es/hooks/useAlarm.js +1 -1
- package/es/hooks/useContainerLinkTopo.js +1 -1
- package/es/hooks/usePolling.js +1 -1
- package/es/hooks/useTopoEdit.js +2 -2
- package/es/models/ciModel.js +1 -1
- package/es/models/iconManage.js +2 -2
- package/es/models/linkDynamicStyle.js +1 -1
- package/es/models/linkManager.js +2 -2
- package/es/models/resourceWebControllUrlSetting.js +2 -2
- package/es/models/topoAlarm.js +1 -2
- package/es/models/topoBizMod.js +4 -4
- package/es/models/topoCreateMod.js +53 -94
- package/es/models/topoEdit.js +2 -2
- package/es/models/topoGraphView.js +2 -2
- package/es/models/topoMod.js +3 -3
- package/es/models/topoView.js +2 -2
- package/es/style.js +1 -0
- package/es/topoCenter/components/Topology.js +1 -1
- package/es/topoCenter/getTopoData.js +1 -1
- package/es/topoCenter/store/functionAuth.js +3 -3
- package/es/topoCenter/store/topoCenter.js +2 -2
- package/es/topoCenter/store/topoTreeMod.js +2 -2
- package/es/utils/format.js +1 -1
- package/es/utils/topoData.js +1 -1
- package/es/utils/tree.js +0 -1
- package/lib/components/BatchAttrMetric/setting.js +2 -2
- package/lib/components/FormTable/index.js +1 -1
- package/lib/components/IndexSettingDrawer/IndexList.js +2 -2
- package/lib/components/Link/hook.js +1 -1
- package/lib/components/Link/index.js +1 -1
- package/lib/components/MultiResourceDrawer/Dynamic.js +1 -1
- package/lib/components/MultiResourceDrawer/index.js +1 -1
- package/lib/components/ResourceList/ResourceSelect.js +3 -3
- package/lib/core/components/TopoView/Topo404.js +1 -1
- package/lib/core/components/TopoView/TopoContent.js +1 -1
- package/lib/core/components/TopoView/TopoNoPermission.js +1 -1
- package/lib/core/components/TopoView/topoView.js +1 -1
- package/lib/core/editor/components/LinkDynamicStyleSettingDrawer/index.js +1 -1
- package/lib/core/editor/components/ResourceViewAttributeSetting/Setting.js +1 -1
- package/lib/core/editor/components/iconManage/UploadIconDialog.js +1 -1
- package/lib/core/editor/components/settings/common/NodeSizeInput/NodeSizeInput.js +2 -2
- package/lib/core/editor/components/settings/common/NodeSizeInput/img/icon_/350/247/243/351/224/201.svg +15 -15
- package/lib/core/editor/components/settings/common/NodeSizeInput/img/icon_/351/224/201.svg +14 -14
- package/lib/core/editor/components/settings/common/text/img/bold.svg +11 -11
- package/lib/core/editor/components/settings/common/text/img/italics.svg +9 -9
- package/lib/core/editor/components/settings/common/text/img/underline.svg +11 -11
- package/lib/core/editor/components/settings/text/TextPropertyView.js +9 -1
- package/lib/core/models/TopoApp.js +4 -4
- package/lib/core/models/attrAndMetric.js +1 -1
- package/lib/core/models/cache/CiTyeCache.js +1 -1
- package/lib/core/models/cache/DictCache.js +1 -1
- package/lib/core/models/common/Alarm.js +2 -2
- package/lib/core/models/plugins/resourceWebControllUrl.js +2 -2
- package/lib/core/models/utils/linkUtils.js +1 -1
- package/lib/core/utils/showMessage.js +1 -1
- package/lib/core/viewer/components/plugins/ResourceDetail/topoDrawer.js +2 -2
- package/lib/hooks/useAlarm.js +1 -1
- package/lib/hooks/useContainerLinkTopo.js +1 -1
- package/lib/hooks/usePolling.js +1 -1
- package/lib/hooks/useTopoEdit.js +2 -2
- package/lib/models/ciModel.js +1 -1
- package/lib/models/iconManage.js +2 -2
- package/lib/models/linkDynamicStyle.js +1 -1
- package/lib/models/linkManager.js +2 -2
- package/lib/models/resourceWebControllUrlSetting.js +2 -2
- package/lib/models/topoAlarm.js +1 -3
- package/lib/models/topoBizMod.js +4 -4
- package/lib/models/topoCreateMod.js +53 -94
- package/lib/models/topoEdit.js +2 -2
- package/lib/models/topoGraphView.js +2 -2
- package/lib/models/topoMod.js +3 -3
- package/lib/models/topoView.js +2 -2
- package/lib/style.js +1 -0
- package/lib/topoCenter/components/Topology.js +1 -1
- package/lib/topoCenter/getTopoData.js +1 -1
- package/lib/topoCenter/store/functionAuth.js +3 -3
- package/lib/topoCenter/store/topoCenter.js +2 -2
- package/lib/topoCenter/store/topoTreeMod.js +2 -2
- package/lib/utils/format.js +1 -1
- package/lib/utils/topoData.js +1 -1
- package/lib/utils/tree.js +0 -1
- package/package.json +22 -21
- package/es/common/components/ResourceTable/ResourceTable.d.ts +0 -2
- package/es/common/plugins/useSelectionPlugin.d.ts +0 -23
- package/es/components/BatchAttrMetric/constant.d.ts +0 -30
- package/es/components/BatchAttrMetric/index.d.ts +0 -5
- package/es/components/BatchAttrMetric/setting.d.ts +0 -6
- package/es/components/BatchAttrMetric/utils.d.ts +0 -35
- package/es/components/Drawer/index.d.ts +0 -2
- package/es/components/FormTable/index.d.ts +0 -2
- package/es/components/IndexSettingDrawer/CiList.d.ts +0 -2
- package/es/components/IndexSettingDrawer/CiListItem.d.ts +0 -2
- package/es/components/IndexSettingDrawer/IndexList.d.ts +0 -2
- package/es/components/IndexSettingDrawer/index.d.ts +0 -2
- package/es/components/Link/form.d.ts +0 -2
- package/es/components/Link/hook.d.ts +0 -26
- package/es/components/Link/index.d.ts +0 -6
- package/es/components/Link/setting.d.ts +0 -8
- package/es/components/MultiResourceDrawer/Content.d.ts +0 -2
- package/es/components/MultiResourceDrawer/Dynamic.d.ts +0 -2
- package/es/components/MultiResourceDrawer/ResourceCard/index.d.ts +0 -2
- package/es/components/MultiResourceDrawer/ResourceSelect.d.ts +0 -2
- package/es/components/MultiResourceDrawer/Static.d.ts +0 -2
- package/es/components/MultiResourceDrawer/index.d.ts +0 -2
- package/es/components/ResourceList/ResourceSelect.d.ts +0 -2
- package/es/components/ResourceList/ResourceSelectConnect.d.ts +0 -2
- package/es/components/ResourceList/index.d.ts +0 -1
- package/es/components/ResourceSelect/DefaultResourceSelectDrawer.d.ts +0 -1
- package/es/components/ResourceSelect/ResourceSelectDrawer.d.ts +0 -1
- package/es/components/SingleResourceDrawer/index.d.ts +0 -2
- package/es/components/TemplateButton/Icon.d.ts +0 -2
- package/es/components/TemplateButton/assets/index.d.ts +0 -8
- package/es/components/TemplateButton/index.d.ts +0 -2
- package/es/components/TemplateGroup/index.d.ts +0 -2
- package/es/components/TemplateSelect/index.d.ts +0 -2
- package/es/constants/ResDetailContants.d.ts +0 -1
- package/es/constants/constant.d.ts +0 -36
- package/es/constants/defaultCiTypeIcon.d.ts +0 -8
- package/es/contextmenu/createMenuCommands.d.ts +0 -5
- package/es/core/common/contextmenu/mergeContextmenu.d.ts +0 -1
- package/es/core/common/icons/defaultIcons.d.ts +0 -84
- package/es/core/components/TopoApp.d.ts +0 -1
- package/es/core/components/TopoAppProvider.d.ts +0 -1
- package/es/core/components/TopoAppView.d.ts +0 -14
- package/es/core/components/TopoView/Topo.d.ts +0 -5
- package/es/core/components/TopoView/Topo404.d.ts +0 -1
- package/es/core/components/TopoView/TopoContent.d.ts +0 -5
- package/es/core/components/TopoView/TopoNoPermission.d.ts +0 -1
- package/es/core/components/TopoView/topoView.d.ts +0 -19
- package/es/core/components/buildProvider.d.ts +0 -1
- package/es/core/components/titlebar/TitleBar.d.ts +0 -9
- package/es/core/components/titlebar/index.d.ts +0 -1
- package/es/core/components/titlebar/widgets/TitleWidget.d.ts +0 -1
- package/es/core/editor/LinkDynamicStyleConfig.d.ts +0 -5
- package/es/core/editor/components/EditorPlugin.d.ts +0 -1
- package/es/core/editor/components/LinkDynamicStyleSettingDrawer/RuleSetting.d.ts +0 -1
- package/es/core/editor/components/LinkDynamicStyleSettingDrawer/index.d.ts +0 -1
- package/es/core/editor/components/LinkDynamicStyleSettingDrawer/rule/ColorPicker.d.ts +0 -6
- package/es/core/editor/components/LinkDynamicStyleSettingDrawer/rule/Rule.d.ts +0 -1
- package/es/core/editor/components/LinkDynamicStyleSettingDrawer/rule/RuleCondition.d.ts +0 -1
- package/es/core/editor/components/LinkDynamicStyleSettingDrawer/rule/RuleStyle.d.ts +0 -1
- package/es/core/editor/components/ResourceViewAttributeSetting/ResourceViewAttributeSettingPlugin.d.ts +0 -4
- package/es/core/editor/components/ResourceViewAttributeSetting/Setting.d.ts +0 -5
- package/es/core/editor/components/iconManage/IconManage.d.ts +0 -1
- package/es/core/editor/components/iconManage/RenameDialog.d.ts +0 -1
- package/es/core/editor/components/iconManage/UploadIconDialog.d.ts +0 -30
- package/es/core/editor/components/iconManage/UploadIconDialogWrapper.d.ts +0 -1
- package/es/core/editor/components/iconManage/utils/svgToShape.d.ts +0 -1
- package/es/core/editor/components/settings/Settings.d.ts +0 -1
- package/es/core/editor/components/settings/SettingsForm.d.ts +0 -1
- package/es/core/editor/components/settings/Style.d.ts +0 -1
- package/es/core/editor/components/settings/common/LayoutSettings.d.ts +0 -2
- package/es/core/editor/components/settings/common/LineType.d.ts +0 -1
- package/es/core/editor/components/settings/common/NodeAlignType.d.ts +0 -1
- package/es/core/editor/components/settings/common/NodeSizeInput/NodeSizeInput.d.ts +0 -12
- package/es/core/editor/components/settings/common/NodeSizeInput/NodeSizeNumberPicker.d.ts +0 -7
- package/es/core/editor/components/settings/common/tab/TabView.d.ts +0 -1
- package/es/core/editor/components/settings/common/text/FontStyleCheckbox.d.ts +0 -1
- package/es/core/editor/components/settings/common/text/TextStyle.d.ts +0 -1
- package/es/core/editor/components/settings/common/text/fontStyleUtil.d.ts +0 -19
- package/es/core/editor/components/settings/group/GroupNodeList/GroupNodeList.d.ts +0 -1
- package/es/core/editor/components/settings/group/GroupNodeList/ResourceList.d.ts +0 -2
- package/es/core/editor/components/settings/group/GroupNodeList/ResourceSelectButton.d.ts +0 -1
- package/es/core/editor/components/settings/group/GroupNodeList/icon.d.ts +0 -87
- package/es/core/editor/components/settings/layer/LayerSettingsForm.d.ts +0 -1
- package/es/core/editor/components/settings/link/LinkPropertyView.d.ts +0 -1
- package/es/core/editor/components/settings/node/NodeIconSelect.d.ts +0 -1
- package/es/core/editor/components/settings/node/NodeIconSelectTest.d.ts +0 -1
- package/es/core/editor/components/settings/node/NodePropertyView.d.ts +0 -1
- package/es/core/editor/components/settings/node/NodeRelateResourceButton.d.ts +0 -4
- package/es/core/editor/components/settings/node/TopoTreeSelect.d.ts +0 -1
- package/es/core/editor/components/settings/text/TextPropertyView.d.ts +0 -1
- package/es/core/editor/components/settings/useSettingRuntimeState.d.ts +0 -5
- package/es/core/editor/components/settings/view/BatchSetNodeSize.d.ts +0 -1
- package/es/core/editor/components/settings/view/ViewPropertyView.d.ts +0 -1
- package/es/core/editor/components/titlebar/TopoEditorTitleBar.d.ts +0 -1
- package/es/core/editor/components/titlebar/widgets/SaveButton.d.ts +0 -1
- package/es/core/editor/contextmenu/buildContextmenu.d.ts +0 -6
- package/es/core/index.d.ts +0 -1
- package/es/core/models/AttributeMetricDisplay.d.ts +0 -8
- package/es/core/models/TopoGraphView.d.ts +0 -42
- package/es/core/models/TopoViewer.d.ts +0 -9
- package/es/core/models/attrAndMetric.d.ts +0 -1
- package/es/core/models/cache/CiTyeCache.d.ts +0 -12
- package/es/core/models/cache/DictCache.d.ts +0 -11
- package/es/core/models/common/Alarm.d.ts +0 -52
- package/es/core/models/common/ContextMenu.d.ts +0 -8
- package/es/core/models/createTopoApp.d.ts +0 -13
- package/es/core/models/plugins/resourceWebControllUrl.d.ts +0 -11
- package/es/core/models/utils/getRelationDetailByIds.d.ts +0 -1
- package/es/core/models/utils/linkUtils.d.ts +0 -3
- package/es/core/store/coreModels.d.ts +0 -18
- package/es/core/store/createStore.d.ts +0 -1
- package/es/core/test/Test.d.ts +0 -9
- package/es/core/utils/resourceUtil.d.ts +0 -5
- package/es/core/utils/showMessage.d.ts +0 -1
- package/es/core/viewer/components/plugins/ResourceDetail/ResourceDetailDrawerPlugin.d.ts +0 -1
- package/es/core/viewer/components/plugins/ResourceDetail/topoDrawer.d.ts +0 -2
- package/es/core/viewer/components/plugins/ResourceWebControllUrlSettingDialog.d.ts +0 -1
- package/es/core/viewer/components/plugins/ViewerPlugin.d.ts +0 -1
- package/es/core/viewer/components/titlebar/TopoViewerTitleBar.d.ts +0 -1
- package/es/core/viewer/components/titlebar/ViewerTools.d.ts +0 -1
- package/es/core/viewer/components/titlebar/widgets/EditButton.d.ts +0 -4
- package/es/core/viewer/components/titlebar/widgets/SearchWidget.d.ts +0 -8
- package/es/core/viewer/contextmenu/buildContextmenu.d.ts +0 -42
- package/es/core/viewer/contextmenu/buildLinkContextmenu.d.ts +0 -9
- package/es/core/viewer/contextmenu/buildNodeContextmenu.d.ts +0 -24
- package/es/core/viewer/contextmenu/buildViewContextmenu.d.ts +0 -7
- package/es/createTopo.d.ts +0 -2
- package/es/getStoreModels.d.ts +0 -35
- package/es/hooks/useAlarm.d.ts +0 -1
- package/es/hooks/useContainerLinkTopo.d.ts +0 -8
- package/es/hooks/usePolling.d.ts +0 -9
- package/es/hooks/useSelection.d.ts +0 -9
- package/es/hooks/useTopoEdit.d.ts +0 -83
- package/es/index.d.ts +0 -3
- package/es/mock/mock.d.ts +0 -187
- package/es/models/ciModel.d.ts +0 -15
- package/es/models/iconManage.d.ts +0 -39
- package/es/models/linkDynamicStyle.d.ts +0 -47
- package/es/models/linkDynamicStyleConfig.d.ts +0 -37
- package/es/models/linkManager.d.ts +0 -11
- package/es/models/resourceWebControllUrlSetting.d.ts +0 -13
- package/es/models/topoAlarm.d.ts +0 -15
- package/es/models/topoBizMod.d.ts +0 -42
- package/es/models/topoCreateMod.d.ts +0 -108
- package/es/models/topoEdit.d.ts +0 -13
- package/es/models/topoGraphView.d.ts +0 -11
- package/es/models/topoMod.d.ts +0 -86
- package/es/models/topoView.d.ts +0 -11
- package/es/topoCenter/components/Topology.d.ts +0 -1
- package/es/topoCenter/createTopo.d.ts +0 -3
- package/es/topoCenter/getTopoData.d.ts +0 -1
- package/es/topoCenter/index.d.ts +0 -3
- package/es/topoCenter/models/TopoCenter.d.ts +0 -11
- package/es/topoCenter/store/functionAuth.d.ts +0 -20
- package/es/topoCenter/store/topoCenter.d.ts +0 -32
- package/es/topoCenter/store/topoTreeMod.d.ts +0 -83
- package/es/topoCenter/viewer/components/TitleBar.d.ts +0 -1
- package/es/topoCenter/viewer/components/TopologyViewer.d.ts +0 -1
- package/es/topoCenter/viewer/createTopoViewer.d.ts +0 -3
- package/es/topoCenter/viewer/index.d.ts +0 -2
- package/es/utils/ciType.d.ts +0 -1
- package/es/utils/format.d.ts +0 -28
- package/es/utils/htElementDataUtil.d.ts +0 -5
- package/es/utils/htElementUtils.d.ts +0 -5
- package/es/utils/listToTree.d.ts +0 -1
- package/es/utils/resourceElementUtil.d.ts +0 -1
- package/es/utils/template.d.ts +0 -50
- package/es/utils/topoData.d.ts +0 -54
- package/es/utils/topoIconUtil.d.ts +0 -6
- package/es/utils/topoMocks.d.ts +0 -172
- package/es/utils/topoPermissionUtil.d.ts +0 -9
- package/es/utils/tree.d.ts +0 -15
- package/lib/common/components/ResourceTable/ResourceTable.d.ts +0 -2
- package/lib/common/plugins/useSelectionPlugin.d.ts +0 -23
- package/lib/components/BatchAttrMetric/constant.d.ts +0 -30
- package/lib/components/BatchAttrMetric/index.d.ts +0 -5
- package/lib/components/BatchAttrMetric/setting.d.ts +0 -6
- package/lib/components/BatchAttrMetric/utils.d.ts +0 -35
- package/lib/components/Drawer/index.d.ts +0 -2
- package/lib/components/FormTable/index.d.ts +0 -2
- package/lib/components/IndexSettingDrawer/CiList.d.ts +0 -2
- package/lib/components/IndexSettingDrawer/CiListItem.d.ts +0 -2
- package/lib/components/IndexSettingDrawer/IndexList.d.ts +0 -2
- package/lib/components/IndexSettingDrawer/index.d.ts +0 -2
- package/lib/components/Link/form.d.ts +0 -2
- package/lib/components/Link/hook.d.ts +0 -26
- package/lib/components/Link/index.d.ts +0 -6
- package/lib/components/Link/setting.d.ts +0 -8
- package/lib/components/MultiResourceDrawer/Content.d.ts +0 -2
- package/lib/components/MultiResourceDrawer/Dynamic.d.ts +0 -2
- package/lib/components/MultiResourceDrawer/ResourceCard/index.d.ts +0 -2
- package/lib/components/MultiResourceDrawer/ResourceSelect.d.ts +0 -2
- package/lib/components/MultiResourceDrawer/Static.d.ts +0 -2
- package/lib/components/MultiResourceDrawer/index.d.ts +0 -2
- package/lib/components/ResourceList/ResourceSelect.d.ts +0 -2
- package/lib/components/ResourceList/ResourceSelectConnect.d.ts +0 -2
- package/lib/components/ResourceList/index.d.ts +0 -1
- package/lib/components/ResourceSelect/DefaultResourceSelectDrawer.d.ts +0 -1
- package/lib/components/ResourceSelect/ResourceSelectDrawer.d.ts +0 -1
- package/lib/components/SingleResourceDrawer/index.d.ts +0 -2
- package/lib/components/TemplateButton/Icon.d.ts +0 -2
- package/lib/components/TemplateButton/assets/index.d.ts +0 -8
- package/lib/components/TemplateButton/index.d.ts +0 -2
- package/lib/components/TemplateGroup/index.d.ts +0 -2
- package/lib/components/TemplateSelect/index.d.ts +0 -2
- package/lib/constants/ResDetailContants.d.ts +0 -1
- package/lib/constants/constant.d.ts +0 -36
- package/lib/constants/defaultCiTypeIcon.d.ts +0 -8
- package/lib/contextmenu/createMenuCommands.d.ts +0 -5
- package/lib/core/common/contextmenu/mergeContextmenu.d.ts +0 -1
- package/lib/core/common/icons/defaultIcons.d.ts +0 -84
- package/lib/core/components/TopoApp.d.ts +0 -1
- package/lib/core/components/TopoAppProvider.d.ts +0 -1
- package/lib/core/components/TopoAppView.d.ts +0 -14
- package/lib/core/components/TopoView/Topo.d.ts +0 -5
- package/lib/core/components/TopoView/Topo404.d.ts +0 -1
- package/lib/core/components/TopoView/TopoContent.d.ts +0 -5
- package/lib/core/components/TopoView/TopoNoPermission.d.ts +0 -1
- package/lib/core/components/TopoView/topoView.d.ts +0 -19
- package/lib/core/components/buildProvider.d.ts +0 -1
- package/lib/core/components/titlebar/TitleBar.d.ts +0 -9
- package/lib/core/components/titlebar/index.d.ts +0 -1
- package/lib/core/components/titlebar/widgets/TitleWidget.d.ts +0 -1
- package/lib/core/editor/LinkDynamicStyleConfig.d.ts +0 -5
- package/lib/core/editor/components/EditorPlugin.d.ts +0 -1
- package/lib/core/editor/components/LinkDynamicStyleSettingDrawer/RuleSetting.d.ts +0 -1
- package/lib/core/editor/components/LinkDynamicStyleSettingDrawer/index.d.ts +0 -1
- package/lib/core/editor/components/LinkDynamicStyleSettingDrawer/rule/ColorPicker.d.ts +0 -6
- package/lib/core/editor/components/LinkDynamicStyleSettingDrawer/rule/Rule.d.ts +0 -1
- package/lib/core/editor/components/LinkDynamicStyleSettingDrawer/rule/RuleCondition.d.ts +0 -1
- package/lib/core/editor/components/LinkDynamicStyleSettingDrawer/rule/RuleStyle.d.ts +0 -1
- package/lib/core/editor/components/ResourceViewAttributeSetting/ResourceViewAttributeSettingPlugin.d.ts +0 -4
- package/lib/core/editor/components/ResourceViewAttributeSetting/Setting.d.ts +0 -5
- package/lib/core/editor/components/iconManage/IconManage.d.ts +0 -1
- package/lib/core/editor/components/iconManage/RenameDialog.d.ts +0 -1
- package/lib/core/editor/components/iconManage/UploadIconDialog.d.ts +0 -30
- package/lib/core/editor/components/iconManage/UploadIconDialogWrapper.d.ts +0 -1
- package/lib/core/editor/components/iconManage/utils/svgToShape.d.ts +0 -1
- package/lib/core/editor/components/settings/Settings.d.ts +0 -1
- package/lib/core/editor/components/settings/SettingsForm.d.ts +0 -1
- package/lib/core/editor/components/settings/Style.d.ts +0 -1
- package/lib/core/editor/components/settings/common/LayoutSettings.d.ts +0 -2
- package/lib/core/editor/components/settings/common/LineType.d.ts +0 -1
- package/lib/core/editor/components/settings/common/NodeAlignType.d.ts +0 -1
- package/lib/core/editor/components/settings/common/NodeSizeInput/NodeSizeInput.d.ts +0 -12
- package/lib/core/editor/components/settings/common/NodeSizeInput/NodeSizeNumberPicker.d.ts +0 -7
- package/lib/core/editor/components/settings/common/tab/TabView.d.ts +0 -1
- package/lib/core/editor/components/settings/common/text/FontStyleCheckbox.d.ts +0 -1
- package/lib/core/editor/components/settings/common/text/TextStyle.d.ts +0 -1
- package/lib/core/editor/components/settings/common/text/fontStyleUtil.d.ts +0 -19
- package/lib/core/editor/components/settings/group/GroupNodeList/GroupNodeList.d.ts +0 -1
- package/lib/core/editor/components/settings/group/GroupNodeList/ResourceList.d.ts +0 -2
- package/lib/core/editor/components/settings/group/GroupNodeList/ResourceSelectButton.d.ts +0 -1
- package/lib/core/editor/components/settings/group/GroupNodeList/icon.d.ts +0 -87
- package/lib/core/editor/components/settings/layer/LayerSettingsForm.d.ts +0 -1
- package/lib/core/editor/components/settings/link/LinkPropertyView.d.ts +0 -1
- package/lib/core/editor/components/settings/node/NodeIconSelect.d.ts +0 -1
- package/lib/core/editor/components/settings/node/NodeIconSelectTest.d.ts +0 -1
- package/lib/core/editor/components/settings/node/NodePropertyView.d.ts +0 -1
- package/lib/core/editor/components/settings/node/NodeRelateResourceButton.d.ts +0 -4
- package/lib/core/editor/components/settings/node/TopoTreeSelect.d.ts +0 -1
- package/lib/core/editor/components/settings/text/TextPropertyView.d.ts +0 -1
- package/lib/core/editor/components/settings/useSettingRuntimeState.d.ts +0 -5
- package/lib/core/editor/components/settings/view/BatchSetNodeSize.d.ts +0 -1
- package/lib/core/editor/components/settings/view/ViewPropertyView.d.ts +0 -1
- package/lib/core/editor/components/titlebar/TopoEditorTitleBar.d.ts +0 -1
- package/lib/core/editor/components/titlebar/widgets/SaveButton.d.ts +0 -1
- package/lib/core/editor/contextmenu/buildContextmenu.d.ts +0 -6
- package/lib/core/index.d.ts +0 -1
- package/lib/core/models/AttributeMetricDisplay.d.ts +0 -8
- package/lib/core/models/TopoGraphView.d.ts +0 -42
- package/lib/core/models/TopoViewer.d.ts +0 -9
- package/lib/core/models/attrAndMetric.d.ts +0 -1
- package/lib/core/models/cache/CiTyeCache.d.ts +0 -12
- package/lib/core/models/cache/DictCache.d.ts +0 -11
- package/lib/core/models/common/Alarm.d.ts +0 -52
- package/lib/core/models/common/ContextMenu.d.ts +0 -8
- package/lib/core/models/createTopoApp.d.ts +0 -13
- package/lib/core/models/plugins/resourceWebControllUrl.d.ts +0 -11
- package/lib/core/models/utils/getRelationDetailByIds.d.ts +0 -1
- package/lib/core/models/utils/linkUtils.d.ts +0 -3
- package/lib/core/store/coreModels.d.ts +0 -18
- package/lib/core/store/createStore.d.ts +0 -1
- package/lib/core/test/Test.d.ts +0 -9
- package/lib/core/utils/resourceUtil.d.ts +0 -5
- package/lib/core/utils/showMessage.d.ts +0 -1
- package/lib/core/viewer/components/plugins/ResourceDetail/ResourceDetailDrawerPlugin.d.ts +0 -1
- package/lib/core/viewer/components/plugins/ResourceDetail/topoDrawer.d.ts +0 -2
- package/lib/core/viewer/components/plugins/ResourceWebControllUrlSettingDialog.d.ts +0 -1
- package/lib/core/viewer/components/plugins/ViewerPlugin.d.ts +0 -1
- package/lib/core/viewer/components/titlebar/TopoViewerTitleBar.d.ts +0 -1
- package/lib/core/viewer/components/titlebar/ViewerTools.d.ts +0 -1
- package/lib/core/viewer/components/titlebar/widgets/EditButton.d.ts +0 -4
- package/lib/core/viewer/components/titlebar/widgets/SearchWidget.d.ts +0 -8
- package/lib/core/viewer/contextmenu/buildContextmenu.d.ts +0 -42
- package/lib/core/viewer/contextmenu/buildLinkContextmenu.d.ts +0 -9
- package/lib/core/viewer/contextmenu/buildNodeContextmenu.d.ts +0 -24
- package/lib/core/viewer/contextmenu/buildViewContextmenu.d.ts +0 -7
- package/lib/createTopo.d.ts +0 -2
- package/lib/getStoreModels.d.ts +0 -35
- package/lib/hooks/useAlarm.d.ts +0 -1
- package/lib/hooks/useContainerLinkTopo.d.ts +0 -8
- package/lib/hooks/usePolling.d.ts +0 -9
- package/lib/hooks/useSelection.d.ts +0 -9
- package/lib/hooks/useTopoEdit.d.ts +0 -83
- package/lib/index.d.ts +0 -3
- package/lib/mock/mock.d.ts +0 -187
- package/lib/models/ciModel.d.ts +0 -15
- package/lib/models/iconManage.d.ts +0 -39
- package/lib/models/linkDynamicStyle.d.ts +0 -47
- package/lib/models/linkDynamicStyleConfig.d.ts +0 -37
- package/lib/models/linkManager.d.ts +0 -11
- package/lib/models/resourceWebControllUrlSetting.d.ts +0 -13
- package/lib/models/topoAlarm.d.ts +0 -15
- package/lib/models/topoBizMod.d.ts +0 -42
- package/lib/models/topoCreateMod.d.ts +0 -108
- package/lib/models/topoEdit.d.ts +0 -13
- package/lib/models/topoGraphView.d.ts +0 -11
- package/lib/models/topoMod.d.ts +0 -86
- package/lib/models/topoView.d.ts +0 -11
- package/lib/topoCenter/components/Topology.d.ts +0 -1
- package/lib/topoCenter/createTopo.d.ts +0 -3
- package/lib/topoCenter/getTopoData.d.ts +0 -1
- package/lib/topoCenter/index.d.ts +0 -3
- package/lib/topoCenter/models/TopoCenter.d.ts +0 -11
- package/lib/topoCenter/store/functionAuth.d.ts +0 -20
- package/lib/topoCenter/store/topoCenter.d.ts +0 -32
- package/lib/topoCenter/store/topoTreeMod.d.ts +0 -83
- package/lib/topoCenter/viewer/components/TitleBar.d.ts +0 -1
- package/lib/topoCenter/viewer/components/TopologyViewer.d.ts +0 -1
- package/lib/topoCenter/viewer/createTopoViewer.d.ts +0 -3
- package/lib/topoCenter/viewer/index.d.ts +0 -2
- package/lib/utils/ciType.d.ts +0 -1
- package/lib/utils/format.d.ts +0 -28
- package/lib/utils/htElementDataUtil.d.ts +0 -5
- package/lib/utils/htElementUtils.d.ts +0 -5
- package/lib/utils/listToTree.d.ts +0 -1
- package/lib/utils/resourceElementUtil.d.ts +0 -1
- package/lib/utils/template.d.ts +0 -50
- package/lib/utils/topoData.d.ts +0 -54
- package/lib/utils/topoIconUtil.d.ts +0 -6
- package/lib/utils/topoMocks.d.ts +0 -172
- package/lib/utils/topoPermissionUtil.d.ts +0 -9
- package/lib/utils/tree.d.ts +0 -15
package/lib/models/topoMod.d.ts
DELETED
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
export default function _default(topoApp: any): {
|
|
2
|
-
state: {
|
|
3
|
-
loading: boolean;
|
|
4
|
-
urlParams: {};
|
|
5
|
-
topoLoading: boolean;
|
|
6
|
-
topoLoadError: boolean;
|
|
7
|
-
topoId: string;
|
|
8
|
-
topoName: string;
|
|
9
|
-
topoPermission: any;
|
|
10
|
-
viewState: string;
|
|
11
|
-
topoData: any;
|
|
12
|
-
currentTopo: any;
|
|
13
|
-
currentNode: {
|
|
14
|
-
id: string;
|
|
15
|
-
name: string;
|
|
16
|
-
};
|
|
17
|
-
drawVisible: boolean;
|
|
18
|
-
selectNodeId: string;
|
|
19
|
-
topoAlarmIsOpen: boolean;
|
|
20
|
-
alarmData: any;
|
|
21
|
-
currentCiInfo: any;
|
|
22
|
-
resAndMetrics: {
|
|
23
|
-
res: any[];
|
|
24
|
-
metrics: any[];
|
|
25
|
-
metricsDoc: any;
|
|
26
|
-
};
|
|
27
|
-
linkTo: any;
|
|
28
|
-
};
|
|
29
|
-
reducers: {
|
|
30
|
-
update(prevState: any, payload: any): any;
|
|
31
|
-
};
|
|
32
|
-
effects: (dispatch: any) => {
|
|
33
|
-
/**
|
|
34
|
-
* 初始化。
|
|
35
|
-
*/
|
|
36
|
-
initData(playload: {}, rootState: any): Promise<void>;
|
|
37
|
-
exit(): void;
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
* @param playload {object}
|
|
41
|
-
* @param playload.id {string?}
|
|
42
|
-
* @param playload.data {object?}
|
|
43
|
-
* @param playload.mode {string?}
|
|
44
|
-
* @param playload.viewState {string?}
|
|
45
|
-
*/
|
|
46
|
-
openTopoPage(playload: {
|
|
47
|
-
id: string | null;
|
|
48
|
-
data: object | null;
|
|
49
|
-
mode: string | null;
|
|
50
|
-
viewState: string | null;
|
|
51
|
-
}, rootState: any): Promise<void>;
|
|
52
|
-
clearData(): void;
|
|
53
|
-
switchToViewMode(playload: any, rootState: any): void;
|
|
54
|
-
enterEditMode(playload: any, rootState: any): void;
|
|
55
|
-
openDefaultTopoPage(conditions: {}, rootState: any): Promise<void>;
|
|
56
|
-
refreshPermission(): Promise<void>;
|
|
57
|
-
refreshTopoTree(): Promise<void>;
|
|
58
|
-
/**
|
|
59
|
-
* 加载拓扑图数据。
|
|
60
|
-
* 场景:首次打开、导航树切换、点刷新按钮、编辑进入显示
|
|
61
|
-
*
|
|
62
|
-
* @param props {{topoId}}
|
|
63
|
-
* @param props.linkTo {?} 关联拓扑
|
|
64
|
-
* @param props.refresh {?boolean} 是否刷新
|
|
65
|
-
* @return {Promise<void>}
|
|
66
|
-
*/
|
|
67
|
-
initTopoData(props: {
|
|
68
|
-
topoId: any;
|
|
69
|
-
}, state: any): Promise<void>;
|
|
70
|
-
/**
|
|
71
|
-
* 刷新拓扑图
|
|
72
|
-
*/
|
|
73
|
-
refreshTopo(payload: any, rootState: any): Promise<void>;
|
|
74
|
-
operationTopoPage(conditions: {}, state: any): Promise<void>;
|
|
75
|
-
openPermissionSetting(payload: any, rootState: any): Promise<void>;
|
|
76
|
-
updateDelId(conditions: string, state: any): Promise<void>;
|
|
77
|
-
/**
|
|
78
|
-
* 查询最近一个月的告警
|
|
79
|
-
*
|
|
80
|
-
* TODO 迁移
|
|
81
|
-
*/
|
|
82
|
-
getAlarmById(conditions: any, state: any): Promise<void>;
|
|
83
|
-
getCiInfo(conditions: any, state: any): Promise<void>;
|
|
84
|
-
getTopoPermission(playload: any, rootState: any): Promise<any>;
|
|
85
|
-
};
|
|
86
|
-
};
|
package/lib/models/topoView.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
declare namespace _default {
|
|
2
|
-
export const state: {};
|
|
3
|
-
export namespace reducers {
|
|
4
|
-
export function update(prevState: any, payload: any): any;
|
|
5
|
-
export function update(prevState: any, payload: any): any;
|
|
6
|
-
}
|
|
7
|
-
export function effects(dispatch: any): {
|
|
8
|
-
init(payload: any, rootState: any): Promise<void>;
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function Topology(props: any): JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function getTopoData(id: any): Promise<any>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export default class TopoCenter extends TopoApp {
|
|
2
|
-
constructor(options: any);
|
|
3
|
-
/**
|
|
4
|
-
* TODO 移除
|
|
5
|
-
* @param params
|
|
6
|
-
* @return {Promise<void>}
|
|
7
|
-
*/
|
|
8
|
-
initData(params: any): Promise<void>;
|
|
9
|
-
openTopo(params: any): void;
|
|
10
|
-
}
|
|
11
|
-
import TopoApp from "../../core/models/TopoApp";
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
declare namespace _default {
|
|
2
|
-
export namespace state {
|
|
3
|
-
export namespace permissions {
|
|
4
|
-
export const createTopo: boolean;
|
|
5
|
-
export const manageNavTree: boolean;
|
|
6
|
-
export const setTopoPermission: boolean;
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
export namespace reducers {
|
|
10
|
-
export function update(prevState: any, payload: any): any;
|
|
11
|
-
export function update(prevState: any, payload: any): any;
|
|
12
|
-
}
|
|
13
|
-
export function effects(dispatch: any): {
|
|
14
|
-
init(payload: any, rootState: any): Promise<void>;
|
|
15
|
-
getPermissions(): Promise<{}>;
|
|
16
|
-
checkAuth(name: any, rootState: any): any;
|
|
17
|
-
refresh(): Promise<void>;
|
|
18
|
-
};
|
|
19
|
-
}
|
|
20
|
-
export default _default;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
declare namespace _default {
|
|
2
|
-
export namespace state {
|
|
3
|
-
export const loading: boolean;
|
|
4
|
-
export const id: any;
|
|
5
|
-
export const viewState: string;
|
|
6
|
-
}
|
|
7
|
-
export namespace reducers {
|
|
8
|
-
export function update(prevState: any, payload: any): any;
|
|
9
|
-
export function update(prevState: any, payload: any): any;
|
|
10
|
-
}
|
|
11
|
-
export function effects(dispatch: any): {
|
|
12
|
-
/**
|
|
13
|
-
* 初始化。
|
|
14
|
-
*/
|
|
15
|
-
initData(playload: any, rootState: any): Promise<void>;
|
|
16
|
-
/**
|
|
17
|
-
* 退出。
|
|
18
|
-
*/
|
|
19
|
-
exit(playload: any, rootState: any): Promise<void>;
|
|
20
|
-
openCreateTopoPage(playload: {}, state: any): Promise<void>;
|
|
21
|
-
/**
|
|
22
|
-
*
|
|
23
|
-
* @param playload {{id: string, linkTo:?object}}
|
|
24
|
-
*/
|
|
25
|
-
openTopoPage(playload: {
|
|
26
|
-
id: string;
|
|
27
|
-
linkTo: any;
|
|
28
|
-
}, rootState: any): Promise<void>;
|
|
29
|
-
refreshTopoTree(): Promise<void>;
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
export default _default;
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* TODO 导航树相关增删改移到拓扑中心
|
|
3
|
-
*/
|
|
4
|
-
export default function _default(topoApp: any): {
|
|
5
|
-
state: {
|
|
6
|
-
treeData: any[];
|
|
7
|
-
loaded: boolean;
|
|
8
|
-
topoInteData: {
|
|
9
|
-
id: string;
|
|
10
|
-
name: string;
|
|
11
|
-
loader: string;
|
|
12
|
-
layouter: string;
|
|
13
|
-
config: {
|
|
14
|
-
viewType: string;
|
|
15
|
-
layout: {
|
|
16
|
-
type: string;
|
|
17
|
-
elements: ({
|
|
18
|
-
id: string;
|
|
19
|
-
type: string;
|
|
20
|
-
name: string;
|
|
21
|
-
attribute: {
|
|
22
|
-
ciType: string;
|
|
23
|
-
ciName: string;
|
|
24
|
-
reltype?: undefined;
|
|
25
|
-
};
|
|
26
|
-
source?: undefined;
|
|
27
|
-
target?: undefined;
|
|
28
|
-
} | {
|
|
29
|
-
id: string;
|
|
30
|
-
source: string;
|
|
31
|
-
target: string;
|
|
32
|
-
attribute: {
|
|
33
|
-
reltype: string;
|
|
34
|
-
ciType?: undefined;
|
|
35
|
-
ciName?: undefined;
|
|
36
|
-
};
|
|
37
|
-
type: string;
|
|
38
|
-
name?: undefined;
|
|
39
|
-
})[];
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
serialize: string;
|
|
43
|
-
};
|
|
44
|
-
selectedNode: any[];
|
|
45
|
-
defId: string;
|
|
46
|
-
drawVisible: boolean;
|
|
47
|
-
expandedKeys: any;
|
|
48
|
-
autoExpandParent: boolean;
|
|
49
|
-
};
|
|
50
|
-
reducers: {
|
|
51
|
-
update(prevState: any, payload: any): any;
|
|
52
|
-
updataTree(state: any): void;
|
|
53
|
-
};
|
|
54
|
-
effects: (dispatch: any) => {
|
|
55
|
-
fetchTopoTree(payload: any, rootState: any): Promise<void>;
|
|
56
|
-
getSelectedTopoId(payload: any, rootState: any): any;
|
|
57
|
-
refreshTree(payload: any, rootState: any): Promise<void>;
|
|
58
|
-
editTopoOnTree(conditions: {}, state: any): Promise<void>;
|
|
59
|
-
/**
|
|
60
|
-
* 节指定的点和子节点是否包含指定的拓扑
|
|
61
|
-
*/
|
|
62
|
-
containsTopo(payload: any, rootState: any): boolean;
|
|
63
|
-
/**
|
|
64
|
-
* 删除拓扑树上的拓扑节点
|
|
65
|
-
* @param {*} conditions id
|
|
66
|
-
* @param {*} state
|
|
67
|
-
*/
|
|
68
|
-
deleteTopoOnTree(conditions: any, state: any): Promise<any>;
|
|
69
|
-
setDefTopoOnTree(conditions: {}, state: any): Promise<void>;
|
|
70
|
-
setDefaultTopoId(defaultTopoId: any): void;
|
|
71
|
-
/**
|
|
72
|
-
* 类型搜索
|
|
73
|
-
* @param {string} value
|
|
74
|
-
*/
|
|
75
|
-
treeSearch(value: string, state: any): void;
|
|
76
|
-
/**
|
|
77
|
-
* 节点展开
|
|
78
|
-
* @param {array} keys
|
|
79
|
-
*/
|
|
80
|
-
onExpand(keys: any[]): void;
|
|
81
|
-
selectNode(id: any, rootState: any): void;
|
|
82
|
-
};
|
|
83
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function TitleBar(props: any): JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function TopologyViewer(props: any): JSX.Element;
|
package/lib/utils/ciType.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export function getAllCiTypes(modelTree: any): any[];
|
package/lib/utils/format.d.ts
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
export function formatDataForTable(dataSource: any, total: any, currentPage: any, pageSize: any): {
|
|
2
|
-
success: boolean;
|
|
3
|
-
data: {
|
|
4
|
-
dataSource: any;
|
|
5
|
-
total: any;
|
|
6
|
-
current: any;
|
|
7
|
-
pageSize: any;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
export function sortData(dataSource: any, sortBy: any, sortOrder: any): any;
|
|
11
|
-
export function filterNode(elements: any, nodeId: any): any;
|
|
12
|
-
export function filterGroupById(elements: any, id: any): any;
|
|
13
|
-
export function filterGroupByTag(elements: any, tag: any): any;
|
|
14
|
-
export function removeFromArray(arr: any, index: any): any;
|
|
15
|
-
export function replaceArrayElement(arr: any, index: any, element: any): any;
|
|
16
|
-
/**
|
|
17
|
-
* 关联拓扑树结构(删除空文件夹)
|
|
18
|
-
* @param {array} data 原拓扑树数据
|
|
19
|
-
* @param {string} excludeId 不包含的拓扑id
|
|
20
|
-
* @returns
|
|
21
|
-
*/
|
|
22
|
-
export function formatTreeDataSelect(data: any[], excludeId: string): any[];
|
|
23
|
-
/**
|
|
24
|
-
* 处理多ip的情况,按产品展示要求返回第一个值
|
|
25
|
-
* @param {String} ipStr ip串
|
|
26
|
-
* @param {String} separator 分隔符
|
|
27
|
-
*/
|
|
28
|
-
export function getIp(ipStr: string, separator?: string): string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function listToTree(list: any, parent: any): any;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export function isResource(node: any): boolean;
|
package/lib/utils/template.d.ts
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
export const TPL_BLANK: "auto";
|
|
2
|
-
export const TPL_TREE: "layers";
|
|
3
|
-
export const TPL_REGION: "partition";
|
|
4
|
-
export namespace INIT_DYNAMIC_STATE {
|
|
5
|
-
export const selected: boolean;
|
|
6
|
-
export const condition: string;
|
|
7
|
-
export const data: {
|
|
8
|
-
relation: string;
|
|
9
|
-
children: {
|
|
10
|
-
key: number;
|
|
11
|
-
type: {
|
|
12
|
-
rootCi: string;
|
|
13
|
-
};
|
|
14
|
-
}[];
|
|
15
|
-
}[];
|
|
16
|
-
}
|
|
17
|
-
export namespace INIT_STATIC_STATE {
|
|
18
|
-
const selected_1: boolean;
|
|
19
|
-
export { selected_1 as selected };
|
|
20
|
-
const data_1: any[];
|
|
21
|
-
export { data_1 as data };
|
|
22
|
-
}
|
|
23
|
-
export namespace DEFAULT_LAYOUT {
|
|
24
|
-
export const id: string;
|
|
25
|
-
}
|
|
26
|
-
export namespace DEFAULT_GROUP {
|
|
27
|
-
export const name: string;
|
|
28
|
-
export { DEFAULT_LAYOUT as layout };
|
|
29
|
-
export const resources: {
|
|
30
|
-
dynamic: {
|
|
31
|
-
selected: boolean;
|
|
32
|
-
condition: string;
|
|
33
|
-
data: {
|
|
34
|
-
relation: string;
|
|
35
|
-
children: {
|
|
36
|
-
key: number;
|
|
37
|
-
type: {
|
|
38
|
-
rootCi: string;
|
|
39
|
-
};
|
|
40
|
-
}[];
|
|
41
|
-
}[];
|
|
42
|
-
};
|
|
43
|
-
static: {
|
|
44
|
-
selected: boolean;
|
|
45
|
-
data: any[];
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
export const expanded: boolean;
|
|
49
|
-
export const resList: any[];
|
|
50
|
-
}
|
package/lib/utils/topoData.d.ts
DELETED
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
export function formatGroup(group: any): any;
|
|
2
|
-
export function formatGroups(groups: any): any;
|
|
3
|
-
export function getCiTypes(topoData: any): string[];
|
|
4
|
-
export function getAlarmSwitch(topoData: any): boolean;
|
|
5
|
-
export function findItem(arr: any[], key: string, value: any): any;
|
|
6
|
-
export function findItemIndex(arr: any, key: any, value: any): number;
|
|
7
|
-
export function sortList(a: any, b: any): number;
|
|
8
|
-
export function combTopoData({ data: result, permission, linkTo, globalSetting, ciTypeMap, icons, engine, }: {
|
|
9
|
-
data: any;
|
|
10
|
-
permission: any;
|
|
11
|
-
linkTo: any;
|
|
12
|
-
globalSetting: any;
|
|
13
|
-
ciTypeMap: any;
|
|
14
|
-
icons: any;
|
|
15
|
-
engine: any;
|
|
16
|
-
}): {
|
|
17
|
-
topoData: {
|
|
18
|
-
config: any;
|
|
19
|
-
global: any;
|
|
20
|
-
groups: any;
|
|
21
|
-
nodes: any;
|
|
22
|
-
links: any;
|
|
23
|
-
serialize: any;
|
|
24
|
-
};
|
|
25
|
-
resAndMetrics: {
|
|
26
|
-
resIdsList: any[];
|
|
27
|
-
nodeIdsList: any[];
|
|
28
|
-
linkIdsList: any[];
|
|
29
|
-
ciDoc: {};
|
|
30
|
-
ciTypes: any[];
|
|
31
|
-
ciTypesDoc: {};
|
|
32
|
-
ciTypeMap: any;
|
|
33
|
-
metrics: any[];
|
|
34
|
-
metricsDoc: {};
|
|
35
|
-
attrsDoc: {};
|
|
36
|
-
bindingCiSet: {};
|
|
37
|
-
allMetrics: any[];
|
|
38
|
-
allAttrs: any[];
|
|
39
|
-
globalConfig: any;
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
export function updateAllCiDoc(dataType: any, doc: any, ciDoc: any, allCiSet: any): {
|
|
43
|
-
cidoc: any;
|
|
44
|
-
allciset: any;
|
|
45
|
-
};
|
|
46
|
-
export function updateCiDoc(dataType: any, doc: any, ciDoc: any, allCiSet: any): {
|
|
47
|
-
cidoc: any;
|
|
48
|
-
allciset: any;
|
|
49
|
-
};
|
|
50
|
-
export function combSaveTopoData({ global, ciSetDoc: ciDoc, linkDynamicStyleConfig, }: any): {
|
|
51
|
-
alarmSwitch: any;
|
|
52
|
-
configDataList: any[];
|
|
53
|
-
extraConfig: string;
|
|
54
|
-
};
|
package/lib/utils/topoMocks.d.ts
DELETED
|
@@ -1,172 +0,0 @@
|
|
|
1
|
-
export const treeMockData: ({
|
|
2
|
-
id: number;
|
|
3
|
-
name: string;
|
|
4
|
-
parentId: number;
|
|
5
|
-
icon: any;
|
|
6
|
-
menuOrder: number;
|
|
7
|
-
showDefault: boolean;
|
|
8
|
-
type: number;
|
|
9
|
-
children: {
|
|
10
|
-
id: number;
|
|
11
|
-
name: string;
|
|
12
|
-
parentId: number;
|
|
13
|
-
icon: any;
|
|
14
|
-
menuOrder: number;
|
|
15
|
-
showDefault: any;
|
|
16
|
-
type: number;
|
|
17
|
-
}[];
|
|
18
|
-
} | {
|
|
19
|
-
id: number;
|
|
20
|
-
name: string;
|
|
21
|
-
parentId: number;
|
|
22
|
-
icon: any;
|
|
23
|
-
menuOrder: number;
|
|
24
|
-
showDefault: any;
|
|
25
|
-
type: number;
|
|
26
|
-
children: {
|
|
27
|
-
id: number;
|
|
28
|
-
name: string;
|
|
29
|
-
parentId: number;
|
|
30
|
-
icon: any;
|
|
31
|
-
menuOrder: number;
|
|
32
|
-
showDefault: any;
|
|
33
|
-
type: number;
|
|
34
|
-
children: ({
|
|
35
|
-
id: number;
|
|
36
|
-
name: string;
|
|
37
|
-
parentId: number;
|
|
38
|
-
icon: any;
|
|
39
|
-
menuOrder: number;
|
|
40
|
-
showDefault: any;
|
|
41
|
-
type: number;
|
|
42
|
-
children: ({
|
|
43
|
-
id: number;
|
|
44
|
-
name: string;
|
|
45
|
-
parentId: number;
|
|
46
|
-
icon: any;
|
|
47
|
-
menuOrder: number;
|
|
48
|
-
showDefault: boolean;
|
|
49
|
-
type: number;
|
|
50
|
-
children?: undefined;
|
|
51
|
-
} | {
|
|
52
|
-
id: number;
|
|
53
|
-
name: string;
|
|
54
|
-
parentId: number;
|
|
55
|
-
icon: any;
|
|
56
|
-
menuOrder: number;
|
|
57
|
-
showDefault: any;
|
|
58
|
-
type: number;
|
|
59
|
-
children: {
|
|
60
|
-
id: number;
|
|
61
|
-
name: string;
|
|
62
|
-
parentId: number;
|
|
63
|
-
icon: any;
|
|
64
|
-
menuOrder: number;
|
|
65
|
-
showDefault: boolean;
|
|
66
|
-
type: number;
|
|
67
|
-
}[];
|
|
68
|
-
})[];
|
|
69
|
-
} | {
|
|
70
|
-
id: number;
|
|
71
|
-
name: string;
|
|
72
|
-
parentId: number;
|
|
73
|
-
icon: any;
|
|
74
|
-
menuOrder: number;
|
|
75
|
-
showDefault: any;
|
|
76
|
-
type: number;
|
|
77
|
-
children?: undefined;
|
|
78
|
-
})[];
|
|
79
|
-
}[];
|
|
80
|
-
})[];
|
|
81
|
-
export namespace topoInteData {
|
|
82
|
-
export const id: string;
|
|
83
|
-
export const name: string;
|
|
84
|
-
export const loader: string;
|
|
85
|
-
export const layouter: string;
|
|
86
|
-
export namespace config {
|
|
87
|
-
export const viewType: string;
|
|
88
|
-
export const layout: {
|
|
89
|
-
type: string;
|
|
90
|
-
elements: ({
|
|
91
|
-
id: string;
|
|
92
|
-
type: string;
|
|
93
|
-
name: string;
|
|
94
|
-
attribute: {
|
|
95
|
-
ciType: string;
|
|
96
|
-
ciName: string;
|
|
97
|
-
reltype?: undefined;
|
|
98
|
-
};
|
|
99
|
-
source?: undefined;
|
|
100
|
-
target?: undefined;
|
|
101
|
-
} | {
|
|
102
|
-
id: string;
|
|
103
|
-
source: string;
|
|
104
|
-
target: string;
|
|
105
|
-
attribute: {
|
|
106
|
-
reltype: string;
|
|
107
|
-
ciType?: undefined;
|
|
108
|
-
ciName?: undefined;
|
|
109
|
-
};
|
|
110
|
-
type: string;
|
|
111
|
-
name?: undefined;
|
|
112
|
-
})[];
|
|
113
|
-
};
|
|
114
|
-
}
|
|
115
|
-
export const serialize: string;
|
|
116
|
-
}
|
|
117
|
-
export const getTopoMockData: {
|
|
118
|
-
config: {
|
|
119
|
-
id: string;
|
|
120
|
-
name: string;
|
|
121
|
-
viewType: string;
|
|
122
|
-
layout: string;
|
|
123
|
-
};
|
|
124
|
-
global: {
|
|
125
|
-
alarmSwitch: boolean;
|
|
126
|
-
attribute: {
|
|
127
|
-
ruijieSwitch: {
|
|
128
|
-
code: string;
|
|
129
|
-
name: string;
|
|
130
|
-
tips: boolean;
|
|
131
|
-
tags: boolean;
|
|
132
|
-
}[];
|
|
133
|
-
};
|
|
134
|
-
metric: {
|
|
135
|
-
ruijieSwitch: {
|
|
136
|
-
code: string;
|
|
137
|
-
name: string;
|
|
138
|
-
tips: boolean;
|
|
139
|
-
tags: boolean;
|
|
140
|
-
}[];
|
|
141
|
-
};
|
|
142
|
-
};
|
|
143
|
-
nodes: ({
|
|
144
|
-
id: string;
|
|
145
|
-
type: string;
|
|
146
|
-
name: string;
|
|
147
|
-
attribute: {
|
|
148
|
-
ciType: string;
|
|
149
|
-
ciName: string;
|
|
150
|
-
};
|
|
151
|
-
metric?: undefined;
|
|
152
|
-
} | {
|
|
153
|
-
id: string;
|
|
154
|
-
type: string;
|
|
155
|
-
name: string;
|
|
156
|
-
attribute: {
|
|
157
|
-
code: string;
|
|
158
|
-
name: string;
|
|
159
|
-
}[];
|
|
160
|
-
metric: {}[];
|
|
161
|
-
})[];
|
|
162
|
-
links: {
|
|
163
|
-
id: string;
|
|
164
|
-
type: string;
|
|
165
|
-
source: string;
|
|
166
|
-
target: string;
|
|
167
|
-
attribute: {
|
|
168
|
-
reltype: string;
|
|
169
|
-
};
|
|
170
|
-
}[];
|
|
171
|
-
serialize: string;
|
|
172
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
declare namespace _default {
|
|
2
|
-
export function isDeleteable(permisson: any): boolean;
|
|
3
|
-
export function isDeleteable(permisson: any): boolean;
|
|
4
|
-
export function isEditable(permisson: any): boolean;
|
|
5
|
-
export function isEditable(permisson: any): boolean;
|
|
6
|
-
export function isReadable(permisson: any): boolean;
|
|
7
|
-
export function isReadable(permisson: any): boolean;
|
|
8
|
-
}
|
|
9
|
-
export default _default;
|
package/lib/utils/tree.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 递归数组生成树结构
|
|
3
|
-
* @param {array} json
|
|
4
|
-
* @param {object} funcPermissions
|
|
5
|
-
*/
|
|
6
|
-
export function formatTree(json: any[], funcPermissions: object): any[];
|
|
7
|
-
/**
|
|
8
|
-
* 按id查找节点
|
|
9
|
-
*/
|
|
10
|
-
export function findNodeById(tree: any, id: any): any;
|
|
11
|
-
export const iconImg: string[];
|
|
12
|
-
export function loopTree(data: any, key: any, callback: any, pid?: number): void;
|
|
13
|
-
export function loopTreeByKey(data: any, key: any, value: any, callback: any): void;
|
|
14
|
-
export function loopTreeFun(data: any[], callback: any): void;
|
|
15
|
-
export function treeNodeCount(data: any[]): any;
|