Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
/**
* Base properties for a quick pick and quick tree item.
*/
export
interface
IQuickItem
{
?
:
string
;
:
string
;
?
:
string
;
?
:
string
;
/**
* Whether the item is displayed in italics.
*/
?
:
boolean
;
/**
* Whether the item is displayed with a strikethrough.
*/
?
:
boolean
;
/**
* Icon classes to be passed on as `IIconLabelValueOptions`
* to the underlying `IconLabel` widget.
*/
?
:
readonly
string
[
]
;
?
:
{
:
URI
;
?
:
URI
}
;
/**
* Icon class to be assigned to the quick item container
* directly.
*/
?
:
string
;
/** Theme color applied to the quick item's icon. */
?
:
;
?
:
;
?
:
readonly
[
]
;
/**
* Used when we're in multi-select mode. Renders a disabled checkbox.
*/
?
:
boolean
;
}
/**
* Represents a quick pick item used in the quick pick UI.
*/
export
interface
IQuickPickItem
extends
IQuickItem
{
/**
* The type of the quick pick item. Used to distinguish between 'item' and 'separator'
*/
?
:
'item'
;
/**
* The detail text of the quick pick item. Shown as the second line.
*/
?
:
string
;
/**
* The tooltip for the quick pick item.
*/
?
:
string
|
;
?
:
;
/**
* Allows to show a keybinding next to the item to indicate
* how the item can be triggered outside of the picker using
* keyboard shortcut.
*/
?
:
;
/**
* Whether the item is picked by default when the Quick Pick is shown.
*/
?
:
boolean
;
/**
* Whether the item is always shown in the Quick Pick regardless of filtering.
*/
?
:
boolean
;
/**
* Defaults to true with `IQuickPick.canSelectMany`, can be false to disable picks for a single item
*/
?
:
boolean
;
}
export
interface
IQuickPickSeparator
{
/**
* The type of the quick pick item. Used to distinguish between 'item' and 'separator'
*/
:
'separator'
;
?
:
string
;
?
:
string
;
?
:
string
;
?
:
string
;
?
:
readonly
[
]
;
?
:
string
|
;
}
export
interface
IKeyMods
{
readonly
:
boolean
;
readonly
:
boolean
;
readonly
:
boolean
;
}
export
function
isKeyModified
(
:
)
:
boolean
{
return
.
||
.
||
.
;
}
export
const
NO_KEY_MODS
:
=
{
:
false
,
:
false
,
:
false
}
;
export
interface
IQuickNavigateConfiguration
{
:
readonly
[
]
;
}
export
interface
IPickOptions<Textends IQuickPickItem>
{
/**
* an optional string to show as the title of the quick input
*/
?
:
string
;
/**
* the value to prefill in the input box
*/
?
:
string
;
/**
* an optional string to show as placeholder in the input box to guide the user what she picks on
*/
?
:
string
;
/**
* the text to display underneath the input box
*/
?
:
string
;
/**
* an optional flag to include the description when filtering the picks
*/
?
:
boolean
;
/**
* an optional flag to include the detail when filtering the picks
*/
?
:
boolean
;
/**
* an optional flag to filter the picks based on label. Defaults to true.
*/
?
:
boolean
;
/**
* an optional flag to sort the picks based by the label.
*/
?
:
boolean
;
/**
* an optional flag to not close the picker on focus lost
*/
?
:
boolean
;
/**
* an optional flag to make this picker multi-select
*/
?
:
boolean
;
/**
* enables quick navigate in the picker to open an element without typing
*/
?
:
;
/**
* Hides the input box from the picker UI. This is typically used
* in combination with quick-navigation where no search UI should
* be presented.
*/
?
:
boolean
;
/**
* a context key to set when this picker is active
*/
?
:
string
;
/**
* an optional property for the item to focus initially.
*/
?
:
Promise
<
T
>
|
T
;
/**
* an optional anchor for the picker
*/
?
:
unknown
/* HTMLElement */
|
{
:
number
;
:
number
}
;
/**
* Placement of the quick input relative to {@link anchor}.
* `'overlay'` positions the input box directly on top of the anchor (which must be an HTMLElement)
* and auto-sizes its width to match. Defaults to `'above'`.
*/
?
:
'above'
|
'overlay'
;
?
:
(
:
)
=>
void
;
?
:
(
:
T
)
=>
void
;
?
:
(
:
<
T
>
)
=>
void
;
?
:
(
:
)
=>
void
;
}
export
interface
IInputOptions
{
/**
* an optional string to show as the title of the quick input
*/
?
:
string
;
/**
* the value to prefill in the input box
*/
?
:
string
;
/**
* the selection of value, default to the whole prefilled value
*/
?
:
readonly
[
number
,
number
]
;
/**
* the text to display underneath the input box
*/
?
:
string
;
/**
* an optional string to show as placeholder in the input box to guide the user what to type
*/
?
:
string
;
/**
* Controls if a password input is shown. Password input hides the typed text.
*/
?
:
boolean
;
/**
* an optional flag to not close the input on focus lost
*/
?
:
boolean
;
/**
* an optional function that is used to validate user input.
*/
?
:
(
:
string
)
=>
Promise
<
string
|
null
|
undefined
|
{
:
string
;
:
}
>
;
}
export
enum
{
/**
* Focus moved away from the quick input.
*/
=
1
,
/**
* An explicit user gesture, e.g. pressing Escape key.
*/
,
/**
* Anything else.
*/
}
export
interface
IQuickInputHideEvent
{
:
;
}
/**
* A collection of the different types of QuickInput
*/
export
const
enum
{
=
'quickPick'
,
=
'inputBox'
,
=
'quickWidget'
,
=
'quickTree'
}
/**
* Represents a quick input control that allows users to make selections or provide input quickly.
*/
export
interface
IQuickInput
extends
IDisposable
{
/**
* The type of the quick input.
*/
readonly
:
;
/**
* An event that is fired when the quick input is hidden.
*/
readonly
:
<
>
;
/**
* An event that is fired when the quick input will be hidden.
*/
readonly
:
<
>
;
/**
* An event that is fired when the quick input is disposed.
*/
readonly
:
<
void
>
;
/**
* The title of the quick input.
*/
:
string
|
undefined
;
/**
* The description of the quick input. This is rendered right below the input box.
*/
:
string
|
undefined
;
/**
* The current step of the quick input rendered in the titlebar.
*/
:
number
|
undefined
;
/**
* The total number of steps in the quick input rendered in the titlebar.
*/
:
number
|
undefined
;
/**
* The buttons displayed in the quick input titlebar.
*/
:
<
>
;
/**
* An event that is fired when a button in the quick input is triggered.
*/
readonly
:
<
>
;
/**
* Indicates whether the input is enabled.
*/
:
boolean
;
/**
* The context key associated with the quick input.
*/
:
string
|
undefined
;
/**
* Indicates whether the quick input is busy. Renders a progress bar if true.
*/
:
boolean
;
/**
* Indicates whether the quick input should be hidden when it loses focus.
*/
:
boolean
;
/**
* An optional anchor for the quick input.
*/
?
:
unknown
/* HTMLElement */
|
{
:
number
;
:
number
}
;
/**
* Placement of the quick input relative to {@link anchor}.
* `'overlay'` positions the input box directly on top of the anchor (which must be an HTMLElement)
* and auto-sizes its width to match. Defaults to `'above'`.
*/
?
:
'above'
|
'overlay'
;
/**
* Shows the quick input.
*/
show
(
)
:
void
;
/**
* Hides the quick input.
*/
hide
(
)
:
void
;
/**
* Notifies that the quick input has been hidden.
* @paramreason The reason why the quick input was hidden.
*/
didHide
(
?
:
)
:
void
;
/**
* Notifies that the quick input will be hidden.
* @paramreason The reason why the quick input will be hidden.
*/
willHide
(
?
:
)
:
void
;
}
export
interface
IQuickWidget
extends
IQuickInput
{
/**
* The type of the quick input.
*/
readonly
:
.
;
/**
* A HTML element that will be rendered inside the quick input.
*/
:
unknown
/* HTMLElement */
|
undefined
;
}
export
interface
IQuickPickWillAcceptEvent
{
/**
* Allows to disable the default accept handling
* of the picker. If `veto` is called, the picker
* will not trigger the `onDidAccept` event.
*/
veto
(
)
:
void
;
}
export
interface
IQuickPickDidAcceptEvent
{
/**
* Signals if the picker item is to be accepted
* in the background while keeping the picker open.
*/
:
boolean
;
}
/**
* Represents the activation behavior for items in a quick input. This means which item will be
* "active" (aka focused).
*/
export
enum
{
/**
* No item will be active.
*/
NONE
,
/**
* First item will be active.
*/
FIRST
,
/**
* Second item will be active.
*/
SECOND
,
/**
* Last item will be active.
*/
LAST
}
/**
* Represents the focus options for a quick pick.
*/
export
enum
{
/**
* Focus the first item in the list.
*/
=
1
,
/**
* Focus the second item in the list.
*/
,
/**
* Focus the last item in the list.
*/
,
/**
* Focus the next item in the list.
*/
,
/**
* Focus the previous item in the list.
*/
,
/**
* Focus the next page in the list.
*/
,
/**
* Focus the previous page in the list.
*/
,
/**
* Focus the first item under the next separator.
*/
,
/**
* Focus the first item under the current separator.
*/
}
/**
* Represents a quick pick control that allows the user to select an item from a list of options.
*/
/**
* The current value of the quick pick input.
*/
:
string
;
/**
* A method that allows to massage the value used for filtering, e.g, to remove certain parts.
* @paramvalue The value to be filtered.
* @returns The filtered value.
*/
filterValue
:
(
:
string
)
=>
string
;
/**
* The ARIA label for the quick pick input.
*/
:
string
|
undefined
;
/**
* The placeholder text for the quick pick input.
*/
:
string
|
undefined
;
/**
* Text shown below the quick pick input.
*/
:
string
|
undefined
;
/**
* An event that is fired when the value of the quick pick input changes.
*/
readonly
:
<
string
>
;
/**
* An event that is fired when the quick pick is about to accept the selected item.
*/
readonly
:
<
>
;
/**
* An event that is fired when the quick pick has accepted the selected item.
*/
readonly
:
<
>
;
/**
* If enabled, the `onDidAccept` event will be fired when pressing the arrow-right key to accept the selected item without closing the picker.
*/
:
boolean
;
/**
* The OK button state. It can be a boolean value or the string 'default'.
*/
:
boolean
|
'default'
;
/**
* The OK button label.
*/
:
string
|
undefined
;
/**
* An event that is fired when the custom button is triggered. The custom button is a button with text rendered to the right of the input.
*/
readonly
:
<
void
>
;
/**
* Whether to show the custom button. The custom button is a button with text rendered to the right of the input.
*/
:
boolean
;
/**
* The label for the custom button. The custom button is a button with text rendered to the right of the input.
*/
:
string
|
undefined
;
/**
* The hover text for the custom button. The custom button is a button with text rendered to the right of the input.
*/
:
string
|
undefined
;
/**
* Whether the custom button should be rendered as a secondary button.
*/
?
:
boolean
;
/**
* An event that is fired when an item button is triggered.
*/
readonly
:
<
<
T
>>
;
/**
* An event that is fired when a separator button is triggered.
*/
readonly
:
<
>
;
/**
* The items to be displayed in the quick pick.
*/
:
O
extends
{
:
true
}
?
<
T
|
>
:
<
T
>
;
/**
* Whether multiple items can be selected. If so, checkboxes will be rendered.
*/
:
boolean
;
/**
* Whether to match on the description of the items.
*/
:
boolean
;
/**
* Whether to match on the detail of the items.
*/
:
boolean
;
/**
* Whether to match on the label of the items.
*/
:
boolean
;
/**
* The mode to filter the label with. It can be 'fuzzy' or 'contiguous'. Defaults to 'fuzzy'.
*/
:
'fuzzy'
|
'contiguous'
;
/**
* Whether to sort the items by label.
*/
:
boolean
;
/**
* Whether to keep the scroll position when the quick pick input is updated.
*/
:
boolean
;
/**
* The configuration for quick navigation.
*/
:
|
undefined
;
/**
* The currently active items.
*/
:
<
T
>
;
/**
* An event that is fired when the active items change.
*/
readonly
:
<
T
[
]
>
;
/**
* The item activation behavior for the next time `items` is set. Item activation means which
* item is "active" (aka focused) when the quick pick is opened or when `items` is set.
*/
:
;
/**
* The currently selected items.
*/
:
<
T
>
;
/**
* An event that is fired when the selected items change.
*/
readonly
:
<
T
[
]
>
;
/**
* The key modifiers.
*/
readonly
:
;
/**
* The selection range for the value in the input.
*/
:
<
[
number
,
number
]
>
|
undefined
;
/**
* The validation message for the quick pick. This is rendered below the input.
*/
:
string
|
undefined
;
/**
* The severity of the validation message.
*/
:
;
/**
* Checks if the quick pick input has focus.
* @returns `true` if the quick pick input has focus, `false` otherwise.
*/
inputHasFocus
(
)
:
boolean
;
/**
* Focuses on the quick pick input.
*/
focusOnInput
(
)
:
void
;
/**
* Hides the input box from the picker UI. This is typically used in combination with quick-navigation where no search UI should be presented.
*/
:
boolean
;
/**
* Controls whether the count for the items should be shown.
*/
:
boolean
;
/**
* Whether to hide the "Check All" checkbox.
*/
:
boolean
;
/**
* Focus a particular item in the list. Used internally for keyboard navigation.
* @paramfocus The focus behavior.
*/
focus
(
:
)
:
void
;
/**
* Programmatically accepts an item. Used internally for keyboard navigation.
* @paraminBackground Whether you are accepting an item in the background and keeping the picker open.
*/
accept
(
?
:
boolean
)
:
void
;
}
/**
* Represents an input box in a quick input dialog.
*/
export
interface
IInputBox
extends
IQuickInput
{
/**
* The type of the quick input.
*/
readonly
:
.
;
/**
* Value shown in the input box.
*/
:
string
;
/**
* Provide start and end values to be selected in the input box.
*/
:
<
[
number
,
number
]
>
|
undefined
;
/**
* Value shown as example for input.
*/
:
string
|
undefined
;
/**
* Determines if the input value should be hidden while typing.
*/
:
boolean
;
/**
* Event called when the input value changes.
*/
readonly
:
<
string
>
;
/**
* Event called when the user submits the input.
*/
readonly
:
<
void
>
;
/**
* Text show below the input box.
*/
:
string
|
undefined
;
/**
* An optional validation message indicating a problem with the current input value.
* Returning undefined clears the validation message.
*/
:
string
|
undefined
;
/**
* Severity of the input validation message.
*/
:
;
/**
* Programmatically accepts an item. Used internally for keyboard navigation.
*/
accept
(
)
:
void
;
}
export
enum
{
/**
* In the title bar.
*/
=
1
,
/**
* To the right of the input box.
*/
=
2
,
/**
* At the far end inside the input box.
* Used by the public API to create toggles.
*/
=
3
,
}
/**
* Represents a button in the quick input UI.
*/
export
interface
IQuickInputButton
{
/**
* The path to the icon for the button.
* Either `iconPath` or `iconClass` is required.
*/
?
:
{
:
URI
;
?
:
URI
}
;
/**
* The CSS class for the icon of the button.
* Either `iconPath` or `iconClass` is required.
*/
?
:
string
;
/**
* The tooltip text for the button.
*/
?
:
string
;
/**
* Whether to always show the button.
* By default, buttons are only visible when hovering over them with the mouse.
*/
?
:
boolean
;
/**
* Where the button should be rendered. The default is {@link QuickInputButtonLocation.Title}.
* @note This property is ignored if the button was added to a QuickPickItem.
*/
?
:
;
/**
* When present, indicates that the button is a toggle button that can be checked or unchecked.
* The `checked` property indicates the current state of the toggle and will be updated
* when the button is clicked.
*/
readonly
?
:
{
:
boolean
}
;
/**
* Optional label for the button. When used with secondary actions, this label appears in the overflow menu.
*/
?
:
string
;
/**
* When true, the button will be rendered as a secondary action in the toolbar overflow menu.
* By default, buttons are rendered as primary actions.
* @note This does not currently apply to buttons in the Input location
*/
?
:
boolean
;
}
export
interface
IQuickInputButtonWithToggle
extends
IQuickInputButton
{
readonly
:
{
:
boolean
}
;
}
/**
* Represents an event that occurs when a button associated with a quick pick item is clicked.
* @template T - The type of the quick pick item.
*/
/**
* Removes the associated item from the quick pick.
*/
removeItem
(
)
:
void
;
}
export
type
QuickPickInput<T= IQuickPickItem>
=
T
|
;
//#region Fuzzy Scorer Support
export
type
IQuickPickItemWithResource
=
&
{
?
:
URI
}
;
export
class
QuickPickItemScorerAccessor
implements
IItemAccessor<IQuickPickItemWithResource>
{
constructor
(
private
?
:
{
?
:
boolean
;
?
:
boolean
}
)
{
}
getItemLabel
(
:
)
:
string
{
return
.
;
}
getItemDescription
(
:
)
:
string
|
undefined
{
if
(
this
.
?.
)
{
return
undefined
;
}
return
.
;
}
getItemPath
(
:
)
:
string
|
undefined
{
if
(
this
.
?.
)
{
return
undefined
;
}
if
(
.
?.
===
.
)
{
return
.
.
;
}
return
.
?.
;
}
}
export
const
=
new
QuickPickItemScorerAccessor
(
)
;
//#endregion
export
const
=
createDecorator<IQuickInputService>
(
'quickInputService'
)
;
export
type
Omit<T,KextendskeyofT>
=
<
T
,
<
keyof
T
,
K
>>
;
export
type
QuickInputAlignment
=
'top'
|
'center'
|
'custom'
;
export
interface
IQuickInputService
{
readonly
:
undefined
;
/**
* Provides access to the back button in quick input.
*/
readonly
:
;
/**
* Provides access to the quick access providers.
*/
readonly
:
;
/**
* Allows to register on the event that quick input is showing.
*/
readonly
:
<
void
>
;
/**
* Allows to register on the event that quick input is hiding.
*/
readonly
:
<
void
>
;
/**
* The current alignment of the quick input widget.
*/
readonly
:
<
>
;
/**
* Opens the quick input box for selecting items and returns a promise
* with the user selected item(s) if any.
*/
pick<Textends IQuickPickItem>
(
:
Promise
<
<
T
>
[
]
>
|
<
T
>
[
]
,
?
:
<
T
>
&
{
:
true
}
,
?
:
)
:
Promise
<
T
[
]
|
undefined
>
;
pick<Textends IQuickPickItem>
(
:
Promise
<
<
T
>
[
]
>
|
<
T
>
[
]
,
?
:
<
T
>
&
{
:
false
}
,
?
:
)
:
Promise
<
T
|
undefined
>
;
pick<Textends IQuickPickItem>
(
:
Promise
<
<
T
>
[
]
>
|
<
T
>
[
]
,
?
:
<
<
T
>
,
'canPickMany'
>
,
?
:
)
:
Promise
<
T
|
undefined
>
;
/**
* Opens the quick input box for text input and returns a promise with the user typed value if any.
*/
input
(
?
:
,
?
:
)
:
Promise
<
string
|
undefined
>
;
/**
* Provides raw access to the quick pick controller.
*/
createQuickPick<Textends IQuickPickItem>
(
:
{
:
true
}
)
:
<
T
,
{
:
true
}
>
;
createQuickPick<Textends IQuickPickItem>
(
?
:
{
:
boolean
}
)
:
<
T
,
{
:
false
}
>
;
/**
* Provides raw access to the input box controller.
*/
createInputBox
(
)
:
;
/**
* Provides raw access to the quick widget controller.
*/
createQuickWidget
(
)
:
;
/**
* Provides raw access to the quick tree controller.
* @template T The type of items in the quick tree.
*/
createQuickTree<Textends IQuickTreeItem>
(
)
:
<
T
>
;
/**
* Moves focus into quick input.
*/
focus
(
)
:
void
;
/**
* Toggle the checked state of the selected item.
*/
toggle
(
)
:
void
;
/**
* Navigate inside the opened quick input list.
*/
navigate
(
:
boolean
,
?
:
)
:
void
;
/**
* Navigate back in a multi-step quick input.
*/
back
(
)
:
Promise
<
void
>
;
/**
* Accept the selected item.
*
* @paramkeyMods allows to override the state of key
* modifiers that should be present when invoking.
*/
accept
(
?
:
)
:
Promise
<
void
>
;
/**
* Cancels quick input and closes it.
*/
cancel
(
?
:
)
:
Promise
<
void
>
;
/**
* Toggles hover for the current quick input item
*/
toggleHover
(
)
:
void
;
/**
* The current quick pick that is visible. Undefined if none is open.
*/
:
|
undefined
;
/**
* Set the alignment of the quick input.
* @paramalignment either a preset or a custom alignment
*/
setAlignment
(
:
'top'
|
'center'
|
{
:
number
;
:
number
}
)
:
void
;
}
//#region Quick Tree
/**
* Represents a quick tree control that displays hierarchical data with checkboxes.
*/
export
interface
IQuickTree<Textends IQuickTreeItem>
extends
IQuickInput
{
/**
* The type of the quick input.
*/
readonly
:
.
;
/**
* The current value of the quick tree filter input.
*/
:
string
;
/**
* The ARIA label for the quick tree input.
*/
:
string
|
undefined
;
/**
* The placeholder text for the quick tree filter input.
*/
:
string
|
undefined
;
/**
* An event that is fired when the filter value changes.
*/
readonly
:
<
string
>
;
/**
* An event that is fired when the quick tree has accepted the selected items.
*/
readonly
:
<
void
>
;
/**
* Whether to match on the description of the items.
*/
:
boolean
;
/**
* Whether to match on the label of the items.
*/
:
boolean
;
/**
* Whether to sort the items by label. Defaults to true.
*/
:
boolean
;
/**
* The currently active items.
*/
:
<
T
>
;
/**
* The validation message for the quick pick. This is rendered below the input.
*/
:
string
|
undefined
;
/**
* The severity of the validation message.
*/
:
;
/**
* The items currently displayed in the quick tree.
* @note modifications to this array directly will not cause updates.
*/
readonly
:
<
<
T
>>
;
/**
* The currently selected leaf items.
*/
readonly
:
<
T
>
;
/**
* Get the parent element of the element passed in
* @paramelement
*/
getParent
(
:
T
)
:
T
|
undefined
;
/**
* An event that is fired when the active items change.
*/
readonly
:
<
<
T
>>
;
/**
* An event that is fired when the selected items change.
*/
readonly
:
<
<
T
>>
;
/**
* An event that is fired when the checkbox state of an item changes.
*/
readonly
:
<
T
>
;
/**
* An event that is fired when an item button is triggered.
*/
readonly
:
<
<
T
>>
;
/**
* Sets the items to be displayed in the quick tree.
* @paramitemTree The items to display.
*/
setItemTree
(
:
T
[
]
)
:
void
;
/**
* Expands an item.
* @paramelement The item to expand.
*/
expand
(
:
T
)
:
void
;
/**
* Collapses an item.
* @paramelement The item to collapse.
*/
collapse
(
:
T
)
:
void
;
/**
* Checks if an item is collapsed.
* @paramelement The item to check.
* @returns True if the item is collapsed.
*/
isCollapsed
(
:
T
)
:
boolean
;
/**
* Focuses on the tree input.
*/
focusOnInput
(
)
:
void
;
/**
* Reveals and focuses a specific item in the tree.
* @paramelement The item to reveal and focus.
*/
reveal
(
:
T
)
:
void
;
/**
* Focus a particular item in the list. Used internally for keyboard navigation.
* @paramfocus The focus behavior.
*/
focus
(
:
)
:
void
;
/**
* Programmatically accepts an item. Used internally for keyboard navigation.
* @paraminBackground Whether you are accepting an item in the background and keeping the picker open.
*/
accept
(
?
:
boolean
)
:
void
;
}
/**
* Represents a tree item in the quick tree.
*/
export
interface
IQuickTreeItem
extends
IQuickItem
{
/**
* The checked state of the item. Can be true, false, or 'mixed' for tri-state.
* When canSelectMany is false, this is ignored and the item is treated as a single selection.
* When canSelectMany is true, this indicates the checkbox state of the item.
* If undefined, the item is unchecked by default.
*/
?
:
boolean
|
'mixed'
;
/**
* The collapsible state of the tree item. Defaults to 'Expanded' if children are present.
*/
?
:
boolean
;
/**
* The children of this tree item.
*/
?
:
readonly
[
]
;
/**
* Defaults to true, can be false to disable picks for a single item.
* When false, the item is not selectable and does not respond to mouse/keyboard activation.
*/
?
:
boolean
;
}
/**
* Represents an event that occurs when the checkbox state of a tree item changes.
* @template T - The type of the tree item.
*/
export
interface
IQuickTreeCheckboxEvent<Textends IQuickTreeItem>
{
/**
* The tree item whose checkbox state changed.
*/
:
T
;
/**
* The new checked state.
*/
:
boolean
|
'mixed'
;
}
/**
* Represents an event that occurs when a button associated with a quick tree item is clicked.
* @template T - The type of the quick tree item.
*/