@lvce-editor/ports-view 0.13.2 → 0.15.0

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.
@@ -2825,28 +2825,28 @@ const statusCell = {
2825
2825
  role: Cell,
2826
2826
  type: Div
2827
2827
  };
2828
- const getPortRowVirtualDom = port => {
2829
- const portText = String(port.port);
2828
+ const getPortRowVirtualDom = visiblePort => {
2829
+ const portText = String(visiblePort.port);
2830
2830
  return [{
2831
- ariaRowIndex: port.index + 2,
2831
+ ariaRowIndex: visiblePort.index + 2,
2832
2832
  childCount: 5,
2833
- className: getRowClassName(port),
2833
+ className: getRowClassName(visiblePort),
2834
2834
  role: Row,
2835
2835
  type: Div
2836
- }, statusCell, ...getPortsStatusVirtualDom(port.active, port.port), ...getTextCell(portText), {
2836
+ }, statusCell, ...getPortsStatusVirtualDom(visiblePort.active, visiblePort.port), ...getTextCell(portText), {
2837
2837
  childCount: 1,
2838
2838
  className: PortsColumn,
2839
2839
  role: Cell,
2840
- title: port.forwardedAddress,
2840
+ title: visiblePort.forwardedAddress,
2841
2841
  type: Div
2842
2842
  }, {
2843
2843
  childCount: 1,
2844
2844
  className: 'PortsAddressLink',
2845
- name: `port-address-${port.port}`,
2845
+ name: `port-address-${visiblePort.port}`,
2846
2846
  role: Link,
2847
2847
  tabIndex: Unfocusable,
2848
2848
  type: A
2849
- }, text(port.forwardedAddress), ...getTextCell(port.runningProcess), ...getTextCell(port.origin)];
2849
+ }, text(visiblePort.forwardedAddress), ...getTextCell(visiblePort.runningProcess), ...getTextCell(visiblePort.origin)];
2850
2850
  };
2851
2851
 
2852
2852
  const emptyBody = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/ports-view",
3
- "version": "0.13.2",
3
+ "version": "0.15.0",
4
4
  "description": "Ports View Worker",
5
5
  "repository": {
6
6
  "type": "git",