UNPKG

webdriverio-automation

Version:

WebdriverIO-Automation android ios project

1,853 lines (1,770 loc) 213 kB
// Type definitions for Webix UI v2.4.0 // Project: http://webix.com // Definitions by: Maksim Kozhukh <http://github.com/mkozhukh> // Definitions: https://github.com/borisyankov/DefinitelyTyped declare module webix { type WebixTemplate = (...args: any[])=>string; type WebixCallback = (...args: any[])=>any; interface PromisedData { then(handler:(data:any)=>any):PromisedData; } function ajax():webix._ajax; function $$(id: string|Event|HTMLElement):webix.ui.baseview; interface _ajax{ bind(master:any):webix._ajax; del(url:string, params?:any, callback?:WebixCallback):PromisedData; get(url:string, params?:any, callback?:WebixCallback):PromisedData; getXHR():any; headers(values:any):webix._ajax; post(url:string, params?:any, callback?:WebixCallback):PromisedData; put(url:string, params?:any, callback?:WebixCallback):PromisedData; response(type:string):void; stringify(data:any):string; sync():webix._ajax; master: any; } interface clipbuffer{ destructor():void; focus():void; init():void; set(text:string):void; } interface color{ hexToDec(hex:string):number; hsvToRgb(h:number, s:number, v:number):any[]; rgbToHsv(r:number, g:number, b:number):any[]; toHex(number:number, length?:number):string; toRgb(rgb:string):any[]; } interface csv{ parse(text:string, delimiter?:any):any[]; stringify(data:any[], delimiter?:any):string; delimiter: any; escape: boolean; } interface editors{ $popup: any; checkbox: string; color: string; combo: string; date: string; "inline-checkbox": string; "inline-text": string; multiselect: string; password: string; popup: string; richselect: string; select: string; text: string; } interface env{ cssPrefix: string; isFF: boolean; isIE: boolean; isSafari: boolean; isWebKit: boolean; jsPrefix: string; mouse: any; strict: boolean; svg: boolean; transform: boolean; transition: boolean; transitionDuration: string; transitionEnd: string; translate: string; } interface history{ push(view:string, url:string, value:any):void; track(view:string, url:string):void; } interface html{ addCss(node:HTMLElement, name:string):void; addMeta(name:string, value:string):void; addStyle(css:string):void; allowSelect():void; create(name:string, attrs:any, html?:string):HTMLElement; createCss(data:any):string; denySelect():void; getValue(node:HTMLElement):string; index(node:HTMLElement):number; insertBefore(node:HTMLElement, before:HTMLElement, rescue?:HTMLElement):void; locate(ev:Event|HTMLElement, name:string):string; offset(node:HTMLElement):any; pos(ev:Event):any; posRelative(ev:Event):any; preventEvent(ev:Event):boolean; remove(node:HTMLElement|HTMLElement[]):void; removeCss(node:HTMLElement, name:string):void; stopEvent(ev:Event):boolean; } interface i18n{ dateFormatDate(date:string):any; dateFormatStr(date:any):string; fullDateFormatDate(date:string):any; fullDateFormatStr(date:Date):string; intFormat(num:number):string; longDateFormatDate(date:string):any; longDateFormatStr(date:any):string; numberFormat(number:number):string; parseFormatDate(date:string):any; parseFormatStr(date:any):string; parseTimeFormatDate(date:string):any; parseTimeFormatStr(date:any):string; priceFormat(number:number):string; setLocale(name:string):void; timeFormatDate(time:string):any; timeFormatStr(date:any):string; calendar: any; controls: any; dateFormat: string; decimalDelimiter: string; decimalSize: number; fileSize: any[]; fullDateFormat: string; groupDelimiter: string; groupSize: number; locales: any; longDateFormat: string; parseFormat: string; parseTimeFormat: string; price: string; priceSettings: any; timeFormat: string; } interface locale{ pager: any; } interface markup{ init(node:string, target:string):webix.ui.baseview; parse(data:any, datatype:string):void; attribute: any; dataTag: any; namespace: any; } interface promise{ all(promise:PromisedData, morepromises?:PromisedData):void; defer():PromisedData; fcall():PromisedData; nfcall():PromisedData; } interface rules{ isChecked():boolean; isEmail():boolean; isNotEmpty():boolean; isNumber():boolean; } interface cookie{ clear():void; get(name:string):any; put(name:string, value:any):void; remove(name:string):void; } interface local{ clear():void; get(name:string):any; put(name:string, value:any):void; remove(name:string):void; } interface session{ clear():void; get(name:string):any; put(name:string, value:any):void; remove(name:string):void; } interface storage{ cookie:webix.cookie; local:webix.local; session:webix.session; } function alert(text:string, callback:WebixCallback):HTMLElement; function animate(html_element:HTMLElement, animation:any):void; function attachEvent(type:string, functor:WebixCallback, id?:string):string; function bind(code:WebixCallback, master:any):WebixCallback; function blockEvent():void; function callEvent(name:string, params:any[]):boolean; function clone(source:any):any; function confirm(text:string, callback:WebixCallback):HTMLElement; function copy(source:any):any; function delay(code:WebixCallback, owner?:any, params?:any[], delay?:number):number; function detachEvent(id:string):void; function dp(name:string):any; function editStop():void; function event(node:HTMLElement, event:string, handler:WebixCallback, master?:any):string; function eventRemove(id:string):void; function exec(code:string):void; function extend(target:any, source:any, overwrite:boolean):any; function hasEvent(name:string):boolean; function isArray(check:any):boolean; function isDate(check:any):boolean; function isUndefined(check:any):boolean; function jsonp(url:string, params?:any, callback?:WebixCallback, master?:any):void; function mapEvent(map:any):void; function message(text:string):void; function modalbox(text:string, callback:WebixCallback):HTMLElement; function once(code:WebixCallback):void; function proto(target:any, mixin1?:any, mixinN?:any):any; function protoUI(target:any, view:any, mixin1?:any, mixinN?:any):any; function proxy(type:string, source:string):any; function ready(code:WebixCallback):void; function remote():void; function require(url:string):void; function send(url:string, values:any, method:string, target:string):void; function single(source:WebixCallback):WebixCallback; function template(template:string):WebixCallback; function toArray(array:any[]):any[]; function toFunctor(name:string):WebixCallback; function toNode(id:string):HTMLElement; function type(config:any):void; function ui(config:any, parent?:any, replacement?:any):webix.ui.baseview; function uid():string; function unblockEvent():void; function wrap(target:WebixCallback, source:WebixCallback):WebixCallback; var codebase: string; var name: string; var version: string; var clipbuffer:webix.clipbuffer; var color:webix.color; var csv:webix.csv; var editors:webix.editors; var env:webix.env; var history:webix.history; var html:webix.html; var i18n:webix.i18n; var locale:webix.locale; var markup:webix.markup; var promise:webix.promise; var rules:webix.rules; var storage:webix.storage; interface ActiveContent{ } var ActiveContent:ActiveContent; interface AtomDataLoader{ load(url:string, type?:string, callback?:WebixCallback):PromisedData; parse(data:any, type:string):void; } var AtomDataLoader:AtomDataLoader; interface AtomRender{ render(id:string, data:any, type:string):void; sync(source:any, filter:WebixCallback, silent:boolean):void; } var AtomRender:AtomRender; interface AutoTooltip{ } var AutoTooltip:AutoTooltip; interface BaseBind{ bind(target:any, rule?:WebixCallback, format?:string):void; unbind():void; } var BaseBind:BaseBind; interface BindSource{ addBind(source:any, rule:string, format:string):void; getBindData(key:string, update:boolean):void; removeBind(source:any):void; saveBatch(func:WebixCallback):void; setBindData(data:any, key:string):void; } var BindSource:BindSource; interface Canvas{ clearCanvas():void; getCanvas(context:string):any; hideCanvas():void; renderText(x:number, y:number, text:string, css:string, w:number):void; renderTextAt(valign:string, align:string, x:number, y:number, t:string, c:string, w:number):void; showCanvas():void; toggleCanvas():void; } var Canvas:Canvas; interface CollectionBind{ getCursor():number; refreshCursor():void; setCursor(cursor:string):void; } var CollectionBind:CollectionBind; interface ContextHelper{ attachTo(view:any):void; getContext():any; } var ContextHelper:ContextHelper; interface CopyPaste{ } var CopyPaste:CopyPaste; interface CustomScroll{ enable(html_node:HTMLElement|webix.ui.baseview):void; init():void; scrollStep: number; } var CustomScroll:CustomScroll; interface DataCollection{ add(obj:any, index?:number):string; addBind(source:any, rule:string, format:string):void; attachEvent(type:string, functor:WebixCallback, id?:string):string; bind(target:any, rule?:WebixCallback, format?:string):void; blockEvent():void; callEvent(name:string, params:any[]):boolean; clearAll():void; clearValidation():void; count():number; define(property:string, value:any):void; destructor():void; detachEvent(id:string):void; exists(id:string):boolean; filter(text:string|WebixTemplate|WebixCallback, value:string, preserve:boolean):void; getBindData(key:string, update:boolean):void; getCursor():number; getFirstId():string; getIdByIndex(index:number):string; getIndexById(id:string):number; getItem(id:string):any; getLastId():string; getNextId(id:string, step:number):string; getPrevId(id:string, step:number):string; hasEvent(name:string):boolean; isVisible():boolean; load(url:string, type?:string, callback?:WebixCallback):PromisedData; loadNext(count:number, start:number, callback:WebixCallback, url:string, now:boolean):void; mapEvent(map:any):void; parse(data:any, type:string):void; refresh(id?:string):void; refreshCursor():void; remove(id:string):void; removeBind(source:any):void; saveBatch(func:WebixCallback):void; serialize():any; setBindData(data:any, key:string):void; setCursor(cursor:string):void; sort(by:string, dir?:string, as?:string):void; sync(source:any, filter:WebixCallback, silent:boolean):void; unbind():void; unblockEvent():void; updateItem(id:string, data:any):void; validate(id?:string):boolean; config: { [key: string]: any; }; name: string; } interface DataCollectionFactory{ new():DataCollection; } var DataCollection:DataCollectionFactory; interface DataDriver{ csv: any; html: any; htmltable: any; jsarray: any; json: any; xml: any; } var DataDriver:DataDriver; interface DataLoader{ add(obj:any, index?:number):string; clearAll():void; count():number; exists(id:string):boolean; filter(text:string|WebixTemplate|WebixCallback, value:string, preserve:boolean):void; getFirstId():string; getIdByIndex(index:number):string; getIndexById(id:string):number; getItem(id:string):any; getLastId():string; getNextId(id:string, step:number):string; getPrevId(id:string, step:number):string; load(url:string, type?:string, callback?:WebixCallback):PromisedData; loadNext(count:number, start:number, callback:WebixCallback, url:string, now:boolean):void; parse(data:any, type:string):void; refresh(id?:string):void; remove(id:string):void; serialize():any; sort(by:string, dir?:string, as?:string):void; sync(source:any, filter:WebixCallback, silent:boolean):void; updateItem(id:string, data:any):void; } var DataLoader:DataLoader; interface DataMarks{ addCss(id:string|number, css:string, silent?:boolean):void; clearCss(css:string, silent?:boolean):void; hasCss(id:string, css:string):boolean; removeCss(id:string|number, css:string, silent?:boolean):void; } var DataMarks:DataMarks; interface DataMove{ copy(sid:string, tindex:number, tobj?:any, details?:any):void; move(sid:string, tindex:number, tobj?:any, details?:any):string; moveBottom(id:string):void; moveDown(id:string, step:number):void; moveTop(id:string):void; moveUp(id:string, step:number):void; } var DataMove:DataMove; interface DataProcessor{ attachEvent(type:string, functor:WebixCallback, id?:string):string; attachProgress(start:WebixCallback, end:WebixCallback, error:WebixCallback):void; blockEvent():void; callEvent(name:string, params:any[]):boolean; clearValidation():void; define(property:string, value:any):void; detachEvent(id:string):void; escape(value:string):string; getItemState(itemId:string):any; getState():string|boolean; hasEvent(name:string):boolean; ignore(code:WebixCallback, master:any):void; mapEvent(map:any):void; off():void; on():void; processResult(data:any):void; reset():void; save(id:string, operation:string):void; send():void; setItemState(itemId:string, state:boolean):void; unblockEvent():void; validate():boolean; config: { [key: string]: any; }; name: string; } var DataProcessor:DataProcessor; interface DataRecord{ attachEvent(type:string, functor:WebixCallback, id?:string):string; bind(target:any, rule?:WebixCallback, format?:string):void; blockEvent():void; callEvent(name:string, params:any[]):boolean; define(property:string, value:any):void; detachEvent(id:string):void; getValues():any; hasEvent(name:string):boolean; isVisible():boolean; load(url:string, type?:string, callback?:WebixCallback):PromisedData; mapEvent(map:any):void; parse(data:any, type:string):void; refresh(id?:string):void; setValues(values:any, update?:boolean):void; unbind():void; unblockEvent():void; config: { [key: string]: any; }; name: string; } var DataRecord:DataRecord; interface DataState{ getState():any; setState(state:any):void; } var DataState:DataState; interface DataStore{ add(obj:any, index?:number):string; addMark(id:string, name:string, css?:boolean, value?:any):any; attachEvent(type:string, functor:WebixCallback, id?:string):string; blockEvent():void; callEvent(name:string, params:any[]):boolean; changeId(old:string, newid:string):void; clearAll():void; clearMark(name:string):void; count():number; destructor():void; detachEvent(id:string):void; each(method:WebixCallback, master?:any, all?:boolean):void; exists(id:string):boolean; filter(text:string|WebixTemplate|WebixCallback, value:string, preserve:boolean):void; getFirstId():string; getIdByIndex(index:number):string; getIndexById(id:string):number; getIndexRange(from:string, to:string):any[]; getItem(id:string):any; getLastId():string; getMark(id:string, mark_name:string):any; getNextId(id:string, step:number):string; getPrevId(id:string, step:number):string; getRange(from:string, to:string):any[]; hasEvent(name:string):boolean; id(item:any):string; importData(source:webix.ui.baseview):void; mapEvent(map:any):void; move(sid:string, tindex:number, tobj?:any, details?:any):string; provideApi(target:any, eventable:boolean):void; refresh(id?:string):void; remove(id:string):void; removeMark(id:string, name:string, css:boolean):void; scheme(config:any):void; serialize():any; setDriver(type:string):void; silent(code:WebixCallback):void; sort(by:string, dir?:string, as?:string):void; sync(source:any, filter:WebixCallback, silent:boolean):void; unblockEvent():void; unsync():void; updateItem(id:string, data:any):void; driver: any; name: string; order: any[]; pull: any; } var DataStore:DataStore; interface DataValue{ attachEvent(type:string, functor:WebixCallback, id?:string):string; bind(target:any, rule?:WebixCallback, format?:string):void; blockEvent():void; callEvent(name:string, params:any[]):boolean; detachEvent(id:string):void; getValue():string; hasEvent(name:string):boolean; isVisible():boolean; mapEvent(map:any):void; refresh():void; setValue(value:string):void; unbind():void; unblockEvent():void; name: string; } var DataValue:DataValue; interface Date{ add(date:any, inc:number, mode:string):any; copy(date:any):any; datePart(date:any):any; dateToStr(format:string, utc:boolean):WebixCallback; dayStart(date:any):any; equal(datea:any, dateb:any):boolean; getISOWeek(date:any):number; getUTCISOWeek(data:any):number; isHoliday(date:any):boolean; monthStart(date:any):any; strToDate(format:string, utc:boolean):WebixCallback; timePart(date:any):number; toFixed(num:number):number; weekStart(date:any):any; yearStart(date:any):any; startOnMonday: boolean; } var Date:Date; interface Destruction{ destructor():void; } var Destruction:Destruction; interface DragControl{ addDrag(node:string|HTMLElement, ctrl:any):void; addDrop(node:string|HTMLElement, ctrl:any, master_mode:boolean):void; createDrag(event:Event):void; destroyDrag():void; getContext():any; getMaster(target:any):any; getNode():HTMLElement; sendSignal(signal:string):void; $drag(s:any, e:Event):HTMLElement; $dragIn(s:any, t:any, e:Event):void; $dragOut(s:any, t:any, n:any, e:Event):void; $dragPos: WebixCallback; $drop(s:any, t:any, d:any, e:Event):void; left: number; top: number; } var DragControl:DragControl; interface DragItem{ $drag(source:HTMLElement, ev:Event):string; $dragHTML: WebixCallback; $dragIn(source:HTMLElement, target:HTMLElement, ev:Event):HTMLElement; $dragMark(context:any, ev:Event):boolean; $dragOut(source:HTMLElement, old_target:HTMLElement, new_target:HTMLElement, ev:Event):void; $drop(source:HTMLElement, target:HTMLElement, ev:any):void; $dropAllow: WebixCallback; } var DragItem:DragItem; interface DragOrder{ $drag(source:HTMLElement, ev:Event):string; $dragIn(source:HTMLElement, target:HTMLElement, ev:Event):HTMLElement; $dragPos: WebixCallback; $drop(source:HTMLElement, target:HTMLElement, ev:any):void; } var DragOrder:DragOrder; interface EditAbility{ edit(id:any):void; editCancel():void; editNext():boolean; editStop():void; focusEditor():void; getEditState():any; getEditor(id?:string):any; getEditorValue():string; validateEditor(id?:string):boolean; } var EditAbility:EditAbility; interface EventSystem{ attachEvent(type:string, functor:WebixCallback, id?:string):string; blockEvent():void; callEvent(name:string, params:any[]):boolean; detachEvent(id:string):void; hasEvent(name:string):boolean; mapEvent(map:any):void; unblockEvent():void; } var EventSystem:EventSystem; interface Group{ group(config:any, mode:boolean):void; ungroup(mode:boolean):void; } var Group:Group; interface GroupMethods{ any(property:string, data:any):void; count(property:string, data:any):void; max(property:string, data:any):void; min(property:string, data:any):void; string(property:string, data:any):void; sum(property:string, data:any):void; } var GroupMethods:GroupMethods; interface GroupStore{ group(stats:any):void; ungroup():void; } var GroupStore:GroupStore; interface HtmlMap{ addPoly(id:string, points:any[]):void; addRect(id:string, points:any[], userdata?:string):void; addSector(id:string, aplha0:number, aplha1:number, x:number, y:number, R:number, ky:number):void; render(html:HTMLElement):void; } var HtmlMap:HtmlMap; interface IdSpace{ innerId(id:string):string; ui(view:any):webix.ui.baseview; $$: any; } var IdSpace:IdSpace; interface KeysNavigation{ moveSelection(direction:string):void; } var KeysNavigation:KeysNavigation; interface MapCollection{ } var MapCollection:MapCollection; interface Modality{ } var Modality:Modality; interface MouseEvents{ on_click: WebixCallback; on_context: { [key: string]: any; }; on_dblclick: WebixCallback; on_mouse_move: WebixCallback; } var MouseEvents:MouseEvents; interface Movable{ } var Movable:Movable; interface NavigationButtons{ } var NavigationButtons:NavigationButtons; interface Number{ format(value:number, config:any):string; numToStr(config:any):WebixCallback; } var Number:Number; interface OverlayBox{ hideOverlay():void; showOverlay():void; } var OverlayBox:OverlayBox; interface PagingAbility{ getPage():number; getPager():any; setPage(page:number):void; } var PagingAbility:PagingAbility; interface PowerArray{ each(functor:WebixCallback, master:any):void; filter(functor:WebixCallback, master:any):any[]; find(data:any):number; insertAt(data:any, pos:number):void; map(functor:WebixCallback, master:any):any[]; remove(value:any):void; removeAt(pos:number, len:number):void; } var PowerArray:PowerArray; interface ProgressBar{ hideProgress():void; showProgress(config?:any):void; } var ProgressBar:ProgressBar; interface RecordBind{ } var RecordBind:RecordBind; interface RenderStack{ customize(obj:any):void; getItemNode(id:string):void; locate(e:Event):string; render(id:string, data:any, type:string):void; showItem(id:string):void; type: { [key: string]: any; }; types: { [key: string]: any; }; } var RenderStack:RenderStack; interface Scrollable{ getScrollState():any; scrollTo(x:number, y:number):void; } var Scrollable:Scrollable; interface SelectionModel{ getSelectedId(as_array:boolean):string|any[]; getSelectedItem(as_array?:boolean):any; isSelected(id:string):boolean; select(id:string|any[], preserve:boolean):void; selectAll(from?:string, to?:string):void; unselect(id?:string):void; unselectAll():void; } var SelectionModel:SelectionModel; interface Settings{ define(property:string, value:any):void; config: { [key: string]: any; }; name: string; } var Settings:Settings; interface SingleRender{ customize(obj:any):void; render(id:string, data:any, type:string):void; sync(source:any, filter:WebixCallback, silent:boolean):void; type: { [key: string]: any; }; } var SingleRender:SingleRender; interface TablePaste{ } var TablePaste:TablePaste; interface Touch{ disable():void; enable():void; limit(mode:boolean):void; scrollTo(node:HTMLElement, x:number, y:number, speed:string):void; config: any; } var Touch:Touch; interface TreeAPI{ close(id:string):void; closeAll():void; getOpenItems():any[]; getState():any; isBranchOpen(id:string):boolean; open(id:string):void; openAll():void; setState(state:any):void; } var TreeAPI:TreeAPI; interface TreeClick{ webix_tree_checkbox(obj:any, common:{ [key: string]: any; }):string; webix_tree_close(obj:any, common:{ [key: string]: any; }):string; webix_tree_open(obj:any, common:{ [key: string]: any; }):string; } var TreeClick:TreeClick; interface TreeCollection{ add(obj:any, index?:number, parentId?:string):string; addBind(source:any, rule:string, format:string):void; attachEvent(type:string, functor:WebixCallback, id?:string):string; bind(target:any, rule?:WebixCallback, format?:string):void; blockEvent():void; callEvent(name:string, params:any[]):boolean; clearAll():void; clearValidation():void; count():number; define(property:string, value:any):void; destructor():void; detachEvent(id:string):void; exists(id:string):boolean; filter(text:string|WebixTemplate|WebixCallback, value:string, preserve:boolean):void; getBindData(key:string, update:boolean):void; getBranchIndex(id:string, parent?:string):number; getCursor():number; getFirstChildId(id:string):string; getFirstId():string; getIdByIndex(index:number):string; getIndexById(id:string):number; getItem(id:string):any; getLastId():string; getNextId(id:string, step:number):string; getNextSiblingId(id:any):string; getParentId(id:string):string; getPrevId(id:string, step:number):string; getPrevSiblingId(id:any):string; hasEvent(name:string):boolean; isBranch(id:string):boolean; isVisible():boolean; load(url:string, type?:string, callback?:WebixCallback):PromisedData; loadBranch(id:string, callback:WebixCallback, url:string):void; loadNext(count:number, start:number, callback:WebixCallback, url:string, now:boolean):void; mapEvent(map:any):void; parse(data:any, type:string):void; refresh(id?:string):void; refreshCursor():void; remove(id:string):void; removeBind(source:any):void; saveBatch(func:WebixCallback):void; serialize():any; setBindData(data:any, key:string):void; setCursor(cursor:string):void; sort(by:string, dir?:string, as?:string):void; sync(source:any, filter:WebixCallback, silent:boolean):void; unbind():void; unblockEvent():void; updateItem(id:string, data:any):void; validate(id?:string):boolean; config: { [key: string]: any; }; name: string; } var TreeCollection:TreeCollection; interface TreeDataLoader{ loadBranch(id:string, callback:WebixCallback, url:string):void; } var TreeDataLoader:TreeDataLoader; interface TreeDataMove{ copy(sid:string, tindex:number, tobj?:webix.ui.baseview, details?:any):string; move(sid:string, tindex:number, tobj?:webix.ui.baseview, details?:any):string; $dropAllow: WebixCallback; } var TreeDataMove:TreeDataMove; interface TreeRenderStack{ getItemNode(id:string):void; getItemNode(id:string):HTMLElement; } var TreeRenderStack:TreeRenderStack; interface TreeStateCheckbox{ checkAll(id?:string):void; checkItem(id:string):void; getChecked():any[]; isChecked(id:string):boolean; uncheckAll(id?:string):void; uncheckItem(id:string):void; } var TreeStateCheckbox:TreeStateCheckbox; interface TreeStore{ add(obj:any, index?:number, parentId?:string):string; changeId(old:string, newid:string):void; clearAll():void; count():number; each(code:WebixCallback, master:any, all:boolean, pid:string):void; eachChild(pid:string, code:WebixCallback, master?:any, all?:boolean):void; eachOpen(code:WebixCallback, master?:any, pid?:string):void; eachSubItem(pid:string, code:WebixCallback):void; getBranch(id:string):any[]; getBranchIndex(id:string, parent?:string):number; getFirstChildId(id:string):string; getNextSiblingId(id:any):string; getParentId(id:string):string; getPrevSiblingId(id:any):string; getTopRange():any[]; isBranch(id:string):boolean; provideApi(target:any, eventable:boolean):void; remove(id:string):void; serialize():any; name: string; } var TreeStore:TreeStore; interface TreeTableClick{ } var TreeTableClick:TreeTableClick; interface TreeTablePaste{ insert(data:any[]):void; } var TreeTablePaste:TreeTablePaste; interface TreeType{ checkbox(obj:any, common:any):string; folder(obj:any, common:any):string; icon(obj:any, common:any):string; space(obj:any, common:any):string; } var TreeType:TreeType; interface UIExtension{ } var UIExtension:UIExtension; interface UIManager{ addHotKey(key:string, handler:WebixCallback, obj?:any):void; canFocus(id:string):boolean; destructor():void; getFocus():webix.ui.baseview; getNext(view:any):any; getPrev(view:any):any; getState(id:string, childs:boolean):any; getTop(id:string):any; hasFocus(id:string):boolean; removeHotKey(key:string, handler?:WebixCallback, obj?:any):void; setFocus(id:string):void; setState(state:any):void; } var UIManager:UIManager; interface UploadDriver{ flash: any; html5: any; } var UploadDriver:UploadDriver; interface ValidateCollection{ clearValidation():void; validate(id?:string):boolean; } var ValidateCollection:ValidateCollection; interface ValidateData{ clearValidation():void; validate():boolean; } var ValidateData:ValidateData; interface ValueBind{ } var ValueBind:ValueBind; interface Values{ clear():void; focus(item:string):void; getCleanValues():any; getDirtyValues():any; getValues(details?:any):{ [key: string]: any; }; isDirty():boolean; setDirty(mark?:boolean):void; setValues(values:any, update?:boolean):void; } var Values:Values; interface VirtualRenderStack{ getItemNode(id:string):void; render(id:string, data:any, type:string):void; showItem(id:string):void; } var VirtualRenderStack:VirtualRenderStack; module ui { function delay(config:any):void; function fullScreen():void; function hasMethod(name:string, method_name:string):boolean; function resize():void; function zIndex():number; var scrollSize: number; var zIndexBase: number; interface baselayoutConfig{ animate?: any; borderless?: boolean; cols?: any[]; container?: HTMLElement; css?: string; disabled?: boolean; gravity?: number; height?: number; hidden?: boolean; id?: string; maxHeight?: number; maxWidth?: number; minHeight?: number; minWidth?: number; on?: any; responsive?: string; rows?: any[]; visibleBatch?: string; width?: number; } interface baselayout extends webix.ui.baseview{ addView(view:any, index?:number):webix.ui.baseview; adjust():void; attachEvent(type:string, functor:WebixCallback, id?:string):string; bind(target:any, rule?:WebixCallback, format?:string):void; blockEvent():void; callEvent(name:string, params:any[]):boolean; define(property:string, value:any):void; destructor():void; detachEvent(id:string):void; disable():void; enable():void; getChildViews():any[]; getFormView():webix.ui.baseview; getNode():any; getParentView():any; getTopParentView():webix.ui.baseview; hasEvent(name:string):boolean; hide():void; index(obj:any):number; isEnabled():boolean; isVisible():boolean; mapEvent(map:any):void; reconstruct():void; removeView(id:string):void; resize():void; resizeChildren():void; show(force?:boolean, animation?:boolean):void; showBatch(name:string):void; unbind():void; unblockEvent():void; $getSize():any[]; $height: number; $setSize(x:number, y:number):boolean; $skin: any; $view: HTMLElement; $width: number; config: baselayoutConfig; name: string; } interface baseviewConfig{ animate?: any; borderless?: boolean; container?: HTMLElement; css?: string; disabled?: boolean; gravity?: number; height?: number; hidden?: boolean; id?: string; maxHeight?: number; maxWidth?: number; minHeight?: number; minWidth?: number; width?: number; } interface baseview{ adjust():void; bind(target:any, rule?:WebixCallback, format?:string):void; define(property:string, value:any):void; destructor():void; disable():void; enable():void; getChildViews():any[]; getFormView():webix.ui.baseview; getNode():any; getParentView():any; getTopParentView():webix.ui.baseview; hide():void; isEnabled():boolean; isVisible():boolean; resize():void; show(force?:boolean, animation?:boolean):void; unbind():void; $getSize():any[]; $height: number; $setSize(x:number, y:number):boolean; $skin: any; $view: HTMLElement; $width: number; config: baseviewConfig; name: string; } interface protoConfig{ animate?: any; borderless?: boolean; click?: string|WebixCallback; container?: HTMLElement; css?: string; data?: string|any[]; dataFeed?: string|WebixCallback; datathrottle?: number; datatype?: string; disabled?: boolean; gravity?: number; height?: number; hidden?: boolean; id?: string; maxHeight?: number; maxWidth?: number; minHeight?: number; minWidth?: number; on?: any; pager?: any; ready?: WebixCallback; removeMissed?: boolean; rules?: any; save?: string; scheme?: any; template?: string|WebixCallback; tooltip?: any; type?: any; url?: string; width?: number; } interface proto extends webix.ui.baseview{ add(obj:any, index?:number):string; addCss(id:string|number, css:string, silent?:boolean):void; adjust():void; attachEvent(type:string, functor:WebixCallback, id?:string):string; bind(target:any, rule?:WebixCallback, format?:string):void; blockEvent():void; callEvent(name:string, params:any[]):boolean; clearAll():void; clearCss(css:string, silent?:boolean):void; clearValidation():void; count():number; customize(obj:any):void; define(property:string, value:any):void; destructor():void; detachEvent(id:string):void; disable():void; enable():void; exists(id:string):boolean; filter(text:string|WebixTemplate|WebixCallback, value:string, preserve:boolean):void; getChildViews():any[]; getFirstId():string; getFormView():webix.ui.baseview; getIdByIndex(index:number):string; getIndexById(id:string):number; getItem(id:string):any; getItemNode(id:string):void; getLastId():string; getNextId(id:string, step:number):string; getNode():any; getPage():number; getPager():any; getParentView():any; getPrevId(id:string, step:number):string; getTopParentView():webix.ui.baseview; hasCss(id:string, css:string):boolean; hasEvent(name:string):boolean; hide():void; isEnabled():boolean; isVisible():boolean; load(url:string, type?:string, callback?:WebixCallback):PromisedData; loadNext(count:number, start:number, callback:WebixCallback, url:string, now:boolean):void; locate(e:Event):string; mapEvent(map:any):void; parse(data:any, type:string):void; refresh(id?:string):void; remove(id:string):void; removeCss(id:string|number, css:string, silent?:boolean):void; render(id:string, data:any, type:string):void; resize():void; serialize():any; setPage(page:number):void; show(force?:boolean, animation?:boolean):void; showItem(id:string):void; sort(by:string, dir?:string, as?:string):void; sync(source:any, filter:WebixCallback, silent:boolean):void; unbind():void; unblockEvent():void; updateItem(id:string, data:any):void; validate(id?:string):boolean; $getSize():any[]; $height: number; $scope: any; $setSize(x:number, y:number):boolean; $skin: any; $view: HTMLElement; $width: number; config: protoConfig; name: string; type: { [key: string]: any; }; types: { [key: string]: any; }; } interface resizeareaConfig{ border?: boolean; container?: string|HTMLElement; cursor?: string; dir?: string; eventPos?: number; height?: number; id?: string; on?: any; start?: number; width?: number; } interface resizearea{ attachEvent(type:string, functor:WebixCallback, id?:string):string; blockEvent():void; callEvent(name:string, params:any[]):boolean; define(property:string, value:any):void; detachEvent(id:string):void; hasEvent(name:string):boolean; mapEvent(map:any):void; unblockEvent():void; config: resizeareaConfig; name: string; } interface viewConfig{ animate?: any; borderless?: boolean; container?: HTMLElement; css?: string; disabled?: boolean; gravity?: number; height?: number; hidden?: boolean; id?: string; maxHeight?: number; maxWidth?: number; minHeight?: number; minWidth?: number; width?: number; } interface view extends webix.ui.baseview{ adjust():void; bind(target:any, rule?:WebixCallback, format?:string):void; define(property:string, value:any):void; destructor():void; disable():void; enable():void; getChildViews():any[]; getFormView():webix.ui.baseview; getNode():any; getParentView():any; getTopParentView():webix.ui.baseview; hide():void; isEnabled():boolean; isVisible():boolean; resize():void; show(force?:boolean, animation?:boolean):void; unbind():void; $getSize():any[]; $height: number; $scope: any; $setSize(x:number, y:number):boolean; $skin: any; $view: HTMLElement; $width: number; config: viewConfig; name: string; } interface vscrollConfig{ container?: HTMLElement; id?: string; on?: any; scroll?: string; scrollHeight?: number; scrollPos?: number; scrollSize?: number; scrollStep?: number; scrollVisible?: boolean; scrollWidth?: number; zoom?: number; } interface vscroll extends webix.ui.baseview{ activeArea(node:HTMLElement):void; attachEvent(type:string, functor:WebixCallback, id?:string):string; blockEvent():void; callEvent(name:string, params:any[]):boolean; define(property:string, value:any):void; detachEvent(id:string):void; getScroll():number; getSize():number; hasEvent(name:string):boolean; mapEvent(map:any):void; scrollTo(pos:number):void; sizeTo(size:number):void; unblockEvent():void; config: vscrollConfig; name: string; } interface accordionConfig{ animate?: any; borderless?: boolean; collapsed?: boolean; cols?: any[]; container?: HTMLElement; css?: string; disabled?: boolean; gravity?: number; height?: number; hidden?: boolean; id?: string; isolate?: boolean; margin?: number; maxHeight?: number; maxWidth?: number; minHeight?: number; minWidth?: number; multi?: boolean|string; on?: any; padding?: number; paddingX?: number; paddingY?: number; panelClass?: string; responsive?: string; rows?: any[]; type?: string; visibleBatch?: string; width?: number; } interface accordion extends webix.ui.baseview{ addView(view:any, index?:number):webix.ui.baseview; adjust():void; attachEvent(type:string, functor:WebixCallback, id?:string):string; bind(target:any, rule?:WebixCallback, format?:string):void; blockEvent():void; callEvent(name:string, params:any[]):boolean; define(property:string, value:any):void; destructor():void; detachEvent(id:string):void; disable():void; enable():void; getChildViews():any[]; getFormView():webix.ui.baseview; getNode():any; getParentView():any; getTopParentView():webix.ui.baseview; hasEvent(name:string):boolean; hide():void; index(obj:any):number; isEnabled():boolean; isVisible():boolean; mapEvent(map:any):void; reconstruct():void; removeView(id:string):void; resize():void; resizeChildren():void; show(force?:boolean, animation?:boolean):void; showBatch(name:string):void; unbind():void; unblockEvent():void; $getSize():any[]; $height: number; $setSize(x:number, y:number):boolean; $skin: any; $view: HTMLElement; $width: number; config: accordionConfig; name: string; } interface accordionitemConfig{ animate?: any; body?: string|webix.ui.baseview; borderless?: boolean; collapsed?: boolean; container?: HTMLElement; css?: string; disabled?: boolean; gravity?: number; header?: boolean|string|WebixCallback; headerAlt?: string|WebixCallback; headerAltHeight?: number; headerHeight?: number; height?: number; hidden?: boolean; id?: string; maxHeight?: number; maxWidth?: number; minHeight?: number; minWidth?: number; mouseEventDelay?: number; on?: any; onClick?: { [key: string]: any; }; onContext?: { [key: string]: any; }; onDblClick?: WebixCallback; onMouseMove?: WebixCallback; width?: number; } interface accordionitem extends webix.ui.baseview{ adjust():void; attachEvent(type:string, functor:WebixCallback, id?:string):string; bind(target:any, rule?:WebixCallback, format?:string):void; blockEvent():void; callEvent(name:string, params:any[]):boolean; collapse():void; define(property:string, value:any):void; destructor():void; detachEvent(id:string):void; disable():void; enable():void; expand():void; getChildViews():any[]; getFormView():webix.ui.baseview; getNode():any; getParentView():any; getTopParentView():webix.ui.baseview; hasEvent(name:string):boolean; hide():void; isEnabled():boolean; isVisible():boolean; mapEvent(map:any):void; refresh():void; resize():void; show(force?:boolean, animation?:boolean):void; unbind():void; unblockEvent():void; $getSize():any[]; $height: number; $scope: any; $setSize(x:number, y:number):boolean; $skin: any; $view: HTMLElement; $width: number; config: accordionitemConfig; name: string; on_click: WebixCallback; on_context: { [key: string]: any; }; on_dblclick: WebixCallback; on_mouse_move: WebixCallback; } interface barcodeConfig{ animate?: any; borderless?: boolean; color?: string; container?: HTMLElement; css?: string; disabled?: boolean; gravity?: number; height?: number; hidden?: boolean; id?: string; maxHeight?: number; maxWidth?: number; minHeight?: number; minWidth?: number; paddingX?: number; paddingY?: number; textHeight?: number; type?: any; value?: string; width?: number; } interface barcode extends webix.ui.baseview{ adjust():void; bind(target:any, rule?:WebixCallback, format?:string):void; define(property:string, value:any):void; destructor():void; disable():void; enable():void; getChildViews():any[]; getFormView():webix.ui.baseview; getNode():any; getParentView():any; getTopParentView():webix.ui.baseview; getValue():string; hide():void; isEnabled():boolean; isVisible():boolean; render():void; resize():void; setValue(value:string):void; show(force?:boolean, animation?:boolean):void; unbind():void; $getSize():any[]; $height: number; $scope: any; $setSize(x:number, y:number):boolean; $skin: any; $view: HTMLElement; $width: number; config: barcodeConfig; name: string; types: any[]; } interface buttonConfig{ align?: string; animate?: any; borderless?: boolean; click?: WebixCallback; container?: HTMLElement; content?: string|HTMLElement; css?: string; disabled?: boolean; gravity?: number; height?: number; hidden?: boolean; hotkey?: string; id?: string; inputHeight?: number; inputWidth?: number; label?: string; labelPosition?: string; maxHeight?: number; maxWidth?: number; minHeight?: number; minWidth?: number; name?: string; on?: any; placeholder?: string; popup?: any; tabFocus?: boolean; template?: string|WebixCallback; tooltip?: string; type?: string; value?: string; width?: number; } interface button extends webix.ui.baseview{ adjust():void; attachEvent(type:string, functor:WebixCallback, id?:string):string; bind(target:any, rule?:WebixCallback, format?:string):void; blockEvent():void; blur():void; callEvent(name:string, params:any[]):boolean; define(property:string, value:any):void; destructor():void; detachEvent(id:string):void; disable():void; enable():void; focus():void; getChildViews():any[]; getFormView():webix.ui.baseview; getInputNode():HTMLElement; getNode():any; getParentView():any; getTopParentView():webix.ui.baseview; getValue():string; hasEvent(name:string):boolean; hide():void; isEnabled():boolean; isVisible():boolean; mapEvent(map:any):void; refresh():void; render(id:string, data:any, type:string):void; resize():void; setValue(value:string):void; show(force?:boolean, animation?:boolean):void; sync(source:any, filter:WebixCallback, silent:boolean):void; unbind():void; unblockEvent():void; $getSize():any[]; $getValue():string; $height: number; $scope: any; $setSize(x:number, y:number):boolean; $setValue(value:string):void; $skin: any; $view: HTMLElement; $width: number; config: buttonConfig; name: string; on_click: WebixCallback; touchable: any; } interface calendarConfig{ animate?: any; blockDates?: WebixCallback; borderless?: boolean; calendarHeader?: string; calendarTime?: string; calendarWeekHeader?: string; cellHeight?: number; container?: HTMLElement; css?: string; date?: any; dayTemplate?: WebixCallback; disabled?: boolean; events?: WebixCallback; gravity?: number; headerHeight?: number; height?: number; hidden?: boolean; icons?: any; id?: string; maxDate?: Date|string; maxHeight?: number; maxWidth?: number; minDate?: Date|string; minHeight?: number; minWidth?: number; minuteStep?: number; monthSelect?: boolean; mouseEventDelay?: number; navigation?: boolean; on?: any; onClick?: { [key: string]: any; }; onContext?: { [key: string]: any; }; onDblClick?: WebixCallback; onMouseMove?: WebixCallback; select?: boolean; skipEmptyWeeks?: boolean; timepicker?: boolean; timepickerHeight?: number; type?: string; weekHeader?: boolean; weekNumber?: boolean; width?: number; } interface calendar extends webix.ui.baseview{ adjust():void; attachEvent(type:string, functor:WebixCallback, id?:string):string; bind(target:any, rule?:WebixCallback, format?:string):void; blockEvent():void; callEvent(name:string, params:any[]):boolean; define(property:string, value:any):void; destructor():void; detachEvent(id:string):void; disable():void; enable():void; getChildViews():any[]; getFormView():webix.ui.baseview; getNode():any; getParentView():any; getSelectedDate():any; getTopParentView():webix.ui.baseview; getValue():any; getVisibleDate():any; hasEvent(name:string):boolean; hide():void; isEnabled():boolean; isVisible():boolean; locate(e:Event):string; mapEvent(map:any):void; refresh():void; render(id:string, data:any, type:string):void; resize():void; selectDate(date:any):void; setValue(date:any):void; show(force?:boolean, animation?:boolean):void; showCalendar(date:any):void; unbind():void; unblockEvent():void; $getSize():any[]; $height: number; $scope: any; $setSize(x:number, y:number):boolean; $skin: any; $view: HTMLElement; $width: number; config: calendarConfig; name: string; on_click: WebixCallback; on_context: { [key: string]: any; }; on_dblclick: WebixCallback; on_mouse_move: WebixCallback; } interface carouselConfig{ animate?: any; borderless?: boolean; cols?: any[]; container?: HTMLElement; css?: string; disabled?: boolean; gravity?: number; height?: number; hidden?: boolean; id?: string; maxHeight?: number; maxWidth?: number; minHeight?: number; minWidth?: number; navigation?: any; on?: any; rows?: any[]; scrollSpeed?: string; type?: string; width?: number; } interface carousel extends webix.ui.baseview{ adjust():void; adjustScroll(matrix:any):void; attachEvent(type:string, functor:WebixCallback, id?:string):string; bind(target:any, rule?:WebixCallback, format?:string):void; blockEvent():void; callEvent(name:string, params:any[]):boolean; define(property:string, value:any):void; destructor():void; detachEvent(id:string):void; disable():void; enable():void; getActiveId():string; getActiveIndex():number; getChildViews():any[]; getFormView():webix.ui.baseview; getLayout():any; getNode():any; getParentView():any; getTopParentView():webix.ui.baseview; hasEvent(name:string):boolean; hide():void; isEnabled():boolean; isVisible():boolean; mapEvent(map:any):void; resize():void; scrollTo(x:number, y:number):void; setActive(id:string):void; setActiveIndex(index:number):void; show(force?:boolean, animation?:boolean):void; showNext():void; showPrev():void; unbind():void; unblockEvent():void; $getSize():any[]; $height: number; $scope: any; $setSize(x:number, y:number):boolean; $skin: any; $view: HTMLElement; $width: number; config: carouselConfig; name: string; } interface chartConfig{ alpha?: number; animate?: any; barWidth?: number; border?: boolean; borderColor?: string; borderless?: boolean; cant?: number; color?: string|WebixCallback; container?: HTMLElement; css?: string; data?: string|any[]; dataFeed?: string|WebixCallback; datathrottle?: number; datatype?: string; disableLines?: boolean; disabled?: boolean; eventRadius?: number; fill?: string; fixOverflow?: boolean; gradient?: boolean|string|WebixCallback; gravity?: number; height?: number; hidden?: boolean; id?: string; item?: any; label?: string|WebixCallback; labelOffset?: number; legend?: any; line?: any; lineColor?: string; maxHeight?: number; maxWidth?: number; minHeight?: number; minWidth?: number; mouseEventDelay?: number; offset?: boolean; on?: any; onClick?: { [key: string]: any; }; onContext?: { [key: string]: any; }; onDblClick?: WebixCallback; onMouseMove?: WebixCallback; origin?: number; padding?: any; pieHeight?: number; pieInnerText?: string|WebixCallback; preset?: string; radius?: number; ready?: WebixCallback; removeMissed?: boolean; save?: string; scale?: string; scheme?: any; series?: any[]; shadow?: boolean; tooltip?: any; type?: string; url?: string; value?: string|WebixTemplate; width?: number; x?: number; xAxis?: any; xValue?: string; y?: number; yAxis?: any; yValue?: string; } interface chart extends webix.ui.baseview{ add(obj:any, index?:number):string; addSeries(obj:any):void; adjust():void; attachEvent(type:string, functor:WebixCallback, id?:string):string; bind(target:any, rule?:WebixCallback, format?:string):void; blockEvent():void; callEvent(name:string, params:any[]):boolean; clearAll():void; clearCanvas():void; count():number; define(property:string, value:any):void; destructor():void; detachEvent(id:string):void; disable():void; enable():void; exists(id:string):boolean; filter(text:string|WebixTemplate|WebixCallback, value:string, preserve:boolean):void; getChildViews():any[]; getFirstId():string; getFormView():webix.ui.baseview; getIdByIndex(index:number):string; getIndexById(id:string):number; getItem(id:string):any; getLastId():string; getNextId(id:string, step:number):string; getNode():any; getParentView():any; getPrevId(id:string, step:number):string; getTopParentView():webix.ui.baseview; group(config:any, mode:boolean):void; hasEvent(name:string):boolean; hide():void; hideSeries(series:string):void; isEnabled():boolean; isVisible():boolean; load(url:string, type?:string, callback?:WebixCallback):PromisedData; loadNext(count:number, s