@gedit/application-common
Advanced tools
Comparing version 0.2.7 to 0.2.8
@@ -22,2 +22,5 @@ import { Command, CommandContribution, CommandRegistry } from '@gedit/command'; | ||
const VIEW_TOGGLE: string[]; | ||
const VIEW_MODE: string[]; | ||
const VIEW_MODE_SUBMENU: string[]; | ||
const VIEW_MODE_SUBMENU_MODE: string[]; | ||
const HELP: string[]; | ||
@@ -63,2 +66,4 @@ const EXPORT: string[]; | ||
const SELECT_ICON_THEME: Command; | ||
const MODE_DEV: Command; | ||
const MODE_OPERATION: Command; | ||
} | ||
@@ -65,0 +70,0 @@ export declare class CommonFrontendContribution implements CommandContribution { |
@@ -34,2 +34,5 @@ "use strict"; | ||
CommonMenus.VIEW_TOGGLE = [...CommonMenus.VIEW, '3_toggle']; | ||
CommonMenus.VIEW_MODE = [...CommonMenus.VIEW, '4_mode']; | ||
CommonMenus.VIEW_MODE_SUBMENU = [...CommonMenus.VIEW_MODE, '1_mode_submenu']; | ||
CommonMenus.VIEW_MODE_SUBMENU_MODE = [...CommonMenus.VIEW_MODE_SUBMENU, '1_mode_submenu_mode']; | ||
// last menu item | ||
@@ -212,2 +215,12 @@ CommonMenus.HELP = [...common_1.MAIN_MENU_BAR, '9_help']; | ||
}; | ||
CommonCommands.MODE_DEV = { | ||
id: 'core.mode.develop', | ||
label: nls_1.nls.localize('view.mode.develop', 'develop'), | ||
category: VIEW_CATEGORY | ||
}; | ||
CommonCommands.MODE_OPERATION = { | ||
id: 'core.mode.operation', | ||
label: nls_1.nls.localize('view.mode.operation', 'operation'), | ||
category: VIEW_CATEGORY | ||
}; | ||
})(CommonCommands = exports.CommonCommands || (exports.CommonCommands = {})); | ||
@@ -214,0 +227,0 @@ let CommonFrontendContribution = class CommonFrontendContribution { |
@@ -17,3 +17,3 @@ /******************************************************************************** | ||
import { Emitter, Event, Logger, PromiseDeferred } from '@gedit/utils'; | ||
export declare type FrontendApplicationState = 'init' | 'started_contributions' | 'attached_shell' | 'initialized_layout' | 'ready' | 'closing_window'; | ||
export type FrontendApplicationState = 'init' | 'started_contributions' | 'attached_shell' | 'initialized_layout' | 'ready' | 'closing_window'; | ||
export declare class FrontendApplicationStateService { | ||
@@ -20,0 +20,0 @@ protected readonly logger: Logger; |
@@ -36,3 +36,3 @@ /******************************************************************************** | ||
} | ||
export declare type MenuPath = string[]; | ||
export type MenuPath = string[]; | ||
export declare const MAIN_MENU_BAR: MenuPath; | ||
@@ -39,0 +39,0 @@ export declare const MenuContribution: unique symbol; |
@@ -21,3 +21,3 @@ /******************************************************************************** | ||
} | ||
export declare type QuickOpenOptions = Partial<QuickOpenOptions.Resolved>; | ||
export type QuickOpenOptions = Partial<QuickOpenOptions.Resolved>; | ||
export declare namespace QuickOpenOptions { | ||
@@ -24,0 +24,0 @@ interface FuzzyMatchOptions { |
@@ -19,3 +19,3 @@ /******************************************************************************** | ||
import { Event } from '@gedit/utils'; | ||
export declare type QuickPickItem<T> = QuickPickValue<T> | QuickPickSeparator; | ||
export type QuickPickItem<T> = QuickPickValue<T> | QuickPickSeparator; | ||
export interface QuickPickSeparator { | ||
@@ -22,0 +22,0 @@ type: 'separator'; |
{ | ||
"name": "@gedit/application-common", | ||
"version": "0.2.7", | ||
"version": "0.2.8", | ||
"license": "MIT", | ||
@@ -12,4 +12,4 @@ "main": "lib/common/index", | ||
"dependencies": { | ||
"@gedit/command": "^0.2.7", | ||
"@gedit/utils": "^0.2.7" | ||
"@gedit/command": "^0.2.8", | ||
"@gedit/utils": "^0.2.8" | ||
}, | ||
@@ -31,3 +31,3 @@ "geditExtensions": [ | ||
}, | ||
"gitHead": "5fd2e0b75c7fa4c5972e56d59dd00d7fce84f11a" | ||
"gitHead": "0d2ac4eadcab052623caaedf2b658065129b2129" | ||
} |
@@ -29,2 +29,5 @@ import { injectable } from 'inversify'; | ||
export const VIEW_TOGGLE = [...VIEW, '3_toggle']; | ||
export const VIEW_MODE = [...VIEW, '4_mode']; | ||
export const VIEW_MODE_SUBMENU = [...VIEW_MODE, '1_mode_submenu']; | ||
export const VIEW_MODE_SUBMENU_MODE = [...VIEW_MODE_SUBMENU, '1_mode_submenu_mode']; | ||
@@ -223,2 +226,14 @@ // last menu item | ||
export const MODE_DEV: Command = { | ||
id: 'core.mode.develop', | ||
label: nls.localize('view.mode.develop', 'develop'), | ||
category: VIEW_CATEGORY | ||
}; | ||
export const MODE_OPERATION: Command = { | ||
id: 'core.mode.operation', | ||
label: nls.localize('view.mode.operation', 'operation'), | ||
category: VIEW_CATEGORY | ||
}; | ||
} | ||
@@ -225,0 +240,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 6 instances in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 6 instances in 1 package
298109
5444
Updated@gedit/command@^0.2.8
Updated@gedit/utils@^0.2.8