ide на основе vs code · VibeGit
ide на основе vs code Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
krutaya-ide-na-osnove-vs-code / src / vs / workbench / contrib / chat / browser / aiCustomization / aiCustomizationWelcomePagePromptLaunchers.ts 416 строк · изменён 14 нояб., 04:52
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
import './media/aiCustomizationWelcomePromptLaunchers.css' ;
import * as DOM from '../../../../../base/browser/dom.js' ;
import { DomScrollableElement } from '../../../../../base/browser/ui/scrollbar/scrollableElement.js' ;
import { ScrollbarVisibility } from '../../../../../base/common/scrollable.js' ;
import { Disposable, DisposableStore } from '../../../../../base/common/lifecycle.js' ;
import { localize } from '../../../../../nls.js' ;
import { ThemeIcon } from '../../../../../base/common/themables.js' ;
import { Codicon } from
ICommandService
AICustomizationManagementSection
agentIcon instructionsIcon pluginIcon skillIcon hookIcon toolsIcon
IAICustomizationWorkspaceService IWelcomePageFeatures
PromptsType
IAICustomizationWelcomePageImplementation ICustomizationMigrationCategorySummary IWelcomePageCallbacks
IHoverService
getDefaultHoverDelegate
$ $
id AICustomizationManagementSection
label
icon ThemeIcon
description
promptType PromptsType
label
icon ThemeIcon
description
commandId
cardDisposables
container HTMLElement
scrollable DomScrollableElement
cardsContainer HTMLElement
firstCard HTMLElement
heading HTMLElement
inputElement HTMLInputElement
visibleSectionIds
sentLabel HTMLElement
submitBtn HTMLElement
inputRow HTMLElement
migrationCategories ICustomizationMigrationCategorySummary
categoryDescriptions IPromptLaunchersCategoryDescription
id AICustomizationManagementSection Agents
label
icon agentIcon
description
promptType PromptsType agent
id AICustomizationManagementSection Skills
label
icon skillIcon
description
promptType PromptsType skill
id AICustomizationManagementSection Instructions
label
icon instructionsIcon
description
promptType PromptsType instructions
id AICustomizationManagementSection Hooks
label
icon hookIcon
description
promptType PromptsType hook
id AICustomizationManagementSection McpServers
label
icon Codicon server
description
id AICustomizationManagementSection Plugins
label
icon pluginIcon
description
id AICustomizationManagementSection Tools
label
icon toolsIcon
description
standaloneCustomizations IStandaloneCustomizationDescription
label
icon Codicon voiceMode
description
commandId
label
icon Codicon mic
description
commandId
parent HTMLElement
welcomePageFeatures IWelcomePageFeatures
callbacks IWelcomePageCallbacks
commandService ICommandService
workspaceService IAICustomizationWorkspaceService
hoverService IHoverService
harnessLabel
container
scrollable container
horizontal ScrollbarVisibility Hidden
vertical ScrollbarVisibility Auto
useShadows
scrollableNode scrollable
scrollableNode classList
parent scrollableNode
resizeObserver scrollable
resizeObserver scrollableNode
welcomeInner container
heading welcomeInner
subtitle welcomeInner
subtitle textContent
welcomePageFeatures showGettingStartedBanner
gettingStarted welcomeInner
header gettingStarted
icon header
icon
title header
title textContent
description gettingStarted
description textContent
inputRow gettingStarted
inputRow inputRow
inputElement inputRow HTMLInputElement
inputElement type
inputElement placeholder
inputElement
submitBtn inputRow
submitBtn submitBtn
submitBtn
hoverService submitBtn
chevron submitBtn
chevron
hasValue inputElement value
submitBtn HTMLButtonElement disabled hasValue
submitBtn classList hasValue
value inputElement value
value
query
workspaceService isSessionsWindow
query
query
inputElement
inputElement value
inputRow classList
submitBtn style display
sentLabel
sentLabel
sentLabel inputRow
sentLabel
sentLabel
sentLabel textContent
callbacks query isPartialQuery newChat
submitBtn e e
inputElement e KeyboardEvent
e key
e
inputElement
cardsContainer welcomeInner
sentLabel
sentLabel
sentLabel
submitBtn
submitBtn style display
inputRow
inputRow classList
visibleSectionIds ReadonlySet AICustomizationManagementSection
cardsContainer
visibleSectionIds visibleSectionIds
cardDisposables
cardsContainer
firstCard
migrationCategories length
migrationGrid
category migrationCategories
migrationGrid category
exploreGrid
section workspaceService managementSections
category categoryDescriptions candidate candidate id section
category visibleSectionIds category id
card exploreGrid HTMLButtonElement
card type
card category label
firstCard
firstCard card
cardHeader card
iconEl cardHeader
iconEl classList ThemeIcon category icon
labelEl cardHeader
labelEl textContent category label
descEl card
descEl textContent category description
cardDisposables card
callbacks category id
workspaceService isSessionsWindow
otherGrid
customization standaloneCustomizations
otherGrid customization
scrollable
title description className HTMLElement
section cardsContainer
section classList className
heading section
heading textContent title
descriptionElement section
descriptionElement textContent description
section
parent HTMLElement customization IStandaloneCustomizationDescription
card parent HTMLButtonElement
card type
card customization label
firstCard
firstCard card
cardHeader card
iconEl cardHeader
iconEl classList ThemeIcon customization icon
labelEl cardHeader
labelEl textContent customization label
descEl card
descEl textContent customization description
commandService customization commandId
cardDisposables card configure
categories ICustomizationMigrationCategorySummary
didChange categories length migrationCategories length
categories category index
previous migrationCategories index
previous id category id
previous count category count
previous description category description
migrationCategories categories
didChange
visibleSectionIds
label
harnessLabel label
harnessLabel label
heading
heading textContent
parent HTMLElement category ICustomizationMigrationCategorySummary
migrationCard parent HTMLButtonElement
migrationCard type
migrationCard category actionAriaLabel
cardHeader migrationCard
iconEl cardHeader
iconEl classList ThemeIcon Codicon sync
labelEl cardHeader
labelEl textContent category label
descEl migrationCard
descEl textContent category description
firstCard
firstCard migrationCard
actionLabel migrationCard
actionLabel textContent category actionLabel
cardDisposables migrationCard callbacks category id
inputElement
inputElement
firstCard
'../../../../../base/common/codicons.js'
;
import
type
{
}
from
'../../../../../platform/commands/common/commands.js'
;
import
{
}
from
'./aiCustomizationManagement.js'
;
import
{
,
,
,
,
,
}
from
'./aiCustomizationIcons.js'
;
import
{
,
}
from
'../../common/aiCustomizationWorkspaceService.js'
;
import
{
}
from
'../../common/promptSyntax/promptTypes.js'
;
import
type
{
,
,
}
from
'./aiCustomizationWelcomePage.js'
;
import
{
}
from
'../../../../../platform/hover/browser/hover.js'
;
import
{
}
from
'../../../../../base/browser/ui/hover/hoverDelegateFactory.js'
;
import
{
CONFIGURE_DICTATION_INSTRUCTIONS_ACTION_ID
,
CONFIGURE_VOICE_INSTRUCTIONS_ACTION_ID
}
from
'../actions/configureVoiceInstructionsAction.js'
;
const
=
DOM
.
;
interface
IPromptLaunchersCategoryDescription
{
readonly
:
;
readonly
:
string
;
readonly
:
;
readonly
:
string
;
readonly
?
:
;
}
interface
IStandaloneCustomizationDescription
{
readonly
:
string
;
readonly
:
;
readonly
:
string
;
readonly
:
string
;
}
export
class
PromptLaunchersAICustomizationWelcomePage
extends
Disposable
implements
IAICustomizationWelcomePageImplementation
{
private
readonly
=
this
.
_register
(
new
DisposableStore
(
)
)
;
readonly
:
;
private
readonly
:
;
private
:
|
undefined
;
private
:
|
undefined
;
private
:
|
undefined
;
private
:
|
undefined
;
private
=
new
Set< AICustomizationManagementSection>
(
)
;
private
:
|
undefined
;
private
:
|
undefined
;
private
:
|
undefined
;
private
:
readonly
[
]
=
[
]
;
private
readonly
:
[
]
=
[
{
:
.
,
:
localize
(
'agents'
,
"Agents"
)
,
:
,
:
localize
(
'agentsDesc'
,
"Create specialized agents for focused development tasks. Control their instructions, tools, and behavior."
)
,
:
.
,
}
,
{
:
.
,
:
localize
(
'skills'
,
"Skills"
)
,
:
,
:
localize
(
'skillsDesc'
,
"Add reusable knowledge and workflows for specialized tasks. Agents load relevant skills when needed."
)
,
:
.
,
}
,
{
:
.
,
:
localize
(
'instructions'
,
"Instructions"
)
,
:
,
:
localize
(
'instructionsDesc'
,
"Define guidance that shapes how agents work. Apply it across a workspace or keep it in your user profile."
)
,
:
.
,
}
,
{
:
.
,
:
localize
(
'hooks'
,
"Hooks"
)
,
:
,
:
localize
(
'hooksDesc'
,
"Run automated commands at key points in the agent lifecycle. Use hooks to validate, format, or coordinate work."
)
,
:
.
,
}
,
{
:
.
,
:
localize
(
'mcpServers'
,
"MCP Servers"
)
,
:
.
,
:
localize
(
'mcpServersDesc'
,
"Connect agents to external tools and data through MCP servers. Manage the servers available to your agent."
)
,
}
,
{
:
.
,
:
localize
(
'plugins'
,
"Plugins"
)
,
:
,
:
localize
(
'pluginsDesc'
,
"Install reusable packages that extend the agent. Plugins can add tools, skills, agents, hooks, and MCP servers."
)
,
}
,
{
:
.
,
:
localize
(
'tools'
,
"Tools"
)
,
:
,
:
localize
(
'toolsDesc'
,
"Review the tools available to the active agent. Enable or disable configurable tool groups."
)
,
}
,
]
;
private
readonly
:
[
]
=
[
{
:
localize
(
'voiceModeInstructions'
,
"Voice Mode Instructions"
)
,
:
.
,
:
localize
(
'voiceModeInstructionsDesc'
,
"Customize Voice Mode behavior and terminology with voice.md."
)
,
:
CONFIGURE_VOICE_INSTRUCTIONS_ACTION_ID
,
}
,
{
:
localize
(
'dictationInstructions'
,
"Dictation Instructions"
)
,
:
.
,
:
localize
(
'dictationInstructionsDesc'
,
"Customize Dictation terminology and transcript formatting with dictation.md."
)
,
:
CONFIGURE_DICTATION_INSTRUCTIONS_ACTION_ID
,
}
,
]
;
constructor
(
:
,
private
readonly
:
|
undefined
,
private
readonly
:
,
private
readonly
:
,
private
readonly
:
,
private
readonly
:
,
private
:
string
,
)
{
super
(
)
;
this
.
=
$
(
'.welcome-prompts-content-container'
)
;
this
.
=
this
.
_register
(
new
DomScrollableElement
(
this
.
,
{
:
.
,
:
.
,
:
false
,
}
)
)
;
const
=
this
.
.
getDomNode
(
)
;
.
.
add
(
'welcome-prompts-scrollable'
)
;
.
appendChild
(
)
;
const
=
this
.
_register
(
new
DOM
.
DisposableResizeObserver
(
'AICustomizationWelcomePagePromptLaunchers.scrollable'
,
(
)
=>
this
.
.
scanDomNode
(
)
)
)
;
this
.
_register
(
.
observe
(
)
)
;
const
=
DOM
.
append
(
this
.
,
$
(
'.welcome-prompts-inner'
)
)
;
this
.
=
DOM
.
append
(
,
$
(
'h2.welcome-prompts-heading'
)
)
;
this
.
updateHeading
(
)
;
const
=
DOM
.
append
(
,
$
(
'p.welcome-prompts-subtitle'
)
)
;
.
=
localize
(
'welcomeSubtitle'
,
"Tailor how agents work in your projects. Configure workspace customizations for the entire team, or create personal ones that follow you across projects."
)
;
if
(
this
.
?.
!==
false
)
{
const
=
DOM
.
append
(
,
$
(
'.welcome-prompts-primary'
)
)
;
const
=
DOM
.
append
(
,
$
(
'.welcome-prompts-section-label'
)
)
;
const
=
DOM
.
append
(
,
$
(
'span.welcome-prompts-section-label-icon.codicon.codicon-sparkle'
)
)
;
.
setAttribute
(
'aria-hidden'
,
'true'
)
;
const
=
DOM
.
append
(
,
$
(
'span'
)
)
;
.
=
localize
(
'gettingStartedTitle'
,
"Customize Your Agent"
)
;
const
=
DOM
.
append
(
,
$
(
'p.welcome-prompts-input-helper'
)
)
;
.
=
localize
(
'gettingStartedDesc'
,
"Describe your preferences and conventions to draft agents, skills, and instructions."
)
;
const
=
DOM
.
append
(
,
$
(
'.welcome-prompts-input-row'
)
)
;
this
.
=
;
this
.
=
DOM
.
append
(
,
$
(
'input.welcome-prompts-input'
)
)
as
;
this
.
.
=
'text'
;
this
.
.
=
localize
(
'workflowInputPlaceholder'
,
"Prefer concise commits, thorough reviews, and tested code..."
)
;
this
.
.
setAttribute
(
'aria-label'
,
localize
(
'workflowInputAriaLabel'
,
"Describe your preferences to customize your agent"
)
)
;
const
=
DOM
.
append
(
,
$
(
'button.welcome-prompts-input-submit'
)
)
;
this
.
=
;
.
setAttribute
(
'aria-label'
,
localize
(
'workflowSubmitAriaLabel'
,
"Customize agent"
)
)
;
this
.
_register
(
this
.
.
setupManagedHover
(
getDefaultHoverDelegate
(
'element'
)
,
,
localize
(
'workflowSubmitTooltip'
,
"Open in Chat"
)
)
)
;
const
=
DOM
.
append
(
,
$
(
'span.codicon.codicon-arrow-up'
)
)
;
.
setAttribute
(
'aria-hidden'
,
'true'
)
;
const
updateSubmitState
=
(
)
=>
{
const
=
!
!
(
this
.
?.
?.
trim
(
)
)
;
(
as
)
.
=
!
;
.
.
toggle
(
'welcome-prompts-input-submit-disabled'
,
!
)
;
}
;
const
submit
=
(
)
=>
{
const
=
this
.
?.
?.
trim
(
)
;
if
(
!
)
{
return
;
}
let
:
string
;
if
(
this
.
.
)
{
=
` Generate agent customizations. ${ value} `
;
}
else
{
=
` /init ${ value} `
;
}
if
(
this
.
)
{
this
.
.
=
''
;
}
updateSubmitState
(
)
;
.
.
add
(
'sent'
)
;
.
.
=
'none'
;
if
(
this
.
)
{
this
.
.
remove
(
)
;
}
this
.
=
DOM
.
append
(
,
$
(
'span.welcome-prompts-sent-label'
)
)
;
this
.
.
setAttribute
(
'role'
,
'status'
)
;
this
.
.
setAttribute
(
'aria-live'
,
'polite'
)
;
this
.
.
=
localize
(
'sentToChat'
,
"Sent to chat \u2713"
)
;
this
.
.
prefillChat
(
,
{
:
false
,
:
true
}
)
;
}
;
this
.
_register
(
DOM
.
addDisposableListener
(
,
'click'
,
=>
{
.
stopPropagation
(
)
;
submit
(
)
;
}
)
)
;
this
.
_register
(
DOM
.
addDisposableListener
(
this
.
,
'keydown'
,
(
:
)
=>
{
if
(
.
===
'Enter'
)
{
.
preventDefault
(
)
;
submit
(
)
;
}
}
)
)
;
this
.
_register
(
DOM
.
addDisposableListener
(
this
.
,
'input'
,
(
)
=>
{
updateSubmitState
(
)
;
this
.
_clearSentState
(
)
;
}
)
)
;
updateSubmitState
(
)
;
}
this
.
=
DOM
.
append
(
,
$
(
'.welcome-prompts-cards'
)
)
;
}
private
_clearSentState
(
)
:
void
{
if
(
this
.
)
{
this
.
.
remove
(
)
;
this
.
=
undefined
;
}
if
(
this
.
)
{
this
.
.
.
=
''
;
}
if
(
this
.
)
{
this
.
.
.
remove
(
'sent'
)
;
}
}
reset
(
)
:
void
{
this
.
_clearSentState
(
)
;
}
rebuildCards
(
:
<
>
)
:
void
{
if
(
!
this
.
)
{
return
;
}
this
.
=
new
Set
(
)
;
this
.
.
clear
(
)
;
DOM
.
clearNode
(
this
.
)
;
this
.
=
undefined
;
if
(
this
.
.
>
0
)
{
const
=
this
.
renderOverviewSection
(
localize
(
'overviewNeedsAttention'
,
"Needs Attention"
)
,
localize
(
'overviewNeedsAttentionDescription'
,
"Review customizations that need an update for the active agent."
)
,
'welcome-prompts-attention-section'
,
)
;
for
(
const
of
this
.
)
{
this
.
renderCustomizationMigrationCard
(
,
)
;
}
}
const
=
this
.
renderOverviewSection
(
localize
(
'overviewExploreCustomizations'
,
"Explore Customizations"
)
,
localize
(
'overviewExploreCustomizationsDescription'
,
"Manage what the active agent knows and can do."
)
,
'welcome-prompts-explore-section'
,
)
;
for
(
const
of
this
.
.
)
{
const
=
this
.
.
find
(
=>
.
===
)
;
if
(
!
||
!
.
has
(
.
)
)
{
continue
;
}
const
=
DOM
.
append
(
,
$
(
'button.welcome-prompts-card.welcome-prompts-navigation-card'
)
)
as
;
.
=
'button'
;
.
setAttribute
(
'aria-label'
,
localize
(
'openCustomizationCategory'
,
"Open {0}"
,
.
)
)
;
if
(
!
this
.
)
{
this
.
=
;
}
const
=
DOM
.
append
(
,
$
(
'.welcome-prompts-card-header'
)
)
;
const
=
DOM
.
append
(
,
$
(
'.welcome-prompts-card-icon'
)
)
;
.
.
add
(
...
.
asClassNameArray
(
.
)
)
;
const
=
DOM
.
append
(
,
$
(
'span.welcome-prompts-card-label'
)
)
;
.
=
.
;
const
=
DOM
.
append
(
,
$
(
'p.welcome-prompts-card-description'
)
)
;
.
=
.
;
this
.
.
add
(
DOM
.
addDisposableListener
(
,
'click'
,
(
)
=>
{
this
.
.
selectSection
(
.
)
;
}
)
)
;
}
if
(
!
this
.
.
)
{
const
=
this
.
renderOverviewSection
(
localize
(
'overviewOtherCustomizations'
,
"Other Customizations"
)
,
localize
(
'overviewOtherCustomizationsDescription'
,
"Configure specialized voice and dictation behavior."
)
,
'welcome-prompts-other-section'
,
)
;
for
(
const
of
this
.
)
{
this
.
renderStandaloneCustomization
(
,
)
;
}
}
this
.
.
scanDomNode
(
)
;
}
private
renderOverviewSection
(
:
string
,
:
string
,
:
string
)
:
{
const
=
DOM
.
append
(
this
.
!
,
$
(
'.welcome-prompts-overview-section'
)
)
;
.
.
add
(
)
;
const
=
DOM
.
append
(
,
$
(
'h3.welcome-prompts-overview-section-title'
)
)
;
.
=
;
const
=
DOM
.
append
(
,
$
(
'p.welcome-prompts-overview-section-description'
)
)
;
.
=
;
return
DOM
.
append
(
,
$
(
'.welcome-prompts-overview-grid'
)
)
;
}
private
renderStandaloneCustomization
(
:
,
:
)
:
void
{
const
=
DOM
.
append
(
,
$
(
'button.welcome-prompts-card.welcome-prompts-navigation-card'
)
)
as
;
.
=
'button'
;
.
setAttribute
(
'aria-label'
,
localize
(
'configureCategoryAriaLabel'
,
"Configure {0}"
,
.
)
)
;
if
(
!
this
.
)
{
this
.
=
;
}
const
=
DOM
.
append
(
,
$
(
'.welcome-prompts-card-header'
)
)
;
const
=
DOM
.
append
(
,
$
(
'.welcome-prompts-card-icon'
)
)
;
.
.
add
(
...
.
asClassNameArray
(
.
)
)
;
const
=
DOM
.
append
(
,
$
(
'span.welcome-prompts-card-label'
)
)
;
.
=
.
;
const
=
DOM
.
append
(
,
$
(
'p.welcome-prompts-card-description'
)
)
;
.
=
.
;
const
configure
=
(
)
=>
{
void
this
.
.
executeCommand
(
.
)
;
}
;
this
.
.
add
(
DOM
.
addDisposableListener
(
,
'click'
,
)
)
;
}
setMigrationCategories
(
:
readonly
[
]
)
:
void
{
const
=
.
!==
this
.
.
||
.
some
(
(
,
)
=>
{
const
=
this
.
[
]
;
return
.
!==
.
||
.
!==
.
||
.
!==
.
;
}
)
;
this
.
=
;
if
(
)
{
this
.
rebuildCards
(
this
.
)
;
}
}
setHarnessLabel
(
:
string
)
:
void
{
if
(
this
.
===
)
{
return
;
}
this
.
=
;
this
.
updateHeading
(
)
;
}
private
updateHeading
(
)
:
void
{
if
(
this
.
)
{
this
.
.
=
localize
(
'welcomeHeading'
,
"Agent Customizations"
)
;
}
}
private
renderCustomizationMigrationCard
(
:
,
:
)
:
void
{
const
=
DOM
.
append
(
,
$
(
'button.welcome-prompts-card.welcome-prompts-migration-card'
)
)
as
;
.
=
'button'
;
.
setAttribute
(
'aria-label'
,
.
)
;
const
=
DOM
.
append
(
,
$
(
'.welcome-prompts-card-header'
)
)
;
const
=
DOM
.
append
(
,
$
(
'.welcome-prompts-card-icon'
)
)
;
.
.
add
(
...
.
asClassNameArray
(
.
)
)
;
const
=
DOM
.
append
(
,
$
(
'span.welcome-prompts-card-label'
)
)
;
.
=
.
;
const
=
DOM
.
append
(
,
$
(
'p.welcome-prompts-card-description'
)
)
;
.
=
.
;
if
(
!
this
.
)
{
this
.
=
;
}
const
=
DOM
.
append
(
,
$
(
'span.welcome-prompts-card-action-label'
)
)
;
.
=
.
;
this
.
.
add
(
DOM
.
addDisposableListener
(
,
'click'
,
(
)
=>
this
.
.
migrateCustomizations
(
.
)
)
)
;
}
focus
(
)
:
void
{
if
(
this
.
)
{
this
.
.
focus
(
)
;
return
;
}
this
.
?.
focus
(
)
;
}
}