iapyang
4 years ago
41 changed files with 12478 additions and 8608 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,7 +1,7 @@ |
|||||||
import { _BasicButton } from "./button.basic"; |
import { _BasicButton } from "./button.basic"; |
||||||
export interface _NodeButton extends _BasicButton { |
export interface _NodeButton extends _BasicButton { |
||||||
isOpened: () => void; |
isOpened(): void; |
||||||
setOpened: (b: boolean) => void; |
setOpened(b: boolean): void; |
||||||
triggerCollapse: () => void; |
triggerCollapse(): void; |
||||||
triggerExpand: () => void; |
triggerExpand(): void; |
||||||
} |
} |
||||||
|
@ -0,0 +1,40 @@ |
|||||||
|
declare type _module = (xtype: string, cls: any) => void; |
||||||
|
declare type _constant = (xtype: string, cls: any) => void; |
||||||
|
declare type _model = (xtype: string, cls: any) => void; |
||||||
|
declare type _store = (xtype: string, cls: any) => void; |
||||||
|
declare type _service = (xtype: string, cls: any) => void; |
||||||
|
declare type _provider = (xtype: string, cls: any) => void; |
||||||
|
interface _modules { |
||||||
|
getModule: (type: string) => any; |
||||||
|
getAllModules: () => any; |
||||||
|
} |
||||||
|
interface _constants { |
||||||
|
getConstant: (type: string) => any; |
||||||
|
} |
||||||
|
interface _models { |
||||||
|
getModel: (type: string, options?: any) => any; |
||||||
|
} |
||||||
|
interface _stores { |
||||||
|
getStore: (type: string, options?: any) => any; |
||||||
|
} |
||||||
|
interface _providers { |
||||||
|
getProvider: (type: string, options?: any) => any; |
||||||
|
} |
||||||
|
interface _services { |
||||||
|
getService: (type: string, options?: any) => any; |
||||||
|
} |
||||||
|
export declare type _inject = { |
||||||
|
module: _module; |
||||||
|
constant: _constant; |
||||||
|
model: _model; |
||||||
|
store: _store; |
||||||
|
provider: _provider; |
||||||
|
service: _service; |
||||||
|
Modules: _modules; |
||||||
|
Constants: _constants; |
||||||
|
Models: _models; |
||||||
|
Stores: _stores; |
||||||
|
Providers: _providers; |
||||||
|
Services: _services; |
||||||
|
}; |
||||||
|
export {}; |
@ -0,0 +1,12 @@ |
|||||||
|
import { _Widget } from "./widget"; |
||||||
|
declare type configWidgetFn = (options: object) => object; |
||||||
|
declare type configObjectFn = (widget: _Widget) => void; |
||||||
|
export declare type _config = (widgetFunction: configWidgetFn | configWidgetFn[], objectFunction: configObjectFn | configObjectFn[]) => void; |
||||||
|
export declare type _configWidget = (shorcut: string, widgetFunction: configWidgetFn) => void; |
||||||
|
export declare type _registerObject = (shorcut: string, objectFunction: configObjectFn) => void; |
||||||
|
export declare type _Plugin = { |
||||||
|
config: _config; |
||||||
|
configWidget: _configWidget; |
||||||
|
registerObject: _registerObject; |
||||||
|
}; |
||||||
|
export {}; |
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in new issue