mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-17 09:35:37 -05:00
Feature/schemacompare include exclude checkboxes (#5548)
* Adding include exclude boxes * Adding as table component generic column and rememebering state. * converged custome action and select checkboxes, moved sc checkbox to middle, can have multiple checkboxes and can remember state now * adding action on column as a common column property * Taking PR comments * Changing Arg name as per CR comment * Taking a PR comment
This commit is contained in:
31
src/sql/azdata.proposed.d.ts
vendored
31
src/sql/azdata.proposed.d.ts
vendored
@@ -3126,6 +3126,26 @@ declare module 'azdata' {
|
||||
cssClass?: string;
|
||||
headerCssClass?: string;
|
||||
toolTip?: string;
|
||||
type?: ColumnType;
|
||||
options?: CheckboxColumnOption | TextColumnOption;
|
||||
}
|
||||
|
||||
export enum ColumnType {
|
||||
text = 0,
|
||||
checkBox = 1,
|
||||
button = 2
|
||||
}
|
||||
|
||||
export interface CheckboxColumnOption {
|
||||
actionOnCheckbox: ActionOnCellCheckboxCheck;
|
||||
}
|
||||
|
||||
export interface TextColumnOption {
|
||||
}
|
||||
|
||||
export enum ActionOnCellCheckboxCheck {
|
||||
selectRow = 0,
|
||||
customAction = 1
|
||||
}
|
||||
|
||||
export interface TableComponentProperties extends ComponentProperties {
|
||||
@@ -3327,8 +3347,19 @@ declare module 'azdata' {
|
||||
onRowSelected: vscode.Event<any>;
|
||||
}
|
||||
|
||||
export interface ICheckboxCellActionEventArgs extends ICellActionEventArgs {
|
||||
checked: boolean;
|
||||
}
|
||||
|
||||
interface ICellActionEventArgs {
|
||||
row: number;
|
||||
column: number;
|
||||
columnName: number;
|
||||
}
|
||||
|
||||
export interface TableComponent extends Component, TableComponentProperties {
|
||||
onRowSelected: vscode.Event<any>;
|
||||
onCellAction?: vscode.Event<ICellActionEventArgs>;
|
||||
}
|
||||
|
||||
export interface FileBrowserTreeComponent extends Component, FileBrowserTreeProperties {
|
||||
|
||||
Reference in New Issue
Block a user