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 11# 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+
226## 0.4.22
327- Facets
428 - Replace column class function with more efficient solution
Original file line number Diff line number Diff line change 11{
22 "name" : " @bexis2/bexis2-core-ui" ,
3- "version" : " 0.4.22 " ,
3+ "version" : " 0.4.26 " ,
44 "private" : false ,
55 "scripts" : {
66 "dev" : " vite dev" ,
Original file line number Diff line number Diff line change 2626
2727{#if menubarItem .Items .length < 1 }
2828 <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 >
3134 </button >
3235 </div >
3336{:else }
Original file line number Diff line number Diff line change 11<script lang =" ts" >
2- import { ListBox , ListBoxItem } from ' @skeletonlabs/skeleton' ;
2+ import { ListBox , ListBoxItem , TreeViewItem } from ' @skeletonlabs/skeleton' ;
33 import type { menuItemType } from ' ../../../models/Page' ;
44 import { goTo } from ' ../../../services/BaseCaller' ;
55
3131 return ;
3232 }
3333 else {
34- goTo (item .Url )
34+ goTo (item .Url , item . Internal , item . Target );
3535 }
3636 }
3737
7676 bind:group ={item .Title }
7777 name =" medium"
7878 value ={item .Title }
79- on:click ={() => clickFn ( item )}
79+
8080 >
81- {item .Title }
81+ < a href = {item .Url } target = " { item . Target } " >{ item . Title }</ a >
8282 </ListBoxItem >
8383
8484 {/each }
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ export interface menuItemType {
2929 Url : string ;
3030 Target : string ;
3131 Module : string ;
32+ Internal : boolean ;
3233 Items : menuItemType [ ] ;
3334}
3435
Original file line number Diff line number Diff line change 33import { host } from '$store/apiStores' ;
44
55// go to a internal action
6- export const goTo = async ( url , intern = true ) => {
6+ export const goTo = async ( url , intern = true , target = "_self" ) => {
77 if ( intern == true ) {
88 // go to inside bexis2
99 if ( window != null && host != null && url != null ) {
10- window . open ( host + url , '_self' ) ?. focus ( ) ;
10+ window . open ( host + url , target ) ?. focus ( ) ;
1111 }
1212 } // go to a external page
1313 else {
You can’t perform that action at this time.
0 commit comments