@ -105,7 +105,7 @@ function ClassSelector(p){
}
}
function ClassSelectorWindow ( p ) {
function ClassSelectorWindow ( p ) {
return < SelectorWindow title = "Class Select" modalOpen = { p . modalOpen } setModalOpen = { p . setModalOpen } GetData = { p . GetData }
return < SelectorWindow title = { ( p . editClass ) ? "Select Sub Class" : " Select Main Class "} modalOpen = { p . modalOpen } setModalOpen = { p . setModalOpen } GetData = { p . GetData }
dataFunction = { ( ) => {
dataFunction = { ( ) => {
var dat1 = p . GetData ( "class" )
var dat1 = p . GetData ( "class" )
return Object . keys ( dat1 )
return Object . keys ( dat1 )
@ -166,14 +166,13 @@ function SelectorWindow(p) {
{ p . filter ? < input className = "itemBarForm" type = "text" placeholder = "Filter" value = { filter } onChange = { ( f ) => { setFilter ( f . currentTarget . value ) } } / > : < > < / > }
{ p . filter ? < input className = "itemBarForm" type = "text" placeholder = "Filter" value = { filter } onChange = { ( f ) => { setFilter ( f . currentTarget . value ) } } / > : < > < / > }
< / d i v >
< / d i v >
< / d i v >
< / d i v >
} < div className = "tooltipAnchor" >
}
< div className = "modalItemListContainer customScrollbar" >
< div className = "modalItemListContainer customScrollbar" >
< ul className = "itemlist" >
< ul className = "itemlist" >
{ p . filter ? itemList . filter ( ( item ) => p . filterFunction ( tabPage , item ) ) . filter ( ( item ) => p . searchFieldFunction ( filter , item ) ) . sort ( ( a , b ) => p . sortOrderFunction ( sortSelector , a , b ) ) . map ( ( item ) => p . displayFunction ( item ) ) : itemList . map ( ( item ) => p . displayFunction ( item ) ) }
{ p . filter ? itemList . filter ( ( item ) => p . filterFunction ( tabPage , item ) ) . filter ( ( item ) => p . searchFieldFunction ( filter , item ) ) . sort ( ( a , b ) => p . sortOrderFunction ( sortSelector , a , b ) ) . map ( ( item ) => p . displayFunction ( item ) ) : itemList . map ( ( item ) => p . displayFunction ( item ) ) }
{ p . children }
{ p . children }
< / u l >
< / u l >
< / d i v >
< / d i v >
< / d i v >
< / P o p u p W i n d o w >
< / P o p u p W i n d o w >
}
}