@bexis2/bexis2-core-ui 0.4.25 → 0.4.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -0
- package/dist/components/Table/TableContent.svelte +2 -2
- package/dist/components/Table/TablePagination.svelte +1 -1
- package/dist/components/page/menu/MenuItem.svelte +5 -2
- package/dist/components/page/menu/MenuSublist.svelte +2 -2
- package/package.json +1 -1
- package/src/lib/components/Table/TableContent.svelte +1 -1
- package/src/lib/components/Table/TablePagination.svelte +1 -1
- package/src/lib/components/page/menu/MenuItem.svelte +5 -2
- package/src/lib/components/page/menu/MenuSublist.svelte +2 -2
package/README.md
CHANGED
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
# bexis-core-ui
|
|
2
|
+
## 04.27
|
|
3
|
+
- Fixes the issue with updating the number of displayed items correctly.
|
|
4
|
+
- Makes "items" the default type for displaying pagination info.
|
|
5
|
+
|
|
6
|
+
## 0.4.26
|
|
7
|
+
- menu
|
|
8
|
+
- change submenu buttons to a link and add link menuitems to support right click menu
|
|
9
|
+
|
|
2
10
|
## 0.4.25
|
|
3
11
|
- menu
|
|
4
12
|
- add internal & target to menuItemType to support handle menuEntries open in same or other window
|
|
@@ -50,8 +50,8 @@ let {
|
|
|
50
50
|
// Whether to display the search input
|
|
51
51
|
pageSizes = [5, 10, 20, 50, 100],
|
|
52
52
|
// Page sizes to display in the pagination component
|
|
53
|
-
pageIndexStringType = "
|
|
54
|
-
//
|
|
53
|
+
pageIndexStringType = "items",
|
|
54
|
+
// items by default
|
|
55
55
|
fitToScreen = true,
|
|
56
56
|
// Whether to fit the table to the screen,
|
|
57
57
|
exportable = false,
|
|
@@ -50,7 +50,7 @@ $: goToLastPageDisabled = $pageIndex == $pageCount - 1;
|
|
|
50
50
|
$: goToNextPageDisabled = !$hasNextPage;
|
|
51
51
|
$: goToPreviousPageDisabled = !$hasPreviousPage;
|
|
52
52
|
$: $pageSize = pageSizeDropdownValue;
|
|
53
|
-
$: $pageCount, $pageIndex, $pageSize, indexInformation = getIndexInfomationString();
|
|
53
|
+
$: $pageCount, $pageIndex, $pageSize, itemCount, indexInformation = getIndexInfomationString();
|
|
54
54
|
</script>
|
|
55
55
|
|
|
56
56
|
<div class="flex justify-between w-full items-stretch gap-10">
|
|
@@ -15,8 +15,11 @@ let popupCombobox = {
|
|
|
15
15
|
|
|
16
16
|
{#if menubarItem.Items.length < 1}
|
|
17
17
|
<div class="p-2">
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
|
|
19
|
+
<button class="grid" use:popup={popupCombobox} >
|
|
20
|
+
<a class="grid" href={menubarItem.Url} target="{menubarItem.Target}">
|
|
21
|
+
<span class="capitalize whitespace-nowrap">{comboboxValue ?? menubarItem.Title}</span>
|
|
22
|
+
</a>
|
|
20
23
|
</button>
|
|
21
24
|
</div>
|
|
22
25
|
{:else}
|
package/package.json
CHANGED
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
toggle = false, // Whether to display the fitToScreen toggle
|
|
49
49
|
search = true, // Whether to display the search input
|
|
50
50
|
pageSizes = [5, 10, 20, 50, 100], // Page sizes to display in the pagination component
|
|
51
|
-
pageIndexStringType = '
|
|
51
|
+
pageIndexStringType = 'items', // items by default
|
|
52
52
|
fitToScreen = true, // Whether to fit the table to the screen,
|
|
53
53
|
exportable = false, // Whether to display the export button and enable export functionality
|
|
54
54
|
server
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
$: goToNextPageDisabled = !$hasNextPage;
|
|
63
63
|
$: goToPreviousPageDisabled = !$hasPreviousPage;
|
|
64
64
|
$: $pageSize = pageSizeDropdownValue;
|
|
65
|
-
$: $pageCount, $pageIndex, $pageSize, (indexInformation = getIndexInfomationString());
|
|
65
|
+
$: $pageCount, $pageIndex, $pageSize, itemCount, (indexInformation = getIndexInfomationString());
|
|
66
66
|
</script>
|
|
67
67
|
|
|
68
68
|
<div class="flex justify-between w-full items-stretch gap-10">
|
|
@@ -26,8 +26,11 @@
|
|
|
26
26
|
|
|
27
27
|
{#if menubarItem.Items.length < 1}
|
|
28
28
|
<div class="p-2">
|
|
29
|
-
|
|
30
|
-
|
|
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}
|