@lvce-editor/main-area-worker 9.32.3 → 9.32.4
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.
|
@@ -4515,6 +4515,7 @@ const MaskIconCircleFilled = 'MaskIcon MaskIconCircleFilled';
|
|
|
4515
4515
|
const MaskIconClose = 'MaskIcon MaskIconClose';
|
|
4516
4516
|
const MaskIconExtensions = 'MaskIcon MaskIconExtensions';
|
|
4517
4517
|
const MaskIconRecordKey = 'MaskIcon MaskIconRecordKey';
|
|
4518
|
+
const MaskIconSearch = 'MaskIcon MaskIconSearch';
|
|
4518
4519
|
const TextEditor = 'TextEditor';
|
|
4519
4520
|
const TextEditorLoading = 'TextEditor TextEditor--loading';
|
|
4520
4521
|
const EditorContentLoading = 'EditorContent EditorContent--loading';
|
|
@@ -6389,6 +6390,7 @@ const renderTabActions = (isDirty, tabIndex, groupIndex) => {
|
|
|
6389
6390
|
const ExtensionDetailScheme = 'extension-detail://';
|
|
6390
6391
|
const KeyBindingsUri = 'app://keybindings';
|
|
6391
6392
|
const RunningExtensionsScheme = 'running-extensions://';
|
|
6393
|
+
const SearchEditorScheme = 'search-editor://';
|
|
6392
6394
|
const renderMaskIcon = className => {
|
|
6393
6395
|
return [{
|
|
6394
6396
|
childCount: 1,
|
|
@@ -6411,6 +6413,9 @@ const renderTabIcon = tab => {
|
|
|
6411
6413
|
if (tab.uri?.startsWith(RunningExtensionsScheme)) {
|
|
6412
6414
|
return renderMaskIcon(MaskIconExtensions);
|
|
6413
6415
|
}
|
|
6416
|
+
if (tab.uri?.startsWith(SearchEditorScheme)) {
|
|
6417
|
+
return renderMaskIcon(MaskIconSearch);
|
|
6418
|
+
}
|
|
6414
6419
|
return [{
|
|
6415
6420
|
childCount: 0,
|
|
6416
6421
|
className: TabIcon,
|