@lvce-editor/source-control-worker 2.3.0 → 2.5.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.
@@ -1629,7 +1629,8 @@ const create2 = (id, uri, x, y, width, height, workspacePath) => {
1629
1629
  inputBoxMaxHeight: 214,
1630
1630
  history: [],
1631
1631
  viewMode: 1,
1632
- iconDefinitions: []
1632
+ iconDefinitions: [],
1633
+ decorationIcons: []
1633
1634
  };
1634
1635
  set$1(id, state, state);
1635
1636
  };
@@ -2132,10 +2133,12 @@ const loadContent = async (state, savedState) => {
2132
2133
  ...state,
2133
2134
  actionsCache,
2134
2135
  allGroups,
2136
+ decorationIcons: iconDefinitions,
2135
2137
  enabledProviderIds,
2136
2138
  fileIconCache: newFileIconCache,
2137
2139
  finalDeltaY,
2138
2140
  gitRoot,
2141
+ iconDefinitions,
2139
2142
  inputBoxHeight,
2140
2143
  inputPlaceholder,
2141
2144
  inputValue,
@@ -2523,7 +2526,6 @@ const HandleClickAt = 1;
2523
2526
  const HandleContextMenu = 2;
2524
2527
  const HandleFocus = 3;
2525
2528
  const HandleInput = 4;
2526
- const HandleMouseOut = 5;
2527
2529
  const HandleMouseOutAt = 6;
2528
2530
  const HandleMouseOver = 7;
2529
2531
  const HandleMouseOverAt = 8;
@@ -2772,15 +2774,16 @@ const getSplitButtonVirtualDom = (hasItems, splitButtonEnabled, buttonText) => {
2772
2774
  }];
2773
2775
  };
2774
2776
 
2777
+ const className = mergeClassNames(Viewlet, SourceControl);
2775
2778
  const getSourceControlVirtualDom = (items, splitButtonEnabled, inputPlaceholder) => {
2776
2779
  const hasItems = items.length > 0;
2777
2780
  const dom = [{
2778
2781
  type: Div,
2779
- className: mergeClassNames(Viewlet, SourceControl),
2782
+ className: className,
2780
2783
  tabIndex: 0,
2781
2784
  onContextMenu: HandleContextMenu,
2782
2785
  onMouseOver: HandleMouseOver,
2783
- onMouseOut: HandleMouseOut,
2786
+ // onMouseOut: DomEventListenerFunctions.HandleMouseOut,
2784
2787
  onWheel: HandleWheel,
2785
2788
  childCount: splitButtonEnabled ? 3 : 2
2786
2789
  }, ...getSourceControlHeaderVirtualDom(inputPlaceholder), ...getSplitButtonVirtualDom(hasItems, splitButtonEnabled, 'Commit'), ...getSourceControlListVirtualDom(items)];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/source-control-worker",
3
- "version": "2.3.0",
3
+ "version": "2.5.0",
4
4
  "description": "Source Control Worker",
5
5
  "keywords": [
6
6
  "Lvce Editor"