mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-03-23 21:30:29 -04:00
SQL Operations Studio Public Preview 1 (0.23) release source code
This commit is contained in:
1779
src/typings/modules/@angular/common/index.d.ts
vendored
Normal file
1779
src/typings/modules/@angular/common/index.d.ts
vendored
Normal file
File diff suppressed because it is too large
Load Diff
6
src/typings/modules/@angular/common/typings.json
Normal file
6
src/typings/modules/@angular/common/typings.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"resolution": "main",
|
||||
"tree": {
|
||||
"src": "npm:@angular/common/common.d.ts"
|
||||
}
|
||||
}
|
||||
3831
src/typings/modules/@angular/compiler/index.d.ts
vendored
Normal file
3831
src/typings/modules/@angular/compiler/index.d.ts
vendored
Normal file
File diff suppressed because it is too large
Load Diff
6
src/typings/modules/@angular/compiler/typings.json
Normal file
6
src/typings/modules/@angular/compiler/typings.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"resolution": "main",
|
||||
"tree": {
|
||||
"src": "npm:@angular/compiler/compiler.d.ts"
|
||||
}
|
||||
}
|
||||
7912
src/typings/modules/@angular/core/index.d.ts
vendored
Normal file
7912
src/typings/modules/@angular/core/index.d.ts
vendored
Normal file
File diff suppressed because it is too large
Load Diff
6
src/typings/modules/@angular/core/typings.json
Normal file
6
src/typings/modules/@angular/core/typings.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"resolution": "main",
|
||||
"tree": {
|
||||
"src": "npm:@angular/core/core.d.ts"
|
||||
}
|
||||
}
|
||||
2721
src/typings/modules/@angular/forms/index.d.ts
vendored
Normal file
2721
src/typings/modules/@angular/forms/index.d.ts
vendored
Normal file
File diff suppressed because it is too large
Load Diff
6
src/typings/modules/@angular/forms/typings.json
Normal file
6
src/typings/modules/@angular/forms/typings.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"resolution": "main",
|
||||
"tree": {
|
||||
"src": "npm:@angular/forms/forms.d.ts"
|
||||
}
|
||||
}
|
||||
113
src/typings/modules/@angular/platform-browser-dynamic/index.d.ts
vendored
Normal file
113
src/typings/modules/@angular/platform-browser-dynamic/index.d.ts
vendored
Normal file
@@ -0,0 +1,113 @@
|
||||
// Generated by typings
|
||||
// Source: node_modules/@angular/platform-browser-dynamic/src/platform_providers.d.ts
|
||||
declare module '~@angular/platform-browser-dynamic/src/platform_providers' {
|
||||
import { Provider } from '@angular/core';
|
||||
export const INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS: Provider[];
|
||||
}
|
||||
declare module '@angular/platform-browser-dynamic/src/platform_providers' {
|
||||
export * from '~@angular/platform-browser-dynamic/src/platform_providers';
|
||||
}
|
||||
|
||||
// Generated by typings
|
||||
// Source: node_modules/@angular/platform-browser-dynamic/src/resource_loader/resource_loader_impl.d.ts
|
||||
declare module '~@angular/platform-browser-dynamic/src/resource_loader/resource_loader_impl' {
|
||||
/**
|
||||
* @license
|
||||
* Copyright Google Inc. All Rights Reserved.
|
||||
*
|
||||
* Use of this source code is governed by an MIT-style license that can be
|
||||
* found in the LICENSE file at https://angular.io/license
|
||||
*/
|
||||
import { ResourceLoader } from '@angular/compiler';
|
||||
export class ResourceLoaderImpl extends ResourceLoader {
|
||||
get(url: string): Promise<string>;
|
||||
}
|
||||
}
|
||||
declare module '@angular/platform-browser-dynamic/src/resource_loader/resource_loader_impl' {
|
||||
export * from '~@angular/platform-browser-dynamic/src/resource_loader/resource_loader_impl';
|
||||
}
|
||||
|
||||
// Generated by typings
|
||||
// Source: node_modules/@angular/platform-browser-dynamic/src/private_export.d.ts
|
||||
declare module '~@angular/platform-browser-dynamic/src/private_export' {
|
||||
/**
|
||||
* @license
|
||||
* Copyright Google Inc. All Rights Reserved.
|
||||
*
|
||||
* Use of this source code is governed by an MIT-style license that can be
|
||||
* found in the LICENSE file at https://angular.io/license
|
||||
*/
|
||||
export { INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS as ɵINTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS } from '~@angular/platform-browser-dynamic/src/platform_providers';
|
||||
export { ResourceLoaderImpl as ɵResourceLoaderImpl } from '~@angular/platform-browser-dynamic/src/resource_loader/resource_loader_impl';
|
||||
}
|
||||
declare module '@angular/platform-browser-dynamic/src/private_export' {
|
||||
export * from '~@angular/platform-browser-dynamic/src/private_export';
|
||||
}
|
||||
|
||||
// Generated by typings
|
||||
// Source: node_modules/@angular/platform-browser-dynamic/src/version.d.ts
|
||||
declare module '~@angular/platform-browser-dynamic/src/version' {
|
||||
/**
|
||||
* @license
|
||||
* Copyright Google Inc. All Rights Reserved.
|
||||
*
|
||||
* Use of this source code is governed by an MIT-style license that can be
|
||||
* found in the LICENSE file at https://angular.io/license
|
||||
*/
|
||||
/**
|
||||
* @module
|
||||
* @description
|
||||
* Entry point for all public APIs of the common package.
|
||||
*/
|
||||
import { Version } from '@angular/core';
|
||||
/**
|
||||
* @stable
|
||||
*/
|
||||
export const VERSION: Version;
|
||||
}
|
||||
declare module '@angular/platform-browser-dynamic/src/version' {
|
||||
export * from '~@angular/platform-browser-dynamic/src/version';
|
||||
}
|
||||
|
||||
// Generated by typings
|
||||
// Source: node_modules/@angular/platform-browser-dynamic/src/platform-browser-dynamic.d.ts
|
||||
declare module '~@angular/platform-browser-dynamic/src/platform-browser-dynamic' {
|
||||
import { PlatformRef, Provider } from '@angular/core';
|
||||
export * from '~@angular/platform-browser-dynamic/src/private_export';
|
||||
export { VERSION } from '~@angular/platform-browser-dynamic/src/version';
|
||||
/**
|
||||
* @experimental
|
||||
*/
|
||||
export const RESOURCE_CACHE_PROVIDER: Provider[];
|
||||
/**
|
||||
* @stable
|
||||
*/
|
||||
export const platformBrowserDynamic: (extraProviders?: Provider[] | undefined) => PlatformRef;
|
||||
}
|
||||
declare module '@angular/platform-browser-dynamic/src/platform-browser-dynamic' {
|
||||
export * from '~@angular/platform-browser-dynamic/src/platform-browser-dynamic';
|
||||
}
|
||||
|
||||
// Generated by typings
|
||||
// Source: node_modules/@angular/platform-browser-dynamic/platform-browser-dynamic.d.ts
|
||||
declare module '~@angular/platform-browser-dynamic/platform-browser-dynamic' {
|
||||
/**
|
||||
* @license
|
||||
* Copyright Google Inc. All Rights Reserved.
|
||||
*
|
||||
* Use of this source code is governed by an MIT-style license that can be
|
||||
* found in the LICENSE file at https://angular.io/license
|
||||
*/
|
||||
/**
|
||||
* @module
|
||||
* @description
|
||||
* Entry point for all public APIs of the platform-browser-dynamic package.
|
||||
*/
|
||||
export * from '~@angular/platform-browser-dynamic/src/platform-browser-dynamic';
|
||||
}
|
||||
declare module '@angular/platform-browser-dynamic/platform-browser-dynamic' {
|
||||
export * from '~@angular/platform-browser-dynamic/platform-browser-dynamic';
|
||||
}
|
||||
declare module '@angular/platform-browser-dynamic' {
|
||||
export * from '~@angular/platform-browser-dynamic/platform-browser-dynamic';
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"resolution": "main",
|
||||
"tree": {
|
||||
"src": "npm:@angular/platform-browser-dynamic/platform-browser-dynamic.d.ts"
|
||||
}
|
||||
}
|
||||
1129
src/typings/modules/@angular/platform-browser/index.d.ts
vendored
Normal file
1129
src/typings/modules/@angular/platform-browser/index.d.ts
vendored
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"resolution": "main",
|
||||
"tree": {
|
||||
"src": "npm:@angular/platform-browser/platform-browser.d.ts"
|
||||
}
|
||||
}
|
||||
2643
src/typings/modules/@angular/router/index.d.ts
vendored
Normal file
2643
src/typings/modules/@angular/router/index.d.ts
vendored
Normal file
File diff suppressed because it is too large
Load Diff
6
src/typings/modules/@angular/router/typings.json
Normal file
6
src/typings/modules/@angular/router/typings.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"resolution": "main",
|
||||
"tree": {
|
||||
"src": "npm:@angular/router/router.d.ts"
|
||||
}
|
||||
}
|
||||
369
src/typings/modules/angular2-grid/index.d.ts
vendored
Normal file
369
src/typings/modules/angular2-grid/index.d.ts
vendored
Normal file
@@ -0,0 +1,369 @@
|
||||
// Generated by typings
|
||||
// Source: node_modules/angular2-grid/directives/NgGrid.d.ts
|
||||
declare module '~angular2-grid/directives/NgGrid' {
|
||||
import { ElementRef, Renderer, EventEmitter, ComponentFactoryResolver, KeyValueDiffers, OnInit, OnDestroy, DoCheck, ViewContainerRef } from '@angular/core';
|
||||
import { NgGridConfig, NgGridItemEvent, NgGridItemPosition, NgGridItemSize } from '~angular2-grid/interfaces/INgGrid';
|
||||
import { NgGridItem } from '~angular2-grid/directives/NgGridItem';
|
||||
export class NgGrid implements OnInit, DoCheck, OnDestroy {
|
||||
private _differs;
|
||||
private _ngEl;
|
||||
private _renderer;
|
||||
private componentFactoryResolver;
|
||||
private _containerRef;
|
||||
onDragStart: EventEmitter<NgGridItem>;
|
||||
onDrag: EventEmitter<NgGridItem>;
|
||||
onDragStop: EventEmitter<NgGridItem>;
|
||||
onResizeStart: EventEmitter<NgGridItem>;
|
||||
onResize: EventEmitter<NgGridItem>;
|
||||
onResizeStop: EventEmitter<NgGridItem>;
|
||||
onItemChange: EventEmitter<Array<NgGridItemEvent>>;
|
||||
colWidth: number;
|
||||
rowHeight: number;
|
||||
minCols: number;
|
||||
minRows: number;
|
||||
marginTop: number;
|
||||
marginRight: number;
|
||||
marginBottom: number;
|
||||
marginLeft: number;
|
||||
isDragging: boolean;
|
||||
isResizing: boolean;
|
||||
autoStyle: boolean;
|
||||
resizeEnable: boolean;
|
||||
dragEnable: boolean;
|
||||
cascade: string;
|
||||
minWidth: number;
|
||||
minHeight: number;
|
||||
private _items;
|
||||
private _draggingItem;
|
||||
private _resizingItem;
|
||||
private _resizeDirection;
|
||||
private _itemGrid;
|
||||
private _containerWidth;
|
||||
private _containerHeight;
|
||||
private _maxCols;
|
||||
private _maxRows;
|
||||
private _visibleCols;
|
||||
private _visibleRows;
|
||||
private _setWidth;
|
||||
private _setHeight;
|
||||
private _posOffset;
|
||||
private _adding;
|
||||
private _placeholderRef;
|
||||
private _fixToGrid;
|
||||
private _autoResize;
|
||||
private _differ;
|
||||
private _destroyed;
|
||||
private _maintainRatio;
|
||||
private _aspectRatio;
|
||||
private _preferNew;
|
||||
private _zoomOnDrag;
|
||||
private _limitToScreen;
|
||||
private _curMaxRow;
|
||||
private _curMaxCol;
|
||||
private _dragReady;
|
||||
private _resizeReady;
|
||||
private static CONST_DEFAULT_CONFIG;
|
||||
private _config;
|
||||
config: NgGridConfig;
|
||||
constructor(_differs: KeyValueDiffers, _ngEl: ElementRef, _renderer: Renderer, componentFactoryResolver: ComponentFactoryResolver, _containerRef: ViewContainerRef);
|
||||
ngOnInit(): void;
|
||||
ngOnDestroy(): void;
|
||||
setConfig(config: NgGridConfig): void;
|
||||
getItemPosition(index: number): NgGridItemPosition;
|
||||
getItemSize(index: number): NgGridItemSize;
|
||||
ngDoCheck(): boolean;
|
||||
setMargins(margins: Array<string>): void;
|
||||
enableDrag(): void;
|
||||
disableDrag(): void;
|
||||
enableResize(): void;
|
||||
disableResize(): void;
|
||||
addItem(ngItem: NgGridItem): void;
|
||||
removeItem(ngItem: NgGridItem): void;
|
||||
updateItem(ngItem: NgGridItem): void;
|
||||
triggerCascade(): void;
|
||||
triggerResize(): void;
|
||||
resizeEventHandler(e: any): void;
|
||||
mouseDownEventHandler(e: MouseEvent): void;
|
||||
mouseUpEventHandler(e: any): void;
|
||||
mouseMoveEventHandler(e: any): void;
|
||||
private updatePositionsAfterMaxChange();
|
||||
private _calculateColWidth();
|
||||
private _calculateRowHeight();
|
||||
private _updateRatio();
|
||||
private _applyChanges(changes);
|
||||
private _resizeStart(e);
|
||||
private _dragStart(e);
|
||||
private _zoomOut();
|
||||
private _resetZoom();
|
||||
private _drag(e);
|
||||
private _resize(e);
|
||||
private _dragStop(e);
|
||||
private _resizeStop(e);
|
||||
private _maxGridSize(w, h);
|
||||
private _calculateGridSize(width, height);
|
||||
private _calculateGridPosition(left, top);
|
||||
private _hasGridCollision(pos, dims);
|
||||
private _getCollisions(pos, dims);
|
||||
private _fixGridCollisions(pos, dims);
|
||||
private _cascadeGrid(pos?, dims?);
|
||||
private _fixGridPosition(pos, dims);
|
||||
private _isWithinBoundsX(pos, dims);
|
||||
private _fixPosToBoundsX(pos, dims);
|
||||
private _fixSizeToBoundsX(pos, dims);
|
||||
private _isWithinBoundsY(pos, dims);
|
||||
private _fixPosToBoundsY(pos, dims);
|
||||
private _fixSizeToBoundsY(pos, dims);
|
||||
private _isWithinBounds(pos, dims);
|
||||
private _fixPosToBounds(pos, dims);
|
||||
private _fixSizeToBounds(pos, dims);
|
||||
private _addToGrid(item);
|
||||
private _removeFromGrid(item);
|
||||
private _filterGrid();
|
||||
private _updateSize();
|
||||
private _getMaxRow();
|
||||
private _getMaxCol();
|
||||
private _getMousePosition(e);
|
||||
private _getAbsoluteMousePosition(e);
|
||||
private _getContainerColumns();
|
||||
private _getContainerRows();
|
||||
private _getItemFromPosition(position);
|
||||
private _createPlaceholder(item);
|
||||
private _emitOnItemChange();
|
||||
}
|
||||
}
|
||||
declare module 'angular2-grid/directives/NgGrid' {
|
||||
export * from '~angular2-grid/directives/NgGrid';
|
||||
}
|
||||
|
||||
// Generated by typings
|
||||
// Source: node_modules/angular2-grid/directives/NgGridItem.d.ts
|
||||
declare module '~angular2-grid/directives/NgGridItem' {
|
||||
import { NgGrid } from '~angular2-grid/directives/NgGrid';
|
||||
import { NgGridItemConfig, NgGridItemEvent, NgGridItemPosition, NgGridItemSize, NgGridRawPosition, NgGridItemDimensions } from '~angular2-grid/interfaces/INgGrid';
|
||||
import { ElementRef, Renderer, EventEmitter, KeyValueDiffers, OnInit, OnDestroy, ViewContainerRef } from '@angular/core';
|
||||
export class NgGridItem implements OnInit, OnDestroy {
|
||||
private _differs;
|
||||
private _ngEl;
|
||||
private _renderer;
|
||||
private _ngGrid;
|
||||
containerRef: ViewContainerRef;
|
||||
onItemChange: EventEmitter<NgGridItemEvent>;
|
||||
onDragStart: EventEmitter<NgGridItemEvent>;
|
||||
onDrag: EventEmitter<NgGridItemEvent>;
|
||||
onDragStop: EventEmitter<NgGridItemEvent>;
|
||||
onDragAny: EventEmitter<NgGridItemEvent>;
|
||||
onResizeStart: EventEmitter<NgGridItemEvent>;
|
||||
onResize: EventEmitter<NgGridItemEvent>;
|
||||
onResizeStop: EventEmitter<NgGridItemEvent>;
|
||||
onResizeAny: EventEmitter<NgGridItemEvent>;
|
||||
onChangeStart: EventEmitter<NgGridItemEvent>;
|
||||
onChange: EventEmitter<NgGridItemEvent>;
|
||||
onChangeStop: EventEmitter<NgGridItemEvent>;
|
||||
onChangeAny: EventEmitter<NgGridItemEvent>;
|
||||
ngGridItemChange: EventEmitter<NgGridItemConfig>;
|
||||
private static CONST_DEFAULT_CONFIG;
|
||||
isFixed: boolean;
|
||||
isDraggable: boolean;
|
||||
isResizable: boolean;
|
||||
minWidth: number;
|
||||
minHeight: number;
|
||||
private _payload;
|
||||
private _currentPosition;
|
||||
private _size;
|
||||
private _config;
|
||||
private _dragHandle;
|
||||
private _resizeHandle;
|
||||
private _borderSize;
|
||||
private _elemWidth;
|
||||
private _elemHeight;
|
||||
private _elemLeft;
|
||||
private _elemTop;
|
||||
private _added;
|
||||
private _differ;
|
||||
private _cascadeMode;
|
||||
private _maxCols;
|
||||
private _minCols;
|
||||
private _maxRows;
|
||||
private _minRows;
|
||||
config: NgGridItemConfig;
|
||||
readonly sizex: number;
|
||||
readonly sizey: number;
|
||||
readonly col: number;
|
||||
readonly row: number;
|
||||
readonly currentCol: number;
|
||||
readonly currentRow: number;
|
||||
constructor(_differs: KeyValueDiffers, _ngEl: ElementRef, _renderer: Renderer, _ngGrid: NgGrid, containerRef: ViewContainerRef);
|
||||
onResizeStartEvent(): void;
|
||||
onResizeEvent(): void;
|
||||
onResizeStopEvent(): void;
|
||||
onDragStartEvent(): void;
|
||||
onDragEvent(): void;
|
||||
onDragStopEvent(): void;
|
||||
onCascadeEvent(): void;
|
||||
ngOnInit(): void;
|
||||
canDrag(e: any): boolean;
|
||||
findHandle(handleSelector: string, startElement: HTMLElement): boolean;
|
||||
canResize(e: any): string;
|
||||
onMouseMove(e: any): void;
|
||||
ngOnDestroy(): void;
|
||||
getElement(): ElementRef;
|
||||
getDragHandle(): string;
|
||||
getResizeHandle(): string;
|
||||
getDimensions(): NgGridItemDimensions;
|
||||
getSize(): NgGridItemSize;
|
||||
getPosition(): NgGridRawPosition;
|
||||
getGridPosition(): NgGridItemPosition;
|
||||
setConfig(config: NgGridItemConfig): void;
|
||||
ngDoCheck(): boolean;
|
||||
setSize(newSize: NgGridItemSize, update?: boolean): void;
|
||||
setGridPosition(gridPosition: NgGridItemPosition, update?: boolean): void;
|
||||
getEventOutput(): NgGridItemEvent;
|
||||
setPosition(x: number, y: number): void;
|
||||
setCascadeMode(cascade: string): void;
|
||||
setDimensions(w: number, h: number): void;
|
||||
startMoving(): void;
|
||||
stopMoving(): void;
|
||||
recalculateSelf(): void;
|
||||
fixResize(newSize: NgGridItemSize): NgGridItemSize;
|
||||
private elementMatches(element, selector);
|
||||
private _recalculatePosition();
|
||||
private _recalculateDimensions();
|
||||
private _getMousePosition(e);
|
||||
private _applyChanges(changes);
|
||||
}
|
||||
}
|
||||
declare module 'angular2-grid/directives/NgGridItem' {
|
||||
export * from '~angular2-grid/directives/NgGridItem';
|
||||
}
|
||||
|
||||
// Generated by typings
|
||||
// Source: node_modules/angular2-grid/components/NgGridPlaceholder.d.ts
|
||||
declare module '~angular2-grid/components/NgGridPlaceholder' {
|
||||
import { NgGrid } from '~angular2-grid/directives/NgGrid';
|
||||
import { NgGridItemPosition, NgGridItemSize } from '~angular2-grid/interfaces/INgGrid';
|
||||
import { ElementRef, Renderer, OnInit } from '@angular/core';
|
||||
export class NgGridPlaceholder implements OnInit {
|
||||
private _ngEl;
|
||||
private _renderer;
|
||||
private _size;
|
||||
private _position;
|
||||
private _ngGrid;
|
||||
private _cascadeMode;
|
||||
constructor(_ngEl: ElementRef, _renderer: Renderer);
|
||||
registerGrid(ngGrid: NgGrid): void;
|
||||
ngOnInit(): void;
|
||||
setSize(newSize: NgGridItemSize): void;
|
||||
setGridPosition(newPosition: NgGridItemPosition): void;
|
||||
setCascadeMode(cascade: string): void;
|
||||
private _setDimensions(w, h);
|
||||
private _setPosition(x, y);
|
||||
private _recalculatePosition();
|
||||
private _recalculateDimensions();
|
||||
}
|
||||
}
|
||||
declare module 'angular2-grid/components/NgGridPlaceholder' {
|
||||
export * from '~angular2-grid/components/NgGridPlaceholder';
|
||||
}
|
||||
|
||||
// Generated by typings
|
||||
// Source: node_modules/angular2-grid/interfaces/INgGrid.d.ts
|
||||
declare module '~angular2-grid/interfaces/INgGrid' {
|
||||
export interface NgGridConfig {
|
||||
margins?: number[];
|
||||
draggable?: boolean;
|
||||
resizable?: boolean;
|
||||
max_cols?: number;
|
||||
max_rows?: number;
|
||||
visible_cols?: number;
|
||||
visible_rows?: number;
|
||||
min_cols?: number;
|
||||
min_rows?: number;
|
||||
col_width?: number;
|
||||
row_height?: number;
|
||||
cascade?: string;
|
||||
min_width?: number;
|
||||
min_height?: number;
|
||||
fix_to_grid?: boolean;
|
||||
auto_style?: boolean;
|
||||
auto_resize?: boolean;
|
||||
maintain_ratio?: boolean;
|
||||
prefer_new?: boolean;
|
||||
zoom_on_drag?: boolean;
|
||||
limit_to_screen?: boolean;
|
||||
}
|
||||
export interface NgGridItemConfig {
|
||||
payload?: any;
|
||||
col?: number;
|
||||
row?: number;
|
||||
sizex?: number;
|
||||
sizey?: number;
|
||||
dragHandle?: string;
|
||||
resizeHandle?: string;
|
||||
fixed?: boolean;
|
||||
draggable?: boolean;
|
||||
resizable?: boolean;
|
||||
borderSize?: number;
|
||||
maxCols?: number;
|
||||
minCols?: number;
|
||||
maxRows?: number;
|
||||
minRows?: number;
|
||||
minWidth?: number;
|
||||
minHeight?: number;
|
||||
}
|
||||
export interface NgGridItemEvent {
|
||||
payload: any;
|
||||
col: number;
|
||||
row: number;
|
||||
sizex: number;
|
||||
sizey: number;
|
||||
width: number;
|
||||
height: number;
|
||||
left: number;
|
||||
top: number;
|
||||
}
|
||||
export interface NgGridItemSize {
|
||||
x: number;
|
||||
y: number;
|
||||
}
|
||||
export interface NgGridItemPosition {
|
||||
col: number;
|
||||
row: number;
|
||||
}
|
||||
export interface NgGridRawPosition {
|
||||
left: number;
|
||||
top: number;
|
||||
}
|
||||
export interface NgGridItemDimensions {
|
||||
width: number;
|
||||
height: number;
|
||||
}
|
||||
}
|
||||
declare module 'angular2-grid/interfaces/INgGrid' {
|
||||
export * from '~angular2-grid/interfaces/INgGrid';
|
||||
}
|
||||
|
||||
// Generated by typings
|
||||
// Source: node_modules/angular2-grid/modules/NgGrid.module.d.ts
|
||||
declare module '~angular2-grid/modules/NgGrid.module' {
|
||||
export class NgGridModule {
|
||||
}
|
||||
}
|
||||
declare module 'angular2-grid/modules/NgGrid.module' {
|
||||
export * from '~angular2-grid/modules/NgGrid.module';
|
||||
}
|
||||
|
||||
// Generated by typings
|
||||
// Source: node_modules/angular2-grid/main.d.ts
|
||||
declare module '~angular2-grid/main' {
|
||||
export * from '~angular2-grid/directives/NgGrid';
|
||||
export * from '~angular2-grid/directives/NgGridItem';
|
||||
export * from '~angular2-grid/components/NgGridPlaceholder';
|
||||
export * from '~angular2-grid/interfaces/INgGrid';
|
||||
export * from '~angular2-grid/modules/NgGrid.module';
|
||||
}
|
||||
declare module 'angular2-grid/main' {
|
||||
export * from '~angular2-grid/main';
|
||||
}
|
||||
declare module 'angular2-grid' {
|
||||
export * from '~angular2-grid/main';
|
||||
}
|
||||
8
src/typings/modules/angular2-grid/typings.json
Normal file
8
src/typings/modules/angular2-grid/typings.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"resolution": "main",
|
||||
"tree": {
|
||||
"src": "D:\\code\\carbon\\node_modules\\angular2-grid\\main.d.ts",
|
||||
"raw": "npm:angular2-grid/main.d.ts",
|
||||
"typings": "D:\\code\\carbon\\node_modules\\angular2-grid\\main.d.ts"
|
||||
}
|
||||
}
|
||||
305
src/typings/modules/angular2-slickgrid/index.d.ts
vendored
Normal file
305
src/typings/modules/angular2-slickgrid/index.d.ts
vendored
Normal file
@@ -0,0 +1,305 @@
|
||||
// Generated by typings
|
||||
// Source: node_modules/angular2-slickgrid/components/js/gridsync.service.d.ts
|
||||
declare module '~angular2-slickgrid/components/js/gridsync.service' {
|
||||
import { Observable } from 'rxjs/Rx';
|
||||
import { SelectionModel } from '~angular2-slickgrid/components/js/selectionmodel';
|
||||
export class GridSyncService {
|
||||
columnMinWidthPX: number;
|
||||
private _scrollLeftPX;
|
||||
private _scrollBarWidthPX;
|
||||
private _columnWidthPXs;
|
||||
private _rowNumberColumnWidthPX;
|
||||
private _updated;
|
||||
private _typeDropdownOffset;
|
||||
private _selectionModel;
|
||||
private _initialColumnWidthPXsOnResize;
|
||||
private _isGridReadOnly;
|
||||
initialColumnResize(): void;
|
||||
resizeColumn(index: number, deltaWidthPX: number): void;
|
||||
openTypeDropdown(columnIndex: number): void;
|
||||
private setColumnWidthPX(index, widthPX);
|
||||
underlyingSelectionModel: any;
|
||||
readonly updated: Observable<string>;
|
||||
readonly typeDropdownOffset: Observable<[number, number]>;
|
||||
scrollLeftPX: number;
|
||||
scrollBarWidthPX: number;
|
||||
columnWidthPXs: number[];
|
||||
rowNumberColumnWidthPX: number;
|
||||
readonly selectionModel: SelectionModel;
|
||||
isGridReadOnly: boolean;
|
||||
private notifyUpdates(propertyName);
|
||||
}
|
||||
}
|
||||
declare module 'angular2-slickgrid/components/js/gridsync.service' {
|
||||
export * from '~angular2-slickgrid/components/js/gridsync.service';
|
||||
}
|
||||
|
||||
// Generated by typings
|
||||
// Source: node_modules/angular2-slickgrid/components/js/interfaces.d.ts
|
||||
declare module '~angular2-slickgrid/components/js/interfaces' {
|
||||
import { Observable } from 'rxjs/Rx';
|
||||
export enum NotificationType {
|
||||
Error = 0,
|
||||
UpdateAvailable = 1,
|
||||
UpdateDownloaded = 2,
|
||||
}
|
||||
export interface ISelectionRange {
|
||||
startRow: number;
|
||||
endRow: number;
|
||||
startColumn: number;
|
||||
endColumn: number;
|
||||
}
|
||||
export enum CollectionChange {
|
||||
ItemsReplaced = 0,
|
||||
}
|
||||
export interface IObservableCollection<T> {
|
||||
getLength(): number;
|
||||
at(index: number): T;
|
||||
getRange(start: number, end: number): T[];
|
||||
setCollectionChangedCallback(callback: (change: CollectionChange, startIndex: number, count: number) => void): void;
|
||||
}
|
||||
export class CancellationToken {
|
||||
private _isCanceled;
|
||||
private _canceled;
|
||||
cancel(): void;
|
||||
readonly isCanceled: boolean;
|
||||
readonly canceled: Observable<any>;
|
||||
}
|
||||
export enum FieldType {
|
||||
String = 0,
|
||||
Boolean = 1,
|
||||
Integer = 2,
|
||||
Decimal = 3,
|
||||
Date = 4,
|
||||
Unknown = 5,
|
||||
}
|
||||
export interface IColumnDefinition {
|
||||
id?: string;
|
||||
name: string;
|
||||
type: FieldType;
|
||||
asyncPostRender?: (cellRef: string, row: number, dataContext: JSON, colDef: any) => void;
|
||||
formatter?: (row: number, cell: any, value: any, columnDef: any, dataContext: any) => string;
|
||||
isEditable?: boolean;
|
||||
}
|
||||
export interface IGridColumnDefinition {
|
||||
id: string;
|
||||
type: number;
|
||||
}
|
||||
export interface IGridDataRow {
|
||||
row?: number;
|
||||
values: any[];
|
||||
}
|
||||
}
|
||||
declare module 'angular2-slickgrid/components/js/interfaces' {
|
||||
export * from '~angular2-slickgrid/components/js/interfaces';
|
||||
}
|
||||
|
||||
// Generated by typings
|
||||
// Source: node_modules/angular2-slickgrid/components/js/selectionmodel.d.ts
|
||||
declare module '~angular2-slickgrid/components/js/selectionmodel' {
|
||||
import { ISelectionRange } from '~angular2-slickgrid/components/js/interfaces';
|
||||
export class SelectionModel implements ISlickSelectionModel {
|
||||
private _rowSelectionModel;
|
||||
private _handler;
|
||||
private _onSelectedRangesChanged;
|
||||
private _slickRangeFactory;
|
||||
constructor(_rowSelectionModel: ISlickSelectionModel, _handler: ISlickEventHandler, _onSelectedRangesChanged: ISlickEvent, _slickRangeFactory: (fromRow: number, fromCell: number, toRow: number, toCell: number) => ISlickRange);
|
||||
readonly range: ISlickRange[];
|
||||
readonly onSelectedRangesChanged: ISlickEvent;
|
||||
init(grid: ISlickGrid): void;
|
||||
destroy(): void;
|
||||
setSelectedRanges(ranges: ISlickRange[]): void;
|
||||
getSelectedRanges(): ISlickRange[];
|
||||
changeSelectedRanges(selections: ISelectionRange[]): void;
|
||||
toggleSingleColumnSelection(columnId: string): void;
|
||||
setSingleColumnSelection(columnId: string): void;
|
||||
toggleMultiColumnSelection(columnId: string): void;
|
||||
extendMultiColumnSelection(columnId: string): void;
|
||||
clearSelection(): void;
|
||||
private _grid;
|
||||
private _ranges;
|
||||
private _lastSelectedColumnIndexSequence;
|
||||
private static areRangesIdentical(lhs, rhs);
|
||||
private getColumnRange(columnId);
|
||||
private getColumnRangeByIndex(columnIndex);
|
||||
private readonly isColumnSelectionCurrently;
|
||||
private updateSelectedRanges(ranges);
|
||||
}
|
||||
export interface ISlickSelectionModel {
|
||||
range: ISlickRange[];
|
||||
onSelectedRangesChanged: any;
|
||||
init(grid: any): void;
|
||||
destroy(): void;
|
||||
setSelectedRanges(ranges: ISlickRange[]): void;
|
||||
getSelectedRanges(): ISlickRange[];
|
||||
}
|
||||
export interface ISlickEventHandler {
|
||||
subscribe(event: any, handler: any): void;
|
||||
unsubscribeAll(): void;
|
||||
}
|
||||
export interface ISlickEvent {
|
||||
notify(eventData: ISlickRange[]): void;
|
||||
subscribe(handler: (e: any, args: any) => void): void;
|
||||
}
|
||||
export interface ISlickRange {
|
||||
fromCell: number;
|
||||
fromRow: number;
|
||||
toCell: number;
|
||||
toRow: number;
|
||||
}
|
||||
export interface ISlickGrid {
|
||||
getActiveCellNode(): any;
|
||||
getCanvasNode(): any;
|
||||
resetActiveCell(): void;
|
||||
focus(): void;
|
||||
getColumnIndex(columnId: string): number;
|
||||
getDataLength(): number;
|
||||
}
|
||||
}
|
||||
declare module 'angular2-slickgrid/components/js/selectionmodel' {
|
||||
export * from '~angular2-slickgrid/components/js/selectionmodel';
|
||||
}
|
||||
|
||||
// Generated by typings
|
||||
// Source: node_modules/angular2-slickgrid/components/js/slickgrid.d.ts
|
||||
declare module '~angular2-slickgrid/components/js/slickgrid' {
|
||||
import { OnChanges, OnInit, OnDestroy, SimpleChange, EventEmitter, AfterViewInit } from '@angular/core';
|
||||
import { Observable } from 'rxjs/Rx';
|
||||
import { IObservableCollection, IGridDataRow, IColumnDefinition } from '~angular2-slickgrid/components/js/interfaces';
|
||||
import { ISlickRange, ISlickEvent } from '~angular2-slickgrid/components/js/selectionmodel';
|
||||
export class SlickGrid implements OnChanges, OnInit, OnDestroy, AfterViewInit {
|
||||
private _el;
|
||||
private _gridSyncService;
|
||||
columnDefinitions: IColumnDefinition[];
|
||||
dataRows: IObservableCollection<IGridDataRow>;
|
||||
resized: Observable<any>;
|
||||
highlightedCells: {
|
||||
row: number;
|
||||
column: number;
|
||||
}[];
|
||||
blurredColumns: string[];
|
||||
contextColumns: string[];
|
||||
columnsLoading: string[];
|
||||
showHeader: boolean;
|
||||
showDataTypeIcon: boolean;
|
||||
enableColumnReorder: boolean;
|
||||
enableAsyncPostRender: boolean;
|
||||
selectionModel: string;
|
||||
plugins: string[];
|
||||
enableEditing: boolean;
|
||||
topRowNumber: number;
|
||||
overrideCellFn: (rowNumber, columnId, value?, data?) => string;
|
||||
isColumnEditable: (column: number) => boolean;
|
||||
isCellEditValid: (row: number, column: number, newValue: any) => boolean;
|
||||
loadFinished: EventEmitter<void>;
|
||||
editingFinished: EventEmitter<any>;
|
||||
contextMenu: EventEmitter<any>;
|
||||
topRowNumberChange: EventEmitter<number>;
|
||||
cellEditBegin: EventEmitter<{
|
||||
row: number;
|
||||
column: number;
|
||||
}>;
|
||||
cellEditExit: EventEmitter<{
|
||||
row: number;
|
||||
column: number;
|
||||
newValue: any;
|
||||
}>;
|
||||
rowEditBegin: EventEmitter<{
|
||||
row: number;
|
||||
}>;
|
||||
rowEditExit: EventEmitter<{
|
||||
row: number;
|
||||
}>;
|
||||
onFocus(): void;
|
||||
private _grid;
|
||||
private _gridColumns;
|
||||
private _columnNameToIndex;
|
||||
private _gridData;
|
||||
private _rowHeight;
|
||||
private _resizeSubscription;
|
||||
private _gridSyncSubscription;
|
||||
private _topRow;
|
||||
private _leftPx;
|
||||
private _activeEditingRow;
|
||||
private _activeEditingRowHasChanges;
|
||||
constructor(_el: any, _gridSyncService: any);
|
||||
ngOnChanges(changes: {
|
||||
[propName: string]: SimpleChange;
|
||||
}): void;
|
||||
ngOnInit(): void;
|
||||
ngAfterViewInit(): void;
|
||||
ngOnDestroy(): void;
|
||||
enterEditSession(): void;
|
||||
endEditSession(): void;
|
||||
readonly onSelectedRowsChanged: ISlickEvent;
|
||||
getSelectedRows(): number[];
|
||||
getColumnIndex(name: string): number;
|
||||
getSelectedRanges(): ISlickRange[];
|
||||
registerPlugin(plugin: string): void;
|
||||
setActive(): void;
|
||||
selection: ISlickRange[] | boolean;
|
||||
subscribeToContextMenu(): void;
|
||||
private initGrid();
|
||||
private changeEditSession(enabled);
|
||||
private handleEditorCellChange(rowNumber);
|
||||
private static getDataWithSchema(data, columns);
|
||||
private onResize();
|
||||
private invalidateRange(start, end);
|
||||
private getColumnEditor;
|
||||
private getFormatter;
|
||||
private subscribeToScroll();
|
||||
private subscribeToCellChanged();
|
||||
private subscribeToBeforeEditCell();
|
||||
private subscribeToActiveCellChanged();
|
||||
private updateColumnWidths();
|
||||
private updateSchema();
|
||||
private getImagePathForDataType(type);
|
||||
private setCallbackOnDataRowsChanged();
|
||||
private renderGridDataRowsRange(startIndex, count);
|
||||
}
|
||||
}
|
||||
declare module 'angular2-slickgrid/components/js/slickgrid' {
|
||||
export * from '~angular2-slickgrid/components/js/slickgrid';
|
||||
}
|
||||
|
||||
// Generated by typings
|
||||
// Source: node_modules/angular2-slickgrid/components/js/virtualizedcollection.d.ts
|
||||
declare module '~angular2-slickgrid/components/js/virtualizedcollection' {
|
||||
import { IObservableCollection, CollectionChange } from '~angular2-slickgrid/components/js/interfaces';
|
||||
export class VirtualizedCollection<TData> implements IObservableCollection<TData> {
|
||||
private _placeHolderGenerator;
|
||||
private _length;
|
||||
private _windowSize;
|
||||
private _bufferWindowBefore;
|
||||
private _window;
|
||||
private _bufferWindowAfter;
|
||||
private collectionChangedCallback;
|
||||
constructor(windowSize: number, length: number, loadFn: (offset: number, count: number) => Promise<TData[]>, _placeHolderGenerator: (index: number) => TData);
|
||||
setCollectionChangedCallback(callback: (change: CollectionChange, startIndex: number, count: number) => void): void;
|
||||
getLength(): number;
|
||||
at(index: number): TData;
|
||||
getRange(start: number, end: number): TData[];
|
||||
private getRangeFromCurrent(start, end);
|
||||
private getDataFromCurrent(index);
|
||||
private resetWindowsAroundIndex(index);
|
||||
}
|
||||
}
|
||||
declare module 'angular2-slickgrid/components/js/virtualizedcollection' {
|
||||
export * from '~angular2-slickgrid/components/js/virtualizedcollection';
|
||||
}
|
||||
|
||||
// Generated by typings
|
||||
// Source: node_modules/angular2-slickgrid/index.d.ts
|
||||
declare module '~angular2-slickgrid/index' {
|
||||
export * from '~angular2-slickgrid/components/js/gridsync.service';
|
||||
export * from '~angular2-slickgrid/components/js/interfaces';
|
||||
export * from '~angular2-slickgrid/components/js/selectionmodel';
|
||||
export * from '~angular2-slickgrid/components/js/slickgrid';
|
||||
export * from '~angular2-slickgrid/components/js/virtualizedcollection';
|
||||
}
|
||||
declare module 'angular2-slickgrid/index' {
|
||||
export * from '~angular2-slickgrid/index';
|
||||
}
|
||||
declare module 'angular2-slickgrid' {
|
||||
export * from '~angular2-slickgrid/index';
|
||||
}
|
||||
6
src/typings/modules/angular2-slickgrid/typings.json
Normal file
6
src/typings/modules/angular2-slickgrid/typings.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"resolution": "main",
|
||||
"tree": {
|
||||
"src": "npm:angular2-slickgrid/index.d.ts"
|
||||
}
|
||||
}
|
||||
54
src/typings/modules/html-query-plan/index.d.ts
vendored
Normal file
54
src/typings/modules/html-query-plan/index.d.ts
vendored
Normal file
@@ -0,0 +1,54 @@
|
||||
// Generated by typings
|
||||
// Source: node_modules/html-query-plan/dist/interfaces.d.ts
|
||||
declare module '~html-query-plan/dist/interfaces' {
|
||||
export interface IQpOptions {
|
||||
jsTooltips?: boolean;
|
||||
}
|
||||
export interface ICoordinate {
|
||||
x: number;
|
||||
y: number;
|
||||
}
|
||||
}
|
||||
declare module 'html-query-plan/dist/interfaces' {
|
||||
export * from '~html-query-plan/dist/interfaces';
|
||||
}
|
||||
|
||||
// Generated by typings
|
||||
// Source: node_modules/html-query-plan/dist/svgLines.d.ts
|
||||
declare module '~html-query-plan/dist/svgLines' {
|
||||
/**
|
||||
*
|
||||
* @param container
|
||||
*/
|
||||
export function drawSvgLines(container: HTMLElement): void;
|
||||
}
|
||||
declare module 'html-query-plan/dist/svgLines' {
|
||||
export * from '~html-query-plan/dist/svgLines';
|
||||
}
|
||||
|
||||
// Generated by typings
|
||||
// Source: node_modules/html-query-plan/dist/index.d.ts
|
||||
declare module '~html-query-plan/dist/index' {
|
||||
import { IQpOptions } from '~html-query-plan/dist/interfaces';
|
||||
export { drawSvgLines } from '~html-query-plan/dist/svgLines';
|
||||
export * from '~html-query-plan/dist/interfaces';
|
||||
/**
|
||||
*
|
||||
* @param container
|
||||
* @param planXml
|
||||
* @param options
|
||||
*/
|
||||
export function showPlan(container: HTMLElement, planXml: string, options: IQpOptions): void;
|
||||
/**
|
||||
*
|
||||
* @param options
|
||||
* @param defaults
|
||||
*/
|
||||
export function setDefaults<T>(options: any, defaults: any): T;
|
||||
}
|
||||
declare module 'html-query-plan/dist/index' {
|
||||
export * from '~html-query-plan/dist/index';
|
||||
}
|
||||
declare module 'html-query-plan' {
|
||||
export * from '~html-query-plan/dist/index';
|
||||
}
|
||||
6
src/typings/modules/html-query-plan/typings.json
Normal file
6
src/typings/modules/html-query-plan/typings.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"resolution": "main",
|
||||
"tree": {
|
||||
"src": "npm:html-query-plan"
|
||||
}
|
||||
}
|
||||
82
src/typings/modules/ng2-charts/index.d.ts
vendored
Normal file
82
src/typings/modules/ng2-charts/index.d.ts
vendored
Normal file
@@ -0,0 +1,82 @@
|
||||
// Generated by typings
|
||||
// Source: node_modules/ng2-charts/charts/charts.d.ts
|
||||
declare module '~ng2-charts/charts/charts' {
|
||||
import { OnDestroy, OnInit, OnChanges, EventEmitter, ElementRef, SimpleChanges } from '@angular/core';
|
||||
export class BaseChartDirective implements OnDestroy, OnChanges, OnInit {
|
||||
static defaultColors: Array<number[]>;
|
||||
data: number[] | any[];
|
||||
datasets: any[];
|
||||
labels: Array<any>;
|
||||
options: any;
|
||||
chartType: string;
|
||||
colors: Array<any>;
|
||||
legend: boolean;
|
||||
chartClick: EventEmitter<any>;
|
||||
chartHover: EventEmitter<any>;
|
||||
ctx: any;
|
||||
chart: any;
|
||||
private cvs;
|
||||
private initFlag;
|
||||
private element;
|
||||
constructor(element: ElementRef);
|
||||
ngOnInit(): any;
|
||||
ngOnChanges(changes: SimpleChanges): void;
|
||||
ngOnDestroy(): any;
|
||||
getChartBuilder(ctx: any): any;
|
||||
private updateChartData(newDataValues);
|
||||
private getDatasets();
|
||||
private refresh();
|
||||
}
|
||||
export interface Color {
|
||||
backgroundColor?: string | string[];
|
||||
borderWidth?: number | number[];
|
||||
borderColor?: string | string[];
|
||||
borderCapStyle?: string;
|
||||
borderDash?: number[];
|
||||
borderDashOffset?: number;
|
||||
borderJoinStyle?: string;
|
||||
pointBorderColor?: string | string[];
|
||||
pointBackgroundColor?: string | string[];
|
||||
pointBorderWidth?: number | number[];
|
||||
pointRadius?: number | number[];
|
||||
pointHoverRadius?: number | number[];
|
||||
pointHitRadius?: number | number[];
|
||||
pointHoverBackgroundColor?: string | string[];
|
||||
pointHoverBorderColor?: string | string[];
|
||||
pointHoverBorderWidth?: number | number[];
|
||||
pointStyle?: string | string[];
|
||||
hoverBackgroundColor?: string | string[];
|
||||
hoverBorderColor?: string | string[];
|
||||
hoverBorderWidth?: number;
|
||||
}
|
||||
export interface Colors extends Color {
|
||||
data?: number[];
|
||||
label?: string;
|
||||
}
|
||||
export class ChartsModule {
|
||||
}
|
||||
}
|
||||
declare module 'ng2-charts/charts/charts' {
|
||||
export * from '~ng2-charts/charts/charts';
|
||||
}
|
||||
|
||||
// Generated by typings
|
||||
// Source: node_modules/ng2-charts/index.d.ts
|
||||
declare module '~ng2-charts/index' {
|
||||
export * from '~ng2-charts/charts/charts';
|
||||
}
|
||||
declare module 'ng2-charts/index' {
|
||||
export * from '~ng2-charts/index';
|
||||
}
|
||||
|
||||
// Generated by typings
|
||||
// Source: node_modules/ng2-charts/ng2-charts.d.ts
|
||||
declare module '~ng2-charts/ng2-charts' {
|
||||
export * from '~ng2-charts/index';
|
||||
}
|
||||
declare module 'ng2-charts/ng2-charts' {
|
||||
export * from '~ng2-charts/ng2-charts';
|
||||
}
|
||||
declare module 'ng2-charts' {
|
||||
export * from '~ng2-charts/ng2-charts';
|
||||
}
|
||||
6
src/typings/modules/ng2-charts/typings.json
Normal file
6
src/typings/modules/ng2-charts/typings.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"resolution": "main",
|
||||
"tree": {
|
||||
"src": "npm:ng2-charts/ng2-charts.d.ts"
|
||||
}
|
||||
}
|
||||
7745
src/typings/modules/rxjs/index.d.ts
vendored
Normal file
7745
src/typings/modules/rxjs/index.d.ts
vendored
Normal file
File diff suppressed because it is too large
Load Diff
6
src/typings/modules/rxjs/typings.json
Normal file
6
src/typings/modules/rxjs/typings.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"resolution": "main",
|
||||
"tree": {
|
||||
"src": "npm:rxjs/Rx.d.ts"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user