type
stringclasses
7 values
content
stringlengths
4
9.55k
repo
stringlengths
7
96
path
stringlengths
4
178
language
stringclasses
1 value
FunctionDeclaration
/** * Edit the settings of an optional conversation/chat channel. Requires admin * permissions to the group. */ export declare function editOptionalConversation( http: HttpClient, params: EditOptionalConversationParams, body: GroupOptionalConversationEditRequest ): Promise<ServerResponse<string>>;
bibulle/bungie-api-ts
lib/groupv2/api.d.ts
TypeScript
FunctionDeclaration
/** Get the list of members in a given group. */ export declare function getMembersOfGroup( http: HttpClient, params: GetMembersOfGroupParams ): Promise<ServerResponse<SearchResultOfGroupMember>>;
bibulle/bungie-api-ts
lib/groupv2/api.d.ts
TypeScript
FunctionDeclaration
/** Get the list of members in a given group who are of admin level or higher. */ export declare function getAdminsAndFounderOfGroup( http: HttpClient, params: GetAdminsAndFounderOfGroupParams ): Promise<ServerResponse<SearchResultOfGroupMember>>;
bibulle/bungie-api-ts
lib/groupv2/api.d.ts
TypeScript
FunctionDeclaration
/** * Edit the membership type of a given member. You must have suitable permissions * in the group to perform this operation. */ export declare function editGroupMembership( http: HttpClient, params: EditGroupMembershipParams ): Promise<ServerResponse<number>>;
bibulle/bungie-api-ts
lib/groupv2/api.d.ts
TypeScript
FunctionDeclaration
/** * Kick a member from the given group, forcing them to reapply if they wish to re- * join the group. You must have suitable permissions in the group to perform this * operation. */ export declare function kickMember( http: HttpClient, params: KickMemberParams ): Promise<ServerResponse<GroupMemberLeaveResult>...
bibulle/bungie-api-ts
lib/groupv2/api.d.ts
TypeScript
FunctionDeclaration
/** * Bans the requested member from the requested group for the specified period of * time. */ export declare function banMember( http: HttpClient, params: BanMemberParams, body: GroupBanRequest ): Promise<ServerResponse<number>>;
bibulle/bungie-api-ts
lib/groupv2/api.d.ts
TypeScript
FunctionDeclaration
/** Unbans the requested member, allowing them to re-apply for membership. */ export declare function unbanMember( http: HttpClient, params: UnbanMemberParams ): Promise<ServerResponse<number>>;
bibulle/bungie-api-ts
lib/groupv2/api.d.ts
TypeScript
FunctionDeclaration
/** * Get the list of banned members in a given group. Only accessible to group Admins * and above. Not applicable to all groups. Check group features. */ export declare function getBannedMembersOfGroup( http: HttpClient, params: GetBannedMembersOfGroupParams ): Promise<ServerResponse<SearchResultOfGroupBan>>;
bibulle/bungie-api-ts
lib/groupv2/api.d.ts
TypeScript
FunctionDeclaration
/** * An administrative method to allow the founder of a group or clan to give up * their position to another admin permanently. */ export declare function abdicateFoundership( http: HttpClient, params: AbdicateFoundershipParams ): Promise<ServerResponse<boolean>>;
bibulle/bungie-api-ts
lib/groupv2/api.d.ts
TypeScript
FunctionDeclaration
/** * Get the list of users who are awaiting a decision on their application to join a * given group. Modified to include application info. */ export declare function getPendingMemberships( http: HttpClient, params: GetPendingMembershipsParams ): Promise<ServerResponse<SearchResultOfGroupMemberApplication>>;
bibulle/bungie-api-ts
lib/groupv2/api.d.ts
TypeScript
FunctionDeclaration
/** Get the list of users who have been invited into the group. */ export declare function getInvitedIndividuals( http: HttpClient, params: GetInvitedIndividualsParams ): Promise<ServerResponse<SearchResultOfGroupMemberApplication>>;
bibulle/bungie-api-ts
lib/groupv2/api.d.ts
TypeScript
FunctionDeclaration
/** Approve all of the pending users for the given group. */ export declare function approveAllPending( http: HttpClient, params: ApproveAllPendingParams, body: GroupApplicationRequest ): Promise<ServerResponse<EntityActionResult[]>>;
bibulle/bungie-api-ts
lib/groupv2/api.d.ts
TypeScript
FunctionDeclaration
/** Deny all of the pending users for the given group. */ export declare function denyAllPending( http: HttpClient, params: DenyAllPendingParams, body: GroupApplicationRequest ): Promise<ServerResponse<EntityActionResult[]>>;
bibulle/bungie-api-ts
lib/groupv2/api.d.ts
TypeScript
FunctionDeclaration
/** Approve all of the pending users for the given group. */ export declare function approvePendingForList( http: HttpClient, params: ApprovePendingForListParams, body: GroupApplicationListRequest ): Promise<ServerResponse<EntityActionResult[]>>;
bibulle/bungie-api-ts
lib/groupv2/api.d.ts
TypeScript
FunctionDeclaration
/** * Approve the given membershipId to join the group/clan as long as they have * applied. */ export declare function approvePending( http: HttpClient, params: ApprovePendingParams, body: GroupApplicationRequest ): Promise<ServerResponse<boolean>>;
bibulle/bungie-api-ts
lib/groupv2/api.d.ts
TypeScript
FunctionDeclaration
/** Deny all of the pending users for the given group that match the passed-in . */ export declare function denyPendingForList( http: HttpClient, params: DenyPendingForListParams, body: GroupApplicationListRequest ): Promise<ServerResponse<EntityActionResult[]>>;
bibulle/bungie-api-ts
lib/groupv2/api.d.ts
TypeScript
FunctionDeclaration
/** Get information about the groups that a given member has joined. */ export declare function getGroupsForMember( http: HttpClient, params: GetGroupsForMemberParams ): Promise<ServerResponse<GetGroupsForMemberResponse>>;
bibulle/bungie-api-ts
lib/groupv2/api.d.ts
TypeScript
FunctionDeclaration
/** * Allows a founder to manually recover a group they can see in game but not on * bungie.net */ export declare function recoverGroupForFounder( http: HttpClient, params: RecoverGroupForFounderParams ): Promise<ServerResponse<GroupMembershipSearchResponse>>;
bibulle/bungie-api-ts
lib/groupv2/api.d.ts
TypeScript
FunctionDeclaration
/** * Get information about the groups that a given member has applied to or been * invited to. */ export declare function getPotentialGroupsForMember( http: HttpClient, params: GetPotentialGroupsForMemberParams ): Promise<ServerResponse<GroupPotentialMembershipSearchResponse>>;
bibulle/bungie-api-ts
lib/groupv2/api.d.ts
TypeScript
FunctionDeclaration
/** Invite a user to join this group. */ export declare function individualGroupInvite( http: HttpClient, params: IndividualGroupInviteParams, body: GroupApplicationRequest ): Promise<ServerResponse<GroupApplicationResponse>>;
bibulle/bungie-api-ts
lib/groupv2/api.d.ts
TypeScript
FunctionDeclaration
/** Cancels a pending invitation to join a group. */ export declare function individualGroupInviteCancel( http: HttpClient, params: IndividualGroupInviteCancelParams ): Promise<ServerResponse<GroupApplicationResponse>>;
bibulle/bungie-api-ts
lib/groupv2/api.d.ts
TypeScript
InterfaceDeclaration
export interface GetUserClanInviteSettingParams { /** The Destiny membership type of the account we wish to access settings. */ mType: BungieMembershipType; }
bibulle/bungie-api-ts
lib/groupv2/api.d.ts
TypeScript
InterfaceDeclaration
export interface GetRecommendedGroupsParams { /** Requested range in which to pull recommended groups */ createDateRange: GroupDateRange; /** Type of groups requested */ groupType: GroupType; }
bibulle/bungie-api-ts
lib/groupv2/api.d.ts
TypeScript
InterfaceDeclaration
export interface GetGroupParams { /** Requested group's id. */ groupId: string; }
bibulle/bungie-api-ts
lib/groupv2/api.d.ts
TypeScript
InterfaceDeclaration
export interface GetGroupByNameParams { /** Exact name of the group to find. */ groupName: string; /** Type of group to find. */ groupType: GroupType; }
bibulle/bungie-api-ts
lib/groupv2/api.d.ts
TypeScript
InterfaceDeclaration
export interface GetGroupOptionalConversationsParams { /** Requested group's id. */ groupId: string; }
bibulle/bungie-api-ts
lib/groupv2/api.d.ts
TypeScript
InterfaceDeclaration
export interface EditGroupParams { /** Group ID of the group to edit. */ groupId: string; }
bibulle/bungie-api-ts
lib/groupv2/api.d.ts
TypeScript
InterfaceDeclaration
export interface EditClanBannerParams { /** Group ID of the group to edit. */ groupId: string; }
bibulle/bungie-api-ts
lib/groupv2/api.d.ts
TypeScript
InterfaceDeclaration
export interface EditFounderOptionsParams { /** Group ID of the group to edit. */ groupId: string; }
bibulle/bungie-api-ts
lib/groupv2/api.d.ts
TypeScript
InterfaceDeclaration
export interface AddOptionalConversationParams { /** Group ID of the group to edit. */ groupId: string; }
bibulle/bungie-api-ts
lib/groupv2/api.d.ts
TypeScript
InterfaceDeclaration
export interface EditOptionalConversationParams { /** Conversation Id of the channel being edited. */ conversationId: string; /** Group ID of the group to edit. */ groupId: string; }
bibulle/bungie-api-ts
lib/groupv2/api.d.ts
TypeScript
InterfaceDeclaration
export interface GetMembersOfGroupParams { /** Page number (starting with 1). Each page has a fixed size of 50 items per page. */ currentpage: number; /** The ID of the group. */ groupId: string; /** Filter out other member types. Use None for all members. */ memberType?: RuntimeGroupMemberType; /** *...
bibulle/bungie-api-ts
lib/groupv2/api.d.ts
TypeScript
InterfaceDeclaration
export interface GetAdminsAndFounderOfGroupParams { /** Page number (starting with 1). Each page has a fixed size of 50 items per page. */ currentpage: number; /** The ID of the group. */ groupId: string; }
bibulle/bungie-api-ts
lib/groupv2/api.d.ts
TypeScript
InterfaceDeclaration
export interface EditGroupMembershipParams { /** ID of the group to which the member belongs. */ groupId: string; /** Membership ID to modify. */ membershipId: string; /** Membership type of the provide membership ID. */ membershipType: BungieMembershipType; /** New membertype for the specified member. *...
bibulle/bungie-api-ts
lib/groupv2/api.d.ts
TypeScript
InterfaceDeclaration
export interface KickMemberParams { /** Group ID to kick the user from. */ groupId: string; /** Membership ID to kick. */ membershipId: string; /** Membership type of the provided membership ID. */ membershipType: BungieMembershipType; }
bibulle/bungie-api-ts
lib/groupv2/api.d.ts
TypeScript
InterfaceDeclaration
export interface BanMemberParams { /** Group ID that has the member to ban. */ groupId: string; /** Membership ID of the member to ban from the group. */ membershipId: string; /** Membership type of the provided membership ID. */ membershipType: BungieMembershipType; }
bibulle/bungie-api-ts
lib/groupv2/api.d.ts
TypeScript
InterfaceDeclaration
export interface UnbanMemberParams { groupId: string; /** Membership ID of the member to unban from the group */ membershipId: string; /** Membership type of the provided membership ID. */ membershipType: BungieMembershipType; }
bibulle/bungie-api-ts
lib/groupv2/api.d.ts
TypeScript
InterfaceDeclaration
export interface GetBannedMembersOfGroupParams { /** Page number (starting with 1). Each page has a fixed size of 50 entries. */ currentpage: number; /** Group ID whose banned members you are fetching */ groupId: string; }
bibulle/bungie-api-ts
lib/groupv2/api.d.ts
TypeScript
InterfaceDeclaration
export interface AbdicateFoundershipParams { /** The new founder for this group. Must already be a group admin. */ founderIdNew: string; /** The target group id. */ groupId: string; /** Membership type of the provided founderIdNew. */ membershipType: BungieMembershipType; }
bibulle/bungie-api-ts
lib/groupv2/api.d.ts
TypeScript
InterfaceDeclaration
export interface GetPendingMembershipsParams { /** Page number (starting with 1). Each page has a fixed size of 50 items per page. */ currentpage: number; /** ID of the group. */ groupId: string; }
bibulle/bungie-api-ts
lib/groupv2/api.d.ts
TypeScript
InterfaceDeclaration
export interface GetInvitedIndividualsParams { /** Page number (starting with 1). Each page has a fixed size of 50 items per page. */ currentpage: number; /** ID of the group. */ groupId: string; }
bibulle/bungie-api-ts
lib/groupv2/api.d.ts
TypeScript
InterfaceDeclaration
export interface ApproveAllPendingParams { /** ID of the group. */ groupId: string; }
bibulle/bungie-api-ts
lib/groupv2/api.d.ts
TypeScript
InterfaceDeclaration
export interface DenyAllPendingParams { /** ID of the group. */ groupId: string; }
bibulle/bungie-api-ts
lib/groupv2/api.d.ts
TypeScript
InterfaceDeclaration
export interface ApprovePendingForListParams { /** ID of the group. */ groupId: string; }
bibulle/bungie-api-ts
lib/groupv2/api.d.ts
TypeScript
InterfaceDeclaration
export interface ApprovePendingParams { /** ID of the group. */ groupId: string; /** The membership id being approved. */ membershipId: string; /** Membership type of the supplied membership ID. */ membershipType: BungieMembershipType; }
bibulle/bungie-api-ts
lib/groupv2/api.d.ts
TypeScript
InterfaceDeclaration
export interface DenyPendingForListParams { /** ID of the group. */ groupId: string; }
bibulle/bungie-api-ts
lib/groupv2/api.d.ts
TypeScript
InterfaceDeclaration
export interface GetGroupsForMemberParams { /** Filter apply to list of joined groups. */ filter: GroupsForMemberFilter; /** Type of group the supplied member founded. */ groupType: GroupType; /** Membership ID to for which to find founded groups. */ membershipId: string; /** Membership type of the suppl...
bibulle/bungie-api-ts
lib/groupv2/api.d.ts
TypeScript
InterfaceDeclaration
export interface RecoverGroupForFounderParams { /** Type of group the supplied member founded. */ groupType: GroupType; /** Membership ID to for which to find founded groups. */ membershipId: string; /** Membership type of the supplied membership ID. */ membershipType: BungieMembershipType; }
bibulle/bungie-api-ts
lib/groupv2/api.d.ts
TypeScript
InterfaceDeclaration
export interface GetPotentialGroupsForMemberParams { /** Filter apply to list of potential joined groups. */ filter: GroupPotentialMemberStatus; /** Type of group the supplied member applied. */ groupType: GroupType; /** Membership ID to for which to find applied groups. */ membershipId: string; /** Memb...
bibulle/bungie-api-ts
lib/groupv2/api.d.ts
TypeScript
InterfaceDeclaration
export interface IndividualGroupInviteParams { /** ID of the group you would like to join. */ groupId: string; /** Membership id of the account being invited. */ membershipId: string; /** MembershipType of the account being invited. */ membershipType: BungieMembershipType; }
bibulle/bungie-api-ts
lib/groupv2/api.d.ts
TypeScript
InterfaceDeclaration
export interface IndividualGroupInviteCancelParams { /** ID of the group you would like to join. */ groupId: string; /** Membership id of the account being cancelled. */ membershipId: string; /** MembershipType of the account being cancelled. */ membershipType: BungieMembershipType; }
bibulle/bungie-api-ts
lib/groupv2/api.d.ts
TypeScript
ClassDeclaration
@Bean("agComponentUtils") export class AgComponentUtils { @Autowired("componentMetadataProvider") private componentMetadataProvider:ComponentMetadataProvider; public adaptFunction <A extends IComponent<any> & B, B>( propertyName:string, hardcodedJsFunction: AgGridComponentFunctionInput, ...
KongHuihui-CAD/API-GateWay
node_modules/ag-grid/src/ts/components/framework/agComponentUtils.ts
TypeScript
ClassDeclaration
class Adapter implements ICellRendererComp{ private params: ICellRendererParams; refresh(params: any): boolean { return false; } getGui(): HTMLElement { let callbackResult: string | HTMLElement = callback(this.params); if...
KongHuihui-CAD/API-GateWay
node_modules/ag-grid/src/ts/components/framework/agComponentUtils.ts
TypeScript
MethodDeclaration
public adaptFunction <A extends IComponent<any> & B, B>( propertyName:string, hardcodedJsFunction: AgGridComponentFunctionInput, type:ComponentType, source:ComponentSource ):ResolvedComponent<A,B>{ if (hardcodedJsFunction == null) return { component: null, ...
KongHuihui-CAD/API-GateWay
node_modules/ag-grid/src/ts/components/framework/agComponentUtils.ts
TypeScript
MethodDeclaration
public adaptCellRendererFunction (callback:AgGridComponentFunctionInput):{new(): IComponent<any>}{ class Adapter implements ICellRendererComp{ private params: ICellRendererParams; refresh(params: any): boolean { return false; } getGui(): HTMLEle...
KongHuihui-CAD/API-GateWay
node_modules/ag-grid/src/ts/components/framework/agComponentUtils.ts
TypeScript
MethodDeclaration
refresh(params: any): boolean { return false; }
KongHuihui-CAD/API-GateWay
node_modules/ag-grid/src/ts/components/framework/agComponentUtils.ts
TypeScript
MethodDeclaration
getGui(): HTMLElement { let callbackResult: string | HTMLElement = callback(this.params); if (typeof callbackResult != 'string') return callbackResult; return _.loadTemplate('<span>' + callbackResult + '</span>'); }
KongHuihui-CAD/API-GateWay
node_modules/ag-grid/src/ts/components/framework/agComponentUtils.ts
TypeScript
MethodDeclaration
init?(params: ICellRendererParams): void { this.params = params; }
KongHuihui-CAD/API-GateWay
node_modules/ag-grid/src/ts/components/framework/agComponentUtils.ts
TypeScript
MethodDeclaration
public doesImplementIComponent(candidate: AgGridRegisteredComponentInput<IComponent<any>>): boolean { if (!candidate) return false; return (<any>candidate).prototype && 'getGui' in (<any>candidate).prototype; }
KongHuihui-CAD/API-GateWay
node_modules/ag-grid/src/ts/components/framework/agComponentUtils.ts
TypeScript
ArrowFunction
() => { const classes = useStyles(); const { t } = useTranslation(); const projectID = getProjectID(); const userRole = getProjectRole(); const workflowAction = useActions(WorkflowActions); const template = useActions(TemplateSelectionActions); const workflowTabValue = useSelector( (state: RootState)...
Adarshkumar14/litmus
litmus-portal/frontend/src/pages/Workflows/index.tsx
TypeScript
ArrowFunction
(state: RootState) => state.tabNumber.workflows
Adarshkumar14/litmus
litmus-portal/frontend/src/pages/Workflows/index.tsx
TypeScript
ArrowFunction
(event: React.ChangeEvent<{}>, newValue: number) => { tabs.changeWorkflowsTabs(newValue); }
Adarshkumar14/litmus
litmus-portal/frontend/src/pages/Workflows/index.tsx
TypeScript
ArrowFunction
() => { workflowAction.setWorkflowDetails({ isCustomWorkflow: false, customWorkflows: [], }); template.selectTemplate({ selectedTemplateID: 0, isDisable: true }); history.push({ pathname: '/create-workflow', search: `?projectID=${projectID}&projectRole=${userRole}`, }); }
Adarshkumar14/litmus
litmus-portal/frontend/src/pages/Workflows/index.tsx
TypeScript
MethodDeclaration
t('workflows.scheduleAWorkflow')
Adarshkumar14/litmus
litmus-portal/frontend/src/pages/Workflows/index.tsx
TypeScript
ArrowFunction
key => !('withEditor' in key) || key.withEditor === editorOpen
fleck/vscode
src/vs/workbench/contrib/welcome/overlay/browser/welcomeOverlay.ts
TypeScript
ArrowFunction
({ id, arrow, label, command, arrowLast }) => { const div = dom.append(this._overlay, $(`.key.${id}`)); if (arrow && !arrowLast) { dom.append(div, $('span.arrow')).innerHTML = arrow; } dom.append(div, $('span.label')).textContent = label; if (command) { const shortcut = this.keybindingSer...
fleck/vscode
src/vs/workbench/contrib/welcome/overlay/browser/welcomeOverlay.ts
TypeScript
ArrowFunction
(theme, collector) => { const key = theme.getColor(foreground); if (key) { collector.addRule(`.monaco-workbench > .welcomeOverlay > .key { color: ${key}; }`); } const backgroundColor = Color.fromHex(theme.type === 'light' ? '#FFFFFF85' : '#00000085'); if (backgroundColor) { collector.addRule(`.monaco-workbenc...
fleck/vscode
src/vs/workbench/contrib/welcome/overlay/browser/welcomeOverlay.ts
TypeScript
ClassDeclaration
export class WelcomeOverlayAction extends Action { public static readonly ID = 'workbench.action.showInterfaceOverview'; public static readonly LABEL = localize('welcomeOverlay', "User Interface Overview"); constructor( id: string, label: string, @IInstantiationService private readonly instantiationService:...
fleck/vscode
src/vs/workbench/contrib/welcome/overlay/browser/welcomeOverlay.ts
TypeScript
ClassDeclaration
export class HideWelcomeOverlayAction extends Action { public static readonly ID = 'workbench.action.hideInterfaceOverview'; public static readonly LABEL = localize('hideWelcomeOverlay', "Hide Interface Overview"); constructor( id: string, label: string ) { super(id, label); } public run(): Promise<void...
fleck/vscode
src/vs/workbench/contrib/welcome/overlay/browser/welcomeOverlay.ts
TypeScript
ClassDeclaration
class WelcomeOverlay extends Disposable { private _overlayVisible: IContextKey<boolean>; private _overlay!: HTMLElement; constructor( @ILayoutService private readonly layoutService: ILayoutService, @IEditorService private readonly editorService: IEditorService, @ICommandService private readonly commandServi...
fleck/vscode
src/vs/workbench/contrib/welcome/overlay/browser/welcomeOverlay.ts
TypeScript
InterfaceDeclaration
interface Key { id: string; arrow?: string; label: string; command?: string; arrowLast?: boolean; withEditor?: boolean; }
fleck/vscode
src/vs/workbench/contrib/welcome/overlay/browser/welcomeOverlay.ts
TypeScript
MethodDeclaration
public run(): Promise<void> { if (!welcomeOverlay) { welcomeOverlay = this.instantiationService.createInstance(WelcomeOverlay); } welcomeOverlay.show(); return Promise.resolve(); }
fleck/vscode
src/vs/workbench/contrib/welcome/overlay/browser/welcomeOverlay.ts
TypeScript
MethodDeclaration
public run(): Promise<void> { if (welcomeOverlay) { welcomeOverlay.hide(); } return Promise.resolve(); }
fleck/vscode
src/vs/workbench/contrib/welcome/overlay/browser/welcomeOverlay.ts
TypeScript
MethodDeclaration
private create(): void { const offset = this.layoutService.offset?.top ?? 0; this._overlay = dom.append(this.layoutService.container, $('.welcomeOverlay')); this._overlay.style.top = `${offset}px`; this._overlay.style.height = `calc(100% - ${offset}px)`; this._overlay.style.display = 'none'; this._overlay....
fleck/vscode
src/vs/workbench/contrib/welcome/overlay/browser/welcomeOverlay.ts
TypeScript
MethodDeclaration
public show() { if (this._overlay.style.display !== 'block') { this._overlay.style.display = 'block'; const workbench = document.querySelector('.monaco-workbench') as HTMLElement; dom.addClass(workbench, 'blur-background'); this._overlayVisible.set(true); this.updateProblemsKey(); this.updateActivi...
fleck/vscode
src/vs/workbench/contrib/welcome/overlay/browser/welcomeOverlay.ts
TypeScript
MethodDeclaration
private updateProblemsKey() { const problems = document.querySelector(`div[id="workbench.parts.statusbar"] .statusbar-item.left ${Codicon.warning.cssSelector}`); const key = this._overlay.querySelector('.key.problems') as HTMLElement; if (problems instanceof HTMLElement) { const target = problems.getBoundingC...
fleck/vscode
src/vs/workbench/contrib/welcome/overlay/browser/welcomeOverlay.ts
TypeScript
MethodDeclaration
private updateActivityBarKeys() { const ids = ['explorer', 'search', 'git', 'debug', 'extensions']; const activityBar = document.querySelector('.activitybar .composite-bar'); if (activityBar instanceof HTMLElement) { const target = activityBar.getBoundingClientRect(); const bounds = this._overlay.getBoundi...
fleck/vscode
src/vs/workbench/contrib/welcome/overlay/browser/welcomeOverlay.ts
TypeScript
MethodDeclaration
public hide() { if (this._overlay.style.display !== 'none') { this._overlay.style.display = 'none'; const workbench = document.querySelector('.monaco-workbench') as HTMLElement; dom.removeClass(workbench, 'blur-background'); this._overlayVisible.reset(); } }
fleck/vscode
src/vs/workbench/contrib/welcome/overlay/browser/welcomeOverlay.ts
TypeScript
ArrowFunction
() => { const context = new InlineContext( ToNodePath(` { 'use foo'; console.log("previous"); } `) ); expect(context.GetDSLName()).toEqual("foo"); }
mistlog/typedraft
test/code-object/inline-context.test.ts
TypeScript
ArrowFunction
() => { const context = new InlineContext( ToNodePath(` { console.log("previous"); } `) ); expect(context.GetDSLName()).toEqual(""); }
mistlog/typedraft
test/code-object/inline-context.test.ts
TypeScript
ArrowFunction
() => { // const context = new InlineContext( ToNodePath(` { 'use foo'; console.log("previous"); } `) ); // const expected = ToAst<Array<Statement>>(` 'use foo'; console.log("previous"); `); expect(context.ToStatements())....
mistlog/typedraft
test/code-object/inline-context.test.ts
TypeScript
ArrowFunction
() => { suite('event ordering', () => { let adapter: MockDebugAdapter; let output: string[]; setup(() => { adapter = new MockDebugAdapter(); output = []; adapter.onEvent(ev => { output.push((ev as DebugProtocol.OutputEvent).body.output); Promise.resolve().then(() => output.push('--end microtask...
02818bea-9a08-4b24-a53f-8d4ad597fe20/vscode
src/vs/workbench/contrib/debug/test/browser/rawDebugSession.test.ts
TypeScript
ArrowFunction
() => { let adapter: MockDebugAdapter; let output: string[]; setup(() => { adapter = new MockDebugAdapter(); output = []; adapter.onEvent(ev => { output.push((ev as DebugProtocol.OutputEvent).body.output); Promise.resolve().then(() => output.push('--end microtask--')); }); }); const eval...
02818bea-9a08-4b24-a53f-8d4ad597fe20/vscode
src/vs/workbench/contrib/debug/test/browser/rawDebugSession.test.ts
TypeScript
ArrowFunction
() => { adapter = new MockDebugAdapter(); output = []; adapter.onEvent(ev => { output.push((ev as DebugProtocol.OutputEvent).body.output); Promise.resolve().then(() => output.push('--end microtask--')); }); }
02818bea-9a08-4b24-a53f-8d4ad597fe20/vscode
src/vs/workbench/contrib/debug/test/browser/rawDebugSession.test.ts
TypeScript
ArrowFunction
ev => { output.push((ev as DebugProtocol.OutputEvent).body.output); Promise.resolve().then(() => output.push('--end microtask--')); }
02818bea-9a08-4b24-a53f-8d4ad597fe20/vscode
src/vs/workbench/contrib/debug/test/browser/rawDebugSession.test.ts
TypeScript
ArrowFunction
() => output.push('--end microtask--')
02818bea-9a08-4b24-a53f-8d4ad597fe20/vscode
src/vs/workbench/contrib/debug/test/browser/rawDebugSession.test.ts
TypeScript
ArrowFunction
async (expression: string) => { await new Promise(resolve => adapter.sendRequest('evaluate', { expression }, resolve)); output.push(`=${expression}`); Promise.resolve().then(() => output.push('--end microtask--')); }
02818bea-9a08-4b24-a53f-8d4ad597fe20/vscode
src/vs/workbench/contrib/debug/test/browser/rawDebugSession.test.ts
TypeScript
ArrowFunction
resolve => adapter.sendRequest('evaluate', { expression }, resolve)
02818bea-9a08-4b24-a53f-8d4ad597fe20/vscode
src/vs/workbench/contrib/debug/test/browser/rawDebugSession.test.ts
TypeScript
ArrowFunction
async () => { await evaluate('before.foo'); await timeout(0); assert.deepStrictEqual(output, ['before.foo', '--end microtask--', '=before.foo', '--end microtask--']); }
02818bea-9a08-4b24-a53f-8d4ad597fe20/vscode
src/vs/workbench/contrib/debug/test/browser/rawDebugSession.test.ts
TypeScript
ArrowFunction
async () => { await evaluate('after.foo'); await timeout(0); assert.deepStrictEqual(output, ['=after.foo', '--end microtask--', 'after.foo', '--end microtask--']); }
02818bea-9a08-4b24-a53f-8d4ad597fe20/vscode
src/vs/workbench/contrib/debug/test/browser/rawDebugSession.test.ts
TypeScript
ArrowFunction
async () => { adapter.sendEventBody('output', { output: 'a' }); adapter.sendEventBody('output', { output: 'b' }); adapter.sendEventBody('output', { output: 'c' }); await timeout(0); assert.deepStrictEqual(output, ['a', 'b', 'c', '--end microtask--', '--end microtask--', '--end microtask--']); }
02818bea-9a08-4b24-a53f-8d4ad597fe20/vscode
src/vs/workbench/contrib/debug/test/browser/rawDebugSession.test.ts
TypeScript
FunctionDeclaration
/** * Initialize listeners that help with accessibility * @param panel the table panel * @param gridBody element containing the grid * @param tableOptions table options object */ export function initAccessibilityListeners(panel: HTMLElement, gridBody: HTMLElement, tableOptions: any) { onFocusOutOfView = (event...
RyanCoulsonCA/fgpv-vpgf
packages/ramp-plugin-enhanced-table/src/grid-accessibility.ts
TypeScript
FunctionDeclaration
/** * Remove all accessibility listeners from the table * @param panel the table panel * @param gridBody element containing the grid */ export function removeAccessibilityListeners(panel:HTMLElement, gridBody: HTMLElement) { panel.removeEventListener('focus', onFocusOutOfView, true); gridBody.removeEventLis...
RyanCoulsonCA/fgpv-vpgf
packages/ramp-plugin-enhanced-table/src/grid-accessibility.ts
TypeScript
FunctionDeclaration
/** * Helper function to handle the mousedown event * @param event event handler param */ function onMousedown(event: any) { mousedown = true; }
RyanCoulsonCA/fgpv-vpgf
packages/ramp-plugin-enhanced-table/src/grid-accessibility.ts
TypeScript
FunctionDeclaration
/** * Helper function to handle the mouseup event * @param event event handler param */ function onMouseup(event: any) { mousedown = false; }
RyanCoulsonCA/fgpv-vpgf
packages/ramp-plugin-enhanced-table/src/grid-accessibility.ts
TypeScript
FunctionDeclaration
/** * Function to ensure focused column filter is scrolled into view * @param element filter being focused * @param panel table panel with scrollbar */ function scrollIntoView(event: any, panel: HTMLElement) { let element = event.target; let container = <HTMLElement>panel.getElementsByClassName('ag-body-vie...
RyanCoulsonCA/fgpv-vpgf
packages/ramp-plugin-enhanced-table/src/grid-accessibility.ts
TypeScript
FunctionDeclaration
function getOffset(element: HTMLElement, container: HTMLElement): ElementOffset { const elementRect = element.getBoundingClientRect(); const containerRect = container.getBoundingClientRect(); return { elementRect, containerRect, offset: { top...
RyanCoulsonCA/fgpv-vpgf
packages/ramp-plugin-enhanced-table/src/grid-accessibility.ts
TypeScript
FunctionDeclaration
/** * Function to help enter and exit grid using the keyboard * @param element grid being focused * @param tableOptions provide access to table api * @param lastFilter final filter input before entering the grid */ function tabToGrid (event: any, tableOptions: any, panel: HTMLElement) { if (!mousedown) { ...
RyanCoulsonCA/fgpv-vpgf
packages/ramp-plugin-enhanced-table/src/grid-accessibility.ts
TypeScript
ArrowFunction
(event: any) => { scrollIntoView(event, panel); }
RyanCoulsonCA/fgpv-vpgf
packages/ramp-plugin-enhanced-table/src/grid-accessibility.ts
TypeScript
ArrowFunction
(event: any) => { tabToGrid(event, tableOptions, panel); }
RyanCoulsonCA/fgpv-vpgf
packages/ramp-plugin-enhanced-table/src/grid-accessibility.ts
TypeScript