|
|
@ -1,4 +1,4 @@ |
|
|
|
import {WidgetType, Left, Label, Icon, TextButton, Right, LeftRightVerticalAdapt} from '@ui'; |
|
|
|
import {WidgetType, Icon, TextButton, LeftRightVerticalAdapt} from '@ui'; |
|
|
|
import ItemIcon from './left_item_icon'; |
|
|
|
import ItemIcon from './left_item_icon'; |
|
|
|
import Model from '../../link_set.model'; |
|
|
|
import Model from '../../link_set.model'; |
|
|
|
import {ACTION_COPY, ACTION_TEST, ACTION_DELETE, DEFAULT_INFO} from '@private/constants'; |
|
|
|
import {ACTION_COPY, ACTION_TEST, ACTION_DELETE, DEFAULT_INFO} from '@private/constants'; |
|
|
@ -36,9 +36,6 @@ const Widget: WidgetType = { |
|
|
|
textAlign: 'left', |
|
|
|
textAlign: 'left', |
|
|
|
text: title, |
|
|
|
text: title, |
|
|
|
title, |
|
|
|
title, |
|
|
|
handler: () => { |
|
|
|
|
|
|
|
this.store.setLinkSelected(title); |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
], |
|
|
|
], |
|
|
|
right: [ |
|
|
|
right: [ |
|
|
@ -73,6 +70,10 @@ const Widget: WidgetType = { |
|
|
|
}, |
|
|
|
}, |
|
|
|
}; |
|
|
|
}; |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
doClick() { |
|
|
|
|
|
|
|
const {title} = this.options; |
|
|
|
|
|
|
|
this.store.setLinkSelected(title); |
|
|
|
|
|
|
|
}, |
|
|
|
}; |
|
|
|
}; |
|
|
|
BI.shortcut(className, BI.inherit(BI.Widget, Widget)); |
|
|
|
BI.shortcut(className, BI.inherit(BI.BasicButton, Widget)); |
|
|
|
export default className; |
|
|
|
export default className; |
|
|
|