package Ġcom . github . mv ys ny . kar ib um igration Ċ Ċ import Ġcom . github . mv ys ny . k ari but ools . addClass Names 2 Ċ import Ġcom . github . mv ys ny . k ari but ools . label Ċ import Ġcom . github . mv ys ny . k ari but ools . tooltip Ċ import Ġcom . vaadin . flow . component . Component Ċ import Ġcom . vaadin . flow . component . Has Components Ċ import Ġcom . vaadin . flow . component . Has Size Ċ import Ġcom . vaadin . flow . component . Has Style Ċ import Ġcom . vaadin . flow . component . html . Div Ċ Ċ @ Deprecated (" use Ġset Width ( null )", Ġreplace With Ġ= ĠReplace With (" setWidth ( null ) ")) Ċ public Ġfun ĠHas Size . setWidth Undefined () Ġ{ ĊĠĠĠ Ġwidth Ġ= Ġnull Ċ } Ċ Ċ @ Deprecated (" use Ġset Height ( null )", Ġreplace With Ġ= ĠReplace With (" set Height ( null ) ")) Ċ public Ġfun ĠHas Size . set Height Undefined () Ġ{ ĊĠĠĠ Ġheight Ġ= Ġnull Ċ } Ċ Ċ @ Deprecated (" use ĠDiv ") Ċ public Ġclass ĠCss Layout ( var arg Ġcomponents : ĠComponent ) Ġ: ĠDiv (* components ) Ċ Ċ /** Ċ Ġ* ĠWarning : Ġin Ġorder Ġfor Ġthe Ġcaption Ġto Ġbe Ġvisible , Ġthe Ġcomponent Ġmust Ġbe Ġnested Ġin Ġ` Vertical Layout `/` Horizontal Layout `/` Flex Layout `. Ċ Ġ*/ Ċ @ Deprecated (" use Ġset Label ", Ġreplace With Ġ= ĠReplace With (" label ", Ġ" com . github . mv ys ny . k ari but ools . label ")) Ċ public Ġfun ĠComponent . set Caption ( caption : ĠString ?) Ġ{ ĊĠĠĠ Ġlabel Ġ= Ġcaption Ġ?: Ġ"" Ċ } Ċ Ċ /** Ċ Ġ* ĠWarning : Ġin Ġorder Ġfor Ġthe Ġcaption Ġto Ġbe Ġvisible , Ġthe Ġcomponent Ġmust Ġbe Ġnested Ġin Ġ` Vertical Layout `/` Horizontal Layout `/` Flex Layout `. Ċ Ġ*/ Ċ @ Deprecated (" use Ġset Label ", Ġreplace With Ġ= ĠReplace With (" label ", Ġ" com . github . mv ys ny . k ari but ools . label ")) Ċ public Ġfun ĠComponent . get Caption (): ĠString Ġ= Ġlabel Ċ Ċ @ Deprecated (" use Ġtooltip ", Ġreplace With Ġ= ĠReplace With (" tooltip ", Ġ" com . github . mv ys ny . k ari but ools . tooltip ")) Ċ public Ġvar ĠComponent . description : ĠString ? ĊĠĠĠ Ġget () Ġ= Ġtooltip ĊĠĠĠ Ġset ( value ) Ġ{ ĊĠĠĠĠĠĠĠ Ġtooltip Ġ= Ġvalue ĊĠĠĠ Ġ} Ċ Ċ @ Deprecated (" use Ġadd ClassNames 2 ()", Ġreplace With Ġ= ĠReplace With (" addClass Names 2 ( style )", Ġ" com . github . mv ys ny . k ari but ools . addClass Names 2 ")) Ċ public Ġfun ĠHas Style . add Style Name ( style : ĠString ) Ġ{ ĊĠĠĠ Ġadd ClassNames 2 ( style ) Ċ } Ċ Ċ @ Deprecated (" use Ġadd ClassNames ()", Ġreplace With Ġ= ĠReplace With (" addClass Names ( style ) ")) Ċ public Ġfun ĠHas Style . add Style Names ( var arg Ġstyle : ĠString ) Ġ{ ĊĠĠĠ Ġstyle . forEach Ġ{ Ġadd ClassNames 2 ( it ) Ġ} Ċ } Ċ Ċ @ Deprecated (" use Ġadd ClassNames () ") Ċ public Ġfun ĠHas Style . setStyle Name ( style : ĠString ) Ġ{ ĊĠĠĠ Ġthis . style . clear () ĊĠĠĠ Ġadd ClassNames 2 ( style ) Ċ } Ċ Ċ @ Deprecated (" use Ġremove ClassName ()", Ġreplace With Ġ= ĠReplace With (" remove ClassName ( style ) ")) Ċ public Ġfun ĠHas Style . remove Style Name ( style : ĠString ) Ġ{ ĊĠĠĠ Ġremove ClassName ( style ) Ċ } Ċ Ċ @ Deprecated (" use Ġremove ClassNames ()", Ġreplace With Ġ= ĠReplace With (" removeClass Names ( style ) ")) Ċ public Ġfun ĠHas Style . remove Style Names ( var arg Ġstyle : ĠString ) Ġ{ ĊĠĠĠ Ġremove ClassNames (* style ) Ċ } Ċ Ċ @ Deprecated (" use Ġremove All ()", Ġreplace With Ġ= ĠReplace With (" removeAll () ")) Ċ public Ġfun ĠHas Components . removeAll Components () Ġ{ ĊĠĠĠ Ġremove All () Ċ } Ċ Ċ @ Deprecated (" use Ġadd ()", Ġreplace With Ġ= ĠReplace With (" add () ")) Ċ public Ġfun ĠHas Components . addComponent ( child : ĠComponent ) Ġ{ ĊĠĠĠ Ġadd ( child ) Ċ } Ċ Ċ @ Deprecated (" use Ġremove ()", Ġreplace With Ġ= ĠReplace With (" remove () ")) Ċ public Ġfun ĠHas Components . remove Component ( child : ĠComponent ) Ġ{ ĊĠĠĠ Ġremove ( child ) Ċ } Ċ