date-widgets and friends for TS

This commit is contained in:
Ralf Becker 2020-01-22 17:56:38 +01:00 committed by Hadi Nategh
parent 3b51264882
commit 9e006797c9
4 changed files with 2936 additions and 1510 deletions

View File

@ -189,7 +189,7 @@ export class et2_inputWidget extends et2_valueWidget implements et2_IInput, et2_
* *
* @param {string} _value value to set * @param {string} _value value to set
*/ */
set_value(_value) set_value(_value : any | null)
{ {
var node = this.getInputNode(); var node = this.getInputNode();
if (node) if (node)

View File

@ -7,7 +7,7 @@ declare class et2_widget{}
declare class et2_DOMWidget extends et2_widget{} declare class et2_DOMWidget extends et2_widget{}
declare class et2_baseWidget extends et2_DOMWidget{} declare class et2_baseWidget extends et2_DOMWidget{}
declare class et2_valueWidget extends et2_baseWidget{} declare class et2_valueWidget extends et2_baseWidget{}
declare class et2_inputWidget{ declare class et2_inputWidget extends et2_valueWidget{
getInputNode() : HTMLElement getInputNode() : HTMLElement
} }
declare class et2_tabbox extends et2_valueWidget { declare class et2_tabbox extends et2_valueWidget {
@ -119,7 +119,12 @@ declare var et2_radioGroup : any;
declare var et2_script : any; declare var et2_script : any;
declare var et2_selectAccount : any; declare var et2_selectAccount : any;
declare var et2_selectAccount_ro : any; declare var et2_selectAccount_ro : any;
declare var et2_selectbox : any; declare class et2_selectbox extends et2_inputWidget {
loadingFinished()
getDOMNode()
set_value(s: string)
getValue()
}
declare var et2_selectbox_ro : any; declare var et2_selectbox_ro : any;
declare var et2_menulist : any; declare var et2_menulist : any;
declare var et2_split : any; declare var et2_split : any;

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff