@riil-frontend/component-topology 2.3.20-dev.1 → 2.4.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 (214) hide show
  1. package/build/1.js +2 -2
  2. package/build/2.js +1 -1
  3. package/build/index.css +2 -2
  4. package/build/index.js +28 -28
  5. 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 +5 -5
  6. package/es/components/BatchAttrMetric/index.js +1 -1
  7. package/es/components/BatchAttrMetric/setting.js +4 -4
  8. package/es/components/BatchAttrMetric/utils.js +2 -2
  9. package/es/components/Drawer/index.js +4 -3
  10. package/es/components/Drawer/index.module.scss +13 -0
  11. package/es/components/FormTable/index.js +3 -3
  12. package/es/components/IndexSettingDrawer/CiList.js +1 -1
  13. package/es/components/IndexSettingDrawer/CiListItem.js +1 -1
  14. package/es/components/IndexSettingDrawer/IndexList.js +1 -1
  15. package/es/components/IndexSettingDrawer/index.js +1 -1
  16. package/es/components/Link/form.js +6 -6
  17. package/es/components/Link/index.js +2 -2
  18. package/es/components/Link/setting.js +4 -4
  19. package/es/components/MultiResourceDrawer/Content.js +1 -1
  20. package/es/components/MultiResourceDrawer/ResourceCard/index.js +2 -2
  21. package/es/components/ResourceList/ResourceSelect.js +3 -2
  22. package/es/components/ResourceList/ResourceSelect.module.scss +7 -0
  23. package/es/components/ResourceSelect/ResourceSelectDrawer.js +3 -1
  24. package/es/components/SingleResourceDrawer/index.js +1 -1
  25. package/es/core/{editor/components/settings/group/GroupNodeList → common}/icons/defaultIcons.d.ts +15 -0
  26. package/es/core/{editor/components/settings/group/GroupNodeList → common}/icons/defaultIcons.js +62 -0
  27. package/es/core/common/text.module.scss +5 -0
  28. package/es/core/components/TopoView/Topo.js +0 -6
  29. package/es/core/components/TopoView/TopoContent.js +1 -1
  30. package/es/core/editor/components/EditorPlugin.js +1 -1
  31. package/es/core/editor/components/LinkDynamicStyleSettingDrawer/RuleSetting.js +2 -2
  32. package/es/core/editor/components/LinkDynamicStyleSettingDrawer/rule/ColorPicker.js +1 -1
  33. package/es/core/editor/components/LinkDynamicStyleSettingDrawer/rule/ColorPicker.module.scss +7 -3
  34. package/es/core/editor/components/LinkDynamicStyleSettingDrawer/rule/Rule.js +1 -1
  35. package/es/core/editor/components/LinkDynamicStyleSettingDrawer/rule/RuleCondition.js +2 -2
  36. package/es/core/editor/components/LinkDynamicStyleSettingDrawer/rule/RuleStyle.js +4 -4
  37. package/es/core/editor/components/iconManage/RenameDialog.js +4 -4
  38. package/es/core/editor/components/iconManage/UploadIconDialog.js +6 -6
  39. package/es/core/editor/components/settings/README.md +2 -0
  40. package/es/core/editor/components/settings/Settings.js +47 -42
  41. package/es/core/editor/components/settings/Settings.module.scss +6 -1
  42. package/es/core/editor/components/settings/SettingsForm.js +2 -2
  43. package/es/core/editor/components/settings/Style.js +7 -7
  44. package/es/core/editor/components/settings/common/LayoutSettings.js +1 -1
  45. package/es/core/editor/components/settings/common/LineType.js +2 -2
  46. package/es/core/editor/components/settings/common/NodeAlignType.js +2 -2
  47. package/es/core/editor/components/settings/common/{NodeSizeInput.d.ts → NodeSizeInput/NodeSizeInput.d.ts} +0 -0
  48. package/es/core/editor/components/settings/common/{NodeSizeInput.js → NodeSizeInput/NodeSizeInput.js} +6 -4
  49. package/es/core/editor/components/settings/common/NodeSizeInput/img/icon_/350/247/243/351/224/201.svg +16 -0
  50. package/es/core/editor/components/settings/common/NodeSizeInput/img/icon_/351/224/201.svg +15 -0
  51. package/es/core/editor/components/settings/common/text/FontStyleCheckbox.d.ts +1 -0
  52. package/es/core/editor/components/settings/common/text/FontStyleCheckbox.js +50 -0
  53. package/es/core/editor/components/settings/common/text/FontStyleCheckbox.module.scss +31 -0
  54. package/es/core/editor/components/settings/common/text/TextStyle.d.ts +1 -0
  55. package/es/core/editor/components/settings/common/text/TextStyle.js +133 -0
  56. package/es/core/editor/components/settings/common/text/fontStyleUtil.d.ts +19 -0
  57. package/es/core/editor/components/settings/common/text/fontStyleUtil.js +53 -0
  58. package/es/core/editor/components/settings/common/text/img/bold.svg +12 -0
  59. package/es/core/editor/components/settings/common/text/img/italics.svg +10 -0
  60. package/es/core/editor/components/settings/common/text/img/underline.svg +12 -0
  61. package/es/core/editor/components/settings/group/GroupNodeList/ResourceList.js +23 -7
  62. package/es/core/editor/components/settings/group/GroupNodeList/ResourceList.module.scss +16 -0
  63. package/es/core/editor/components/settings/group/GroupNodeList/ResourceSelectButton.js +1 -1
  64. package/es/core/editor/components/settings/group/GroupNodeList/icon.d.ts +10 -0
  65. package/es/core/editor/components/settings/group/GroupNodeList/icon.js +20 -1
  66. package/es/core/editor/components/settings/layer/LayerSettingsForm.js +8 -8
  67. package/es/core/editor/components/settings/link/LinkPropertyView.js +8 -8
  68. package/es/core/editor/components/settings/node/NodeIconSelect.d.ts +1 -0
  69. package/es/core/editor/components/settings/node/NodeIconSelect.js +42 -0
  70. package/es/core/editor/components/settings/node/NodePropertyView.d.ts +1 -1
  71. package/es/core/editor/components/settings/node/NodePropertyView.js +128 -133
  72. package/es/core/editor/components/settings/node/NodeRelateResourceButton.d.ts +4 -0
  73. package/es/core/editor/components/settings/node/NodeRelateResourceButton.js +22 -0
  74. package/es/core/editor/components/settings/node/TopoTreeSelect.d.ts +1 -0
  75. package/es/core/editor/components/settings/node/TopoTreeSelect.js +40 -0
  76. package/es/core/editor/components/settings/text/TextPropertyView.js +32 -146
  77. package/es/core/editor/components/settings/view/ViewPropertyView.js +7 -7
  78. package/es/core/editor/components/titlebar/TopoEditorTitleBar.js +3 -4
  79. package/es/core/editor/{buildContextmenu.d.ts → contextmenu/buildContextmenu.d.ts} +1 -4
  80. package/es/core/editor/contextmenu/buildContextmenu.js +10 -0
  81. package/es/core/models/plugins/resourceWebControllUrl.js +1 -1
  82. package/es/core/utils/showMessage.js +1 -1
  83. package/es/core/viewer/components/plugins/ResourceDetail/topoDrawer.js +3 -3
  84. package/es/core/viewer/components/plugins/ResourceWebControllUrlSettingDialog.js +5 -5
  85. package/es/core/viewer/components/titlebar/TopoViewerTitleBar.js +1 -1
  86. package/es/core/viewer/components/titlebar/ViewerTools.js +4 -4
  87. package/es/core/viewer/components/titlebar/widgets/EditButton.js +1 -1
  88. package/es/core/viewer/components/titlebar/widgets/SearchWidget.js +1 -1
  89. package/es/hooks/usePolling.js +0 -1
  90. package/es/hooks/useSelection.js +9 -3
  91. package/es/hooks/useTopoEdit.js +2 -2
  92. package/es/models/iconManage.js +2 -2
  93. package/es/models/linkDynamicStyleConfig.js +1 -1
  94. package/es/models/topoBizMod.js +1 -1
  95. package/es/plugins/useSelectionPlugin.d.ts +23 -0
  96. package/es/plugins/useSelectionPlugin.js +84 -0
  97. package/es/style.js +30 -42
  98. package/es/topoCenter/components/Topology.js +2 -2
  99. package/es/topoCenter/viewer/index.js +2 -2
  100. package/es/utils/htElementDataUtil.js +1 -1
  101. package/es/utils/topoData.js +1 -1
  102. package/es/utils/tree.js +1 -1
  103. package/lib/common/components/ResourceTable/ResourceTable.js +2 -4
  104. package/lib/components/BatchAttrMetric/index.js +2 -4
  105. package/lib/components/BatchAttrMetric/setting.js +2 -4
  106. package/lib/components/Drawer/index.js +2 -1
  107. package/lib/components/Drawer/index.module.scss +13 -0
  108. package/lib/components/IndexSettingDrawer/IndexList.js +2 -4
  109. package/lib/components/IndexSettingDrawer/index.js +2 -4
  110. package/lib/components/Link/form.js +2 -4
  111. package/lib/components/Link/hook.js +2 -4
  112. package/lib/components/Link/index.js +2 -4
  113. package/lib/components/Link/setting.js +2 -4
  114. package/lib/components/MultiResourceDrawer/Content.js +2 -4
  115. package/lib/components/MultiResourceDrawer/index.js +2 -4
  116. package/lib/components/ResourceList/ResourceSelect.js +5 -5
  117. package/lib/components/ResourceList/ResourceSelect.module.scss +7 -0
  118. package/lib/components/ResourceList/ResourceSelectConnect.js +2 -4
  119. package/lib/components/ResourceSelect/DefaultResourceSelectDrawer.js +2 -4
  120. package/lib/components/ResourceSelect/ResourceSelectDrawer.js +5 -5
  121. package/lib/components/SingleResourceDrawer/index.js +2 -4
  122. package/lib/core/{editor/components/settings/group/GroupNodeList → common}/icons/defaultIcons.d.ts +15 -0
  123. package/lib/core/{editor/components/settings/group/GroupNodeList → common}/icons/defaultIcons.js +68 -1
  124. package/lib/core/common/text.module.scss +5 -0
  125. package/lib/core/components/TopoApp.js +2 -4
  126. package/lib/core/components/TopoAppProvider.js +2 -4
  127. package/lib/core/components/TopoAppView.js +2 -4
  128. package/lib/core/components/TopoView/Topo.js +2 -16
  129. package/lib/core/components/TopoView/Topo404.js +2 -4
  130. package/lib/core/components/TopoView/TopoContent.js +2 -4
  131. package/lib/core/components/TopoView/TopoNoPermission.js +2 -4
  132. package/lib/core/components/TopoView/topoView.js +2 -4
  133. package/lib/core/components/buildProvider.js +2 -4
  134. package/lib/core/components/titlebar/TitleBar.js +2 -4
  135. package/lib/core/components/titlebar/widgets/TitleWidget.js +2 -4
  136. package/lib/core/editor/components/LinkDynamicStyleSettingDrawer/RuleSetting.js +2 -4
  137. package/lib/core/editor/components/LinkDynamicStyleSettingDrawer/index.js +2 -4
  138. package/lib/core/editor/components/LinkDynamicStyleSettingDrawer/rule/ColorPicker.js +2 -4
  139. package/lib/core/editor/components/LinkDynamicStyleSettingDrawer/rule/ColorPicker.module.scss +7 -3
  140. package/lib/core/editor/components/LinkDynamicStyleSettingDrawer/rule/RuleCondition.js +2 -4
  141. package/lib/core/editor/components/LinkDynamicStyleSettingDrawer/rule/RuleStyle.js +2 -4
  142. package/lib/core/editor/components/ResourceViewAttributeSetting/ResourceViewAttributeSettingPlugin.js +2 -4
  143. package/lib/core/editor/components/ResourceViewAttributeSetting/Setting.js +2 -4
  144. package/lib/core/editor/components/iconManage/IconManage.js +2 -4
  145. package/lib/core/editor/components/iconManage/RenameDialog.js +2 -4
  146. package/lib/core/editor/components/iconManage/UploadIconDialog.js +2 -2
  147. package/lib/core/editor/components/iconManage/UploadIconDialogWrapper.js +2 -4
  148. package/lib/core/editor/components/settings/README.md +2 -0
  149. package/lib/core/editor/components/settings/Settings.js +45 -44
  150. package/lib/core/editor/components/settings/Settings.module.scss +6 -1
  151. package/lib/core/editor/components/settings/SettingsForm.js +2 -4
  152. package/lib/core/editor/components/settings/Style.js +2 -4
  153. package/lib/core/editor/components/settings/common/LayoutSettings.js +2 -4
  154. package/lib/core/editor/components/settings/common/LineType.js +2 -4
  155. package/lib/core/editor/components/settings/common/NodeAlignType.js +2 -4
  156. package/lib/core/editor/components/settings/common/{NodeSizeInput.d.ts → NodeSizeInput/NodeSizeInput.d.ts} +0 -0
  157. package/lib/core/editor/components/settings/common/{NodeSizeInput.js → NodeSizeInput/NodeSizeInput.js} +4 -4
  158. package/lib/core/editor/components/settings/common/NodeSizeInput/img/icon_/350/247/243/351/224/201.svg +16 -0
  159. package/lib/core/editor/components/settings/common/NodeSizeInput/img/icon_/351/224/201.svg +15 -0
  160. package/lib/core/editor/components/settings/common/text/FontStyleCheckbox.d.ts +1 -0
  161. package/lib/core/editor/components/settings/common/text/FontStyleCheckbox.js +68 -0
  162. package/lib/core/editor/components/settings/common/text/FontStyleCheckbox.module.scss +31 -0
  163. package/lib/core/editor/components/settings/common/text/TextStyle.d.ts +1 -0
  164. package/lib/core/editor/components/settings/common/text/TextStyle.js +150 -0
  165. package/lib/core/editor/components/settings/common/text/fontStyleUtil.d.ts +19 -0
  166. package/lib/core/editor/components/settings/common/text/fontStyleUtil.js +58 -0
  167. package/lib/core/editor/components/settings/common/text/img/bold.svg +12 -0
  168. package/lib/core/editor/components/settings/common/text/img/italics.svg +10 -0
  169. package/lib/core/editor/components/settings/common/text/img/underline.svg +12 -0
  170. package/lib/core/editor/components/settings/group/GroupNodeList/GroupNodeList.js +2 -4
  171. package/lib/core/editor/components/settings/group/GroupNodeList/ResourceList.js +24 -11
  172. package/lib/core/editor/components/settings/group/GroupNodeList/ResourceList.module.scss +16 -0
  173. package/lib/core/editor/components/settings/group/GroupNodeList/ResourceSelectButton.js +2 -4
  174. package/lib/core/editor/components/settings/group/GroupNodeList/icon.d.ts +10 -0
  175. package/lib/core/editor/components/settings/group/GroupNodeList/icon.js +23 -1
  176. package/lib/core/editor/components/settings/layer/LayerSettingsForm.js +2 -4
  177. package/lib/core/editor/components/settings/link/LinkPropertyView.js +2 -4
  178. package/lib/core/editor/components/settings/node/NodeIconSelect.d.ts +1 -0
  179. package/lib/core/editor/components/settings/node/NodeIconSelect.js +57 -0
  180. package/lib/core/editor/components/settings/node/NodePropertyView.d.ts +1 -1
  181. package/lib/core/editor/components/settings/node/NodePropertyView.js +127 -131
  182. package/lib/core/editor/components/settings/node/NodeRelateResourceButton.d.ts +4 -0
  183. package/lib/core/editor/components/settings/node/NodeRelateResourceButton.js +31 -0
  184. package/lib/core/editor/components/settings/node/TopoTreeSelect.d.ts +1 -0
  185. package/lib/core/editor/components/settings/node/TopoTreeSelect.js +53 -0
  186. package/lib/core/editor/components/settings/text/TextPropertyView.js +31 -153
  187. package/lib/core/editor/components/settings/view/ViewPropertyView.js +3 -5
  188. package/lib/core/editor/components/titlebar/TopoEditorTitleBar.js +4 -7
  189. package/lib/core/editor/components/titlebar/widgets/SaveButton.js +2 -4
  190. package/lib/core/editor/{buildContextmenu.d.ts → contextmenu/buildContextmenu.d.ts} +1 -4
  191. package/lib/core/editor/{buildContextmenu.js → contextmenu/buildContextmenu.js} +3 -7
  192. package/lib/core/models/cache/DictCache.js +2 -4
  193. package/lib/core/viewer/components/plugins/ResourceDetail/ResourceDetailDrawerPlugin.js +2 -4
  194. package/lib/core/viewer/components/plugins/ResourceDetail/topoDrawer.js +2 -4
  195. package/lib/core/viewer/components/plugins/ResourceWebControllUrlSettingDialog.js +2 -4
  196. package/lib/core/viewer/components/titlebar/TopoViewerTitleBar.js +2 -4
  197. package/lib/core/viewer/components/titlebar/ViewerTools.js +2 -4
  198. package/lib/core/viewer/components/titlebar/widgets/EditButton.js +2 -4
  199. package/lib/core/viewer/components/titlebar/widgets/SearchWidget.js +2 -4
  200. package/lib/hooks/usePolling.js +0 -1
  201. package/lib/hooks/useSelection.js +9 -3
  202. package/lib/hooks/useTopoEdit.js +2 -4
  203. package/lib/models/topoBizMod.js +1 -1
  204. package/lib/models/topoCreateMod.js +2 -4
  205. package/lib/plugins/useSelectionPlugin.d.ts +23 -0
  206. package/lib/plugins/useSelectionPlugin.js +90 -0
  207. package/lib/style.js +3 -15
  208. package/lib/topoCenter/components/Topology.js +2 -4
  209. package/lib/topoCenter/viewer/components/TopologyViewer.js +2 -4
  210. package/lib/utils/htElementDataUtil.js +1 -1
  211. package/lib/utils/topoData.js +1 -1
  212. package/lib/utils/tree.js +1 -1
  213. package/package.json +6 -6
  214. package/es/core/editor/buildContextmenu.js +0 -14

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the package file manually.