File tree Expand file tree Collapse file tree 6 files changed +37
-9
lines changed Expand file tree Collapse file tree 6 files changed +37
-9
lines changed Original file line number Diff line number Diff line change 1
1
# bexis-core-ui
2
+ ## 0.4.26
3
+ - menu
4
+ - change submenu buttons to a link and add link menuitems to support right click menu
5
+
6
+ ## 0.4.25
7
+ - menu
8
+ - add internal & target to menuItemType to support handle menuEntries open in same or other window
9
+
10
+ ## 0.4.24
11
+ - Table
12
+ - Adds option for enabling/disabling show/hide column menu in table.
13
+ - Adds option to show number of items displayed instead of number of pages.
14
+ - Fixes an issue where "0" values return empty string.
15
+
16
+ - Facets
17
+ - Fixes an issue with truncation of text in Facet headers and options.
18
+
19
+ ## 0.4.23
20
+ - Table
21
+ - fix resizing issues after page size or page index changes
22
+ - Add Select All and Deselect All in columns menu
23
+ - Convert JSON to CSV and export as CSV
24
+ - Export as JSON to fix special characters and encoding issues
25
+
2
26
## 0.4.22
3
27
- Facets
4
28
- Replace column class function with more efficient solution
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @bexis2/bexis2-core-ui" ,
3
- "version" : " 0.4.22 " ,
3
+ "version" : " 0.4.26 " ,
4
4
"private" : false ,
5
5
"scripts" : {
6
6
"dev" : " vite dev" ,
Original file line number Diff line number Diff line change 26
26
27
27
{#if menubarItem .Items .length < 1 }
28
28
<div class =" p-2" >
29
- <button class ="grid" use:popup ={popupCombobox } on:click ={() => goTo (menubarItem .Url )}>
30
- <span class ="capitalize whitespace-nowrap" >{comboboxValue ?? menubarItem .Title }</span >
29
+
30
+ <button class ="grid" use:popup ={popupCombobox } >
31
+ <a class ="grid" href ={menubarItem .Url } target =" {menubarItem .Target }" >
32
+ <span class ="capitalize whitespace-nowrap" >{comboboxValue ?? menubarItem .Title }</span >
33
+ </a >
31
34
</button >
32
35
</div >
33
36
{:else }
Original file line number Diff line number Diff line change 1
1
<script lang =" ts" >
2
- import { ListBox , ListBoxItem } from ' @skeletonlabs/skeleton' ;
2
+ import { ListBox , ListBoxItem , TreeViewItem } from ' @skeletonlabs/skeleton' ;
3
3
import type { menuItemType } from ' ../../../models/Page' ;
4
4
import { goTo } from ' ../../../services/BaseCaller' ;
5
5
31
31
return ;
32
32
}
33
33
else {
34
- goTo (item .Url )
34
+ goTo (item .Url , item . Internal , item . Target );
35
35
}
36
36
}
37
37
76
76
bind:group ={item .Title }
77
77
name =" medium"
78
78
value ={item .Title }
79
- on:click ={() => clickFn ( item )}
79
+
80
80
>
81
- {item .Title }
81
+ < a href = {item .Url } target = " { item . Target } " >{ item . Title }</ a >
82
82
</ListBoxItem >
83
83
84
84
{/each }
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ export interface menuItemType {
29
29
Url : string ;
30
30
Target : string ;
31
31
Module : string ;
32
+ Internal : boolean ;
32
33
Items : menuItemType [ ] ;
33
34
}
34
35
Original file line number Diff line number Diff line change 3
3
import { host } from '$store/apiStores' ;
4
4
5
5
// go to a internal action
6
- export const goTo = async ( url , intern = true ) => {
6
+ export const goTo = async ( url , intern = true , target = "_self" ) => {
7
7
if ( intern == true ) {
8
8
// go to inside bexis2
9
9
if ( window != null && host != null && url != null ) {
10
- window . open ( host + url , '_self' ) ?. focus ( ) ;
10
+ window . open ( host + url , target ) ?. focus ( ) ;
11
11
}
12
12
} // go to a external page
13
13
else {
You can’t perform that action at this time.
0 commit comments